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

## : ExampleSGHIMedicationRequest - 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:MedicationRequest ;
      fhir:nodeRole fhir:treeRoot ;
      fhir:id [ fhir:v "ExampleSGHIMedicationRequest"] ; #
      fhir:meta [
        ( fhir:profile [
    fhir:v "https://fhir.slade360.co.ke/fhir/StructureDefinition/medicationrequest"^^xsd:anyURI ;
    fhir:l <https://fhir.slade360.co.ke/fhir/StructureDefinition/medicationrequest>     ] )
      ] ; #
      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 ExampleSGHIMedicationRequest</b></p><a name=\"ExampleSGHIMedicationRequest\"> </a><a name=\"hcExampleSGHIMedicationRequest\"> </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-medicationrequest.html\">SGHI MedicationRequest</a></p></div><p><b>identifier</b>: Prescription Number/RX123456789 (use: official, )</p><p><b>status</b>: Active</p><p><b>intent</b>: Plan</p><p><b>category</b>: <span title=\"Codes:\">Inpatient</span></p><p><b>priority</b>: Routine</p><h3>Medications</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:\">Hibiscus 500mg Capsule</span></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><p><b>authoredOn</b>: 2025-01-22</p><p><b>requester</b>: <a href=\"Organization-ExampleSGHIOrganization.html\">Organization SGHI Healthcare Organization</a></p><p><b>recorder</b>: <a href=\"Practitioner-ExampleSGHIPractitioner.html\">Dr. John Doe</a></p><h3>Reasons</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=\"Condition-ExampleSGHICondition.html\">Condition Hypertension</a></td></tr></table><p><b>effectiveDosePeriod</b>: 2025-01-22 --&gt; 2025-02-01</p><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></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 "RX" ] ;
    fhir:display [ fhir:v "Prescription 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 "RX123456789" ] ;
    fhir:assigner [
    fhir:l fhir:Organization/ExampleSGHIOrganization ;
    fhir:reference [ fhir:v "Organization/ExampleSGHIOrganization" ]     ]
      ] ) ; #
      fhir:status [ fhir:v "active"] ; #
      fhir:intent [ fhir:v "plan"] ; #
      fhir:category ( [
        ( fhir:coding [
    fhir:code [ fhir:v "inpatient" ] ;
    fhir:display [ fhir:v "Inpatient" ]     ] )
      ] ) ; #
      fhir:priority [ fhir:v "routine"] ; #
      fhir:medication [
    fhir:concept [
          ( fhir:coding [
    fhir:code [ fhir:v "123456" ] ;
    fhir:display [ fhir:v "Hibiscus 500mg Capsule" ]       ] )     ]
      ] ; #
      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:authoredOn [ fhir:v "2025-01-22"^^xsd:date] ; #
      fhir:requester [
    fhir:l fhir:Organization/ExampleSGHIOrganization ;
    fhir:reference [ fhir:v "Organization/ExampleSGHIOrganization" ]
      ] ; #
      fhir:recorder [
    fhir:l fhir:Practitioner/ExampleSGHIPractitioner ;
    fhir:reference [ fhir:v "Practitioner/ExampleSGHIPractitioner" ] ;
    fhir:display [ fhir:v "Dr. John Doe" ]
      ] ; #
      fhir:reason ( [
    fhir:reference [
    fhir:l fhir:Condition/ExampleSGHICondition ;
    fhir:reference [ fhir:v "Condition/ExampleSGHICondition" ]     ]
      ] ) ; #
      fhir:effectiveDosePeriod [
    fhir:start [ fhir:v "2025-01-22"^^xsd:date ] ;
    fhir:end [ fhir:v "2025-02-01"^^xsd:date ]
      ] ; #
      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" ]         ]       ]     ] )
      ] ) . #