description: Consent Extension refers to a FHIR Consent instance that indicates a patient's consent package_name: hl7.fhir.uv.fhir-clinical-document derivation: constraint name: ConsentExtension type: Extension elements: extension: {index: 0} url: pattern: {type: uri, value: 'http://hl7.org/fhir/uv/fhir-clinical-document/StructureDefinition/consent-extension'} mustSupport: true type: uri index: 1 value: choices: [] index: 3 slicing: rules: open ordered: false discriminator: - {path: $this, type: type} min: 1 slices: valueReference: match: {} schema: mustSupport: true choices: [valueReference] _required: true index: 5 min: 1 max: 1 valueReference: refers: ['http://hl7.org/fhir/StructureDefinition/Consent'] type: Reference mustSupport: true choiceOf: value index: 6 slicing: slices: valueReference: match: {} schema: refers: ['http://hl7.org/fhir/StructureDefinition/Consent'] type: Reference mustSupport: true _required: true choiceOf: value index: 6 min: 1 max: 1 package_version: 1.0.0 extensions: {} class: extension kind: complex-type url: http://hl7.org/fhir/uv/fhir-clinical-document/StructureDefinition/consent-extension base: http://hl7.org/fhir/StructureDefinition/Extension version: 1.0.0 required: [value, valueReference]