SIL HIE Implementation Guide
0.1.0 - sil-hie-active

SIL HIE Implementation Guide, published by Kathurima Kimathi. This guide is not an authorized publication; it is the continuous build for version 0.1.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/savannahghi/hie-fhir-ig-profile/ and changes regularly. See the Directory of published versions

: Example HIE Medication - TTL Representation

Raw ttl | Download


@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 -------------------------------------------------------------------

 a fhir:Medication ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "HIEMedication-example"] ; # 
  fhir:meta [
    ( fhir:profile [
fhir:v "https://nshr.dha.go.ke/fhir/StructureDefinition/hie-medication"^^xsd:anyURI ;
fhir:l <https://nshr.dha.go.ke/fhir/StructureDefinition/hie-medication>     ] )
  ] ; # 
  fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Medication Summary</b></p><table><tbody><tr><td><b>Name</b></td><td>Amoxicillin 500 mg capsule</td></tr><tr><td><b>Status</b></td><td>active</td></tr><tr><td><b>Form</b></td><td>Capsule</td></tr><tr><td><b>Identifier</b></td><td>AMOX-500-CAP-30</td></tr><tr><td><b>Amount</b></td><td>30 capsules per package</td></tr><tr><td><b>Ingredient</b></td><td>Amoxicillin, 500 mg per capsule</td></tr><tr><td><b>Manufacturer</b></td><td>Acme Generics Ltd</td></tr><tr><td><b>Batch</b></td><td>LOT-AXC-2025-001, exp 2027-01-31</td></tr></tbody></table></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 "ACSN" ] ;
fhir:display [ fhir:v "Accession ID" ]       ] )     ] ;
fhir:system [
fhir:v "http://formulary.example.org/meds"^^xsd:anyURI ;
fhir:l <http://formulary.example.org/meds>     ] ;
fhir:value [ fhir:v "AMOX-500-CAP-30" ]
  ] ) ; # 
  fhir:code [
    ( fhir:coding [
fhir:system [
fhir:v "http://www.nlm.nih.gov/research/umls/rxnorm"^^xsd:anyURI ;
fhir:l <http://www.nlm.nih.gov/research/umls/rxnorm>       ] ;
fhir:code [ fhir:v "308189" ] ;
fhir:display [ fhir:v "Amoxicillin 500 MG Oral Capsule" ]     ] ) ;
fhir:text [ fhir:v "Amoxicillin 500 mg capsule" ]
  ] ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:manufacturer [
fhir:l fhir:Organization/manu-001 ;
fhir:reference [ fhir:v "Organization/manu-001" ] ;
fhir:display [ fhir:v "Acme Generics Ltd" ]
  ] ; # 
  fhir:form [
    ( fhir:coding [
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 "CAP" ] ;
fhir:display [ fhir:v "Capsule" ]     ] )
  ] ; # 
  fhir:amount [
fhir:numerator [
fhir:value [ fhir:v "30"^^xsd:decimal ] ;
fhir:unit [ fhir:v "capsule" ] ;
fhir:system [
fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ;
fhir:l <http://unitsofmeasure.org>       ] ;
fhir:code [ fhir:v "1" ]     ] ;
fhir:denominator [
fhir:value [ fhir:v "1"^^xsd:decimal ] ;
fhir:unit [ fhir:v "package" ] ;
fhir:system [
fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ;
fhir:l <http://unitsofmeasure.org>       ] ;
fhir:code [ fhir:v "1" ]     ]
  ] ; # 
  fhir:ingredient ( [
fhir:item [
a fhir:CodeableConcept ;
      ( fhir:coding [
a sct:372687004 ;
fhir:system [
fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
fhir:l <http://snomed.info/sct>         ] ;
fhir:code [ fhir:v "372687004" ] ;
fhir:display [ fhir:v "Amoxicillin (substance)" ]       ] )     ] ;
fhir:isActive [ fhir:v true ] ;
fhir:strength [
fhir:numerator [
fhir:value [ fhir:v "500"^^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 "capsule" ] ;
fhir:system [
fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ;
fhir:l <http://unitsofmeasure.org>         ] ;
fhir:code [ fhir:v "1" ]       ]     ]
  ] ) ; # 
  fhir:batch [
fhir:lotNumber [ fhir:v "LOT-AXC-2025-001" ] ;
fhir:expirationDate [ fhir:v "2027-01-31"^^xsd:date ]
  ] . #