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 Result (Transactional) - 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-result-transactional-bundle"] ; # 
  fhir:type [ fhir:v "transaction"] ; # 
  fhir:entry ( [
fhir:fullUrl [ fhir:v "http://hapi-fhir:8080/fhir/Task/OpenMrsLabResultTaskExample"^^xsd:anyURI ] ;
    ( fhir:resource <http://hapi-fhir:8080/fhir/Task/OpenMrsLabResultTaskExample> ) ;
fhir:request [
fhir:method [ fhir:v "PUT" ] ;
fhir:url [ fhir:v "Task/OpenMrsLabResultTaskExample"^^xsd:anyURI ]     ]
  ] [
fhir:fullUrl [ fhir:v "http://hapi-fhir:8080/fhir/ServiceRequest/OpenMrsCompletedServiceRequestExample"^^xsd:anyURI ] ;
    ( fhir:resource <http://hapi-fhir:8080/fhir/ServiceRequest/OpenMrsCompletedServiceRequestExample> ) ;
fhir:request [
fhir:method [ fhir:v "PUT" ] ;
fhir:url [ fhir:v "ServiceRequest/OpenMrsCompletedServiceRequestExample"^^xsd:anyURI ]     ]
  ] [
fhir:fullUrl [ fhir:v "http://hapi-fhir:8080/fhir/Observation/OpenMrsTestResultExample"^^xsd:anyURI ] ;
    ( fhir:resource <http://hapi-fhir:8080/fhir/Observation/OpenMrsTestResultExample> ) ;
fhir:request [
fhir:method [ fhir:v "PUT" ] ;
fhir:url [ fhir:v "Observation/OpenMrsTestResultExample"^^xsd:anyURI ]     ]
  ] ) . # 

<http://hapi-fhir:8080/fhir/Task/OpenMrsLabResultTaskExample> a fhir:Task ;
  fhir:id [ fhir:v "OpenMrsLabResultTaskExample"] ; # 
  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_OpenMrsLabResultTaskExample\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Task OpenMrsLabResultTaskExample</b></p><a name=\"OpenMrsLabResultTaskExample\"> </a><a name=\"hcOpenMrsLabResultTaskExample\"> </a><a name=\"OpenMrsLabResultTaskExample-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-OpenMrsCompletedServiceRequestExample.html\">ServiceRequest TB FLUORESCENCE MICROSCOPY</a></p><p><b>status</b>: Completed</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; 2022-07-30</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><h3>Outputs</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Type</b></td><td><b>Value[x]</b></td></tr><tr><td style=\"display: none\">*</td><td><span title=\"Codes:\">Some Lab Result</span></td><td><a href=\"DiagnosticReport-OpenMrsLabResultsDiagnosticReportExample.html\">Diagnostic Report for '' for '-&gt;Mark Adams  Male, DoB: 2000-11-11 ( http://moh.bw.org/ext/identifier/openmrs#openmrs id)'</a></td></tr></table></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/OpenMrsCompletedServiceRequestExample" ]
  ] ) ; # 
  fhir:status [ fhir:v "completed"] ; # 
  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:end [ fhir:v "2022-07-30"^^xsd:date ]
  ] ; # 
  fhir:requester [
fhir:reference [ fhir:v "Organization/CurrentServiceProviderExample" ]
  ] ; # 
  fhir:owner [
fhir:reference [ fhir:v "Organization/CurrentServiceProviderExample" ]
  ] ; # 
  fhir:output ( [
fhir:type [
fhir:text [ fhir:v "Some Lab Result" ]     ] ;
fhir:value [
a fhir:Reference ;
fhir:reference [ fhir:v "DiagnosticReport/OpenMrsLabResultsDiagnosticReportExample" ]     ]
  ] ) . # 

<http://hapi-fhir:8080/fhir/ServiceRequest/OpenMrsCompletedServiceRequestExample> a fhir:ServiceRequest ;
  fhir:id [ fhir:v "OpenMrsCompletedServiceRequestExample"] ; # 
  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_OpenMrsCompletedServiceRequestExample\"> </a><p class=\"res-header-id\"><b>Generated Narrative: ServiceRequest OpenMrsCompletedServiceRequestExample</b></p><a name=\"OpenMrsCompletedServiceRequestExample\"> </a><a name=\"hcOpenMrsCompletedServiceRequestExample\"> </a><a name=\"OpenMrsCompletedServiceRequestExample-en-US\"> </a><p><b>identifier</b>: <code>http://moh.bw.org/identifier/service-request-id</code>/ORDER12345</p><p><b>status</b>: Completed</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 "completed"] ; # 
  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" ]
  ] ) . # 

<http://hapi-fhir:8080/fhir/Observation/OpenMrsTestResultExample> a fhir:Observation ;
  fhir:id [ fhir:v "OpenMrsTestResultExample"] ; # 
  fhir:meta [
    ( fhir:profile [
fhir:v "http://moh.bw.org/StructureDefinition/uat-openmrs-diagnostic-test-result-observation"^^xsd:anyURI ;
fhir:link <http://moh.bw.org/StructureDefinition/uat-openmrs-diagnostic-test-result-observation>     ] )
  ] ; # 
  fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Observation_OpenMrsTestResultExample\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Observation OpenMrsTestResultExample</b></p><a name=\"OpenMrsTestResultExample\"> </a><a name=\"hcOpenMrsTestResultExample\"> </a><a name=\"OpenMrsTestResultExample-en-US\"> </a><p><b>status</b>: Final</p><p><b>category</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/observation-category laboratory}\">Laboratory</span></p><p><b>code</b>: <span title=\"Codes:\">Some code</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>effective</b>: 2022-11-30</p><p><b>performer</b>: <a href=\"Organization-LaboratoryProviderExample.html\">Organization Meshwalkiya Health Center</a></p><p><b>value</b>: Positive</p></div>"
  ] ; # 
  fhir:status [ fhir:v "final"] ; # 
  fhir:category ( [
    ( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/observation-category"^^xsd:anyURI ] ;
fhir:code [ fhir:v "laboratory" ]     ] )
  ] ) ; # 
  fhir:code [
fhir:text [ fhir:v "Some code" ]
  ] ; # 
  fhir:subject [
fhir:reference [ fhir:v "Patient/OpenMrsGeneralPatientExample" ]
  ] ; # 
  fhir:encounter [
fhir:reference [ fhir:v "Encounter/OpenMrsGeneralEncounterExample" ]
  ] ; # 
  fhir:effective [ fhir:v "2022-11-30"^^xsd:date] ; # 
  fhir:performer ( [
fhir:reference [ fhir:v "Organization/LaboratoryProviderExample" ]
  ] ) ; # 
  fhir:value [ fhir:v "Positive"] . #