@prefix fhir: <http://hl7.org/fhir/> .
@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://fhir.ehdsi.eu/epd/Bundle/200A-multiitem-prescription-without-orchestration> a fhir:Bundle ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "200A-multiitem-prescription-without-orchestration"] ;
  fhir:Bundle.type [ fhir:value "collection"] ;
  fhir:Bundle.entry [
     fhir:index 0 ;
     fhir:Bundle.entry.fullUrl [ fhir:value "https://example.com/PractitionerRole/doctor1" ] ;
     fhir:Bundle.entry.resource <https://example.com/PractitionerRole/doctor1>
  ], [
     fhir:index 1 ;
     fhir:Bundle.entry.fullUrl [ fhir:value "https://example.com/Patient/patient1" ] ;
     fhir:Bundle.entry.resource <https://example.com/Patient/patient1>
  ] .

<https://example.com/PractitionerRole/doctor1> a fhir:PractitionerRole ;
  fhir:Resource.id [ fhir:value "doctor1"] ;
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ] ;
     fhir:Narrative.div "<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>"
  ] ;
  fhir:PractitionerRole.practitioner [
     fhir:link <http://fhir.ehdsi.eu/epd/Practitioner/practitioner1> ;
     fhir:Reference.reference [ fhir:value "Practitioner/practitioner1" ] ;
     fhir:Reference.display [ fhir:value "Dr Meryl Ärztin" ]
  ] ;
  fhir:PractitionerRole.organization [
     fhir:link <http://fhir.ehdsi.eu/epd/Organization/organization1> ;
     fhir:Reference.reference [ fhir:value "Organization/organization1" ] ;
     fhir:Reference.display [ fhir:value "Dr Ärztin Private Practice" ]
  ] ;
  fhir:PractitionerRole.code [
     fhir:index 0 ;
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       a sct:309295000 ;
       fhir:Coding.system [ fhir:value "http://snomed.info/sct" ] ;
       fhir:Coding.code [ fhir:value "309295000" ] ;
       fhir:Coding.display [ fhir:value "Clinical oncologist" ]
     ]
  ] .

<https://example.com/Patient/patient1> a fhir:Patient ;
  fhir:Resource.id [ fhir:value "patient1"] ;
  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:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ] ;
     fhir:Narrative.div "<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>"
  ] ;
  fhir:Patient.identifier [
     fhir:index 0 ;
     fhir:Identifier.value [ fhir:value "12345" ]
  ] ;
  fhir:Patient.name [
     fhir:index 0 ;
     fhir:HumanName.family [ fhir:value "Engine" ] ;
     fhir:HumanName.given [
       fhir:value "Thomas" ;
       fhir:index 0
     ]
  ] ;
  fhir:Patient.gender [ fhir:value "male"] ;
  fhir:Patient.birthDate [ fhir:value "1950-09-15"^^xsd:date] .

# - ontology header ------------------------------------------------------------

<http://fhir.ehdsi.eu/epd/Bundle/200A-multiitem-prescription-without-orchestration.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl .

# -------------------------------------------------------------------------------------

