@prefix fhir: <http://hl7.org/fhir/> .
@prefix loinc: <http://loinc.org/rdf#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sct: <http://snomed.info/id/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<http://hl7.eu/fhir/discharge-report/Bundle/DR-Emergency-Department-Example> a fhir:Bundle ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "DR-Emergency-Department-Example"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://hl7.eu/fhir/discharge-report/StructureDefinition/bundle-eu-dr" ;
       fhir:index 0 ;
       fhir:link <http://hl7.eu/fhir/discharge-report/StructureDefinition/bundle-eu-dr>
     ]
  ] ;
  fhir:Resource.language [ fhir:value "en"] ;
  fhir:Bundle.identifier [
     fhir:Identifier.type [
       fhir:CodeableConcept.coding [
         fhir:index 0 ;
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v2-0203" ] ;
         fhir:Coding.code [ fhir:value "PRN" ]
       ]
     ] ;
     fhir:Identifier.system [ fhir:value "http://example.org/eu/identifier" ] ;
     fhir:Identifier.value [ fhir:value "98590868-f0bc-4588-9773-741ceb782884" ]
  ] ;
  fhir:Bundle.type [ fhir:value "document"] ;
  fhir:Bundle.timestamp [ fhir:value "2026-03-14T23:10:00+01:00"^^xsd:dateTime] ;
  fhir:Bundle.entry [
     fhir:index 0 ;
     fhir:Bundle.entry.fullUrl [ fhir:value "urn:uuid:5bb06169-8614-401b-806b-1e991e44693f" ] ;
     fhir:Bundle.entry.resource <urn:uuid:5bb06169-8614-401b-806b-1e991e44693f>
  ], [
     fhir:index 1 ;
     fhir:Bundle.entry.fullUrl [ fhir:value "urn:uuid:79d8f1c5-636a-4285-9cc5-e9f077d851e9" ] ;
     fhir:Bundle.entry.resource <urn:uuid:79d8f1c5-636a-4285-9cc5-e9f077d851e9>
  ], [
     fhir:index 2 ;
     fhir:Bundle.entry.fullUrl [ fhir:value "urn:uuid:5ae85f20-b911-4021-8c80-59ae1e867ae9" ] ;
     fhir:Bundle.entry.resource <urn:uuid:5ae85f20-b911-4021-8c80-59ae1e867ae9>
  ], [
     fhir:index 3 ;
     fhir:Bundle.entry.fullUrl [ fhir:value "urn:uuid:ca6878b7-8435-422b-bb41-5369c3b17dec" ] ;
     fhir:Bundle.entry.resource <urn:uuid:ca6878b7-8435-422b-bb41-5369c3b17dec>
  ], [
     fhir:index 4 ;
     fhir:Bundle.entry.fullUrl [ fhir:value "urn:uuid:fb9045d9-8458-4fbd-a586-81a0a493537b" ] ;
     fhir:Bundle.entry.resource <urn:uuid:fb9045d9-8458-4fbd-a586-81a0a493537b>
  ], [
     fhir:index 5 ;
     fhir:Bundle.entry.fullUrl [ fhir:value "urn:uuid:b33f1e71-268e-4cae-912f-3d2262b29dc0" ] ;
     fhir:Bundle.entry.resource <urn:uuid:b33f1e71-268e-4cae-912f-3d2262b29dc0>
  ], [
     fhir:index 6 ;
     fhir:Bundle.entry.fullUrl [ fhir:value "urn:uuid:46610ccc-7172-4c45-9a31-9e83c77398a8" ] ;
     fhir:Bundle.entry.resource <urn:uuid:46610ccc-7172-4c45-9a31-9e83c77398a8>
  ] .

<urn:uuid:5bb06169-8614-401b-806b-1e991e44693f> a fhir:Composition ;
  fhir:Resource.id [ fhir:value "5bb06169-8614-401b-806b-1e991e44693f"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://hl7.eu/fhir/discharge-report/StructureDefinition/composition-eu-dr" ;
       fhir:index 0 ;
       fhir:link <http://hl7.eu/fhir/discharge-report/StructureDefinition/composition-eu-dr>
     ]
  ] ;
  fhir:Resource.language [ fhir:value "en"] ;
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ] ;
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"en\" lang=\"en\"><a name=\"Composition_5bb06169-8614-401b-806b-1e991e44693f\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Composition 5bb06169-8614-401b-806b-1e991e44693f</b></p><a name=\"5bb06169-8614-401b-806b-1e991e44693f\"> </a><a name=\"hc5bb06169-8614-401b-806b-1e991e44693f\"> </a><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\">Language: en</p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-composition-eu-dr.html\">Composition (DR)</a></p></div><p><b>identifier</b>: <a href=\"http://terminology.hl7.org/7.1.0/NamingSystem-uri.html\" title=\"As defined by RFC 3986 (http://www.ietf.org/rfc/rfc3986.txt)(with many schemes defined in many RFCs). For OIDs and UUIDs, use the URN form (urn:oid:(note: lowercase) and urn:uuid:). See http://www.ietf.org/rfc/rfc3001.txt and http://www.ietf.org/rfc/rfc4122.txt #xD;#xA;#xD;#xA;This oid is used as an identifier II.root to indicate the the extension is an absolute URI (technically, an IRI). Typically, this is used for OIDs and GUIDs. Note that when this OID is used with OIDs and GUIDs, the II.extension should start with urn:oid or urn:uuid: #xD;#xA;#xD;#xA;Note that this OID is created to aid with interconversion between CDA and FHIR - FHIR uses urn:ietf:rfc:3986 as equivalent to this OID. URIs as identifiers appear more commonly in FHIR.#xD;#xA;#xD;#xA;This OID may also be used in CD.codeSystem.\">Uniform Resource Identifier (URI)</a>/urn:uuid:6aa3441e-22f0-487b-87bf-dd6cecafa25d</p><p><b>status</b>: Final</p><p><b>type</b>: <span title=\"Codes:{http://loinc.org 59258-4}\">Emergency department Discharge summary</span></p><p><b>encounter</b>: <a href=\"Bundle-DR-Emergency-Department-Example.html#urn-uuid-fb9045d9-8458-4fbd-a586-81a0a493537b\">Encounter: status = finished; class = emergency (ActCode#EMER); priority = emergency; period = 2026-03-14 18:40:00+0100 --&gt; 2026-03-14 22:50:00+0100</a></p><p><b>date</b>: 2026-03-14 23:00:00+0100</p><p><b>author</b>: <a href=\"Bundle-DR-Emergency-Department-Example.html#urn-uuid-5ae85f20-b911-4021-8c80-59ae1e867ae9\">Luca Bianchi</a></p><p><b>title</b>: Emergency Department Discharge Report</p><p><b>custodian</b>: <a href=\"Bundle-DR-Emergency-Department-Example.html#urn-uuid-ca6878b7-8435-422b-bb41-5369c3b17dec\">Example General Hospital - Emergency Department</a></p></div>"
  ] ;
  fhir:Composition.identifier [
     fhir:Identifier.system [ fhir:value "urn:ietf:rfc:3986" ] ;
     fhir:Identifier.value [ fhir:value "urn:uuid:6aa3441e-22f0-487b-87bf-dd6cecafa25d" ]
  ] ;
  fhir:Composition.status [ fhir:value "final"] ;
  fhir:Composition.type [
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       a loinc:59258-4 ;
       fhir:Coding.system [ fhir:value "http://loinc.org" ] ;
       fhir:Coding.code [ fhir:value "59258-4" ] ;
       fhir:Coding.display [ fhir:value "Emergency department Discharge summary" ]
     ]
  ] ;
  fhir:Composition.subject [
     fhir:Reference.reference [ fhir:value "urn:uuid:79d8f1c5-636a-4285-9cc5-e9f077d851e9" ]
  ] ;
  fhir:Composition.encounter [
     fhir:Reference.reference [ fhir:value "urn:uuid:fb9045d9-8458-4fbd-a586-81a0a493537b" ]
  ] ;
  fhir:Composition.date [ fhir:value "2026-03-14T23:00:00+01:00"^^xsd:dateTime] ;
  fhir:Composition.author [
     fhir:index 0 ;
     fhir:Reference.reference [ fhir:value "urn:uuid:5ae85f20-b911-4021-8c80-59ae1e867ae9" ]
  ] ;
  fhir:Composition.title [ fhir:value "Emergency Department Discharge Report"] ;
  fhir:Composition.custodian [
     fhir:Reference.reference [ fhir:value "urn:uuid:ca6878b7-8435-422b-bb41-5369c3b17dec" ]
  ] ;
  fhir:Composition.section [
     fhir:index 0 ;
     fhir:Composition.section.title [ fhir:value "Diagnostic summary" ] ;
     fhir:Composition.section.code [
       fhir:CodeableConcept.coding [
         fhir:index 0 ;
         a loinc:11535-2 ;
         fhir:Coding.system [ fhir:value "http://loinc.org" ] ;
         fhir:Coding.code [ fhir:value "11535-2" ] ;
         fhir:Coding.display [ fhir:value "Hospital discharge diagnosis note" ]
       ]
     ] ;
     fhir:Composition.section.text [
       fhir:Narrative.status [ fhir:value "generated" ] ;
       fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>Chest pain, unspecified. Acute coronary syndrome ruled out.</p></div>"
     ] ;
     fhir:Composition.section.entry [
       fhir:index 0 ;
       fhir:Reference.reference [ fhir:value "urn:uuid:b33f1e71-268e-4cae-912f-3d2262b29dc0" ]
     ]
  ], [
     fhir:index 1 ;
     fhir:Composition.section.title [ fhir:value "Course in the emergency department" ] ;
     fhir:Composition.section.code [
       fhir:CodeableConcept.coding [
         fhir:index 0 ;
         a loinc:8648-8 ;
         fhir:Coding.system [ fhir:value "http://loinc.org" ] ;
         fhir:Coding.code [ fhir:value "8648-8" ] ;
         fhir:Coding.display [ fhir:value "Hospital course note" ]
       ]
     ] ;
     fhir:Composition.section.text [
       fhir:Narrative.status [ fhir:value "generated" ] ;
       fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>The patient presented at 18:40 with left-sided chest pain that started two hours earlier at rest, not radiating and not related to exertion. Vital signs were within normal limits. A 12-lead ECG showed sinus rhythm without ischaemic changes. High-sensitivity troponin was negative at presentation and after three hours. The pain resolved after oral paracetamol. The patient was observed for four hours and discharged home in good condition.</p></div>"
     ]
  ], [
     fhir:index 2 ;
     fhir:Composition.section.title [ fhir:value "Procedures" ] ;
     fhir:Composition.section.code [
       fhir:CodeableConcept.coding [
         fhir:index 0 ;
         a loinc:10185-7 ;
         fhir:Coding.system [ fhir:value "http://loinc.org" ] ;
         fhir:Coding.code [ fhir:value "10185-7" ] ;
         fhir:Coding.display [ fhir:value "Hospital discharge procedure note" ]
       ]
     ] ;
     fhir:Composition.section.text [
       fhir:Narrative.status [ fhir:value "generated" ] ;
       fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>12-lead electrocardiogram (14 March 2026): sinus rhythm, no ischaemic changes.</p></div>"
     ] ;
     fhir:Composition.section.entry [
       fhir:index 0 ;
       fhir:Reference.reference [ fhir:value "urn:uuid:46610ccc-7172-4c45-9a31-9e83c77398a8" ]
     ]
  ], [
     fhir:index 3 ;
     fhir:Composition.section.title [ fhir:value "Discharge medications" ] ;
     fhir:Composition.section.code [
       fhir:CodeableConcept.coding [
         fhir:index 0 ;
         a loinc:75311-1 ;
         fhir:Coding.system [ fhir:value "http://loinc.org" ] ;
         fhir:Coding.code [ fhir:value "75311-1" ] ;
         fhir:Coding.display [ fhir:value "Discharge medications note" ]
       ]
     ] ;
     fhir:Composition.section.text [
       fhir:Narrative.status [ fhir:value "generated" ] ;
       fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>Paracetamol 1 g orally, if needed for pain, up to three times a day, for a maximum of five days (new). Usual home medication unchanged.</p></div>"
     ]
  ], [
     fhir:index 4 ;
     fhir:Composition.section.title [ fhir:value "Recommendations" ] ;
     fhir:Composition.section.code [
       fhir:CodeableConcept.coding [
         fhir:index 0 ;
         a loinc:18776-5 ;
         fhir:Coding.system [ fhir:value "http://loinc.org" ] ;
         fhir:Coding.code [ fhir:value "18776-5" ] ;
         fhir:Coding.display [ fhir:value "Plan of care note" ]
       ]
     ] ;
     fhir:Composition.section.text [
       fhir:Narrative.status [ fhir:value "generated" ] ;
       fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>Follow-up with the general practitioner within one week; outpatient exercise stress test to be considered. Return to the emergency department immediately in case of recurrent or worsening chest pain, shortness of breath or fainting.</p></div>"
     ]
  ], [
     fhir:index 5 ;
     fhir:Composition.section.title [ fhir:value "Discharge details" ] ;
     fhir:Composition.section.code [
       fhir:CodeableConcept.coding [
         fhir:index 0 ;
         a loinc:8650-4 ;
         fhir:Coding.system [ fhir:value "http://loinc.org" ] ;
         fhir:Coding.code [ fhir:value "8650-4" ] ;
         fhir:Coding.display [ fhir:value "Hospital discharge disposition note" ]
       ]
     ] ;
     fhir:Composition.section.text [
       fhir:Narrative.status [ fhir:value "generated" ] ;
       fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>Discharged home on 14 March 2026 at 22:50, in good general condition and pain-free.</p></div>"
     ]
  ] .

<urn:uuid:79d8f1c5-636a-4285-9cc5-e9f077d851e9> a fhir:Patient ;
  fhir:Resource.id [ fhir:value "79d8f1c5-636a-4285-9cc5-e9f077d851e9"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://hl7.eu/fhir/base/StructureDefinition/patient-eu-core" ;
       fhir:index 0 ;
       fhir:link <http://hl7.eu/fhir/base/StructureDefinition/patient-eu-core>
     ]
  ] ;
  fhir:Resource.language [ fhir:value "en"] ;
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ] ;
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"en\" lang=\"en\"><a name=\"Patient_79d8f1c5-636a-4285-9cc5-e9f077d851e9\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Patient 79d8f1c5-636a-4285-9cc5-e9f077d851e9</b></p><a name=\"79d8f1c5-636a-4285-9cc5-e9f077d851e9\"> </a><a name=\"hc79d8f1c5-636a-4285-9cc5-e9f077d851e9\"> </a><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\">Language: en</p><p style=\"margin-bottom: 0px\">Profile: <a href=\"http://hl7.eu/fhir/base/2.0.1/StructureDefinition-patient-eu-core.html\">Patient (EU core)</a></p></div><p style=\"border: 1px #661aff solid; background-color: #e6e6ff; padding: 10px;\">Maria Rossi Female, DoB: 1971-03-12 ( National unique individual identifier: RSSMRA71C52H501Z)</p><hr/><table class=\"grid\"><tr><td style=\"background-color: #f3f5da\" title=\"Ways to contact the Patient\">Contact Detail</td><td colspan=\"3\">Via Roma 10 Pisa 56126 IT (home)</td></tr></table></div>"
  ] ;
  fhir:Patient.identifier [
     fhir:index 0 ;
     fhir:Identifier.type [
       fhir:CodeableConcept.coding [
         fhir:index 0 ;
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v2-0203" ] ;
         fhir:Coding.code [ fhir:value "NI" ]
       ]
     ] ;
     fhir:Identifier.system [ fhir:value "https://hl7europe.org/example-identifier" ] ;
     fhir:Identifier.value [ fhir:value "RSSMRA71C52H501Z" ]
  ] ;
  fhir:Patient.name [
     fhir:index 0 ;
     fhir:HumanName.text [ fhir:value "Maria Rossi" ] ;
     fhir:HumanName.family [ fhir:value "Rossi" ] ;
     fhir:HumanName.given [
       fhir:value "Maria" ;
       fhir:index 0
     ]
  ] ;
  fhir:Patient.gender [ fhir:value "female"] ;
  fhir:Patient.birthDate [ fhir:value "1971-03-12"^^xsd:date] ;
  fhir:Patient.address [
     fhir:index 0 ;
     fhir:Address.use [ fhir:value "home" ] ;
     fhir:Address.type [ fhir:value "physical" ] ;
     fhir:Address.line [
       fhir:value "Via Roma 10" ;
       fhir:index 0
     ] ;
     fhir:Address.city [ fhir:value "Pisa" ] ;
     fhir:Address.postalCode [ fhir:value "56126" ] ;
     fhir:Address.country [ fhir:value "IT" ]
  ] .

<urn:uuid:5ae85f20-b911-4021-8c80-59ae1e867ae9> a fhir:Practitioner ;
  fhir:Resource.id [ fhir:value "5ae85f20-b911-4021-8c80-59ae1e867ae9"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://hl7.eu/fhir/base/StructureDefinition/practitioner-eu-core" ;
       fhir:index 0 ;
       fhir:link <http://hl7.eu/fhir/base/StructureDefinition/practitioner-eu-core>
     ]
  ] ;
  fhir:Resource.language [ fhir:value "en"] ;
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ] ;
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"en\" lang=\"en\"><a name=\"Practitioner_5ae85f20-b911-4021-8c80-59ae1e867ae9\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Practitioner 5ae85f20-b911-4021-8c80-59ae1e867ae9</b></p><a name=\"5ae85f20-b911-4021-8c80-59ae1e867ae9\"> </a><a name=\"hc5ae85f20-b911-4021-8c80-59ae1e867ae9\"> </a><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\">Language: en</p><p style=\"margin-bottom: 0px\">Profile: <a href=\"http://hl7.eu/fhir/base/2.0.1/StructureDefinition-practitioner-eu-core.html\">Practitioner (EU core)</a></p></div><p style=\"border: 1px #661aff solid; background-color: #e6e6ff; padding: 10px;\">Luca Bianchi</p><hr/><table class=\"grid\"><tr><td style=\"background-color: #f3f5da\" title=\"Ways to contact the Practitioner\">Contact Detail</td><td colspan=\"3\"><a href=\"mailto:luca.bianchi@example.org\">luca.bianchi@example.org</a></td></tr></table></div>"
  ] ;
  fhir:Practitioner.name [
     fhir:index 0 ;
     fhir:HumanName.family [ fhir:value "Bianchi" ] ;
     fhir:HumanName.given [
       fhir:value "Luca" ;
       fhir:index 0
     ] ;
     fhir:HumanName.prefix [
       fhir:value "dr" ;
       fhir:index 0
     ]
  ] ;
  fhir:Practitioner.telecom [
     fhir:index 0 ;
     fhir:ContactPoint.system [ fhir:value "email" ] ;
     fhir:ContactPoint.value [ fhir:value "luca.bianchi@example.org" ]
  ] .

<urn:uuid:ca6878b7-8435-422b-bb41-5369c3b17dec> a fhir:Organization ;
  fhir:Resource.id [ fhir:value "ca6878b7-8435-422b-bb41-5369c3b17dec"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://hl7.eu/fhir/base/StructureDefinition/organization-eu-core" ;
       fhir:index 0 ;
       fhir:link <http://hl7.eu/fhir/base/StructureDefinition/organization-eu-core>
     ]
  ] ;
  fhir:Resource.language [ fhir:value "en"] ;
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ] ;
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"en\" lang=\"en\"><a name=\"Organization_ca6878b7-8435-422b-bb41-5369c3b17dec\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Organization ca6878b7-8435-422b-bb41-5369c3b17dec</b></p><a name=\"ca6878b7-8435-422b-bb41-5369c3b17dec\"> </a><a name=\"hcca6878b7-8435-422b-bb41-5369c3b17dec\"> </a><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\">Language: en</p><p style=\"margin-bottom: 0px\">Profile: <a href=\"http://hl7.eu/fhir/base/2.0.1/StructureDefinition-organization-eu-core.html\">Organization (EU core)</a></p></div><p style=\"border: 1px #661aff solid; background-color: #e6e6ff; padding: 10px;\">Example General Hospital - Emergency Department</p><hr/><table class=\"grid\"><tr><td style=\"background-color: #f3f5da\" title=\"Ways to contact the organization\">Contact Detail</td><td colspan=\"3\">Pisa 56124 IT </td></tr></table></div>"
  ] ;
  fhir:Organization.name [ fhir:value "Example General Hospital - Emergency Department"] ;
  fhir:Organization.address [
     fhir:index 0 ;
     fhir:Address.city [ fhir:value "Pisa" ] ;
     fhir:Address.postalCode [ fhir:value "56124" ] ;
     fhir:Address.country [ fhir:value "IT" ]
  ] .

<urn:uuid:fb9045d9-8458-4fbd-a586-81a0a493537b> a fhir:Encounter ;
  fhir:Resource.id [ fhir:value "fb9045d9-8458-4fbd-a586-81a0a493537b"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://hl7.eu/fhir/discharge-report/StructureDefinition/encounter-eu-dr" ;
       fhir:index 0 ;
       fhir:link <http://hl7.eu/fhir/discharge-report/StructureDefinition/encounter-eu-dr>
     ]
  ] ;
  fhir:Resource.language [ fhir:value "en"] ;
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ] ;
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"en\" lang=\"en\"><a name=\"Encounter_fb9045d9-8458-4fbd-a586-81a0a493537b\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Encounter fb9045d9-8458-4fbd-a586-81a0a493537b</b></p><a name=\"fb9045d9-8458-4fbd-a586-81a0a493537b\"> </a><a name=\"hcfb9045d9-8458-4fbd-a586-81a0a493537b\"> </a><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\">Language: en</p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-encounter-eu-dr.html\">Encounter (DR)</a></p></div><p><b>status</b>: Finished</p><p><b>class</b>: <a href=\"http://terminology.hl7.org/7.4.0/CodeSystem-v3-ActCode.html#v3-ActCode-EMER\">ActCode: EMER</a> (emergency)</p><p><b>priority</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/v3-ActPriority EM}\">emergency</span></p><p><b>subject</b>: <a href=\"Bundle-DR-Emergency-Department-Example.html#urn-uuid-79d8f1c5-636a-4285-9cc5-e9f077d851e9\">Maria Rossi Female, DoB: 1971-03-12 ( National unique individual identifier: RSSMRA71C52H501Z)</a></p><p><b>period</b>: 2026-03-14 18:40:00+0100 --&gt; 2026-03-14 22:50:00+0100</p><p><b>reasonReference</b>: <a href=\"Bundle-DR-Emergency-Department-Example.html#urn-uuid-b33f1e71-268e-4cae-912f-3d2262b29dc0\">Condition Chest pain (finding)</a></p><h3>Hospitalizations</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>DischargeDisposition</b></td></tr><tr><td style=\"display: none\">*</td><td><span title=\"Codes:{http://terminology.hl7.org/CodeSystem/discharge-disposition home}\">Home</span></td></tr></table><p><b>serviceProvider</b>: <a href=\"Bundle-DR-Emergency-Department-Example.html#urn-uuid-ca6878b7-8435-422b-bb41-5369c3b17dec\">Example General Hospital - Emergency Department</a></p></div>"
  ] ;
  fhir:Encounter.status [ fhir:value "finished"] ;
  fhir:Encounter.class [
     fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-ActCode" ] ;
     fhir:Coding.code [ fhir:value "EMER" ] ;
     fhir:Coding.display [ fhir:value "emergency" ]
  ] ;
  fhir:Encounter.priority [
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-ActPriority" ] ;
       fhir:Coding.code [ fhir:value "EM" ] ;
       fhir:Coding.display [ fhir:value "emergency" ]
     ]
  ] ;
  fhir:Encounter.subject [
     fhir:Reference.reference [ fhir:value "urn:uuid:79d8f1c5-636a-4285-9cc5-e9f077d851e9" ]
  ] ;
  fhir:Encounter.period [
     fhir:Period.start [ fhir:value "2026-03-14T18:40:00+01:00"^^xsd:dateTime ] ;
     fhir:Period.end [ fhir:value "2026-03-14T22:50:00+01:00"^^xsd:dateTime ]
  ] ;
  fhir:Encounter.reasonReference [
     fhir:index 0 ;
     fhir:Reference.reference [ fhir:value "urn:uuid:b33f1e71-268e-4cae-912f-3d2262b29dc0" ]
  ] ;
  fhir:Encounter.hospitalization [
     fhir:Encounter.hospitalization.dischargeDisposition [
       fhir:CodeableConcept.coding [
         fhir:index 0 ;
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/discharge-disposition" ] ;
         fhir:Coding.code [ fhir:value "home" ] ;
         fhir:Coding.display [ fhir:value "Home" ]
       ]
     ]
  ] ;
  fhir:Encounter.serviceProvider [
     fhir:Reference.reference [ fhir:value "urn:uuid:ca6878b7-8435-422b-bb41-5369c3b17dec" ]
  ] .

<urn:uuid:b33f1e71-268e-4cae-912f-3d2262b29dc0> a fhir:Condition ;
  fhir:Resource.id [ fhir:value "b33f1e71-268e-4cae-912f-3d2262b29dc0"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://hl7.eu/fhir/base/StructureDefinition/condition-eu-core" ;
       fhir:index 0 ;
       fhir:link <http://hl7.eu/fhir/base/StructureDefinition/condition-eu-core>
     ]
  ] ;
  fhir:Resource.language [ fhir:value "en"] ;
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ] ;
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"en\" lang=\"en\"><a name=\"Condition_b33f1e71-268e-4cae-912f-3d2262b29dc0\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Condition b33f1e71-268e-4cae-912f-3d2262b29dc0</b></p><a name=\"b33f1e71-268e-4cae-912f-3d2262b29dc0\"> </a><a name=\"hcb33f1e71-268e-4cae-912f-3d2262b29dc0\"> </a><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\">Language: en</p><p style=\"margin-bottom: 0px\">Profile: <a href=\"http://hl7.eu/fhir/base/2.0.1/StructureDefinition-condition-eu-core.html\">Condition (EU core)</a></p></div><p><b>clinicalStatus</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/condition-clinical resolved}\">Resolved</span></p><p><b>code</b>: <span title=\"Codes:{http://snomed.info/sct 29857009}, {http://hl7.org/fhir/sid/icd-10 R07.4}\">Chest pain (finding)</span></p><p><b>subject</b>: <a href=\"Bundle-DR-Emergency-Department-Example.html#urn-uuid-79d8f1c5-636a-4285-9cc5-e9f077d851e9\">Maria Rossi Female, DoB: 1971-03-12 ( National unique individual identifier: RSSMRA71C52H501Z)</a></p><p><b>onset</b>: 2026-03-14 16:30:00+0100</p></div>"
  ] ;
  fhir:Condition.clinicalStatus [
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/condition-clinical" ] ;
       fhir:Coding.code [ fhir:value "resolved" ]
     ]
  ] ;
  fhir:Condition.code [
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       a sct:29857009 ;
       fhir:Coding.system [ fhir:value "http://snomed.info/sct" ] ;
       fhir:Coding.code [ fhir:value "29857009" ] ;
       fhir:Coding.display [ fhir:value "Chest pain (finding)" ]
     ], [
       fhir:index 1 ;
       fhir:Coding.system [ fhir:value "http://hl7.org/fhir/sid/icd-10" ] ;
       fhir:Coding.code [ fhir:value "R07.4" ] ;
       fhir:Coding.display [ fhir:value "Chest pain, unspecified" ]
     ]
  ] ;
  fhir:Condition.subject [
     fhir:Reference.reference [ fhir:value "urn:uuid:79d8f1c5-636a-4285-9cc5-e9f077d851e9" ]
  ] ;
  fhir:Condition.onsetDateTime [ fhir:value "2026-03-14T16:30:00+01:00"^^xsd:dateTime] .

<urn:uuid:46610ccc-7172-4c45-9a31-9e83c77398a8> a fhir:Procedure ;
  fhir:Resource.id [ fhir:value "46610ccc-7172-4c45-9a31-9e83c77398a8"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://hl7.eu/fhir/base/StructureDefinition/procedure-eu-core" ;
       fhir:index 0 ;
       fhir:link <http://hl7.eu/fhir/base/StructureDefinition/procedure-eu-core>
     ]
  ] ;
  fhir:Resource.language [ fhir:value "en"] ;
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ] ;
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"en\" lang=\"en\"><a name=\"Procedure_46610ccc-7172-4c45-9a31-9e83c77398a8\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Procedure 46610ccc-7172-4c45-9a31-9e83c77398a8</b></p><a name=\"46610ccc-7172-4c45-9a31-9e83c77398a8\"> </a><a name=\"hc46610ccc-7172-4c45-9a31-9e83c77398a8\"> </a><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\">Language: en</p><p style=\"margin-bottom: 0px\">Profile: <a href=\"http://hl7.eu/fhir/base/2.0.1/StructureDefinition-procedure-eu-core.html\">Procedure (EU core)</a></p></div><p><b>status</b>: Completed</p><p><b>code</b>: <span title=\"Codes:{http://snomed.info/sct 29303009}\">Electrocardiographic procedure (procedure)</span></p><p><b>subject</b>: <a href=\"Bundle-DR-Emergency-Department-Example.html#urn-uuid-79d8f1c5-636a-4285-9cc5-e9f077d851e9\">Maria Rossi Female, DoB: 1971-03-12 ( National unique individual identifier: RSSMRA71C52H501Z)</a></p><p><b>performed</b>: 2026-03-14 18:55:00+0100</p></div>"
  ] ;
  fhir:Procedure.status [ fhir:value "completed"] ;
  fhir:Procedure.code [
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       a sct:29303009 ;
       fhir:Coding.system [ fhir:value "http://snomed.info/sct" ] ;
       fhir:Coding.code [ fhir:value "29303009" ] ;
       fhir:Coding.display [ fhir:value "Electrocardiographic procedure (procedure)" ]
     ]
  ] ;
  fhir:Procedure.subject [
     fhir:Reference.reference [ fhir:value "urn:uuid:79d8f1c5-636a-4285-9cc5-e9f077d851e9" ]
  ] ;
  fhir:Procedure.performedDateTime [ fhir:value "2026-03-14T18:55:00+01:00"^^xsd:dateTime] .

# - ontology header ------------------------------------------------------------

<http://hl7.eu/fhir/discharge-report/Bundle/DR-Emergency-Department-Example.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl .

# -------------------------------------------------------------------------------------

