SGHI FHIR Profile Implementation Guide
0.1.0 - ci-build

SGHI FHIR Profile 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/sil_fhir_profile_ig/ and changes regularly. See the Directory of published versions

## : ExampleSGHISubstance - 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:Substance ;
      fhir:nodeRole fhir:treeRoot ;
      fhir:id [ fhir:v "ExampleSGHISubstance"] ; #
      fhir:meta [
        ( fhir:profile [
    fhir:v "https://fhir.slade360.co.ke/fhir/StructureDefinition/substance"^^xsd:anyURI ;
    fhir:l <https://fhir.slade360.co.ke/fhir/StructureDefinition/substance>     ] [
    fhir:v "{{HAPI_FHIR_BASE_URL}}/StructureDefinition/substance"^^xsd:anyURI ;
    fhir:l fhir:{{HAPI_FHIR_BASE_URL}}/StructureDefinition/substance     ] )
      ] ; #
      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: Substance ExampleSGHISubstance</b></p><a name=\"ExampleSGHISubstance\"> </a><a name=\"hcExampleSGHISubstance\"> </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-substance.html\">SGHI Substance</a>, <code>{{HAPI_FHIR_BASE_URL}}/StructureDefinition/substance</code></p></div><p><b>identifier</b>: National Drug Code/SUBST001</p><p><b>instance</b>: true</p><p><b>status</b>: Active</p><p><b>category</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/substance-category chemical}\">Chemical</span></p><h3>Codes</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Concept</b></td></tr><tr><td style=\"display: none\">*</td><td><span title=\"Codes:{http://snomed.info/sct 387458008}\">Paracetamol</span></td></tr></table><p><b>description</b>: </p><div><p>Paracetamol 500mg tablets</p>\n</div><p><b>expiry</b>: 2024-12-31</p><p><b>quantity</b>: 100 milligram<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM  codemg = 'mg')</span></p><h3>Ingredients</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Quantity</b></td><td><b>Substance[x]</b></td></tr><tr><td style=\"display: none\">*</td><td>500 mg<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM  codemg = 'mg')</span>/1 TAB<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM  codeTAB = 'TAB')</span></td><td><span title=\"Codes:{http://snomed.info/sct 387458008}\">Paracetamol</span></td></tr></table></div>"^^rdf:XMLLiteral ]
      ] ; #
      fhir:identifier ( [
    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 "NDC" ] ;
    fhir:display [ fhir:v "National Drug Code" ]       ] )     ] ;
    fhir:system [
    fhir:v "http://example.org/substances"^^xsd:anyURI ;
    fhir:l <http://example.org/substances>     ] ;
    fhir:value [ fhir:v "SUBST001" ] ;
    fhir:assigner [
    fhir:l fhir:Organization/ExampleSGHIOrganization ;
    fhir:reference [ fhir:v "Organization/ExampleSGHIOrganization" ]     ]
      ] ) ; #
      fhir:instance [ fhir:v true] ; #
      fhir:status [ fhir:v "active"] ; #
      fhir:category ( [
        ( fhir:coding [
    fhir:system [
    fhir:v "http://terminology.hl7.org/CodeSystem/substance-category"^^xsd:anyURI ;
    fhir:l <http://terminology.hl7.org/CodeSystem/substance-category>       ] ;
    fhir:code [ fhir:v "chemical" ] ;
    fhir:display [ fhir:v "Chemical" ]     ] )
      ] ) ; #
      fhir:code [
    fhir:concept [
          ( fhir:coding [
    a sct:387458008 ;
    fhir:system [
    fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
    fhir:l <http://snomed.info/sct>         ] ;
    fhir:code [ fhir:v "387458008" ] ;
    fhir:display [ fhir:v "Paracetamol" ]       ] )     ]
      ] ; #
      fhir:description [ fhir:v "Paracetamol 500mg tablets"] ; #
      fhir:expiry [ fhir:v "2024-12-31"^^xsd:date] ; #
      fhir:quantity [
    fhir:value [ fhir:v "100"^^xsd:decimal ] ;
    fhir:unit [ fhir:v "milligram" ] ;
    fhir:system [
    fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ;
    fhir:l <http://unitsofmeasure.org>     ] ;
    fhir:code [ fhir:v "mg" ]
      ] ; #
      fhir:ingredient ( [
    fhir:quantity [
    fhir:numerator [
    fhir:value [ fhir:v "500"^^xsd:decimal ] ;
    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:system [
    fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ;
    fhir:l <http://unitsofmeasure.org>         ] ;
    fhir:code [ fhir:v "TAB" ]       ]     ] ;
    fhir:substance [
    a fhir:CodeableConcept ;
          ( fhir:coding [
    a sct:387458008 ;
    fhir:system [
    fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
    fhir:l <http://snomed.info/sct>         ] ;
    fhir:code [ fhir:v "387458008" ] ;
    fhir:display [ fhir:v "Paracetamol" ]       ] )     ]
      ] ) . #