Botswana Laboratory HIE Workflow Implementation Guide
0.2.0 - ci-build

Botswana Laboratory HIE Workflow Implementation Guide - Local Development build (v0.2.0). See the Directory of published versions

: BW Lab Bundle - 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:Resource.id [ fhir:value "example-bw-lab-bundle"];
  fhir:Bundle.type [ fhir:value "document"];
  fhir:Bundle.entry [
     fhir:index 0;
     fhir:Bundle.entry.resource [
       a fhir:Composition;
       fhir:Resource.id [ fhir:value "example-bw-lab-composition" ];
       fhir:Resource.meta [
         fhir:Meta.profile [
           fhir:value "http://b-techbw.github.io/bw-lab-ig/StructureDefinition/bw-lab-composition";
           fhir:index 0;
           fhir:link <http://b-techbw.github.io/bw-lab-ig/StructureDefinition/bw-lab-composition>         ]       ];
       fhir:DomainResource.text [
         fhir:Narrative.status [ fhir:value "generated" ];
         fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative</b></p><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\">Resource \"example-bw-lab-composition\" </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-bw-lab-composition.html\">Botswana Lab Order Composition</a></p></div><p><b>status</b>: active</p><p><b>type</b>: document <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> ([not stated]#document)</span></p><p><b>date</b>: 2021-06-06</p><p><b>author</b>: <a href=\"example-bw-practitioner\">example-bw-practitioner</a></p><p><b>title</b>: BW Lab Order Composition</p></div>"       ];
       fhir:Composition.status [ fhir:value "active" ];
       fhir:Composition.type [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.code [ fhir:value "document" ]         ]       ];
       fhir:Composition.subject [
         fhir:Reference.reference [ fhir:value "Patient/example-pims-patient" ]       ];
       fhir:Composition.date [ fhir:value "2021-06-06"^^xsd:date ];
       fhir:Composition.author [
         fhir:index 0;
         fhir:Reference.reference [ fhir:value "example-bw-practitioner" ]       ];
       fhir:Composition.title [ fhir:value "BW Lab Order Composition" ];
       fhir:Composition.section [
         fhir:index 0;
         fhir:Composition.section.entry [
           fhir:index 0;
           fhir:Reference.reference [ fhir:value "Task/example-bw-task-requested" ]         ]       ], [
         fhir:index 1;
         fhir:Composition.section.entry [
           fhir:index 0;
           fhir:Reference.reference [ fhir:value "ServiceRequest/example-bw-pims-service-request-profile" ]         ], [
           fhir:index 1;
           fhir:Reference.reference [ fhir:value "ServiceRequest/example-bw-pims-service-request-1" ]         ], [
           fhir:index 2;
           fhir:Reference.reference [ fhir:value "ServiceRequest/example-bw-pims-service-request-2" ]         ]       ]     ]
  ], [
     fhir:index 1;
     fhir:Bundle.entry.resource [
       a fhir:Patient;
       fhir:Resource.id [ fhir:value "example-pims-patient" ];
       fhir:Resource.meta [
         fhir:Meta.profile [
           fhir:value "http://b-techbw.github.io/bw-lab-ig/StructureDefinition/bw-patient";
           fhir:index 0;
           fhir:link <http://b-techbw.github.io/bw-lab-ig/StructureDefinition/bw-patient>         ]       ];
       fhir:DomainResource.text [
         fhir:Narrative.status [ fhir:value "generated" ];
         fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative</b></p><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\">Resource \"example-pims-patient\" </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-bw-patient.html\">Botswana Patient</a></p></div><p><b>identifier</b>: MR: urn:uuid:&lt;Pims-specific Patient ID&gt;, id: &lt;OmangNumber&gt; (OFFICIAL)</p><p><b>name</b>: Test PimsPatient (OFFICIAL)</p><p><b>gender</b>: female</p><p><b>birthDate</b>: 1988-03-02</p><p><b>managingOrganization</b>: <a href=\"#Organization_example-facility-order-creator\">See above (Organization/example-facility-order-creator)</a></p></div>"       ];
       fhir:Patient.identifier [
         fhir:index 0;
         fhir:Identifier.type [
           fhir:CodeableConcept.coding [
             fhir:index 0;
             fhir:Coding.code [ fhir:value "MR" ]           ]         ];
         fhir:Identifier.system [ fhir:value "urn:ietf:rfc:3986" ];
         fhir:Identifier.value [ fhir:value "urn:uuid:<Pims-specific Patient ID>" ]       ], [
         fhir:index 1;
         fhir:Identifier.use [ fhir:value "official" ];
         fhir:Identifier.system [ fhir:value "http://moh.bw.org/ext/identifier/omang" ];
         fhir:Identifier.value [ fhir:value "<OmangNumber>" ]       ];
       fhir:Patient.name [
         fhir:index 0;
         fhir:HumanName.use [ fhir:value "official" ];
         fhir:HumanName.family [ fhir:value "PimsPatient" ];
         fhir:HumanName.given [
           fhir:value "Test";
           fhir:index 0         ]       ];
       fhir:Patient.gender [ fhir:value "female" ];
       fhir:Patient.birthDate [ fhir:value "1988-03-02"^^xsd:date ];
       fhir:Patient.managingOrganization [
         fhir:Reference.reference [ fhir:value "Organization/example-facility-order-creator" ]       ]     ]
  ], [
     fhir:index 2;
     fhir:Bundle.entry.resource [
       a fhir:Practitioner;
       fhir:Resource.id [ fhir:value "example-bw-pims-practitioner" ];
       fhir:Resource.meta [
         fhir:Meta.profile [
           fhir:value "http://b-techbw.github.io/bw-lab-ig/StructureDefinition/bw-practitioner";
           fhir:index 0;
           fhir:link <http://b-techbw.github.io/bw-lab-ig/StructureDefinition/bw-practitioner>         ]       ];
       fhir:DomainResource.text [
         fhir:Narrative.status [ fhir:value "generated" ];
         fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative</b></p><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\">Resource \"example-bw-pims-practitioner\" </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-bw-practitioner.html\">Botswana Practitioner</a></p></div><p><b>identifier</b>: id: RequesterID</p><p><b>name</b>: PIMS Provider </p></div>"       ];
       fhir:Practitioner.identifier [
         fhir:index 0;
         fhir:Identifier.system [ fhir:value "http://<pims-instance-specific-url>/ext/practitioner/identifier" ];
         fhir:Identifier.value [ fhir:value "RequesterID" ]       ];
       fhir:Practitioner.name [
         fhir:index 0;
         fhir:HumanName.family [ fhir:value "Provider" ];
         fhir:HumanName.given [
           fhir:value "PIMS";
           fhir:index 0         ]       ]     ]
  ], [
     fhir:index 3;
     fhir:Bundle.entry.resource [
       a fhir:Task;
       fhir:Resource.id [ fhir:value "example-bw-task-requested" ];
       fhir:Resource.meta [
         fhir:Meta.profile [
           fhir:value "http://b-techbw.github.io/bw-lab-ig/StructureDefinition/bw-lab-task";
           fhir:index 0;
           fhir:link <http://b-techbw.github.io/bw-lab-ig/StructureDefinition/bw-lab-task>         ]       ];
       fhir:DomainResource.text [
         fhir:Narrative.status [ fhir:value "generated" ];
         fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative</b></p><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\">Resource \"example-bw-task-requested\" </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-bw-lab-task.html\">Botswana Lab Task Resource</a></p></div><p><b>identifier</b>: id: PimsSpecificLabOrderID</p><p><b>basedOn</b>: </p><ul><li><a href=\"#ServiceRequest_example-bw-pims-service-request-1\">See above (ServiceRequest/example-bw-pims-service-request-1)</a></li><li><a href=\"#ServiceRequest_example-bw-pims-service-request-2\">See above (ServiceRequest/example-bw-pims-service-request-2)</a></li></ul><p><b>status</b>: requested</p><p><b>intent</b>: order</p><p><b>for</b>: <a href=\"#Patient_example-pims-patient\">See above (Patient/example-pims-patient)</a></p><p><b>authoredOn</b>: 2021-05-20</p><p><b>owner</b>: <a href=\"#Organization_example-facility-order-reciever\">See above (Organization/example-facility-order-reciever)</a></p><p><b>location</b>: <a href=\"#Location_example-location-order-creator\">See above (Location/example-location-order-creator)</a></p></div>"       ];
       fhir:Task.identifier [
         fhir:index 0;
         fhir:Identifier.system [ fhir:value "http://<pims-instance-specific-url>/ext/lab-task/identifier" ];
         fhir:Identifier.value [ fhir:value "PimsSpecificLabOrderID" ]       ];
       fhir:Task.basedOn [
         fhir:index 0;
         fhir:Reference.reference [ fhir:value "ServiceRequest/example-bw-pims-service-request-1" ]       ], [
         fhir:index 1;
         fhir:Reference.reference [ fhir:value "ServiceRequest/example-bw-pims-service-request-2" ]       ];
       fhir:Task.status [ fhir:value "requested" ];
       fhir:Task.intent [ fhir:value "order" ];
       fhir:Task.for [
         fhir:Reference.reference [ fhir:value "Patient/example-pims-patient" ]       ];
       fhir:Task.authoredOn [ fhir:value "2021-05-20"^^xsd:date ];
       fhir:Task.owner [
         fhir:Reference.reference [ fhir:value "Organization/example-facility-order-reciever" ]       ];
       fhir:Task.location [
         fhir:Reference.reference [ fhir:value "Location/example-location-order-creator" ]       ]     ]
  ], [
     fhir:index 4;
     fhir:Bundle.entry.resource [
       a fhir:ServiceRequest;
       fhir:Resource.id [ fhir:value "example-bw-pims-service-request-profile" ];
       fhir:Resource.meta [
         fhir:Meta.profile [
           fhir:value "http://b-techbw.github.io/bw-lab-ig/StructureDefinition/bw-basic-service-request";
           fhir:index 0;
           fhir:link <http://b-techbw.github.io/bw-lab-ig/StructureDefinition/bw-basic-service-request>         ]       ];
       fhir:DomainResource.text [
         fhir:Narrative.status [ fhir:value "generated" ];
         fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative</b></p><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\">Resource \"example-bw-pims-service-request-profile\" </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-bw-basic-service-request.html\">Basic Botswana Lab Service Request</a></p></div><p><b>status</b>: active</p><p><b>intent</b>: order</p><p><b>code</b>: pims-profile-code <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (pims-lab-profile-code#pims-profile-code)</span></p><p><b>subject</b>: <a href=\"#Patient_example-pims-patient\">See above (Patient/example-pims-patient)</a></p><p><b>performer</b>: <a href=\"#Organization_example-facility-order-reciever\">See above (Organization/example-facility-order-reciever)</a></p><p><b>locationReference</b>: <a href=\"#Location_example-location-order-reciever\">See above (Location/example-location-order-reciever)</a></p></div>"       ];
       fhir:ServiceRequest.status [ fhir:value "active" ];
       fhir:ServiceRequest.intent [ fhir:value "order" ];
       fhir:ServiceRequest.code [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://moh.bw.org/ext/laboratory/pims-lab-profile-code" ];
           fhir:Coding.code [ fhir:value "pims-profile-code" ]         ]       ];
       fhir:ServiceRequest.subject [
         fhir:Reference.reference [ fhir:value "Patient/example-pims-patient" ]       ];
       fhir:ServiceRequest.performer [
         fhir:index 0;
         fhir:Reference.reference [ fhir:value "Organization/example-facility-order-reciever" ]       ];
       fhir:ServiceRequest.locationReference [
         fhir:index 0;
         fhir:Reference.reference [ fhir:value "Location/example-location-order-reciever" ]       ]     ]
  ], [
     fhir:index 5;
     fhir:Bundle.entry.resource [
       a fhir:ServiceRequest;
       fhir:Resource.id [ fhir:value "example-bw-pims-service-request-1" ];
       fhir:Resource.meta [
         fhir:Meta.profile [
           fhir:value "http://b-techbw.github.io/bw-lab-ig/StructureDefinition/bw-basic-service-request";
           fhir:index 0;
           fhir:link <http://b-techbw.github.io/bw-lab-ig/StructureDefinition/bw-basic-service-request>         ]       ];
       fhir:DomainResource.text [
         fhir:Narrative.status [ fhir:value "generated" ];
         fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative</b></p><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\">Resource \"example-bw-pims-service-request-1\" </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-bw-basic-service-request.html\">Basic Botswana Lab Service Request</a></p></div><p><b>basedOn</b>: <a href=\"#ServiceRequest_example-bw-pims-service-request-profile\">See above (ServiceRequest/example-bw-pims-service-request-profile)</a></p><p><b>status</b>: active</p><p><b>intent</b>: order</p><p><b>code</b>: pims-labtest-code <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (pims-lab-test-code#pims-labtest-code)</span></p><p><b>subject</b>: <a href=\"#Patient_example-pims-patient\">See above (Patient/example-pims-patient)</a></p><p><b>performer</b>: <a href=\"#Organization_example-facility-order-reciever\">See above (Organization/example-facility-order-reciever)</a></p><p><b>locationReference</b>: <a href=\"#Location_example-location-order-reciever\">See above (Location/example-location-order-reciever)</a></p></div>"       ];
       fhir:ServiceRequest.basedOn [
         fhir:index 0;
         fhir:Reference.reference [ fhir:value "ServiceRequest/example-bw-pims-service-request-profile" ]       ];
       fhir:ServiceRequest.status [ fhir:value "active" ];
       fhir:ServiceRequest.intent [ fhir:value "order" ];
       fhir:ServiceRequest.code [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://moh.bw.org/ext/laboratory/pims-lab-test-code" ];
           fhir:Coding.code [ fhir:value "pims-labtest-code" ]         ]       ];
       fhir:ServiceRequest.subject [
         fhir:Reference.reference [ fhir:value "Patient/example-pims-patient" ]       ];
       fhir:ServiceRequest.performer [
         fhir:index 0;
         fhir:Reference.reference [ fhir:value "Organization/example-facility-order-reciever" ]       ];
       fhir:ServiceRequest.locationReference [
         fhir:index 0;
         fhir:Reference.reference [ fhir:value "Location/example-location-order-reciever" ]       ]     ]
  ], [
     fhir:index 6;
     fhir:Bundle.entry.resource [
       a fhir:ServiceRequest;
       fhir:Resource.id [ fhir:value "example-bw-pims-service-request-2" ];
       fhir:Resource.meta [
         fhir:Meta.profile [
           fhir:value "http://b-techbw.github.io/bw-lab-ig/StructureDefinition/bw-basic-service-request";
           fhir:index 0;
           fhir:link <http://b-techbw.github.io/bw-lab-ig/StructureDefinition/bw-basic-service-request>         ]       ];
       fhir:DomainResource.text [
         fhir:Narrative.status [ fhir:value "generated" ];
         fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative</b></p><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\">Resource \"example-bw-pims-service-request-2\" </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-bw-basic-service-request.html\">Basic Botswana Lab Service Request</a></p></div><p><b>basedOn</b>: <a href=\"#ServiceRequest_example-bw-pims-service-request-profile\">See above (ServiceRequest/example-bw-pims-service-request-profile)</a></p><p><b>status</b>: active</p><p><b>intent</b>: order</p><p><b>code</b>: pims-labtest-code <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (pims-lab-test-code#pims-labtest-code)</span></p><p><b>subject</b>: <a href=\"#Patient_example-pims-patient\">See above (Patient/example-pims-patient)</a></p><p><b>performer</b>: <a href=\"#Organization_example-facility-order-reciever\">See above (Organization/example-facility-order-reciever)</a></p><p><b>locationReference</b>: <a href=\"#Location_example-location-order-reciever\">See above (Location/example-location-order-reciever)</a></p></div>"       ];
       fhir:ServiceRequest.basedOn [
         fhir:index 0;
         fhir:Reference.reference [ fhir:value "ServiceRequest/example-bw-pims-service-request-profile" ]       ];
       fhir:ServiceRequest.status [ fhir:value "active" ];
       fhir:ServiceRequest.intent [ fhir:value "order" ];
       fhir:ServiceRequest.code [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://moh.bw.org/ext/laboratory/pims-lab-test-code" ];
           fhir:Coding.code [ fhir:value "pims-labtest-code" ]         ]       ];
       fhir:ServiceRequest.subject [
         fhir:Reference.reference [ fhir:value "Patient/example-pims-patient" ]       ];
       fhir:ServiceRequest.performer [
         fhir:index 0;
         fhir:Reference.reference [ fhir:value "Organization/example-facility-order-reciever" ]       ];
       fhir:ServiceRequest.locationReference [
         fhir:index 0;
         fhir:Reference.reference [ fhir:value "Location/example-location-order-reciever" ]       ]     ]
  ], [
     fhir:index 7;
     fhir:Bundle.entry.resource [
       a fhir:Organization;
       fhir:Resource.id [ fhir:value "example-facility-order-creator" ];
       fhir:DomainResource.text [
         fhir:Narrative.status [ fhir:value "generated" ];
         fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative</b></p><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\">Resource \"example-facility-order-creator\" </p></div><p><b>identifier</b>: id: &lt;pims-facility-code&gt;</p><p><b>active</b>: true</p><p><b>type</b>: prov <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (unknown#prov)</span>, Facility <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (ITI.mCSD#Facility)</span></p></div>"       ];
       fhir:Organization.identifier [
         fhir:index 0;
         fhir:Identifier.system [ fhir:value "http://moh.bw.org/ext/mfl/facility-code" ];
         fhir:Identifier.value [ fhir:value "<pims-facility-code>" ]       ];
       fhir:Organization.active [ fhir:value "true"^^xsd:boolean ];
       fhir:Organization.type [
         fhir:index 0;
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "urn:ietf:rfc:3986" ];
           fhir:Coding.code [ fhir:value "prov" ]         ]       ], [
         fhir:index 1;
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "https://github.com/ihe/ITI.mCSD" ];
           fhir:Coding.code [ fhir:value "Facility" ]         ]       ]     ]
  ], [
     fhir:index 8;
     fhir:Bundle.entry.resource [
       a fhir:Location;
       fhir:Resource.id [ fhir:value "example-location-order-creator" ];
       fhir:DomainResource.text [
         fhir:Narrative.status [ fhir:value "generated" ];
         fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative</b></p><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\">Resource \"example-location-order-creator\" </p></div><p><b>status</b>: active</p><p><b>type</b>: HOSP <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (unknown#HOSP)</span>, Facility <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (ITI.mCSD#Facility)</span></p><p><b>physicalType</b>: bu <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> ([not stated]#bu)</span></p><p><b>managingOrganization</b>: <a href=\"#Organization_example-facility-order-creator\">See above (Organization/example-facility-order-creator)</a></p></div>"       ];
       fhir:Location.status [ fhir:value "active" ];
       fhir:Location.type [
         fhir:index 0;
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "urn:ietf:rfc:3986" ];
           fhir:Coding.code [ fhir:value "HOSP" ]         ]       ], [
         fhir:index 1;
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "https://github.com/ihe/ITI.mCSD" ];
           fhir:Coding.code [ fhir:value "Facility" ]         ]       ];
       fhir:Location.physicalType [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.code [ fhir:value "bu" ]         ]       ];
       fhir:Location.managingOrganization [
         fhir:Reference.reference [ fhir:value "Organization/example-facility-order-creator" ]       ]     ]
  ], [
     fhir:index 9;
     fhir:Bundle.entry.resource [
       a fhir:Organization;
       fhir:Resource.id [ fhir:value "example-facility-order-reciever" ];
       fhir:DomainResource.text [
         fhir:Narrative.status [ fhir:value "generated" ];
         fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative</b></p><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\">Resource \"example-facility-order-reciever\" </p></div><p><b>identifier</b>: id: MOH001</p><p><b>active</b>: true</p></div>"       ];
       fhir:Organization.identifier [
         fhir:index 0;
         fhir:Identifier.system [ fhir:value "http://moh.bw.org/ext/mfl/facility-code" ];
         fhir:Identifier.value [ fhir:value "MOH001" ]       ];
       fhir:Organization.active [ fhir:value "true"^^xsd:boolean ]     ]
  ], [
     fhir:index 10;
     fhir:Bundle.entry.resource [
       a fhir:Location;
       fhir:Resource.id [ fhir:value "example-location-order-reciever" ];
       fhir:DomainResource.text [
         fhir:Narrative.status [ fhir:value "generated" ];
         fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative</b></p><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\">Resource \"example-location-order-reciever\" </p></div><p><b>status</b>: active</p><p><b>type</b>: HLAB <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (unknown#HLAB)</span>, Facility <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (ITI.mCSD#Facility)</span></p><p><b>physicalType</b>: bu <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> ([not stated]#bu)</span></p><p><b>managingOrganization</b>: <a href=\"#Organization_example-facility-order-reciever\">See above (Organization/example-facility-order-reciever)</a></p></div>"       ];
       fhir:Location.status [ fhir:value "active" ];
       fhir:Location.type [
         fhir:index 0;
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "urn:ietf:rfc:3986" ];
           fhir:Coding.code [ fhir:value "HLAB" ]         ]       ], [
         fhir:index 1;
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "https://github.com/ihe/ITI.mCSD" ];
           fhir:Coding.code [ fhir:value "Facility" ]         ]       ];
       fhir:Location.physicalType [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.code [ fhir:value "bu" ]         ]       ];
       fhir:Location.managingOrganization [
         fhir:Reference.reference [ fhir:value "Organization/example-facility-order-reciever" ]       ]     ]
  ].

# - ontology header ------------------------------------------------------------

 a owl:Ontology;
  owl:imports fhir:fhir.ttl.