@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 -------------------------------------------------------------------

<http://fhir.ehdsi.eu/eps/MedicationDispense/DISP-001> a fhir:MedicationDispense ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "DISP-001"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "http://fhir.ehdsi.eu/eps/StructureDefinition/medicationDispense-hdr-myhealtheu"^^xsd:anyURI ;
       fhir:l <http://fhir.ehdsi.eu/eps/StructureDefinition/medicationDispense-hdr-myhealtheu>
     ] )
  ] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: MedicationDispense DISP-001</b></p><a name=\"DISP-001\"> </a><a name=\"hcDISP-001\"> </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-medicationDispense-hdr-myhealtheu.html\">MedicationDispense: EPS</a></p></div><p><b>status</b>: Completed</p><p><b>statusReason</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/v3-NullFlavor UNK}\">unknown</span></p><p><b>medication</b>: <a href=\"Medication-1234567890.html\">Medication simvastatin</a></p><p><b>subject</b>: <a href=\"Bundle-BundleExampleEps.html#urn-uuid-1d4bbc93-63b7-4f2b-8f0f-8380aa138f49\">John Albertus Doe  Male, DoB: 1989-12-12 ( https://www.ehealth.fgov.be/standards/fhir/core/NamingSystem/ssin#89121210976 (use: official, ))</a></p><h3>Performers</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Actor</b></td></tr><tr><td style=\"display: none\">*</td><td><a href=\"Practitioner-b06b2c2c-15dd-4e58-b27e-37326ba51407.html\">Practitioner Anna Smith </a></td></tr></table><p><b>authorizingPrescription</b>: <a href=\"MedicationRequest-ExampleMedicationRequestEps.html\">MedicationRequest: identifier = http://example.org/fhir/NamingSystem/prescription-id#RX-001234; status = active; statusReason = unknown; intent = order; medication[x] = -&gt;Medication simvastatin; authoredOn = 2024-05-15; reasonCode = unknown; groupIdentifier = http://example.org/fhir/NamingSystem/group-id#RX-GROUP-98765</a></p><p><b>quantity</b>: 40 milligram per 24 hour<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM  codemg/(24.h) = 'mg/(24.h)')</span></p><p><b>daysSupply</b>: 5 day<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM  coded = 'd')</span></p><p><b>whenHandedOver</b>: 2024-04-26 10:00:00+0100</p><p><b>receiver</b>: <a href=\"Bundle-BundleExampleEps.html#urn-uuid-1d4bbc93-63b7-4f2b-8f0f-8380aa138f49\">John Albertus Doe  Male, DoB: 1989-12-12 ( https://www.ehealth.fgov.be/standards/fhir/core/NamingSystem/ssin#89121210976 (use: official, ))</a></p><blockquote><p><b>dosageInstruction</b></p><p><b>sequence</b>: 1</p><p><b>text</b>: Take 1 tablet by mouth twice a day for 5 days</p><p><b>timing</b>: Duration 5days , 2 per 1 day</p><p><b>route</b>: <span title=\"Codes:{http://standardterms.edqm.eu 20053000}\">Oral use</span></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: UCUM  code{tbl} = '{tbl}')</span></td></tr></table></blockquote></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:status [ fhir:v "completed"] ; # 
  fhir:statusReason [
     a fhir:CodeableConcept ;
     fhir:coding ( [
       fhir:system [
         fhir:v "http://terminology.hl7.org/CodeSystem/v3-NullFlavor"^^xsd:anyURI ;
         fhir:l <http://terminology.hl7.org/CodeSystem/v3-NullFlavor>
       ] ;
       fhir:code [ fhir:v "UNK" ] ;
       fhir:display [ fhir:v "unknown" ]
     ] )
  ] ; # 
  fhir:medication [
     a fhir:Reference ;
     fhir:l <http://fhir.ehdsi.eu/eps/Medication/1234567890> ;
     fhir:reference [ fhir:v "Medication/1234567890" ]
  ] ; # 
  fhir:subject [
     fhir:l <urn:uuid:1d4bbc93-63b7-4f2b-8f0f-8380aa138f49> ;
     fhir:reference [ fhir:v "urn:uuid:1d4bbc93-63b7-4f2b-8f0f-8380aa138f49" ]
  ] ; # 
  fhir:performer ( [
     fhir:actor [
       fhir:l <http://fhir.ehdsi.eu/eps/Practitioner/b06b2c2c-15dd-4e58-b27e-37326ba51407> ;
       fhir:reference [ fhir:v "Practitioner/b06b2c2c-15dd-4e58-b27e-37326ba51407" ]
     ]
  ] ) ; # 
  fhir:authorizingPrescription ( [
     fhir:l <http://fhir.ehdsi.eu/eps/MedicationRequest/ExampleMedicationRequestEps> ;
     fhir:reference [ fhir:v "MedicationRequest/ExampleMedicationRequestEps" ]
  ] ) ; # 
  fhir:quantity [
     fhir:value [ fhir:v "40"^^xsd:decimal ] ;
     fhir:unit [ fhir:v "milligram per 24 hour" ] ;
     fhir:system [
       fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ;
       fhir:l <http://unitsofmeasure.org>
     ] ;
     fhir:code [ fhir:v "mg/(24.h)" ]
  ] ; # 
  fhir:daysSupply [
     fhir:value [ fhir:v "5"^^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:whenHandedOver [ fhir:v "2024-04-26T10:00:00+01:00"^^xsd:dateTime] ; # 
  fhir:receiver ( [
     fhir:l <urn:uuid:1d4bbc93-63b7-4f2b-8f0f-8380aa138f49> ;
     fhir:reference [ fhir:v "urn:uuid:1d4bbc93-63b7-4f2b-8f0f-8380aa138f49" ]
  ] ) ; # 
  fhir:dosageInstruction ( [
     fhir:sequence [ fhir:v 1 ] ;
     fhir:text [ fhir:v "Take 1 tablet by mouth twice a day for 5 days" ] ;
     fhir:timing [
       fhir:repeat [
         fhir:duration [ fhir:v "5"^^xsd:decimal ] ;
         fhir:durationUnit [ fhir:v "d" ] ;
         fhir:frequency [ fhir:v "2"^^xsd:positiveInteger ] ;
         fhir:period [ fhir:v "1"^^xsd:decimal ] ;
         fhir:periodUnit [ fhir:v "d" ]
       ]
     ] ;
     fhir:route [
       fhir:coding ( [
         fhir:system [
           fhir:v "http://standardterms.edqm.eu"^^xsd:anyURI ;
           fhir:l <http://standardterms.edqm.eu>
         ] ;
         fhir:code [ fhir:v "20053000" ] ;
         fhir:display [ fhir:v "Oral use" ]
       ] )
     ] ;
     fhir:doseAndRate ( [
       fhir:dose [
         a fhir:Quantity ;
         fhir:value [ fhir:v "1"^^xsd:decimal ] ;
         fhir:unit [ fhir:v "tablet" ] ;
         fhir:system [
           fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ;
           fhir:l <http://unitsofmeasure.org>
         ] ;
         fhir:code [ fhir:v "{tbl}" ]
       ]
     ] )
  ] ) . # 

# -------------------------------------------------------------------------------------

