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

: OpenMRS Bundle - Lab Result (Transactional) - TTL Representation

Raw ttl | Download


@prefix fhir: <http://hl7.org/fhir/> .
@prefix loinc: <https://loinc.org/rdf/> .
@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/DiagnosticReport/OpenMrsLabResultsDiagnosticReportExample"^^xsd:anyURI ] ;
    ( fhir:resource <http://hapi-fhir:8080/fhir/DiagnosticReport/OpenMrsLabResultsDiagnosticReportExample> ) ;
fhir:request [
fhir:method [ fhir:v "PUT" ] ;
fhir:url [ fhir:v "DiagnosticReport/OpenMrsLabResultsDiagnosticReportExample"^^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/DiagnosticReport/OpenMrsLabResultsDiagnosticReportExample> a fhir:DiagnosticReport ;
  fhir:id [ fhir:v "OpenMrsLabResultsDiagnosticReportExample"] ; # 
  fhir:meta [
    ( fhir:profile [
fhir:v "http://moh.bw.org/StructureDefinition/uat-openmrs-diagnostic-report"^^xsd:anyURI ;
fhir:link <http://moh.bw.org/StructureDefinition/uat-openmrs-diagnostic-report>     ] )
  ] ; # 
  fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"DiagnosticReport_OpenMrsLabResultsDiagnosticReportExample\"> </a><p class=\"res-header-id\"><b>Generated Narrative: DiagnosticReport OpenMrsLabResultsDiagnosticReportExample</b></p><a name=\"OpenMrsLabResultsDiagnosticReportExample\"> </a><a name=\"hcOpenMrsLabResultsDiagnosticReportExample\"> </a><a name=\"OpenMrsLabResultsDiagnosticReportExample-en-US\"> </a><h2><span title=\"Codes:\">Some Test Type</span> (<span title=\"Codes:{http://loinc.org 11502-2}\">Laboratory report</span>) </h2><table class=\"grid\"><tr><td>Subject</td><td>Mark Adams  Male, DoB: 2000-11-11 ( http://moh.bw.org/ext/identifier/openmrs#openmrs id)</td></tr><tr><td>Reported</td><td>2022-07-28 13:28:17-0500</td></tr><tr><td>Performer</td><td> <a href=\"Practitioner-GeneralPractitionerExample.html\">Practitioner Tom Junes Smith </a></td></tr></table><p><b>Report Details</b></p><table class=\"grid\"><tr><td><b>Code</b></td><td><b>Value</b></td><td><b>Flags</b></td><td><b>When For</b></td></tr><tr><td><a href=\"Observation-OpenMrsTestResultExample.html\"><span title=\"Codes:\">Some code</span></a></td><td>Positive</td><td>Final</td><td>2022-11-30</td></tr></table></div>"
  ] ; # 
  fhir:basedOn ( [
fhir:reference [ fhir:v "ServiceRequest/OpenMrsCompletedServiceRequestExample" ]
  ] ) ; # 
  fhir:status [ fhir:v "final"] ; # 
  fhir:category ( [
    ( fhir:coding [
a loinc:11502-2 ;
fhir:system [ fhir:v "http://loinc.org"^^xsd:anyURI ] ;
fhir:code [ fhir:v "11502-2" ]     ] )
  ] ) ; # 
  fhir:code [
fhir:text [ fhir:v "Some Test Type" ]
  ] ; # 
  fhir:subject [
fhir:reference [ fhir:v "Patient/OpenMrsGeneralPatientExample" ]
  ] ; # 
  fhir:encounter [
fhir:reference [ fhir:v "Encounter/OpenMrsGeneralEncounterExample" ]
  ] ; # 
  fhir:issued [ fhir:v "2022-07-28T13:28:17-05:00"^^xsd:dateTime] ; # 
  fhir:performer ( [
fhir:reference [ fhir:v "Practitioner/GeneralPractitionerExample" ]
  ] ) ; # 
  fhir:result ( [
fhir:reference [ fhir:v "Observation/OpenMrsTestResultExample" ]
  ] ) . # 

<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"] . #