@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 -------------------------------------------------------------------

<https://fhir-ig.digitalhealth.gov.ng/MedicationRequest/00126455-e5f6-4789-a123-456789abcdef> a fhir:MedicationRequest ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "00126455-e5f6-4789-a123-456789abcdef"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "https://fhir-ig.digitalhealth.gov.ng/StructureDefinition/ng-medication-request"^^xsd:anyURI ;
       fhir:l <https://fhir-ig.digitalhealth.gov.ng/StructureDefinition/ng-medication-request>
     ] )
  ] ; # 
  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: MedicationRequest 00126455-e5f6-4789-a123-456789abcdef</b></p><a name=\"00126455-e5f6-4789-a123-456789abcdef\"> </a><a name=\"hc00126455-e5f6-4789-a123-456789abcdef\"> </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-ng-medication-request.html\">NG MedicationRequest</a></p></div><p><b>identifier</b>: <code>https://fhir-ig.digitalhealth.gov.ng/ValueSet/ng-atc-all-medications-vs</code>/J01-AMOX-CAP</p><p><b>status</b>: Active</p><p><b>intent</b>: Order</p><p><b>category</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/medicationrequest-category outpatient}\">Outpatient</span></p><p><b>reported</b>: false</p><p><b>medication</b>: <a href=\"Medication-NgMedication-001.html\">Medication </a></p><p><b>subject</b>: <a href=\"Patient-NgPatient-002.html\">Musa Abdullahi  Male, DoB: 1987-07-06 ( nin)</a></p><p><b>supportingInformation</b>: <a href=\"Observation-00124455-e5f8-4789-a123-456789abcdef.html\">Observation Age</a></p><p><b>requester</b>: <a href=\"Practitioner-NgPractitioner-002.html\">Practitioner Nkiru Okeke </a></p><p><b>reasonCode</b>: <span title=\"Codes:\">Acute bacterial sinusitis</span></p><p><b>courseOfTherapyType</b>: <span title=\"Codes:\">Acute (10 days)</span></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 1 capsule orally every 8 hours for 10 days.</td></tr></table><blockquote><p><b>dispenseRequest</b></p><p><b>quantity</b>: 30 1<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM  code1 = '1')</span></p><h3>ExpectedSupplyDurations</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Value</b></td><td><b>Unit</b></td><td><b>System</b></td><td><b>Code</b></td></tr><tr><td style=\"display: none\">*</td><td>10</td><td>days</td><td><a href=\"http://tx.fhir.org/r4/ValueSet/x-ucum\">http://unitsofmeasure.org</a></td><td>d</td></tr></table></blockquote></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:identifier ( [
     fhir:system [
       fhir:v "https://fhir-ig.digitalhealth.gov.ng/ValueSet/ng-atc-all-medications-vs"^^xsd:anyURI ;
       fhir:l <https://fhir-ig.digitalhealth.gov.ng/ValueSet/ng-atc-all-medications-vs>
     ] ;
     fhir:value [ fhir:v "J01-AMOX-CAP" ]
  ] ) ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:intent [ fhir:v "order"] ; # 
  fhir:category ( [
     fhir:coding ( [
       fhir:system [
         fhir:v "http://terminology.hl7.org/CodeSystem/medicationrequest-category"^^xsd:anyURI ;
         fhir:l <http://terminology.hl7.org/CodeSystem/medicationrequest-category>
       ] ;
       fhir:code [ fhir:v "outpatient" ]
     ] )
  ] ) ; # 
  fhir:reported [
     a fhir:Boolean ;
     fhir:v false
  ] ; # 
  fhir:medication [
     a fhir:Reference ;
     fhir:l <https://fhir-ig.digitalhealth.gov.ng/Medication/NgMedication-001> ;
     fhir:reference [ fhir:v "Medication/NgMedication-001" ]
  ] ; # 
  fhir:subject [
     fhir:l <https://fhir-ig.digitalhealth.gov.ng/Patient/NgPatient-002> ;
     fhir:reference [ fhir:v "Patient/NgPatient-002" ]
  ] ; # 
  fhir:supportingInformation ( [
     fhir:l <https://fhir-ig.digitalhealth.gov.ng/Observation/00124455-e5f8-4789-a123-456789abcdef> ;
     fhir:reference [ fhir:v "Observation/00124455-e5f8-4789-a123-456789abcdef" ]
  ] ) ; # 
  fhir:requester [
     fhir:l <https://fhir-ig.digitalhealth.gov.ng/Practitioner/NgPractitioner-002> ;
     fhir:reference [ fhir:v "Practitioner/NgPractitioner-002" ]
  ] ; # 
  fhir:reasonCode ( [
     fhir:text [ fhir:v "Acute bacterial sinusitis" ]
  ] ) ; # 
  fhir:courseOfTherapyType [
     fhir:text [ fhir:v "Acute (10 days)" ]
  ] ; # 
  fhir:dosageInstruction ( [
     fhir:text [ fhir:v "Take 1 capsule orally every 8 hours for 10 days." ]
  ] ) ; # 
  fhir:dispenseRequest [
     fhir:quantity [
       fhir:value [ fhir:v "30"^^xsd:decimal ] ;
       fhir:unit [ fhir:v "1" ] ;
       fhir:system [
         fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ;
         fhir:l <http://unitsofmeasure.org>
       ] ;
       fhir:code [ fhir:v "1" ]
     ] ;
     fhir:expectedSupplyDuration [
       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" ]
     ]
  ] . # 

# -------------------------------------------------------------------------------------

