description: Collection represents a set of samples and/or data items collected and/or derived in a common context and stored under a common stewardship and available for future research package_name: eu.miabis.r4 derivation: constraint name: Collection type: Group elements: extension: index: 0 slicing: rules: open ordered: false discriminator: - {path: url, type: value} min: null slices: numberOfSubjects: match: {url: null} schema: {type: Extension, short: Total number of subjects included in the collection., mustSupport: true, url: 'https://fhir.bbmri-eric.eu/StructureDefinition/miabis-number-of-subjects-extension', index: 1} min: 0 max: 1 inclusionCriteria: match: {url: null} schema: {type: Extension, short: Information on type of parameters that determine which subjects will become collection participants., mustSupport: true, url: 'https://fhir.bbmri-eric.eu/StructureDefinition/miabis-inclusion-criteria-extension', index: 2} min: 0 MemberEntity: match: {url: null} schema: type: Extension mustSupport: true url: https://fhir.bbmri-eric.eu/StructureDefinition/miabis-member-entity-extension index: 3 elements: value: choices: [valueReference] index: 5 valueReference: type: Reference choiceOf: value refers: ['http://hl7.org/fhir/StructureDefinition/Specimen'] index: 6 identifier: {short: ID of the collection., mustSupport: true, index: 7} active: {short: The state of the collection functions., mustSupport: true, index: 8} type: short: The type of resources this group contains. For this resource type, this is always set to person. (should be specimen, but this is only supported in R5) pattern: {type: Code, value: person} index: 9 name: {short: Name of the collection (preferably in English)., mustSupport: true, index: 10} managingEntity: type: Reference short: Organization resource containing details of this collection, such as contact information, publications, etc. mustSupport: true refers: ['https://fhir.bbmri-eric.eu/StructureDefinition/miabis-collection-organization'] index: 11 characteristic: array: true min: 2 index: 12 slicing: rules: open discriminator: - {path: code, type: value} min: 2 slices: ageRange: match: code: coding: - {code: Age, system: 'https://fhir.bbmri-eric.eu/CodeSystem/miabis-characteristicCS'} schema: short: Age of youngest and oldest sample donor at the time of sample donation. mustSupport: true index: 13 elements: code: pattern: type: CodeableConcept value: coding: - {code: Age, system: 'https://fhir.bbmri-eric.eu/CodeSystem/miabis-characteristicCS'} index: 14 value: choices: [valueRange] index: 16 valueRange: {type: Range, choiceOf: value, index: 17} sex: match: code: coding: - {code: Sex, system: 'https://fhir.bbmri-eric.eu/CodeSystem/miabis-characteristicCS'} schema: short: The sex of the individuals in the collection. mustSupport: true array: true min: 1 _required: true index: 18 elements: code: pattern: type: CodeableConcept value: coding: - {code: Sex, system: 'https://fhir.bbmri-eric.eu/CodeSystem/miabis-characteristicCS'} index: 19 value: choices: [valueCodeableConcept] index: 21 valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 22} storageTemperature: match: code: coding: - {code: StorageTemperature, system: 'https://fhir.bbmri-eric.eu/CodeSystem/miabis-characteristicCS'} schema: short: The long-term storage temperature at which the sample(s) are stored after preparation, based on SPREC v3. mustSupport: true array: true index: 23 elements: code: pattern: type: CodeableConcept value: coding: - {code: StorageTemperature, system: 'https://fhir.bbmri-eric.eu/CodeSystem/miabis-characteristicCS'} index: 24 value: choices: [valueCodeableConcept] index: 26 valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 27} materialType: match: code: coding: - {code: MaterialType, system: 'https://fhir.bbmri-eric.eu/CodeSystem/miabis-characteristicCS'} schema: short: The biospecimen saved from a biological entity for propagation e.g. testing, diagnostics, treatment or research purposes. mustSupport: true array: true min: 1 _required: true index: 28 elements: code: pattern: type: CodeableConcept value: coding: - {code: MaterialType, system: 'https://fhir.bbmri-eric.eu/CodeSystem/miabis-characteristicCS'} index: 29 value: choices: [valueCodeableConcept] index: 31 valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 32} diagnosis: match: code: coding: - {code: Diagnosis, system: 'https://fhir.bbmri-eric.eu/CodeSystem/miabis-characteristicCS'} schema: short: The diagnosis of the individuals in the collection. mustSupport: true array: true index: 33 elements: code: pattern: type: CodeableConcept value: coding: - {code: Diagnosis, system: 'https://fhir.bbmri-eric.eu/CodeSystem/miabis-characteristicCS'} index: 34 value: choices: [valueCodeableConcept] index: 36 valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 37} package_version: 1.3.0 extensions: numberOfSubjects: {url: 'https://fhir.bbmri-eric.eu/StructureDefinition/miabis-number-of-subjects-extension', min: 0, max: 1, type: Extension, short: Total number of subjects included in the collection., mustSupport: true, index: 1} inclusionCriteria: {url: 'https://fhir.bbmri-eric.eu/StructureDefinition/miabis-inclusion-criteria-extension', min: 0, type: Extension, short: Information on type of parameters that determine which subjects will become collection participants., mustSupport: true, index: 2} MemberEntity: url: https://fhir.bbmri-eric.eu/StructureDefinition/miabis-member-entity-extension type: Extension mustSupport: true index: 3 elements: value: choices: [valueReference] index: 5 valueReference: type: Reference choiceOf: value refers: ['http://hl7.org/fhir/StructureDefinition/Specimen'] index: 6 class: profile kind: resource url: https://fhir.bbmri-eric.eu/StructureDefinition/miabis-collection base: http://hl7.org/fhir/StructureDefinition/Group version: 1.3.0 required: [name, identifier, managingEntity]