@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 -------------------------------------------------------------------

<https://profiles.ihe.net/PHARM/MPD/Bundle/200-multiitem-prescription-without-orchestration> a fhir:Bundle ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "200-multiitem-prescription-without-orchestration"] ; # 
  fhir:type [ fhir:v "collection"] ; # 
  fhir:entry ( [
     fhir:fullUrl [
       fhir:v "http://example.org/MedicationRequest/200-2-medication-prescription-request2"^^xsd:anyURI ;
       fhir:l <http://example.org/MedicationRequest/200-2-medication-prescription-request2>
     ] ;
     fhir:resource ( <http://example.org/MedicationRequest/200-2-medication-prescription-request2> )
  ] [
     fhir:fullUrl [
       fhir:v "http://example.org/PractitionerRole/doctor1"^^xsd:anyURI ;
       fhir:l <http://example.org/PractitionerRole/doctor1>
     ] ;
     fhir:resource ( <http://example.org/PractitionerRole/doctor1> )
  ] [
     fhir:fullUrl [
       fhir:v "http://example.org/Patient/patient1"^^xsd:anyURI ;
       fhir:l <http://example.org/Patient/patient1>
     ] ;
     fhir:resource ( <http://example.org/Patient/patient1> )
  ] ) . # 

<http://example.org/MedicationRequest/200-2-medication-prescription-request2> a fhir:MedicationRequest ;
  fhir:id [ fhir:v "200-2-medication-prescription-request2"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "https://profiles.ihe.net/PHARM/MPD/StructureDefinition/IHEMedicationOrder"^^xsd:anyURI ;
       fhir:l <https://profiles.ihe.net/PHARM/MPD/StructureDefinition/IHEMedicationOrder>
     ] )
  ] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"MedicationRequest_200-2-medication-prescription-request2\"> </a><p class=\"res-header-id\"><b>Generated Narrative: MedicationRequest 200-2-medication-prescription-request2</b></p><a name=\"200-2-medication-prescription-request2\"> </a><a name=\"hc200-2-medication-prescription-request2\"> </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-IHEMedicationOrder.html\">IHE Medication Order</a></p></div><p><b>identifier</b>: 200-2/2</p><p><b>groupIdentifier</b>: 200</p><p><b>status</b>: Active</p><p><b>intent</b>: Order</p><h3>Medications</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Concept</b></td></tr><tr><td style=\"display: none\">*</td><td><span title=\"Codes:{http://snomed.info/sct 374647008}\">Amoxicillin 875 mg oral tablet</span></td></tr></table><p><b>subject</b>: <a href=\"Patient-patient1.html\">Thomas Engine  Male, DoB: 1950-09-15 ( 12345)</a></p><p><b>authoredOn</b>: 2024-10-06</p><p><b>requester</b>: <a href=\"PractitionerRole-doctor1.html\">PractitionerRole Clinical oncologist</a></p><h3>Reasons</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Concept</b></td></tr><tr><td style=\"display: none\">*</td><td><span title=\"Codes:{http://snomed.info/sct 88348008}\">Maxillary sinusitis</span></td></tr></table><blockquote><p><b>dosageInstruction</b></p><p><b>timing</b>: 2 per 1 day</p><h3>DoseAndRates</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Dose[x]</b></td></tr><tr><td style=\"display: none\">*</td><td>1 Tablet<span style=\"background: LightGoldenRodYellow\"> (Details: SNOMED CT  code732936001 = 'Tablet (unit of presentation)')</span></td></tr></table></blockquote><h3>DispenseRequests</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>ValidityPeriod</b></td><td><b>NumberOfRepeatsAllowed</b></td><td><b>Quantity</b></td></tr><tr><td style=\"display: none\">*</td><td>2024-10-06 --&gt; 2024-12-06</td><td>1</td><td>14 Tablet<span style=\"background: LightGoldenRodYellow\"> (Details: SNOMED CT  code732936001 = 'Tablet (unit of presentation)')</span></td></tr></table></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:identifier ( [
     fhir:value [ fhir:v "200-2/2" ]
  ] ) ; # 
  fhir:groupIdentifier [
     fhir:value [ fhir:v "200" ]
  ] ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:intent [ fhir:v "order"] ; # 
  fhir:medication [
     fhir:concept [
       fhir:coding ( [
         a sct:374647008 ;
         fhir:system [
           fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
           fhir:l <http://snomed.info/sct>
         ] ;
         fhir:code [ fhir:v "374647008" ] ;
         fhir:display [ fhir:v "Amoxicillin 875 mg oral tablet" ]
       ] )
     ]
  ] ; # 
  fhir:subject [
     fhir:l <https://profiles.ihe.net/PHARM/MPD/Patient/patient1> ;
     fhir:reference [ fhir:v "Patient/patient1" ]
  ] ; # 
  fhir:authoredOn [ fhir:v "2024-10-06"^^xsd:date] ; # 
  fhir:requester [
     fhir:l <https://profiles.ihe.net/PHARM/MPD/PractitionerRole/doctor1> ;
     fhir:reference [ fhir:v "PractitionerRole/doctor1" ]
  ] ; # 
  fhir:reason ( [
     fhir:concept [
       fhir:coding ( [
         a sct:88348008 ;
         fhir:system [
           fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
           fhir:l <http://snomed.info/sct>
         ] ;
         fhir:code [ fhir:v "88348008" ] ;
         fhir:display [ fhir:v "Maxillary sinusitis" ]
       ] )
     ]
  ] ) ; # 
  fhir:dosageInstruction ( [
     fhir:timing [
       fhir:repeat [
         fhir:bounds [
           a fhir:Duration ;
           fhir:value [ fhir:v "7"^^xsd:decimal ] ;
           fhir:unit [ fhir:v "day" ] ;
           fhir:system [
             fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ;
             fhir:l <http://unitsofmeasure.org>
           ] ;
           fhir:code [ fhir:v "d" ]
         ] ;
         fhir:frequency [ fhir:v "2"^^xsd:positiveInteger ] ;
         fhir:period [ fhir:v "1"^^xsd:decimal ] ;
         fhir:periodUnit [ fhir:v "d" ]
       ]
     ] ;
     fhir:doseAndRate ( [
       fhir:dose [
         a fhir:Quantity ;
         fhir:value [ fhir:v "1"^^xsd:decimal ] ;
         fhir:unit [ fhir:v "Tablet" ] ;
         fhir:system [
           fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
           fhir:l <http://snomed.info/sct>
         ] ;
         fhir:code [ fhir:v "732936001" ]
       ]
     ] )
  ] ) ; # 
  fhir:dispenseRequest [
     fhir:validityPeriod [
       fhir:start [ fhir:v "2024-10-06"^^xsd:date ] ;
       fhir:end [ fhir:v "2024-12-06"^^xsd:date ]
     ] ;
     fhir:numberOfRepeatsAllowed [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
     fhir:quantity [
       fhir:value [ fhir:v "14"^^xsd:decimal ] ;
       fhir:unit [ fhir:v "Tablet" ] ;
       fhir:system [
         fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
         fhir:l <http://snomed.info/sct>
       ] ;
       fhir:code [ fhir:v "732936001" ]
     ]
  ] . # 

<http://example.org/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 <https://profiles.ihe.net/PHARM/MPD/Practitioner/practitioner1> ;
     fhir:reference [ fhir:v "Practitioner/practitioner1" ] ;
     fhir:display [ fhir:v "Dr Meryl Ärztin" ]
  ] ; # 
  fhir:organization [
     fhir:l <https://profiles.ihe.net/PHARM/MPD/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" ]
     ] )
  ] ) . # 

<http://example.org/Patient/patient1> a fhir:Patient ;
  fhir:id [ fhir:v "patient1"] ; # 
  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><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] . # 

# -------------------------------------------------------------------------------------

