Botswana FHIR Implementation Guide - Laboratory
1.0.0 - STU1 Botswana flag

Botswana FHIR Implementation Guide - Laboratory, 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/bw-laboratory-workflows-ig/ and changes regularly. See the Directory of published versions

: OpenMRS 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 "openmrs-lab-order-bundle"] ; # 
  fhir:type [ fhir:v "transaction"] ; # 
  fhir:entry ( [
fhir:fullUrl [ fhir:v "http://hapi-fhir:8080/fhir/Patient/OpenMrsGeneralPatientExample"^^xsd:anyURI ] ;
    ( fhir:resource <http://hapi-fhir:8080/fhir/Patient/OpenMrsGeneralPatientExample> ) ;
fhir:request [
fhir:method [ fhir:v "PUT" ] ;
fhir:url [ fhir:v "Patient/OpenMrsGeneralPatientExample"^^xsd:anyURI ]     ]
  ] [
fhir:fullUrl [ fhir:v "http://hapi-fhir:8080/fhir/Task/OpenMrsLabOrderTaskExample"^^xsd:anyURI ] ;
    ( fhir:resource <http://hapi-fhir:8080/fhir/Task/OpenMrsLabOrderTaskExample> ) ;
fhir:request [
fhir:method [ fhir:v "PUT" ] ;
fhir:url [ fhir:v "Task/OpenMrsLabOrderTaskExample"^^xsd:anyURI ]     ]
  ] [
fhir:fullUrl [ fhir:v "http://hapi-fhir:8080/fhir/ServiceRequest/OpenMrsActiveServiceRequestExample"^^xsd:anyURI ] ;
    ( fhir:resource <http://hapi-fhir:8080/fhir/ServiceRequest/OpenMrsActiveServiceRequestExample> ) ;
fhir:request [
fhir:method [ fhir:v "PUT" ] ;
fhir:url [ fhir:v "ServiceRequest/OpenMrsActiveServiceRequestExample"^^xsd:anyURI ]     ]
  ] ) . # 

<http://hapi-fhir:8080/fhir/Patient/OpenMrsGeneralPatientExample> a fhir:Patient ;
  fhir:id [ fhir:v "OpenMrsGeneralPatientExample"] ; # 
  fhir:meta [
    ( fhir:profile [
fhir:v "http://moh.bw.org/StructureDefinition/uat-openmrs-patient"^^xsd:anyURI ;
fhir:link <http://moh.bw.org/StructureDefinition/uat-openmrs-patient>     ] )
  ] ; # 
  fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Patient_OpenMrsGeneralPatientExample\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Patient OpenMrsGeneralPatientExample</b></p><a name=\"OpenMrsGeneralPatientExample\"> </a><a name=\"hcOpenMrsGeneralPatientExample\"> </a><a name=\"OpenMrsGeneralPatientExample-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/openmrs#openmrs 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/openmrs"^^xsd:anyURI ] ;
fhir:value [ fhir:v "openmrs 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/OpenMrsLabOrderTaskExample> a fhir:Task ;
  fhir:id [ fhir:v "OpenMrsLabOrderTaskExample"] ; # 
  fhir:meta [
    ( fhir:profile [
fhir:v "http://moh.bw.org/StructureDefinition/uat-openmrs-lab-order-task"^^xsd:anyURI ;
fhir:link <http://moh.bw.org/StructureDefinition/uat-openmrs-lab-order-task>     ] )
  ] ; # 
  fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Task_OpenMrsLabOrderTaskExample\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Task OpenMrsLabOrderTaskExample</b></p><a name=\"OpenMrsLabOrderTaskExample\"> </a><a name=\"hcOpenMrsLabOrderTaskExample\"> </a><a name=\"OpenMrsLabOrderTaskExample-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-OpenMrsActiveServiceRequestExample.html\">ServiceRequest TB FLUORESCENCE MICROSCOPY</a></p><p><b>status</b>: Requested</p><p><b>intent</b>: order</p><p><b>for</b>: <a href=\"Patient-OpenMrsGeneralPatientExample.html\">Mark Adams  Male, DoB: 2000-11-11 ( http://moh.bw.org/ext/identifier/openmrs#openmrs 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/OpenMrsActiveServiceRequestExample" ]
  ] ) ; # 
  fhir:status [ fhir:v "requested"] ; # 
  fhir:intent [ fhir:v "order"] ; # 
  fhir:for [
fhir:reference [ fhir:v "Patient/OpenMrsGeneralPatientExample" ]
  ] ; # 
  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/OpenMrsActiveServiceRequestExample> a fhir:ServiceRequest ;
  fhir:id [ fhir:v "OpenMrsActiveServiceRequestExample"] ; # 
  fhir:meta [
    ( fhir:profile [
fhir:v "http://moh.bw.org/StructureDefinition/uat-openmrs-lab-order-service-request"^^xsd:anyURI ;
fhir:link <http://moh.bw.org/StructureDefinition/uat-openmrs-lab-order-service-request>     ] )
  ] ; # 
  fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"ServiceRequest_OpenMrsActiveServiceRequestExample\"> </a><p class=\"res-header-id\"><b>Generated Narrative: ServiceRequest OpenMrsActiveServiceRequestExample</b></p><a name=\"OpenMrsActiveServiceRequestExample\"> </a><a name=\"hcOpenMrsActiveServiceRequestExample\"> </a><a name=\"OpenMrsActiveServiceRequestExample-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-openmrs-lab-codes 3076364}\">TB FLUORESCENCE MICROSCOPY</span></p><p><b>subject</b>: <a href=\"Patient-OpenMrsGeneralPatientExample.html\">Mark Adams  Male, DoB: 2000-11-11 ( http://moh.bw.org/ext/identifier/openmrs#openmrs id)</a></p><p><b>encounter</b>: <a href=\"Encounter-OpenMrsGeneralEncounterExample.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-openmrs-lab-codes"^^xsd:anyURI ] ;
fhir:code [ fhir:v "3076364" ]     ] )
  ] ; # 
  fhir:subject [
fhir:reference [ fhir:v "Patient/OpenMrsGeneralPatientExample" ]
  ] ; # 
  fhir:encounter [
fhir:reference [ fhir:v "Encounter/OpenMrsGeneralEncounterExample" ]
  ] ; # 
  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" ]
  ] ) . #