description: An extension to carry information given at the point of UEC Discharge package_name: fhir.r4.wales derivation: constraint name: ExtensionDataStandardsWalesUECDischargeInformationGiven type: Extension elements: extension: short: UEC Discharge Information Given to Patient index: 0 slicing: slices: givenToPatient: match: {} schema: short: UEC Discharge Information Given to Patient index: 0 elements: url: pattern: {type: Uri, value: givenToPatient} index: 1 value: choices: [valueBoolean] index: 3 valueBoolean: {type: boolean, choiceOf: value, index: 4} dischargeInformation: match: {} schema: short: UEC Discharge Information index: 5 elements: url: pattern: {type: Uri, value: dischargeInformation} index: 6 value: choices: [valueReference] index: 8 valueReference: type: Reference choiceOf: value refers: ['https://fhir.nhs.wales/StructureDefinition/Profile-DataStandardsWales-DocumentReference'] index: 9 url: pattern: {type: Uri, value: 'https://fhir.nhs.wales/StructureDefinition/Extension-DataStandardsWales-UEC-DischargeInformationGiven'} index: 10 value: choices: [valueReference] index: 12 valueReference: type: Reference choiceOf: value refers: ['https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-DocumentReference'] index: 13 package_version: 2.3.0 extensions: givenToPatient: url: null short: UEC Discharge Information Given to Patient index: 0 elements: url: pattern: {type: Uri, value: givenToPatient} index: 1 value: choices: [valueBoolean] index: 3 valueBoolean: {type: boolean, choiceOf: value, index: 4} dischargeInformation: url: null short: UEC Discharge Information index: 5 elements: url: pattern: {type: Uri, value: dischargeInformation} index: 6 value: choices: [valueReference] index: 8 valueReference: type: Reference choiceOf: value refers: ['https://fhir.nhs.wales/StructureDefinition/Profile-DataStandardsWales-DocumentReference'] index: 9 class: extension kind: complex-type url: https://fhir.nhs.wales/StructureDefinition/Extension-DataStandardsWales-UEC-DischargeInformationGiven base: http://hl7.org/fhir/StructureDefinition/Extension version: 0.0.1