@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 xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<http://hl7.org.au/fhir/core/MedicationDispense/simvastatin> a fhir:MedicationDispense ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "simvastatin"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://hl7.org.au/fhir/core/StructureDefinition/au-core-medicationdispense" ;
       fhir:index 0 ;
       fhir:link <http://hl7.org.au/fhir/core/StructureDefinition/au-core-medicationdispense>
     ]
  ] ;
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ] ;
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: MedicationDispense simvastatin</b></p><a name=\"simvastatin\"> </a><a name=\"hcsimvastatin\"> </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-core-medicationdispense.html\">AU Core MedicationDispense</a></p></div><p><b>status</b>: Completed</p><p><b>medication</b>: <a href=\"Medication-simvastatin.html\">Medication Simvastatin 40 mg tablet</a></p><p><b>subject</b>: <a href=\"Patient-wang-li.html\">Li Wang  Male, DoB: 1975-05-03 ( Medical Record Number: 22421441)</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>Main Street Pharmacy</td></tr></table><p><b>authorizingPrescription</b>: <a href=\"MedicationRequest-simvastatin.html\">MedicationRequest: status = active; intent = order; medication[x] = -&gt;Medication Simvastatin 40 mg tablet; authoredOn = 2020-07-15; reasonCode = Hypercholesterolaemia</a></p><p><b>quantity</b>: 30 TAB<span style=\"background: LightGoldenRodYellow\"> (Details: Orderable Drug Form  codeTAB = 'Tablet')</span></p><p><b>whenPrepared</b>: 2020-07-15</p><h3>DosageInstructions</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Text</b></td></tr><tr><td style=\"display: none\">*</td><td>Take one tablet daily</td></tr></table></div>"
  ] ;
  fhir:MedicationDispense.status [ fhir:value "completed"] ;
  fhir:MedicationDispense.medicationReference [
     fhir:link <http://hl7.org.au/fhir/core/Medication/simvastatin> ;
     fhir:Reference.reference [ fhir:value "Medication/simvastatin" ]
  ] ;
  fhir:MedicationDispense.subject [
     fhir:link <http://hl7.org.au/fhir/core/Patient/wang-li> ;
     fhir:Reference.reference [ fhir:value "Patient/wang-li" ]
  ] ;
  fhir:MedicationDispense.performer [
     fhir:index 0 ;
     fhir:MedicationDispense.performer.actor [
       fhir:Reference.display [ fhir:value "Main Street Pharmacy" ]
     ]
  ] ;
  fhir:MedicationDispense.authorizingPrescription [
     fhir:index 0 ;
     fhir:link <http://hl7.org.au/fhir/core/MedicationRequest/simvastatin> ;
     fhir:Reference.reference [ fhir:value "MedicationRequest/simvastatin" ]
  ] ;
  fhir:MedicationDispense.quantity [
     fhir:Quantity.value [ fhir:value "30"^^xsd:decimal ] ;
     fhir:Quantity.unit [ fhir:value "TAB" ] ;
     fhir:Quantity.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm" ] ;
     fhir:Quantity.code [ fhir:value "TAB" ]
  ] ;
  fhir:MedicationDispense.whenPrepared [ fhir:value "2020-07-15"^^xsd:date] ;
  fhir:MedicationDispense.dosageInstruction [
     fhir:index 0 ;
     fhir:Dosage.text [ fhir:value "Take one tablet daily" ]
  ] .

# - ontology header ------------------------------------------------------------

<http://hl7.org.au/fhir/core/MedicationDispense/simvastatin.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl .

# -------------------------------------------------------------------------------------

