@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 sct: <http://snomed.info/id/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<http://fhir.ehdsi.eu/epd/Bundle/100A-multiitem-prescription-with-orchestration> a fhir:Bundle ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "100A-multiitem-prescription-with-orchestration"] ; # 
  fhir:type [ fhir:v "collection"] ; # 
  fhir:entry ( [
     fhir:fullUrl [
       fhir:v "https://example.com/RequestGroup/100B-RequestOrchestration"^^xsd:anyURI ;
       fhir:l <https://example.com/RequestGroup/100B-RequestOrchestration>
     ] ;
     fhir:resource ( <https://example.com/RequestGroup/100B-RequestOrchestration> )
  ] [
     fhir:fullUrl [
       fhir:v "https://example.com/PractitionerRole/doctor1"^^xsd:anyURI ;
       fhir:l <https://example.com/PractitionerRole/doctor1>
     ] ;
     fhir:resource ( <https://example.com/PractitionerRole/doctor1> )
  ] [
     fhir:fullUrl [
       fhir:v "https://example.com/Patient/patient1"^^xsd:anyURI ;
       fhir:l <https://example.com/Patient/patient1>
     ] ;
     fhir:resource ( <https://example.com/Patient/patient1> )
  ] ) . # 

<https://example.com/RequestGroup/100B-RequestOrchestration> a fhir:RequestGroup ;
  fhir:id [ fhir:v "100B-RequestOrchestration"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"RequestGroup_100B-RequestOrchestration\"> </a><p class=\"res-header-id\"><b>Generated Narrative: RequestGroup 100B-RequestOrchestration</b></p><a name=\"100B-RequestOrchestration\"> </a><a name=\"hc100B-RequestOrchestration\"> </a><p><b>groupIdentifier</b>: 100</p><p><b>status</b>: Active</p><p><b>intent</b>: Order</p><p><b>subject</b>: <a href=\"Patient-patient1.html\">Thomas Engine  Male, DoB: 1950-09-15 ( 12345)</a></p></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:groupIdentifier [
     fhir:value [ fhir:v "100" ]
  ] ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:intent [ fhir:v "order"] ; # 
  fhir:subject [
     fhir:l <http://fhir.ehdsi.eu/epd/Patient/patient1> ;
     fhir:reference [ fhir:v "Patient/patient1" ]
  ] . # 

<https://example.com/PractitionerRole/doctor1> a fhir:PractitionerRole ;
  fhir:id [ fhir:v "doctor1"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"PractitionerRole_doctor1\"> </a><p class=\"res-header-id\"><b>Generated Narrative: PractitionerRole doctor1</b></p><a name=\"doctor1\"> </a><a name=\"hcdoctor1\"> </a><p><b>practitioner</b>: <a href=\"Practitioner-practitioner1.html\">Dr Meryl Ärztin</a></p><p><b>organization</b>: <a href=\"Organization-organization1.html\">Dr Ärztin Private Practice</a></p><p><b>code</b>: <span title=\"Codes:{http://snomed.info/sct 309295000}\">Clinical oncologist</span></p></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:practitioner [
     fhir:l <http://fhir.ehdsi.eu/epd/Practitioner/practitioner1> ;
     fhir:reference [ fhir:v "Practitioner/practitioner1" ] ;
     fhir:display [ fhir:v "Dr Meryl Ärztin" ]
  ] ; # 
  fhir:organization [
     fhir:l <http://fhir.ehdsi.eu/epd/Organization/organization1> ;
     fhir:reference [ fhir:v "Organization/organization1" ] ;
     fhir:display [ fhir:v "Dr Ärztin Private Practice" ]
  ] ; # 
  fhir:code ( [
     fhir:coding ( [
       a sct:309295000 ;
       fhir:system [
         fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
         fhir:l <http://snomed.info/sct>
       ] ;
       fhir:code [ fhir:v "309295000" ] ;
       fhir:display [ fhir:v "Clinical oncologist" ]
     ] )
  ] ) . # 

<https://example.com/Patient/patient1> a fhir:Patient ;
  fhir:id [ fhir:v "patient1"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "http://hl7.eu/fhir/base/StructureDefinition/patient-eu-core"^^xsd:anyURI ;
       fhir:l <http://hl7.eu/fhir/base/StructureDefinition/patient-eu-core>
     ] )
  ] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Patient_patient1\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Patient patient1</b></p><a name=\"patient1\"> </a><a name=\"hcpatient1\"> </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=\"http://hl7.eu/fhir/base/2.0.0/StructureDefinition-patient-eu-core.html\">Patient (EU core)</a></p></div><p style=\"border: 1px #661aff solid; background-color: #e6e6ff; padding: 10px;\">Thomas Engine  Male, DoB: 1950-09-15 ( 12345)</p><hr/></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:identifier ( [
     fhir:value [ fhir:v "12345" ]
  ] ) ; # 
  fhir:name ( [
     fhir:family [ fhir:v "Engine" ] ;
     fhir:given ( [ fhir:v "Thomas" ] )
  ] ) ; # 
  fhir:gender [ fhir:v "male"] ; # 
  fhir:birthDate [ fhir:v "1950-09-15"^^xsd:date] . # 

# -------------------------------------------------------------------------------------

