description: 'STU3: `Consent.source[x]` (new:Attachment, Identifier, Reference(Consent,DocumentReference,Contract,QuestionnaireResponse))' package_name: hl7.fhir.uv.xver-r3.r5 derivation: constraint name: ExtensionConsent_Source type: Extension elements: url: base: {max: '1', min: 1, path: Extension.url} pattern: {type: Uri, value: 'http://hl7.org/fhir/3.0/StructureDefinition/extension-Consent.source'} index: 0 value: short: Source from which this consent is taken choices: [valueAttachment, valueIdentifier, valueReference] base: {max: '1', min: 0, path: 'Extension.value[x]'} index: 2 valueAttachment: short: Source from which this consent is taken type: Attachment base: {max: '1', min: 0, path: 'Extension.value[x]'} choiceOf: value index: 3 valueIdentifier: short: Source from which this consent is taken type: Identifier base: {max: '1', min: 0, path: 'Extension.value[x]'} choiceOf: value index: 4 valueReference: short: Source from which this consent is taken refers: ['http://hl7.org/fhir/3.0/StructureDefinition/profile-Consent|0.1.0', 'http://hl7.org/fhir/3.0/StructureDefinition/profile-Contract|0.1.0', 'http://hl7.org/fhir/3.0/StructureDefinition/profile-DocumentReference|0.1.0', 'http://hl7.org/fhir/3.0/StructureDefinition/profile-QuestionnaireResponse|0.1.0', 'http://hl7.org/fhir/StructureDefinition/Consent|5.0.0', 'http://hl7.org/fhir/StructureDefinition/Contract|5.0.0', 'http://hl7.org/fhir/StructureDefinition/DocumentReference|5.0.0', 'http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse|5.0.0'] type: Reference base: {max: '1', min: 0, path: 'Extension.value[x]'} choiceOf: value index: 5 package_version: 0.1.0 class: extension kind: complex-type url: http://hl7.org/fhir/3.0/StructureDefinition/extension-Consent.source base: http://hl7.org/fhir/StructureDefinition/Extension|5.0.0 version: 0.1.0 required: [url]