@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.slade360.co.ke/fhir/Medication/ExampleSGHIMedication> a fhir:Medication ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "ExampleSGHIMedication"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "https://fhir.slade360.co.ke/fhir/StructureDefinition/medication"^^xsd:anyURI ;
       fhir:l <https://fhir.slade360.co.ke/fhir/StructureDefinition/medication>
     ] [
       fhir:v "{{HAPI_FHIR_BASE_URL}}/StructureDefinition/medication"^^xsd:anyURI ;
       fhir:l <https://fhir.slade360.co.ke/fhir/{{HAPI_FHIR_BASE_URL}}/StructureDefinition/medication>
     ] )
  ] ; # 
  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: Medication ExampleSGHIMedication</b></p><a name=\"ExampleSGHIMedication\"> </a><a name=\"hcExampleSGHIMedication\"> </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\">Profiles: <a href=\"StructureDefinition-medication.html\">SGHI Medication</a>, <code>{{HAPI_FHIR_BASE_URL}}/StructureDefinition/medication</code></p></div><p><b>identifier</b>: Serial Number/example-medication-id (use: official, )</p><p><b>code</b>: <span title=\"Codes:\">Panadol 500mg tablets</span></p><p><b>status</b>: Active</p><p><b>marketingAuthorizationHolder</b>: <a href=\"Organization-ExampleSGHIOrganization.html\">Organization</a></p><blockquote><p><b>ingredient</b></p><h3>Items</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Reference</b></td></tr><tr><td style=\"display: none\">*</td><td><a href=\"Substance-ExampleSGHISubstance.html\">Substance Paracetamol</a></td></tr></table><p><b>isActive</b>: true</p><p><b>strength</b>: 250 mg<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM  codemg = 'mg')</span>/1 tablet<span style=\"background: LightGoldenRodYellow\"> (Details: Orderable Drug Form  codeTAB = 'Tablet')</span></p></blockquote></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:identifier ( [
     fhir:use [ fhir:v "official" ] ;
     fhir:type [
       fhir:coding ( [
         fhir:system [
           fhir:v "http://terminology.hl7.org/CodeSystem/v2-0203"^^xsd:anyURI ;
           fhir:l <http://terminology.hl7.org/CodeSystem/v2-0203>
         ] ;
         fhir:code [ fhir:v "SNO" ] ;
         fhir:display [ fhir:v "Serial Number" ]
       ] )
     ] ;
     fhir:system [
       fhir:v "http://terminology.hl7.org/CodeSystem/v2-0203"^^xsd:anyURI ;
       fhir:l <http://terminology.hl7.org/CodeSystem/v2-0203>
     ] ;
     fhir:value [ fhir:v "example-medication-id" ] ;
     fhir:assigner [
       fhir:l <https://fhir.slade360.co.ke/fhir/Organization/ExampleSGHIOrganization> ;
       fhir:reference [ fhir:v "Organization/ExampleSGHIOrganization" ]
     ]
  ] ) ; # 
  fhir:code [
     fhir:coding ( [
       fhir:code [ fhir:v "AMP" ] ;
       fhir:display [ fhir:v "Panadol 500mg tablets" ]
     ] )
  ] ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:marketingAuthorizationHolder [
     fhir:l <https://fhir.slade360.co.ke/fhir/Organization/ExampleSGHIOrganization> ;
     fhir:reference [ fhir:v "Organization/ExampleSGHIOrganization" ] ;
     fhir:display [ fhir:v "Organization" ]
  ] ; # 
  fhir:ingredient ( [
     fhir:item [
       fhir:reference [
         fhir:l <https://fhir.slade360.co.ke/fhir/Substance/ExampleSGHISubstance> ;
         fhir:reference [ fhir:v "Substance/ExampleSGHISubstance" ]
       ]
     ] ;
     fhir:isActive [ fhir:v true ] ;
     fhir:strength [
       a fhir:Ratio ;
       fhir:numerator [
         fhir:value [ fhir:v "250"^^xsd:decimal ] ;
         fhir:unit [ fhir:v "mg" ] ;
         fhir:system [
           fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ;
           fhir:l <http://unitsofmeasure.org>
         ] ;
         fhir:code [ fhir:v "mg" ]
       ] ;
       fhir:denominator [
         fhir:value [ fhir:v "1"^^xsd:decimal ] ;
         fhir:unit [ fhir:v "tablet" ] ;
         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" ]
       ]
     ]
  ] ) . # 

# -------------------------------------------------------------------------------------

