@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://hl7.org.au/fhir/MedicationDispense/example0> a fhir:MedicationDispense ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "example0"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "http://hl7.org.au/fhir/StructureDefinition/au-medicationdispense"^^xsd:anyURI ;
       fhir:l <http://hl7.org.au/fhir/StructureDefinition/au-medicationdispense>
     ] )
  ] ; # 
  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: MedicationDispense example0</b></p><a name=\"example0\"> </a><a name=\"hcexample0\"> </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-au-medicationdispense.html\">AU Base MedicationDispense</a></p></div><p><b>Dispense Number</b>: 1</p><p><b>identifier</b>: Local Dispense Identifier/26597878</p><p><b>status</b>: Completed</p><p><b>medication</b>: <span title=\"Codes:{http://snomed.info/sct 926213011000036100}\">Reaptan 10 mg/10 mg (perindopril arginine/amlodipine) tablet, 10</span></p><p><b>subject</b>: <a href=\"Patient-example0.html\">Stella Franklin (official) Female, DoB: 1985-10-14 ( IHI: Austalian Healthcare Identifier - Individual#8003608833357361)</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=\"Organization-example0.html\">Organization Downunder Hospital</a></td></tr></table><p><b>authorizingPrescription</b>: <a href=\"MedicationRequest-example2.html\">MedicationRequest: identifier = Local Prescription Number: 53720010; status = active; intent = order; medication[x] = Reaptan 10 mg/10 mg (perindopril arginine/amlodipine) tablet, 10; authoredOn = 2018-07-15; reasonCode = ; note = Patient requires an administration aid.</a></p><p><b>type</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/v3-ActCode FF}\">First Fill</span></p><p><b>quantity</b>: 20 TAB<span style=\"background: LightGoldenRodYellow\"> (Details: Orderable Drug Form  codeTAB = 'Tablet')</span></p><p><b>daysSupply</b>: 10 days<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM  coded = 'd')</span></p><p><b>whenPrepared</b>: 2018-07-15</p><p><b>whenHandedOver</b>: 2018-07-15</p><p><b>note</b>: </p><blockquote><div><p>Patient refused use of administration aid.</p>\n</div></blockquote><blockquote><p><b>dosageInstruction</b></p><p><b>text</b>: 1-2 tablets every 4-6 hours as needed for pain</p><p><b>timing</b>: 1-2 per 4-6 hours</p><p><b>asNeeded</b>: true</p><p><b>route</b>: <span title=\"Codes:{http://snomed.info/sct 26643006}\">Oral route</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 TAB<span style=\"background: LightGoldenRodYellow\"> (Details: Orderable Drug Form  codeTAB = 'Tablet')</span></td></tr></table></blockquote><h3>Substitutions</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>WasSubstituted</b></td></tr><tr><td style=\"display: none\">*</td><td>false</td></tr></table></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:extension ( [
     fhir:url [
       fhir:v "http://hl7.org.au/fhir/StructureDefinition/dispense-number"^^xsd:anyURI ;
       fhir:l <http://hl7.org.au/fhir/StructureDefinition/dispense-number>
     ] ;
     fhir:value [
       a fhir:Integer ;
       fhir:v 1
     ]
  ] ) ; # 
  fhir:identifier ( [
     fhir:type [
       fhir:coding ( [
         fhir:system [
           fhir:v "http://terminology.hl7.org.au/CodeSystem/v2-0203"^^xsd:anyURI ;
           fhir:l <http://terminology.hl7.org.au/CodeSystem/v2-0203>
         ] ;
         fhir:code [ fhir:v "LDI" ]
       ] ) ;
       fhir:text [ fhir:v "Local Dispense Identifier" ]
     ] ;
     fhir:system [
       fhir:v "http://ns.electronichealth.net.au/id/hpio-scoped/dispense/1.0/8003621566684455"^^xsd:anyURI ;
       fhir:l <http://ns.electronichealth.net.au/id/hpio-scoped/dispense/1.0/8003621566684455>
     ] ;
     fhir:value [ fhir:v "26597878" ] ;
     fhir:assigner [
       fhir:l <http://hl7.org.au/fhir/Organization/example0> ;
       fhir:reference [ fhir:v "Organization/example0" ]
     ]
  ] ) ; # 
  fhir:status [ fhir:v "completed"] ; # 
  fhir:medication [
     a fhir:CodeableConcept ;
     fhir:coding ( [
       a sct:926213011000036100 ;
       fhir:system [
         fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
         fhir:l <http://snomed.info/sct>
       ] ;
       fhir:code [ fhir:v "926213011000036100" ] ;
       fhir:display [ fhir:v "Reaptan 10 mg/10 mg (perindopril arginine/amlodipine) tablet, 10" ]
     ] )
  ] ; # 
  fhir:subject [
     fhir:l <http://hl7.org.au/fhir/Patient/example0> ;
     fhir:reference [ fhir:v "Patient/example0" ]
  ] ; # 
  fhir:performer ( [
     fhir:actor [
       fhir:l <http://hl7.org.au/fhir/Organization/example0> ;
       fhir:reference [ fhir:v "Organization/example0" ]
     ]
  ] ) ; # 
  fhir:authorizingPrescription ( [
     fhir:l <http://hl7.org.au/fhir/MedicationRequest/example2> ;
     fhir:reference [ fhir:v "MedicationRequest/example2" ]
  ] ) ; # 
  fhir:type [
     fhir:coding ( [
       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 "FF" ] ;
       fhir:display [ fhir:v "First Fill" ]
     ] )
  ] ; # 
  fhir:quantity [
     fhir:value [ fhir:v "20"^^xsd:decimal ] ;
     fhir:unit [ fhir:v "TAB" ] ;
     fhir:system [
       fhir:v "http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm"^^xsd:anyURI ;
       fhir:l <http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm>
     ] ;
     fhir:code [ fhir:v "TAB" ]
  ] ; # 
  fhir:daysSupply [
     fhir:value [ fhir:v "10"^^xsd:decimal ] ;
     fhir:unit [ fhir:v "days" ] ;
     fhir:system [
       fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ;
       fhir:l <http://unitsofmeasure.org>
     ] ;
     fhir:code [ fhir:v "d" ]
  ] ; # 
  fhir:whenPrepared [ fhir:v "2018-07-15"^^xsd:date] ; # 
  fhir:whenHandedOver [ fhir:v "2018-07-15"^^xsd:date] ; # 
  fhir:note ( [
     fhir:text [ fhir:v "Patient refused use of administration aid." ]
  ] ) ; # 
  fhir:dosageInstruction ( [
     fhir:text [ fhir:v "1-2 tablets every 4-6 hours as needed for pain" ] ;
     fhir:timing [
       fhir:repeat [
         fhir:frequency [ fhir:v "1"^^xsd:positiveInteger ] ;
         fhir:frequencyMax [ fhir:v "2"^^xsd:positiveInteger ] ;
         fhir:period [ fhir:v "4"^^xsd:decimal ] ;
         fhir:periodMax [ fhir:v "6"^^xsd:decimal ] ;
         fhir:periodUnit [ fhir:v "h" ]
       ]
     ] ;
     fhir:asNeeded [
       a fhir:Boolean ;
       fhir:v true
     ] ;
     fhir:route [
       fhir:coding ( [
         a sct:26643006 ;
         fhir:system [
           fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
           fhir:l <http://snomed.info/sct>
         ] ;
         fhir:code [ fhir:v "26643006" ] ;
         fhir:display [ fhir:v "Oral route" ]
       ] )
     ] ;
     fhir:doseAndRate ( [
       fhir:dose [
         a fhir:Quantity ;
         fhir:value [ fhir:v "1"^^xsd:decimal ] ;
         fhir:unit [ fhir:v "TAB" ] ;
         fhir:system [
           fhir:v "http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm"^^xsd:anyURI ;
           fhir:l <http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm>
         ] ;
         fhir:code [ fhir:v "TAB" ]
       ]
     ] )
  ] ) ; # 
  fhir:substitution [
     fhir:wasSubstituted [ fhir:v false ]
  ] . # 

# -------------------------------------------------------------------------------------

