Botswana FHIR Implementation Guide
1.0.0 - STU1 Botswana flag

Botswana FHIR Implementation Guide, published by Jembi Health Systems. This guide is not an authorized publication; it is the continuous build for version 1.0.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/jembi/botswana-hie-fhir-ig/ and changes regularly. See the Directory of published versions

: PIMS Bundle - Lab Order - TTL Representation

Raw ttl | Download


@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

 a fhir:Bundle ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "pims-lab-order-bundle"] ; # 
  fhir:type [ fhir:v "transaction"] ; # 
  fhir:entry ( [
fhir:fullUrl [ fhir:v "http://hapi-fhir:8080/fhir/Patient/PimsGeneralPatientExample"^^xsd:anyURI ] ;
    ( fhir:resource <http://hapi-fhir:8080/fhir/Patient/PimsGeneralPatientExample> ) ;
fhir:request [
fhir:method [ fhir:v "PUT" ] ;
fhir:url [ fhir:v "Patient/PimsGeneralPatientExample"^^xsd:anyURI ]     ]
  ] [
fhir:fullUrl [ fhir:v "http://hapi-fhir:8080/fhir/Task/PimsLabOrderTaskExample"^^xsd:anyURI ] ;
    ( fhir:resource <http://hapi-fhir:8080/fhir/Task/PimsLabOrderTaskExample> ) ;
fhir:request [
fhir:method [ fhir:v "PUT" ] ;
fhir:url [ fhir:v "Task/PimsLabOrderTaskExample"^^xsd:anyURI ]     ]
  ] [
fhir:fullUrl [ fhir:v "http://hapi-fhir:8080/fhir/ServiceRequest/PimsActiveServiceRequestExample"^^xsd:anyURI ] ;
    ( fhir:resource <http://hapi-fhir:8080/fhir/ServiceRequest/PimsActiveServiceRequestExample> ) ;
fhir:request [
fhir:method [ fhir:v "PUT" ] ;
fhir:url [ fhir:v "ServiceRequest/PimsActiveServiceRequestExample"^^xsd:anyURI ]     ]
  ] ) . # 

<http://hapi-fhir:8080/fhir/Patient/PimsGeneralPatientExample> a fhir:Patient ;
  fhir:id [ fhir:v "PimsGeneralPatientExample"] ; # 
  fhir:meta [
    ( fhir:profile [
fhir:v "http://moh.bw.org/StructureDefinition/uat-pims-patient"^^xsd:anyURI ;
fhir:link <http://moh.bw.org/StructureDefinition/uat-pims-patient>     ] )
  ] ; # 
  fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Patient_PimsGeneralPatientExample\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Patient PimsGeneralPatientExample</b></p><a name=\"PimsGeneralPatientExample\"> </a><a name=\"hcPimsGeneralPatientExample\"> </a><a name=\"PimsGeneralPatientExample-en-US\"> </a><p style=\"border: 1px #661aff solid; background-color: #e6e6ff; padding: 10px;\">Mark Adams  Male, DoB: 2000-11-11 ( http://moh.bw.org/ext/identifier/pims#pims id)</p><hr/><table class=\"grid\"><tr><td style=\"background-color: #f3f5da\" title=\"Known Marital status of Patient\">Marital Status:</td><td colspan=\"3\"><span title=\"Codes:{http://terminology.hl7.org/CodeSystem/v3-MaritalStatus M}\">Married</span></td></tr><tr><td style=\"background-color: #f3f5da\" title=\"Other Ids (see the one above)\">Other Ids:</td><td colspan=\"3\"><ul><li><code>http://moh.bw.org/identifier/mrn</code>/MRN12345671</li><li><code>http://moh.bw.org/ext/identifier/omang</code>/omang1234</li><li><code>http://moh.bw.org/ext/identifier/birth</code>/birth certificate number</li><li><code>http://moh.bw.org/ext/identifier/passport</code>/ppn1234</li><li><code>http://moh.bw.org/ext/identifier/internalid</code>/internal id</li></ul></td></tr><tr><td style=\"background-color: #f3f5da\" title=\"Ways to contact the Patient\">Contact Detail</td><td colspan=\"3\"><ul><li>ph: 27537652509(Work)</li><li><a href=\"mailto:someone@something.org\">someone@something.org</a></li><li>123 Tesfaye Street Bole Addis Ababa Addis Ababa </li></ul></td></tr><tr><td style=\"background-color: #f3f5da\" title=\"Patient Links\">Links:</td><td colspan=\"3\"><ul><li>Managing Organization: <a href=\"Organization-CurrentServiceProviderExample.html\">Organization Meshwalkiya Health Center</a></li></ul></td></tr></table></div>"
  ] ; # 
  fhir:identifier ( [
fhir:system [ fhir:v "http://moh.bw.org/ext/identifier/pims"^^xsd:anyURI ] ;
fhir:value [ fhir:v "pims id" ]
  ] [
fhir:system [ fhir:v "http://moh.bw.org/identifier/mrn"^^xsd:anyURI ] ;
fhir:value [ fhir:v "MRN12345671" ]
  ] [
fhir:system [ fhir:v "http://moh.bw.org/ext/identifier/omang"^^xsd:anyURI ] ;
fhir:value [ fhir:v "omang1234" ]
  ] [
fhir:system [ fhir:v "http://moh.bw.org/ext/identifier/birth"^^xsd:anyURI ] ;
fhir:value [ fhir:v "birth certificate number" ]
  ] [
fhir:system [ fhir:v "http://moh.bw.org/ext/identifier/passport"^^xsd:anyURI ] ;
fhir:value [ fhir:v "ppn1234" ]
  ] [
fhir:system [ fhir:v "http://moh.bw.org/ext/identifier/internalid"^^xsd:anyURI ] ;
fhir:value [ fhir:v "internal id" ]
  ] ) ; # 
  fhir:name ( [
fhir:family [ fhir:v "Adams" ] ;
    ( fhir:given [ fhir:v "Mark" ] )
  ] ) ; # 
  fhir:telecom ( [
fhir:system [ fhir:v "phone" ] ;
fhir:value [ fhir:v "27537652509" ] ;
fhir:use [ fhir:v "work" ]
  ] [
fhir:system [ fhir:v "email" ] ;
fhir:value [ fhir:v "someone@something.org" ] ;
fhir:use [ fhir:v "home" ]
  ] ) ; # 
  fhir:gender [ fhir:v "male"] ; # 
  fhir:birthDate [ fhir:v "2000-11-11"^^xsd:date] ; # 
  fhir:address ( [
    ( fhir:line [ fhir:v "123" ] [ fhir:v "Tesfaye Street" ] [ fhir:v "Bole" ] ) ;
fhir:city [ fhir:v "Addis Ababa" ] ;
fhir:district [ fhir:v "Addis Ababa Central District" ] ;
fhir:state [ fhir:v "Addis Ababa" ]
  ] ) ; # 
  fhir:maritalStatus [
    ( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus"^^xsd:anyURI ] ;
fhir:code [ fhir:v "M" ]     ] )
  ] ; # 
  fhir:managingOrganization [
fhir:reference [ fhir:v "Organization/CurrentServiceProviderExample" ]
  ] . # 

<http://hapi-fhir:8080/fhir/Task/PimsLabOrderTaskExample> a fhir:Task ;
  fhir:id [ fhir:v "PimsLabOrderTaskExample"] ; # 
  fhir:meta [
    ( fhir:profile [
fhir:v "http://moh.bw.org/StructureDefinition/uat-pims-lab-order-task"^^xsd:anyURI ;
fhir:link <http://moh.bw.org/StructureDefinition/uat-pims-lab-order-task>     ] )
  ] ; # 
  fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Task_PimsLabOrderTaskExample\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Task PimsLabOrderTaskExample</b></p><a name=\"PimsLabOrderTaskExample\"> </a><a name=\"hcPimsLabOrderTaskExample\"> </a><a name=\"PimsLabOrderTaskExample-en-US\"> </a><p><b>identifier</b>: <code>http://moh.bw.org/identifier/task-id</code>/ORDER12345</p><p><b>basedOn</b>: <a href=\"ServiceRequest-PimsActiveServiceRequestExample.html\">ServiceRequest CD4</a></p><p><b>status</b>: Requested</p><p><b>intent</b>: order</p><p><b>for</b>: <a href=\"Patient-PimsGeneralPatientExample.html\">Mark Adams  Male, DoB: 2000-11-11 ( http://moh.bw.org/ext/identifier/pims#pims id)</a></p><p><b>executionPeriod</b>: 2022-07-28 --&gt; (ongoing)</p><p><b>requester</b>: <a href=\"Organization-CurrentServiceProviderExample.html\">Organization Meshwalkiya Health Center</a></p><p><b>owner</b>: <a href=\"Organization-CurrentServiceProviderExample.html\">Organization Meshwalkiya Health Center</a></p></div>"
  ] ; # 
  fhir:identifier ( [
fhir:system [ fhir:v "http://moh.bw.org/identifier/task-id"^^xsd:anyURI ] ;
fhir:value [ fhir:v "ORDER12345" ]
  ] ) ; # 
  fhir:basedOn ( [
fhir:reference [ fhir:v "ServiceRequest/PimsActiveServiceRequestExample" ]
  ] ) ; # 
  fhir:status [ fhir:v "requested"] ; # 
  fhir:intent [ fhir:v "order"] ; # 
  fhir:for [
fhir:reference [ fhir:v "Patient/PimsGeneralPatientExample" ]
  ] ; # 
  fhir:executionPeriod [
fhir:start [ fhir:v "2022-07-28"^^xsd:date ]
  ] ; # 
  fhir:requester [
fhir:reference [ fhir:v "Organization/CurrentServiceProviderExample" ]
  ] ; # 
  fhir:owner [
fhir:reference [ fhir:v "Organization/CurrentServiceProviderExample" ]
  ] . # 

<http://hapi-fhir:8080/fhir/ServiceRequest/PimsActiveServiceRequestExample> a fhir:ServiceRequest ;
  fhir:id [ fhir:v "PimsActiveServiceRequestExample"] ; # 
  fhir:meta [
    ( fhir:profile [
fhir:v "http://moh.bw.org/StructureDefinition/uat-pims-lab-order-service-request"^^xsd:anyURI ;
fhir:link <http://moh.bw.org/StructureDefinition/uat-pims-lab-order-service-request>     ] )
  ] ; # 
  fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"ServiceRequest_PimsActiveServiceRequestExample\"> </a><p class=\"res-header-id\"><b>Generated Narrative: ServiceRequest PimsActiveServiceRequestExample</b></p><a name=\"PimsActiveServiceRequestExample\"> </a><a name=\"hcPimsActiveServiceRequestExample\"> </a><a name=\"PimsActiveServiceRequestExample-en-US\"> </a><p><b>identifier</b>: <code>http://moh.bw.org/identifier/service-request-id</code>/ORDER12345</p><p><b>status</b>: Active</p><p><b>intent</b>: Order</p><p><b>code</b>: <span title=\"Codes:{http://moh.bw.org/CodeSystem/cs-pims-lab-codes P-1}\">CD4</span></p><p><b>subject</b>: <a href=\"Patient-PimsGeneralPatientExample.html\">Mark Adams  Male, DoB: 2000-11-11 ( http://moh.bw.org/ext/identifier/pims#pims id)</a></p><p><b>encounter</b>: <a href=\"Encounter-PimsGeneralEncounterExample.html\">Encounter: status = finished; class = observation encounter (ActCode#OBSENC); period = 2012-12-09 --&gt; 2012-12-09</a></p><p><b>occurrence</b>: 2012-01-05</p><p><b>requester</b>: <a href=\"Practitioner-GeneralPractitionerExample.html\">Practitioner Tom Junes Smith </a></p><p><b>performer</b>: <a href=\"Organization-LaboratoryProviderExample.html\">Organization Meshwalkiya Health Center</a></p></div>"
  ] ; # 
  fhir:identifier ( [
fhir:system [ fhir:v "http://moh.bw.org/identifier/service-request-id"^^xsd:anyURI ] ;
fhir:value [ fhir:v "ORDER12345" ]
  ] ) ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:intent [ fhir:v "order"] ; # 
  fhir:code [
    ( fhir:coding [
fhir:system [ fhir:v "http://moh.bw.org/CodeSystem/cs-pims-lab-codes"^^xsd:anyURI ] ;
fhir:code [ fhir:v "P-1" ]     ] )
  ] ; # 
  fhir:subject [
fhir:reference [ fhir:v "Patient/PimsGeneralPatientExample" ]
  ] ; # 
  fhir:encounter [
fhir:reference [ fhir:v "Encounter/PimsGeneralEncounterExample" ]
  ] ; # 
  fhir:occurrence [ fhir:v "2012-01-05"^^xsd:date] ; # 
  fhir:requester [
fhir:reference [ fhir:v "Practitioner/GeneralPractitionerExample" ]
  ] ; # 
  fhir:performer ( [
fhir:reference [ fhir:v "Organization/LaboratoryProviderExample" ]
  ] ) . #