EMR-LIS Implementation Guide
0.2.0 - ci-build

EMR-LIS Implementation Guide - Local Development build (v0.2.0). See the Directory of published versions

: Example EMR-LIS Lab Bundle - TTL Representation

Raw ttl | Download


@prefix fhir: <http://hl7.org/fhir/> .
@prefix loinc: <http://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:Resource.id [ fhir:value "example-emr-lis-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-emr-lis-composition" ];
       fhir:Resource.meta [
         fhir:Meta.profile [
           fhir:value "http://i-tech-uw.github.io/emr-lis-ig/StructureDefinition/emr-lis-composition";
           fhir:index 0;
           fhir:link <http://i-tech-uw.github.io/emr-lis-ig/StructureDefinition/emr-lis-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><p><b>status</b>: final</p><p><b>type</b>: <span title=\"Codes: \">document</span></p><p><b>date</b>: 2021-06-06</p><p><b>author</b>: <a href=\"#Practitioner_example-emr-lis-practitioner\">See above (Practitioner/example-emr-lis-practitioner)</a></p><p><b>title</b>: EMR-LIS Lab Composition</p></div>"       ];
       fhir:Composition.status [ fhir:value "final" ];
       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-emr-lis-patient" ]       ];
       fhir:Composition.date [ fhir:value "2021-06-06"^^xsd:date ];
       fhir:Composition.author [
         fhir:index 0;
         fhir:Reference.reference [ fhir:value "Practitioner/example-emr-lis-practitioner" ]       ];
       fhir:Composition.title [ fhir:value "EMR-LIS Lab Composition" ];
       fhir:Composition.section [
         fhir:index 0;
         fhir:Composition.section.entry [
           fhir:index 0;
           fhir:Reference.reference [ fhir:value "Task/example-emr-lis-task-requested" ]         ]       ], [
         fhir:index 1;
         fhir:Composition.section.entry [
           fhir:index 0;
           fhir:Reference.reference [ fhir:value "ServiceRequest/example-emr-lis-service-request-profile" ]         ], [
           fhir:index 1;
           fhir:Reference.reference [ fhir:value "ServiceRequest/example-emr-lis-service-request-1" ]         ], [
           fhir:index 2;
           fhir:Reference.reference [ fhir:value "ServiceRequest/example-emr-lis-service-request-2" ]         ]       ]     ]
  ], [
     fhir:index 1;
     fhir:Bundle.entry.resource [
       a fhir:Patient;
       fhir:Resource.id [ fhir:value "example-emr-lis-patient" ];
       fhir:Resource.meta [
         fhir:Meta.profile [
           fhir:value "http://i-tech-uw.github.io/emr-lis-ig/StructureDefinition/emr-lab-patient";
           fhir:index 0;
           fhir:link <http://i-tech-uw.github.io/emr-lis-ig/StructureDefinition/emr-lab-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><p><b>identifier</b>: iSantePlus ID: 10012R (OFFICIAL)</p><p><b>active</b>: true</p><p><b>name</b>: moses Mutesa </p><p><b>gender</b>: female</p><p><b>birthDate</b>: 1988-03-02</p><p><b>deceased</b>: false</p><p><b>address</b>: haiti (HOME)</p></div>"       ];
       fhir:Patient.identifier [
         fhir:index 0;
         fhir:Element.id [ fhir:value "5981a256-d60c-44b1-beae-9bdd2cf572f8" ];
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://i-tech-uw.github.io/emr-lis-ig/StructureDefinition/emr-lis-patient-identifier-location" ];
           fhir:Extension.valueReference [
             fhir:Reference.reference [ fhir:value "Location/8d6c993e-c2cc-11de-8d13-0010c6dffd0f" ];
             fhir:Reference.type [ fhir:value "Location" ];
             fhir:Reference.display [ fhir:value "Unknown Location" ]           ]         ];
         fhir:Identifier.use [ fhir:value "official" ];
         fhir:Identifier.type [
           fhir:CodeableConcept.text [ fhir:value "iSantePlus ID" ]         ];
         fhir:Identifier.value [ fhir:value "10012R" ]       ];
       fhir:Patient.active [ fhir:value "true"^^xsd:boolean ];
       fhir:Patient.name [
         fhir:index 0;
         fhir:Element.id [ fhir:value "511275de-e301-44a3-95d2-28d0d3b35387" ];
         fhir:HumanName.family [ fhir:value "Mutesa" ];
         fhir:HumanName.given [
           fhir:value "moses";
           fhir:index 0         ]       ];
       fhir:Patient.gender [ fhir:value "female" ];
       fhir:Patient.birthDate [ fhir:value "1988-03-02"^^xsd:date ];
       fhir:Patient.deceasedBoolean [ fhir:value "false"^^xsd:boolean ];
       fhir:Patient.address [
         fhir:index 0;
         fhir:Element.id [ fhir:value "d4f7c809-3d01-4032-b64d-4c22e8eccbbc" ];
         fhir:Address.use [ fhir:value "home" ];
         fhir:Address.country [ fhir:value "haiti" ]       ]     ]
  ], [
     fhir:index 2;
     fhir:Bundle.entry.resource [
       a fhir:Practitioner;
       fhir:Resource.id [ fhir:value "example-emr-lis-practitioner" ];
       fhir:Resource.meta [
         fhir:Meta.profile [
           fhir:value "http://i-tech-uw.github.io/emr-lis-ig/StructureDefinition/emr-lab-practitioner";
           fhir:index 0;
           fhir:link <http://i-tech-uw.github.io/emr-lis-ig/StructureDefinition/emr-lab-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><p><b>identifier</b>: id: 1000AX</p><p><b>name</b>: Moses Mutesa</p></div>"       ];
       fhir:Practitioner.identifier [
         fhir:index 0;
         fhir:Identifier.system [ fhir:value "http://fhir.openmrs.org/ext/provider/identifier" ];
         fhir:Identifier.value [ fhir:value "1000AX" ]       ];
       fhir:Practitioner.name [
         fhir:index 0;
         fhir:HumanName.text [ fhir:value "Moses Mutesa" ]       ]     ]
  ], [
     fhir:index 3;
     fhir:Bundle.entry.resource [
       a fhir:Task;
       fhir:Resource.id [ fhir:value "example-emr-lis-task-requested" ];
       fhir:Resource.meta [
         fhir:Meta.profile [
           fhir:value "http://i-tech-uw.github.io/emr-lis-ig/StructureDefinition/emr-lab-task";
           fhir:index 0;
           fhir:link <http://i-tech-uw.github.io/emr-lis-ig/StructureDefinition/emr-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><p><b>identifier</b>: id: 88ffa7fb-0419-4097-8b45-24f0d843c5ea</p><p><b>basedOn</b>: </p><ul><li><a href=\"#ServiceRequest_example-emr-lis-service-request-1\">See above (ServiceRequest/example-emr-lis-service-request-1)</a></li><li><a href=\"#ServiceRequest_example-emr-lis-service-request-2\">See above (ServiceRequest/example-emr-lis-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-emr-lis-patient\">See above (Patient/example-emr-lis-patient)</a></p><p><b>authoredOn</b>: 2021-05-20</p><p><b>owner</b>: <a href=\"#Practitioner_example-emr-lis-practitioner\">See above (Practitioner/example-emr-lis-practitioner)</a></p></div>"       ];
       fhir:Task.identifier [
         fhir:index 0;
         fhir:Identifier.system [ fhir:value "http://isanteplus.org/ext/task/identifier" ];
         fhir:Identifier.value [ fhir:value "88ffa7fb-0419-4097-8b45-24f0d843c5ea" ]       ];
       fhir:Task.basedOn [
         fhir:index 0;
         fhir:Reference.reference [ fhir:value "ServiceRequest/example-emr-lis-service-request-1" ];
         fhir:Reference.type [ fhir:value "ServiceRequest" ]       ], [
         fhir:index 1;
         fhir:Reference.reference [ fhir:value "ServiceRequest/example-emr-lis-service-request-2" ];
         fhir:Reference.type [ fhir:value "ServiceRequest" ]       ];
       fhir:Task.status [ fhir:value "requested" ];
       fhir:Task.intent [ fhir:value "order" ];
       fhir:Task.for [
         fhir:Reference.reference [ fhir:value "Patient/example-emr-lis-patient" ]       ];
       fhir:Task.authoredOn [ fhir:value "2021-05-20"^^xsd:date ];
       fhir:Task.owner [
         fhir:Reference.reference [ fhir:value "Practitioner/example-emr-lis-practitioner" ]       ]     ]
  ], [
     fhir:index 4;
     fhir:Bundle.entry.resource [
       a fhir:ServiceRequest;
       fhir:Resource.id [ fhir:value "example-emr-lis-service-request-profile" ];
       fhir:Resource.meta [
         fhir:Meta.profile [
           fhir:value "http://i-tech-uw.github.io/emr-lis-ig/StructureDefinition/emr-lab-service-request";
           fhir:index 0;
           fhir:link <http://i-tech-uw.github.io/emr-lis-ig/StructureDefinition/emr-lab-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><p><b>status</b>: active</p><p><b>intent</b>: order</p><p><b>code</b>: <span title=\"Codes: {http://loinc.org 14682-9}\">14682-9</span></p><p><b>subject</b>: <a href=\"#Patient_example-emr-lis-patient\">See above (Patient/example-emr-lis-patient)</a></p><p><b>encounter</b>: <a href=\"Encounter-example-emr-lis-encounter.html\">Generated Summary: status: in-progress; <span title=\"{null null}\">inpatient encounter</span></a></p></div>"       ];
       fhir:ServiceRequest.status [ fhir:value "active" ];
       fhir:ServiceRequest.intent [ fhir:value "order" ];
       fhir:ServiceRequest.code [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           a loinc:14682-9;
           fhir:Coding.system [ fhir:value "http://loinc.org" ];
           fhir:Coding.code [ fhir:value "14682-9" ]         ]       ];
       fhir:ServiceRequest.subject [
         fhir:Reference.reference [ fhir:value "Patient/example-emr-lis-patient" ]       ];
       fhir:ServiceRequest.encounter [
         fhir:Reference.reference [ fhir:value "Encounter/example-emr-lis-encounter" ];
         fhir:Reference.type [ fhir:value "Encounter" ]       ]     ]
  ], [
     fhir:index 5;
     fhir:Bundle.entry.resource [
       a fhir:ServiceRequest;
       fhir:Resource.id [ fhir:value "example-emr-lis-service-request-1" ];
       fhir:Resource.meta [
         fhir:Meta.profile [
           fhir:value "http://i-tech-uw.github.io/emr-lis-ig/StructureDefinition/emr-lab-service-request";
           fhir:index 0;
           fhir:link <http://i-tech-uw.github.io/emr-lis-ig/StructureDefinition/emr-lab-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><p><b>basedOn</b>: <a href=\"#ServiceRequest_example-emr-lis-service-request-profile\">See above (ServiceRequest/example-emr-lis-service-request-profile)</a></p><p><b>status</b>: active</p><p><b>intent</b>: order</p><p><b>code</b>: <span title=\"Codes: {http://loinc.org 14682-9}\">14682-9</span></p><p><b>subject</b>: <a href=\"#Patient_example-emr-lis-patient\">See above (Patient/example-emr-lis-patient)</a></p><p><b>encounter</b>: <a href=\"Encounter-example-emr-lis-encounter.html\">Generated Summary: status: in-progress; <span title=\"{null null}\">inpatient encounter</span></a></p></div>"       ];
       fhir:ServiceRequest.basedOn [
         fhir:index 0;
         fhir:Reference.reference [ fhir:value "ServiceRequest/example-emr-lis-service-request-profile" ]       ];
       fhir:ServiceRequest.status [ fhir:value "active" ];
       fhir:ServiceRequest.intent [ fhir:value "order" ];
       fhir:ServiceRequest.code [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           a loinc:14682-9;
           fhir:Coding.system [ fhir:value "http://loinc.org" ];
           fhir:Coding.code [ fhir:value "14682-9" ]         ]       ];
       fhir:ServiceRequest.subject [
         fhir:Reference.reference [ fhir:value "Patient/example-emr-lis-patient" ]       ];
       fhir:ServiceRequest.encounter [
         fhir:Reference.reference [ fhir:value "Encounter/example-emr-lis-encounter" ];
         fhir:Reference.type [ fhir:value "Encounter" ]       ]     ]
  ], [
     fhir:index 6;
     fhir:Bundle.entry.resource [
       a fhir:ServiceRequest;
       fhir:Resource.id [ fhir:value "example-emr-lis-service-request-2" ];
       fhir:Resource.meta [
         fhir:Meta.profile [
           fhir:value "http://i-tech-uw.github.io/emr-lis-ig/StructureDefinition/emr-lab-service-request";
           fhir:index 0;
           fhir:link <http://i-tech-uw.github.io/emr-lis-ig/StructureDefinition/emr-lab-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><p><b>basedOn</b>: <a href=\"#ServiceRequest_example-emr-lis-service-request-profile\">See above (ServiceRequest/example-emr-lis-service-request-profile)</a></p><p><b>status</b>: active</p><p><b>intent</b>: order</p><p><b>code</b>: <span title=\"Codes: {http://loinc.org 14682-9}\">14682-9</span></p><p><b>subject</b>: <a href=\"#Patient_example-emr-lis-patient\">See above (Patient/example-emr-lis-patient)</a></p><p><b>encounter</b>: <a href=\"Encounter-example-emr-lis-encounter.html\">Generated Summary: status: in-progress; <span title=\"{null null}\">inpatient encounter</span></a></p></div>"       ];
       fhir:ServiceRequest.basedOn [
         fhir:index 0;
         fhir:Reference.reference [ fhir:value "ServiceRequest/example-emr-lis-service-request-profile" ]       ];
       fhir:ServiceRequest.status [ fhir:value "active" ];
       fhir:ServiceRequest.intent [ fhir:value "order" ];
       fhir:ServiceRequest.code [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           a loinc:14682-9;
           fhir:Coding.system [ fhir:value "http://loinc.org" ];
           fhir:Coding.code [ fhir:value "14682-9" ]         ]       ];
       fhir:ServiceRequest.subject [
         fhir:Reference.reference [ fhir:value "Patient/example-emr-lis-patient" ]       ];
       fhir:ServiceRequest.encounter [
         fhir:Reference.reference [ fhir:value "Encounter/example-emr-lis-encounter" ];
         fhir:Reference.type [ fhir:value "Encounter" ]       ]     ]
  ].

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

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