@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<https://hl7.eu/fhir/ig/hl7.eu.fhir.protect-child/Encounter/TransplantExample1> a fhir:Encounter ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "TransplantExample1"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "https://hl7.eu/fhir/ig/hl7.eu.fhir.protect-child/StructureDefinition/transplant"^^xsd:anyURI ;
       fhir:l <https://hl7.eu/fhir/ig/hl7.eu.fhir.protect-child/StructureDefinition/transplant>
     ] )
  ] ; # 
  fhir:text [
     fhir:status [ fhir:v "extensions" ] ;
     fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: Encounter TransplantExample1</b></p><a name=\"TransplantExample1\"> </a><a name=\"hcTransplantExample1\"> </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\"/><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-transplant.html\">Transplant</a></p></div><p><b>Transplant donor reference</b>: <a href=\"Patient-ExampleDonor1.html\">Anonymous Patient Male, DoB: 2000-01-20 ( https://hl7.eu/fhir/ig/hl7.eu.fhir.protect-child/ids/donor#DON-001)</a></p><p><b>Donor/recipient weight ratio</b>: 0.95</p><p><b>Vessel mismatch (donor-recipient)</b>: false</p><p><b>Cold ischaemia time (minutes)</b>: 480</p><p><b>Time from diagnosis to transplant (months)</b>: 18</p><p><b>Vascular anomalies</b>: Accessory hepatic artery reconstructed</p><p><b>First warm ischaemia time (minutes)</b>: 45</p><p><b>identifier</b>: <code>https://hl7.eu/fhir/ig/hl7.eu.fhir.protect-child/identifiers/transplant</code>/T000001</p><p><b>status</b>: Finished</p><p><b>class</b>: <a href=\"http://terminology.hl7.org/7.1.0/CodeSystem-v3-ActCode.html#v3-ActCode-IMP\">ActCode: IMP</a> (inpatient encounter)</p><p><b>type</b>: <span title=\"Codes:{https://hl7.eu/fhir/ig/hl7.eu.fhir.protect-child/CodeSystem/transplant-type liver}\">Liver transplant</span></p><p><b>subject</b>: <a href=\"Patient-ExamplePatientTransplant1.html\">Anonymous Patient Female, DoB: 2015-06-15 ( https://hl7.eu/fhir/ig/hl7.eu.fhir.protect-child/ids/recipient#REC-001)</a></p><p><b>period</b>: 2023-08-15 08:00:00+0100 --&gt; (ongoing)</p></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:extension ( [
     fhir:url [
       fhir:v "https://hl7.eu/fhir/ig/hl7.eu.fhir.protect-child/StructureDefinition/transplant-donor-ref"^^xsd:anyURI ;
       fhir:l <https://hl7.eu/fhir/ig/hl7.eu.fhir.protect-child/StructureDefinition/transplant-donor-ref>
     ] ;
     fhir:value [
       a fhir:Reference ;
       fhir:l <https://hl7.eu/fhir/ig/hl7.eu.fhir.protect-child/Patient/ExampleDonor1> ;
       fhir:reference [ fhir:v "Patient/ExampleDonor1" ]
     ]
  ] [
     fhir:url [
       fhir:v "https://hl7.eu/fhir/ig/hl7.eu.fhir.protect-child/StructureDefinition/transplant-donor-recipient-weight-ratio"^^xsd:anyURI ;
       fhir:l <https://hl7.eu/fhir/ig/hl7.eu.fhir.protect-child/StructureDefinition/transplant-donor-recipient-weight-ratio>
     ] ;
     fhir:value [
       a fhir:Decimal ;
       fhir:v 0.95
     ]
  ] [
     fhir:url [
       fhir:v "https://hl7.eu/fhir/ig/hl7.eu.fhir.protect-child/StructureDefinition/transplant-vessel-mismatch"^^xsd:anyURI ;
       fhir:l <https://hl7.eu/fhir/ig/hl7.eu.fhir.protect-child/StructureDefinition/transplant-vessel-mismatch>
     ] ;
     fhir:value [
       a fhir:Boolean ;
       fhir:v false
     ]
  ] [
     fhir:url [
       fhir:v "https://hl7.eu/fhir/ig/hl7.eu.fhir.protect-child/StructureDefinition/transplant-cold-ischaemia-time"^^xsd:anyURI ;
       fhir:l <https://hl7.eu/fhir/ig/hl7.eu.fhir.protect-child/StructureDefinition/transplant-cold-ischaemia-time>
     ] ;
     fhir:value [
       a fhir:Integer ;
       fhir:v 480
     ]
  ] [
     fhir:url [
       fhir:v "https://hl7.eu/fhir/ig/hl7.eu.fhir.protect-child/StructureDefinition/transplant-time-diagnosis-to-transplant"^^xsd:anyURI ;
       fhir:l <https://hl7.eu/fhir/ig/hl7.eu.fhir.protect-child/StructureDefinition/transplant-time-diagnosis-to-transplant>
     ] ;
     fhir:value [
       a fhir:Integer ;
       fhir:v 18
     ]
  ] [
     fhir:url [
       fhir:v "https://hl7.eu/fhir/ig/hl7.eu.fhir.protect-child/StructureDefinition/transplant-vascular-anomalies"^^xsd:anyURI ;
       fhir:l <https://hl7.eu/fhir/ig/hl7.eu.fhir.protect-child/StructureDefinition/transplant-vascular-anomalies>
     ] ;
     fhir:value [
       a fhir:String ;
       fhir:v "Accessory hepatic artery reconstructed"
     ]
  ] [
     fhir:url [
       fhir:v "https://hl7.eu/fhir/ig/hl7.eu.fhir.protect-child/StructureDefinition/transplant-first-warm-ischemia-time"^^xsd:anyURI ;
       fhir:l <https://hl7.eu/fhir/ig/hl7.eu.fhir.protect-child/StructureDefinition/transplant-first-warm-ischemia-time>
     ] ;
     fhir:value [
       a fhir:Integer ;
       fhir:v 45
     ]
  ] ) ; # 
  fhir:identifier ( [
     fhir:system [
       fhir:v "https://hl7.eu/fhir/ig/hl7.eu.fhir.protect-child/identifiers/transplant"^^xsd:anyURI ;
       fhir:l <https://hl7.eu/fhir/ig/hl7.eu.fhir.protect-child/identifiers/transplant>
     ] ;
     fhir:value [ fhir:v "T000001" ]
  ] ) ; # 
  fhir:status [ fhir:v "finished"] ; # 
  fhir:class [
     fhir:system [
       fhir:v "http://terminology.hl7.org/CodeSystem/v3-ActCode"^^xsd:anyURI ;
       fhir:l <http://terminology.hl7.org/CodeSystem/v3-ActCode>
     ] ;
     fhir:code [ fhir:v "IMP" ] ;
     fhir:display [ fhir:v "inpatient encounter" ]
  ] ; # 
  fhir:type ( [
     fhir:coding ( [
       fhir:system [
         fhir:v "https://hl7.eu/fhir/ig/hl7.eu.fhir.protect-child/CodeSystem/transplant-type"^^xsd:anyURI ;
         fhir:l <https://hl7.eu/fhir/ig/hl7.eu.fhir.protect-child/CodeSystem/transplant-type>
       ] ;
       fhir:code [ fhir:v "liver" ] ;
       fhir:display [ fhir:v "Liver transplant" ]
     ] )
  ] ) ; # 
  fhir:subject [
     fhir:l <https://hl7.eu/fhir/ig/hl7.eu.fhir.protect-child/Patient/ExamplePatientTransplant1> ;
     fhir:reference [ fhir:v "Patient/ExamplePatientTransplant1" ]
  ] ; # 
  fhir:period [
     fhir:start [ fhir:v "2023-08-15T08:00:00+01:00"^^xsd:dateTime ]
  ] . # 

# -------------------------------------------------------------------------------------

