@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 xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<http://fhir.ehdsi.eu/eps/Composition/1033c423-e5cf-45f2-a580-cb9d882af7c4> a fhir:Composition ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "1033c423-e5cf-45f2-a580-cb9d882af7c4"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://fhir.ehdsi.eu/eps/StructureDefinition/composition-eps-myhealtheu" ;
       fhir:index 0 ;
       fhir:link <http://fhir.ehdsi.eu/eps/StructureDefinition/composition-eps-myhealtheu>
     ]
  ] ;
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ] ;
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>Patient Summary for Petra Schwartz</p></div>"
  ] ;
  fhir:Composition.identifier [
     fhir:Identifier.system [ fhir:value "urn:ietf:rfc:9562" ] ;
     fhir:Identifier.value [ fhir:value "4efe560e-aeef-4419-9a57-4b6af5c05779" ]
  ] ;
  fhir:Composition.status [ fhir:value "final"] ;
  fhir:Composition.type [
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       a loinc:60591-5 ;
       fhir:Coding.system [ fhir:value "http://loinc.org" ] ;
       fhir:Coding.code [ fhir:value "60591-5" ] ;
       fhir:Coding.display [ fhir:value "Patient summary Document" ]
     ]
  ] ;
  fhir:Composition.subject [
     fhir:link <http://fhir.ehdsi.eu/eps/Patient/f0b2dcfe-e837-464b-ae8a-3b9da1807dd3> ;
     fhir:Reference.reference [ fhir:value "Patient/f0b2dcfe-e837-464b-ae8a-3b9da1807dd3" ]
  ] ;
  fhir:Composition.date [ fhir:value "2025-08-31T17:46:55Z"^^xsd:dateTime] ;
  fhir:Composition.author [
     fhir:index 0 ;
     fhir:link <http://fhir.ehdsi.eu/eps/PractitionerRole/01d682e6-bb2d-4b31-9d3c-51cdc6dfb39b> ;
     fhir:Reference.reference [ fhir:value "PractitionerRole/01d682e6-bb2d-4b31-9d3c-51cdc6dfb39b" ]
  ] ;
  fhir:Composition.title [ fhir:value "Patient Summary - Petra Schwartz"] ;
  fhir:Composition.custodian [
     fhir:link <http://fhir.ehdsi.eu/eps/Organization/ce815734-508a-4c1d-8b63-01e1d02a5614> ;
     fhir:Reference.reference [ fhir:value "Organization/ce815734-508a-4c1d-8b63-01e1d02a5614" ]
  ] ;
  fhir:Composition.section [
     fhir:index 0 ;
     fhir:Composition.section.title [ fhir:value "Problem list" ] ;
     fhir:Composition.section.code [
       fhir:CodeableConcept.coding [
         fhir:index 0 ;
         a loinc:11450-4 ;
         fhir:Coding.system [ fhir:value "http://loinc.org" ] ;
         fhir:Coding.code [ fhir:value "11450-4" ] ;
         fhir:Coding.display [ fhir:value "Problem list - Reported" ]
       ]
     ] ;
     fhir:Composition.section.text [
       fhir:Narrative.status [ fhir:value "generated" ] ;
       fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>Hyperlipidaemia (active, since 2005-03-10); COPD (active, since 2020-06-15)</p></div>"
     ] ;
     fhir:Composition.section.entry [
       fhir:index 0 ;
       fhir:link <http://fhir.ehdsi.eu/eps/Condition/1945356e-a6aa-498e-9aee-9f708bd78c35> ;
       fhir:Reference.reference [ fhir:value "Condition/1945356e-a6aa-498e-9aee-9f708bd78c35" ]
     ], [
       fhir:index 1 ;
       fhir:link <http://fhir.ehdsi.eu/eps/Condition/2b3c4d5e-f6a7-8901-bcde-f01234567891> ;
       fhir:Reference.reference [ fhir:value "Condition/2b3c4d5e-f6a7-8901-bcde-f01234567891" ]
     ]
  ], [
     fhir:index 1 ;
     fhir:Composition.section.title [ fhir:value "Allergies and Intolerances" ] ;
     fhir:Composition.section.code [
       fhir:CodeableConcept.coding [
         fhir:index 0 ;
         a loinc:48765-2 ;
         fhir:Coding.system [ fhir:value "http://loinc.org" ] ;
         fhir:Coding.code [ fhir:value "48765-2" ] ;
         fhir:Coding.display [ fhir:value "Allergies and adverse reactions Document" ]
       ]
     ] ;
     fhir:Composition.section.text [
       fhir:Narrative.status [ fhir:value "generated" ] ;
       fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>Allergy to Penicillin V (active)</p></div>"
     ] ;
     fhir:Composition.section.entry [
       fhir:index 0 ;
       fhir:link <http://fhir.ehdsi.eu/eps/AllergyIntolerance/d5cab1c1-382d-418c-a1b6-1c21408fcfe5> ;
       fhir:Reference.reference [ fhir:value "AllergyIntolerance/d5cab1c1-382d-418c-a1b6-1c21408fcfe5" ]
     ]
  ], [
     fhir:index 2 ;
     fhir:Composition.section.title [ fhir:value "Medication list" ] ;
     fhir:Composition.section.code [
       fhir:CodeableConcept.coding [
         fhir:index 0 ;
         a loinc:10160-0 ;
         fhir:Coding.system [ fhir:value "http://loinc.org" ] ;
         fhir:Coding.code [ fhir:value "10160-0" ] ;
         fhir:Coding.display [ fhir:value "History of Medication use Narrative" ]
       ]
     ] ;
     fhir:Composition.section.text [
       fhir:Narrative.status [ fhir:value "generated" ] ;
       fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>Simvastatin 10 mg once daily</p></div>"
     ] ;
     fhir:Composition.section.entry [
       fhir:index 0 ;
       fhir:link <http://fhir.ehdsi.eu/eps/MedicationStatement/b3a1ed32-3f44-41e2-919b-1c8bdeaee29c> ;
       fhir:Reference.reference [ fhir:value "MedicationStatement/b3a1ed32-3f44-41e2-919b-1c8bdeaee29c" ]
     ]
  ], [
     fhir:index 3 ;
     fhir:Composition.section.title [ fhir:value "Medical Devices" ] ;
     fhir:Composition.section.code [
       fhir:CodeableConcept.coding [
         fhir:index 0 ;
         a loinc:46264-8 ;
         fhir:Coding.system [ fhir:value "http://loinc.org" ] ;
         fhir:Coding.code [ fhir:value "46264-8" ] ;
         fhir:Coding.display [ fhir:value "History of medical device use" ]
       ]
     ] ;
     fhir:Composition.section.text [
       fhir:Narrative.status [ fhir:value "generated" ] ;
       fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>Cardiac pacemaker implanted 2010-04-25</p></div>"
     ] ;
     fhir:Composition.section.entry [
       fhir:index 0 ;
       fhir:link <http://fhir.ehdsi.eu/eps/DeviceUseStatement/9ee7b991-3240-42e3-9bcf-a1de0507754f> ;
       fhir:Reference.reference [ fhir:value "DeviceUseStatement/9ee7b991-3240-42e3-9bcf-a1de0507754f" ]
     ]
  ], [
     fhir:index 4 ;
     fhir:Composition.section.title [ fhir:value "History of Procedures" ] ;
     fhir:Composition.section.code [
       fhir:CodeableConcept.coding [
         fhir:index 0 ;
         a loinc:47519-4 ;
         fhir:Coding.system [ fhir:value "http://loinc.org" ] ;
         fhir:Coding.code [ fhir:value "47519-4" ] ;
         fhir:Coding.display [ fhir:value "History of Procedures Document" ]
       ]
     ] ;
     fhir:Composition.section.text [
       fhir:Narrative.status [ fhir:value "generated" ] ;
       fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>Coronary artery bypass grafting (2010-04-19)</p></div>"
     ] ;
     fhir:Composition.section.entry [
       fhir:index 0 ;
       fhir:link <http://fhir.ehdsi.eu/eps/Procedure/a1b2c3d4-e5f6-7890-abcd-ef1234567890> ;
       fhir:Reference.reference [ fhir:value "Procedure/a1b2c3d4-e5f6-7890-abcd-ef1234567890" ]
     ]
  ] .

# - ontology header ------------------------------------------------------------

<http://fhir.ehdsi.eu/eps/Composition/1033c423-e5cf-45f2-a580-cb9d882af7c4.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl .

# -------------------------------------------------------------------------------------

