description: Allows the referencing of Patient and RelatedPerson within Specimen.collection. package_name: fhir.r4.ukcore.stu2 derivation: constraint name: ExtensionUKCoreCollectionCollector type: Extension elements: url: pattern: {type: uri, value: 'http://hl7.org/fhir/5.0/StructureDefinition/extension-Specimen.collection.collector'} type: uri index: 0 value: short: Person who collected the specimen. choices: [valueReference] index: 2 valueReference: type: Reference short: Person who collected the specimen. choiceOf: value refers: ['https://fhir.hl7.org.uk/StructureDefinition/UKCore-Patient', 'https://fhir.hl7.org.uk/StructureDefinition/UKCore-RelatedPerson'] index: 3 package_version: 1.1.3 class: extension kind: complex-type url: http://hl7.org/fhir/5.0/StructureDefinition/extension-Specimen.collection.collector base: http://hl7.org/fhir/StructureDefinition/Extension version: 1.0.0 required: [value, valueReference]