description: Clinical document used to represent a Hospital Discharge Report for the scope of this guide. package_name: hl7.fhir.eu.hdr derivation: constraint name: BundleEuHdr type: Bundle elements: language: {short: Main language of the Bundle, index: 0} identifier: {short: Document identifier, index: 1} type: pattern: {type: Code, value: document} index: 2 timestamp: {short: Document date and time, index: 3} link: {index: 4} entry: short: Entry resource in the Hospital Discharge Report bundle array: true min: 3 index: 5 elements: fullUrl: {index: 6} resource: {index: 7} search: {index: 8} request: {index: 9} response: {index: 10} required: [resource, fullUrl] slicing: rules: open discriminator: - {path: resource, type: type} - {path: resource, type: profile} min: 3 slices: patient: match: {} schema: array: true min: 1 _required: true index: 13 elements: resource: {type: Patient, index: 14} binary: match: {} schema: array: true index: 69 elements: resource: {type: Binary, index: 70} immunization: match: {} schema: array: true index: 31 elements: resource: {type: Immunization, index: 32} relatedPerson: match: {} schema: array: true index: 67 elements: resource: {type: RelatedPerson, index: 68} medicationStatement: match: {} schema: array: true index: 39 elements: resource: {type: MedicationStatement, index: 40} careplan: match: {} schema: array: true index: 63 elements: resource: {type: CarePlan, index: 64} encounter: match: {} schema: array: true min: 1 _required: true index: 15 elements: resource: {type: Encounter, index: 16} practitionerRole: match: {} schema: array: true index: 47 elements: resource: {type: PractitionerRole, index: 48} specimen: match: {} schema: array: true index: 55 elements: resource: {type: Specimen, index: 56} flag: match: {} schema: array: true index: 59 elements: resource: {type: Flag, index: 60} medicationAdministration: match: {} schema: array: true index: 43 elements: resource: {type: MedicationAdministration, index: 44} medicationRequest: match: {} schema: array: true index: 37 elements: resource: {type: MedicationRequest, index: 38} documentReference: match: {} schema: array: true index: 57 elements: resource: {type: DocumentReference, index: 58} goal: match: {} schema: array: true index: 65 elements: resource: {type: Goal, index: 66} observation: match: {} schema: array: true index: 53 elements: resource: {type: Observation, index: 54} procedure: match: {} schema: array: true index: 49 elements: resource: {type: Procedure, index: 50} organization: match: {} schema: array: true index: 51 elements: resource: {type: Organization, index: 52} medicationDispense: match: {} schema: array: true index: 41 elements: resource: {type: MedicationDispense, index: 42} deviceUseStatement: match: {} schema: array: true index: 25 elements: resource: {type: DeviceUseStatement, index: 26} diagnosticReport: match: {} schema: array: true index: 27 elements: resource: {type: DiagnosticReport, index: 28} condition: match: {} schema: array: true index: 21 elements: resource: {type: Condition, index: 22} serviceRequest: match: {} schema: array: true index: 71 elements: resource: {type: ServiceRequest, index: 72} practitioner: match: {} schema: array: true index: 45 elements: resource: {type: Practitioner, index: 46} device: match: {} schema: array: true index: 23 elements: resource: {type: Device, index: 24} composition: match: {} schema: _required: true index: 11 elements: resource: {type: Composition, index: 12} bodyStructure: match: {} schema: array: true index: 19 elements: resource: {type: BodyStructure, index: 20} location: match: {} schema: array: true index: 61 elements: resource: {type: Location, index: 62} imagingStudy: match: {} schema: array: true index: 29 elements: resource: {type: ImagingStudy, index: 30} media: match: {} schema: array: true index: 33 elements: resource: {type: Media, index: 34} medication: match: {} schema: array: true index: 35 elements: resource: {type: Medication, index: 36} allergyIntolerance: match: {} schema: array: true index: 17 elements: resource: {type: AllergyIntolerance, index: 18} signature: short: Report Digital Signature index: 73 elements: type: {short: Digital Signature Purposes, index: 74} when: {short: When was signed, index: 75} who: {short: Who signed., index: 76} data: {short: Signature content, index: 77} package_version: 1.0.0 class: profile kind: resource url: http://hl7.eu/fhir/hdr/StructureDefinition/bundle-eu-hdr base: http://hl7.org/fhir/StructureDefinition/Bundle version: 1.0.0 required: [timestamp, identifier, language]