Profile: BundleEuHdr Parent: Bundle Id: bundle-eu-hdr Title: "Bundle (HDR)" Description: "Clinical document used to represent a Hospital Discharge Report for the scope of this guide." * . ^short = "Hospital Discharge Report bundle" * . ^definition = "Hospital Discharge Report bundle." * obeys bdl-hdr-1 * identifier 1.. * ^short = "Instance identifier" * type = #document (exactly) * timestamp 1.. * ^short = "Instance identifier" * link ..0 * entry 1.. * entry ^slicing.discriminator[0].type = #type * entry ^slicing.discriminator[=].path = "resource" * entry ^slicing.discriminator[+].type = #profile * entry ^slicing.discriminator[=].path = "resource" * entry ^slicing.rules = #open * entry ^short = "Entry resource in the Hospital Discharge Report bundle" * entry ^definition = "An entry resource included in the Hospital Discharge Report document bundle resource." * entry ^comment = "Must contain the HDR Composition as the first entry (only a single Composition resource instance may be included). Additional constraints are specified in the HDR Composition profile." * entry.fullUrl 1.. * entry.search ..0 * entry.request ..0 * entry.response ..0 * entry.resource 1.. * entry contains composition 1..1 and patient 1..1 and encounter 1..* and allergyIntolerance 0..* and condition 0..* and device 0..* and deviceUseStatement 0..* and diagnosticReport 0..* and imagingStudy 0..* and immunization 0..* and immunizationRecommendation 0..* and media 0..* and medication 0..* and medicationRequest 0..* and medicationStatement 0..* and medicationDispense 0..* and medicationAdministration 0..* and practitioner 0..* and practitionerRole 0..* and procedure 0..* and organization 0..* and observation 0..* and specimen 0..* and familyMemberHistory 0..* and documentReference 0..* and flag 0..* and location 0..* and careplan 0..* * entry[composition].resource only CompositionEuHdr * entry[patient].resource only PatientEuCore * entry[encounter].resource only EncounterEuHdr * entry[allergyIntolerance].resource only AllergyIntoleranceEuHdr * entry[condition].resource only ConditionEuHdr * entry[device].resource only DeviceEuHdr * entry[deviceUseStatement].resource only DeviceUseStatementEuHdr * entry[diagnosticReport].resource only $DiagnosticReport-uv-ips * entry[imagingStudy].resource only $ImagingStudy-uv-ips * entry[immunization].resource only ImmunizationEuHdr * entry[immunizationRecommendation].resource only ImmunizationRecommendationEuHdr * entry[media].resource only Media // $Media-observation-uv-ips * entry[medication].resource only MedicationEuHdr * entry[medicationRequest].resource only MedicationRequestEuHdr * entry[medicationStatement].resource only MedicationStatementEuHdr * entry[medicationAdministration].resource only MedicationAdministrationEuHdr * entry[medicationDispense].resource only MedicationDispenseEuHdr * entry[practitioner].resource only PractitionerEuCore * entry[practitionerRole].resource only PractitionerRoleEuCore * entry[procedure].resource only ProcedureEuHdr * entry[organization].resource only OrganizationEuCore * entry[observation].resource only Observation // $Observation-results-uv-ips * entry[specimen].resource only $Specimen-uv-ips * entry[flag].resource only FlagEuHdr * entry[familyMemberHistory].resource only FamilyMemberHistoryEuHdr * entry[documentReference].resource only DocumentReference * entry[location].resource only LocationEu * entry[careplan].resource only CarePlan * signature ^short = "Report Digital Signature" * type ^short = "Digital Signature Purposes" * when ^short = "When was signed" * who ^short = "Who signed." * data ^short = "Signature content" Invariant: bdl-hdr-1 Description: "An IPS document must have no additional Composition (including Composition subclass) resources besides the first." Severity: #error Expression: "entry.tail().where(resource is Composition).empty()"