@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/MedicationAdministration/example1> a fhir:MedicationAdministration ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "example1"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "http://hl7.org.au/fhir/StructureDefinition/au-medicationadministration"^^xsd:anyURI ;
       fhir:l <http://hl7.org.au/fhir/StructureDefinition/au-medicationadministration>
     ] )
  ] ; # 
  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: MedicationAdministration example1</b></p><a name=\"example1\"> </a><a name=\"hcexample1\"> </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-medicationadministration.html\">AU Base MedicationAdministration</a></p></div><p><b>status</b>: Completed</p><p><b>medication</b>: <span title=\"Codes:{http://pbs.gov.au/code/item 11815W}, {http://snomed.info/sct 824201000168102}\">insulin glargine 100 units/mL injection, 5 x 3 mL pen devices</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><p><b>effective</b>: 2021-12-14 08:00:00+1000</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=\"Patient-example0.html\">Stella Franklin (official) Female, DoB: 1985-10-14 ( IHI: Austalian Healthcare Identifier - Individual#8003608833357361)</a></td></tr></table><p><b>reasonReference</b>: <a href=\"Condition-example0.html\">Condition Type 2 diabetes mellitus</a></p><h3>Dosages</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Text</b></td><td><b>Site</b></td><td><b>Route</b></td><td><b>Dose</b></td></tr><tr><td style=\"display: none\">*</td><td>20 units subcutaneous to lower abdomen</td><td><span title=\"Codes:{http://snomed.info/sct 27033000}\">Lower abdomen structure</span></td><td><span title=\"Codes:{http://snomed.info/sct 263887005}\">Subcutaneous</span></td><td>20 U<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM  codeU = 'U')</span></td></tr></table></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:status [ fhir:v "completed"] ; # 
  fhir:medication [
     a fhir:CodeableConcept ;
     fhir:coding ( [
       fhir:system [
         fhir:v "http://pbs.gov.au/code/item"^^xsd:anyURI ;
         fhir:l <http://pbs.gov.au/code/item>
       ] ;
       fhir:code [ fhir:v "11815W" ] ;
       fhir:display [ fhir:v "insulin glargine 100 units/mL injection, 5 x 3 mL pen devices" ]
     ] [
       a sct:824201000168102 ;
       fhir:extension ( [
         fhir:url [
           fhir:v "http://hl7.org.au/fhir/StructureDefinition/medication-type"^^xsd:anyURI ;
           fhir:l <http://hl7.org.au/fhir/StructureDefinition/medication-type>
         ] ;
         fhir:value [
           a fhir:Coding ;
           fhir:system [
             fhir:v "http://terminology.hl7.org.au/CodeSystem/medication-type"^^xsd:anyURI ;
             fhir:l <http://terminology.hl7.org.au/CodeSystem/medication-type>
           ] ;
           fhir:code [ fhir:v "BPGC" ] ;
           fhir:display [ fhir:v "Branded package with container" ]
         ]
       ] ) ;
       fhir:system [
         fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
         fhir:l <http://snomed.info/sct>
       ] ;
       fhir:code [ fhir:v "824201000168102" ] ;
       fhir:display [ fhir:v "Insulin glargine 100 units/mL injection, 5 x 3 mL pen devices" ]
     ] )
  ] ; # 
  fhir:subject [
     fhir:l <http://hl7.org.au/fhir/Patient/example0> ;
     fhir:reference [ fhir:v "Patient/example0" ]
  ] ; # 
  fhir:effective [
     a fhir:DateTime ;
     fhir:v "2021-12-14T08:00:00+10:00"^^xsd:dateTime
  ] ; # 
  fhir:performer ( [
     fhir:actor [
       fhir:l <http://hl7.org.au/fhir/Patient/example0> ;
       fhir:reference [ fhir:v "Patient/example0" ]
     ]
  ] ) ; # 
  fhir:reasonReference ( [
     fhir:l <http://hl7.org.au/fhir/Condition/example0> ;
     fhir:reference [ fhir:v "Condition/example0" ]
  ] ) ; # 
  fhir:dosage [
     fhir:text [ fhir:v "20 units subcutaneous to lower abdomen" ] ;
     fhir:site [
       fhir:coding ( [
         a sct:27033000 ;
         fhir:system [
           fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
           fhir:l <http://snomed.info/sct>
         ] ;
         fhir:code [ fhir:v "27033000" ] ;
         fhir:display [ fhir:v "Lower abdomen structure" ]
       ] )
     ] ;
     fhir:route [
       fhir:coding ( [
         a sct:263887005 ;
         fhir:system [
           fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
           fhir:l <http://snomed.info/sct>
         ] ;
         fhir:code [ fhir:v "263887005" ] ;
         fhir:display [ fhir:v "Subcutaneous" ]
       ] )
     ] ;
     fhir:dose [
       fhir:value [ fhir:v "20"^^xsd:decimal ] ;
       fhir:unit [ fhir:v "U" ] ;
       fhir:system [
         fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ;
         fhir:l <http://unitsofmeasure.org>
       ] ;
       fhir:code [ fhir:v "U" ]
     ]
  ] . # 

# -------------------------------------------------------------------------------------

