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

## : SGHI Medication Dispense - 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:MedicationDispense ;
      fhir:nodeRole fhir:treeRoot ;
      fhir:id [ fhir:v "ExampleSGHIMedicationDispense"] ; #
      fhir:meta [
        ( fhir:profile [
    fhir:v "https://fhir.slade360.co.ke/fhir/StructureDefinition/medicationdispense"^^xsd:anyURI ;
    fhir:l <https://fhir.slade360.co.ke/fhir/StructureDefinition/medicationdispense>     ] )
      ] ; #
      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: MedicationDispense ExampleSGHIMedicationDispense</b></p><a name=\"ExampleSGHIMedicationDispense\"> </a><a name=\"hcExampleSGHIMedicationDispense\"> </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-medicationdispense.html\">SGHI Medication Dispense</a></p></div><p><b>identifier</b>: Medical record number/example-medication-dispense-id (use: official, )</p><p><b>status</b>: Completed</p><h3>Medications</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Concept</b></td><td><b>Reference</b></td></tr><tr><td style=\"display: none\">*</td><td><span title=\"Codes:{http://www.nlm.nih.gov/research/umls/rxnorm 123456}\">Medication Name</span></td><td><a href=\"Medication-ExampleSGHIMedication.html\">Panadol</a></td></tr></table><p><b>subject</b>: <a href=\"Patient-ExampleSGHIPatient.html\">James Pond(official) Male, DoB: 1990-07-15 ( Medical Record Number: 12345)</a></p><p><b>encounter</b>: <a href=\"Encounter-ExampleSGHIEncounter.html\">Encounter: identifier = Visit Number: VN123456789 (use: official, ); status = in-progress; class = Ambulatory</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><a href=\"Organization-ExampleSGHIOrganization.html\">Organization SGHI Healthcare Organization</a></td></tr></table><p><b>location</b>: <a href=\"Location-ExampleSGHILocation.html\">Pharmacy Location</a></p><p><b>authorizingPrescription</b>: <a href=\"MedicationRequest-ExampleSGHIMedicationRequest.html\">MedicationRequest: identifier = Prescription Number: RX123456789 (use: official, ); status = active; intent = plan; category = Inpatient; priority = routine; authoredOn = 2025-01-22; effectiveDosePeriod = 2025-01-22 --&gt; 2025-02-01</a></p><p><b>type</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/v3-substanceAdminSubstitution DF}\">None</span></p><p><b>quantity</b>: 30 tablets<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM  codetablet = 'tablet')</span></p><p><b>whenPrepared</b>: 2023-10-20 10:00:00+0000</p><p><b>whenHandedOver</b>: 2023-10-20 11:00:00+0000</p><p><b>destination</b>: <a href=\"Location-ExampleSGHILocation.html\">Patient's Home</a></p><p><b>receiver</b>: <a href=\"Patient-ExampleSGHIPatient.html\">James Pond(official) Male, DoB: 1990-07-15 ( Medical Record Number: 12345)</a></p><p><b>renderedDosageInstruction</b>: </p><div><p>Take one tablet daily with meals</p>\n</div><blockquote><p><b>dosageInstruction</b></p><p><b>sequence</b>: 1</p><p><b>text</b>: Take 500 mg by mouth twice daily for 10 days after meals</p><p><b>additionalInstruction</b>: <span title=\"Codes:{http://example.org/fhir/CodeSystem/AdditionalInstructions withFood}\">Take with food</span></p><p><b>patientInstruction</b>: Drink plenty of water with each dose</p><p><b>timing</b>: 2 per 1 day</p><p><b>asNeeded</b>: false</p><p><b>site</b>: <span title=\"Codes:{http://snomed.info/sct N}\">Oral cavity structure</span></p><p><b>route</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/v3-RouteOfAdministration PO}\">Oral</span></p><p><b>method</b>: <span title=\"Codes:{http://example.org/fhir/CodeSystem/MedicationAdministrationMethod SWALLOW}\">Swallow whole</span></p><h3>DoseAndRates</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Type</b></td><td><b>Dose[x]</b></td><td><b>Rate[x]</b></td></tr><tr><td style=\"display: none\">*</td><td><span title=\"Codes:{http://terminology.hl7.org/CodeSystem/dose-rate-type calculated}\">Calculated dose</span></td><td>500 mg<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM  codemg = 'mg')</span></td><td>100 mL<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM  codemL = 'mL')</span>/1 hr<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM  codeh = 'h')</span></td></tr></table></blockquote><h3>Substitutions</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>WasSubstituted</b></td><td><b>Type</b></td><td><b>ResponsibleParty</b></td></tr><tr><td style=\"display: none\">*</td><td>false</td><td><span title=\"Codes:{http://terminology.hl7.org/CodeSystem/v3-substanceAdminSubstitution N}\">None</span></td><td><a href=\"Organization-ExampleSGHIOrganization.html\">Organization SGHI Healthcare Organization</a></td></tr></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 "MR" ] ;
    fhir:display [ fhir:v "Medical record 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-dispense-id" ] ;
    fhir:assigner [
    fhir:l fhir:Organization/ExampleSGHIOrganization ;
    fhir:reference [ fhir:v "Organization/ExampleSGHIOrganization" ]     ]
      ] ) ; #
      fhir:status [ fhir:v "completed"] ; #
      fhir:medication [
    fhir:concept [
          ( 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 "123456" ] ;
    fhir:display [ fhir:v "Medication Name" ]       ] )     ] ;
    fhir:reference [
    fhir:l fhir:Medication/ExampleSGHIMedication ;
    fhir:reference [ fhir:v "Medication/ExampleSGHIMedication" ] ;
    fhir:display [ fhir:v "Panadol" ]     ]
      ] ; #
      fhir:subject [
    fhir:l fhir:Patient/ExampleSGHIPatient ;
    fhir:reference [ fhir:v "Patient/ExampleSGHIPatient" ]
      ] ; #
      fhir:encounter [
    fhir:l fhir:Encounter/ExampleSGHIEncounter ;
    fhir:reference [ fhir:v "Encounter/ExampleSGHIEncounter" ]
      ] ; #
      fhir:performer ( [
    fhir:actor [
    fhir:l fhir:Organization/ExampleSGHIOrganization ;
    fhir:reference [ fhir:v "Organization/ExampleSGHIOrganization" ]     ]
      ] ) ; #
      fhir:location [
    fhir:l fhir:Location/ExampleSGHILocation ;
    fhir:reference [ fhir:v "Location/ExampleSGHILocation" ] ;
    fhir:display [ fhir:v "Pharmacy Location" ]
      ] ; #
      fhir:authorizingPrescription ( [
    fhir:l fhir:MedicationRequest/ExampleSGHIMedicationRequest ;
    fhir:reference [ fhir:v "MedicationRequest/ExampleSGHIMedicationRequest" ]
      ] ) ; #
      fhir:type [
        ( fhir:coding [
    fhir:system [
    fhir:v "http://terminology.hl7.org/CodeSystem/v3-substanceAdminSubstitution"^^xsd:anyURI ;
    fhir:l <http://terminology.hl7.org/CodeSystem/v3-substanceAdminSubstitution>       ] ;
    fhir:code [ fhir:v "DF" ] ;
    fhir:display [ fhir:v "None" ]     ] )
      ] ; #
      fhir:quantity [
    fhir:value [ fhir:v "30"^^xsd:decimal ] ;
    fhir:unit [ fhir:v "tablets" ] ;
    fhir:system [
    fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ;
    fhir:l <http://unitsofmeasure.org>     ] ;
    fhir:code [ fhir:v "tablet" ]
      ] ; #
      fhir:whenPrepared [ fhir:v "2023-10-20T10:00:00Z"^^xsd:dateTime] ; #
      fhir:whenHandedOver [ fhir:v "2023-10-20T11:00:00Z"^^xsd:dateTime] ; #
      fhir:destination [
    fhir:l fhir:Location/ExampleSGHILocation ;
    fhir:reference [ fhir:v "Location/ExampleSGHILocation" ] ;
    fhir:display [ fhir:v "Patient's Home" ]
      ] ; #
      fhir:receiver ( [
    fhir:l fhir:Patient/ExampleSGHIPatient ;
    fhir:reference [ fhir:v "Patient/ExampleSGHIPatient" ]
      ] ) ; #
      fhir:renderedDosageInstruction [ fhir:v "Take one tablet daily with meals"] ; #
      fhir:dosageInstruction ( [
    fhir:sequence [ fhir:v 1 ] ;
    fhir:text [ fhir:v "Take 500 mg by mouth twice daily for 10 days after meals" ] ;
        ( fhir:additionalInstruction [
          ( fhir:coding [
    fhir:system [
    fhir:v "http://example.org/fhir/CodeSystem/AdditionalInstructions"^^xsd:anyURI ;
    fhir:l <http://example.org/fhir/CodeSystem/AdditionalInstructions>         ] ;
    fhir:code [ fhir:v "withFood" ] ;
    fhir:display [ fhir:v "Take with food" ]       ] )     ] ) ;
    fhir:patientInstruction [ fhir:v "Drink plenty of water with each dose" ] ;
    fhir:timing [
    fhir:repeat [
    fhir:bounds [
    a fhir:Period ;
    fhir:start [ fhir:v "2025-01-22"^^xsd:date ] ;
    fhir:end [ fhir:v "2025-02-01"^^xsd:date ]         ] ;
    fhir:frequency [ fhir:v "2"^^xsd:positiveInteger ] ;
    fhir:period [ fhir:v "1"^^xsd:decimal ] ;
    fhir:periodUnit [ fhir:v "d" ]       ]     ] ;
    fhir:asNeeded [ fhir:v false ] ;
    fhir:site [
          ( fhir:coding [
    a sct:N ;
    fhir:system [
    fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
    fhir:l <http://snomed.info/sct>         ] ;
    fhir:code [ fhir:v "N" ] ;
    fhir:display [ fhir:v "Oral cavity structure" ]       ] )     ] ;
    fhir:route [
          ( fhir:coding [
    fhir:system [
    fhir:v "http://terminology.hl7.org/CodeSystem/v3-RouteOfAdministration"^^xsd:anyURI ;
    fhir:l <http://terminology.hl7.org/CodeSystem/v3-RouteOfAdministration>         ] ;
    fhir:code [ fhir:v "PO" ] ;
    fhir:display [ fhir:v "Oral" ]       ] )     ] ;
    fhir:method [
          ( fhir:coding [
    fhir:system [
    fhir:v "http://example.org/fhir/CodeSystem/MedicationAdministrationMethod"^^xsd:anyURI ;
    fhir:l <http://example.org/fhir/CodeSystem/MedicationAdministrationMethod>         ] ;
    fhir:code [ fhir:v "SWALLOW" ] ;
    fhir:display [ fhir:v "Swallow whole" ]       ] )     ] ;
        ( fhir:doseAndRate [
    fhir:type [
            ( fhir:coding [
    fhir:system [
    fhir:v "http://terminology.hl7.org/CodeSystem/dose-rate-type"^^xsd:anyURI ;
    fhir:l <http://terminology.hl7.org/CodeSystem/dose-rate-type>           ] ;
    fhir:code [ fhir:v "calculated" ] ;
    fhir:display [ fhir:v "Calculated dose" ]         ] )       ] ;
    fhir:dose [
    a fhir:Quantity ;
    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:rate [
    a fhir:Ratio ;
    fhir:numerator [
    fhir:value [ fhir:v "100"^^xsd:decimal ] ;
    fhir:unit [ fhir:v "mL" ] ;
    fhir:system [
    fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ;
    fhir:l <http://unitsofmeasure.org>           ] ;
    fhir:code [ fhir:v "mL" ]         ] ;
    fhir:denominator [
    fhir:value [ fhir:v "1"^^xsd:decimal ] ;
    fhir:unit [ fhir:v "hr" ] ;
    fhir:system [
    fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ;
    fhir:l <http://unitsofmeasure.org>           ] ;
    fhir:code [ fhir:v "h" ]         ]       ]     ] )
      ] ) ; #
      fhir:substitution [
    fhir:wasSubstituted [ fhir:v false ] ;
    fhir:type [
          ( fhir:coding [
    fhir:system [
    fhir:v "http://terminology.hl7.org/CodeSystem/v3-substanceAdminSubstitution"^^xsd:anyURI ;
    fhir:l <http://terminology.hl7.org/CodeSystem/v3-substanceAdminSubstitution>         ] ;
    fhir:code [ fhir:v "N" ] ;
    fhir:display [ fhir:v "None" ]       ] )     ] ;
    fhir:responsibleParty [
    fhir:l fhir:Organization/ExampleSGHIOrganization ;
    fhir:reference [ fhir:v "Organization/ExampleSGHIOrganization" ]     ]
      ] . #