Laboratory Workflows Implementation Guide
0.3.0 - ci-build

Laboratory Workflows Implementation Guide - Local Development build (v0.3.0). See the Directory of published versions

: Single Test Laboratory 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-laboratory-simple-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-laboratory-simple-composition" ];
       fhir:Resource.meta [
         fhir:Meta.profile [
           fhir:value "http://i-tech-uw.github.io/laboratory-workflows-ig/StructureDefinition/laboratory-composition";
           fhir:index 0;
           fhir:link <http://i-tech-uw.github.io/laboratory-workflows-ig/StructureDefinition/laboratory-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: Composition</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 Composition \"example-laboratory-simple-composition\" </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-laboratory-composition.html\">Laboratory Order Composition</a></p></div><p><b>status</b>: final</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-08</p><p><b>author</b>: <a href=\"#Practitioner_example-laboratory-practitioner\">See above (Practitioner/example-laboratory-practitioner)</a></p><p><b>title</b>: Laboratory Single Order 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-laboratory-patient" ]       ];
       fhir:Composition.date [ fhir:value "2021-06-08"^^xsd:date ];
       fhir:Composition.author [
         fhir:index 0;
         fhir:Reference.reference [ fhir:value "Practitioner/example-laboratory-practitioner" ]       ];
       fhir:Composition.title [ fhir:value "Laboratory Single Order Composition" ];
       fhir:Composition.section [
         fhir:index 0;
         fhir:Composition.section.entry [
           fhir:index 0;
           fhir:Reference.reference [ fhir:value "Task/example-laboratory-task-requested" ]         ]       ], [
         fhir:index 1;
         fhir:Composition.section.entry [
           fhir:index 0;
           fhir:Reference.reference [ fhir:value "ServiceRequest/example-laboratory-service-request" ]         ]       ]     ]
  ], [
     fhir:index 1;
     fhir:Bundle.entry.resource [
       a fhir:Patient;
       fhir:Resource.id [ fhir:value "example-laboratory-patient" ];
       fhir:Resource.meta [
         fhir:Meta.profile [
           fhir:value "http://i-tech-uw.github.io/laboratory-workflows-ig/StructureDefinition/laboratory-patient";
           fhir:index 0;
           fhir:link <http://i-tech-uw.github.io/laboratory-workflows-ig/StructureDefinition/laboratory-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: Patient</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 Patient \"example-laboratory-patient\" </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-laboratory-patient.html\">Laboratory Workflow Patient</a></p></div><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/laboratory-ig/StructureDefinition/laboratory-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-laboratory-practitioner" ];
       fhir:Resource.meta [
         fhir:Meta.profile [
           fhir:value "http://i-tech-uw.github.io/laboratory-workflows-ig/StructureDefinition/laboratory-practitioner";
           fhir:index 0;
           fhir:link <http://i-tech-uw.github.io/laboratory-workflows-ig/StructureDefinition/laboratory-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: Practitioner</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 Practitioner \"example-laboratory-practitioner\" </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-laboratory-practitioner.html\">Laboratory Encounter</a></p></div><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-laboratory-task-simple-requested" ];
       fhir:Resource.meta [
         fhir:Meta.profile [
           fhir:value "http://i-tech-uw.github.io/laboratory-workflows-ig/StructureDefinition/laboratory-task";
           fhir:index 0;
           fhir:link <http://i-tech-uw.github.io/laboratory-workflows-ig/StructureDefinition/laboratory-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: Task</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 Task \"example-laboratory-task-simple-requested\" </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-laboratory-task.html\">Laboratory Workflow Task Resource</a></p></div><p><b>identifier</b>: id: 88ffa7fb-0419-4097-8b45-24f0d843a5ea</p><p><b>basedOn</b>: <a href=\"#ServiceRequest_example-laboratory-service-request\">See above (ServiceRequest/example-laboratory-service-request)</a></p><p><b>status</b>: requested</p><p><b>intent</b>: order</p><p><b>for</b>: <a href=\"#Patient_example-laboratory-patient\">See above (Patient/example-laboratory-patient)</a></p><p><b>authoredOn</b>: 2021-02-20</p><p><b>owner</b>: <a href=\"#Practitioner_example-laboratory-practitioner\">See above (Practitioner/example-laboratory-practitioner)</a></p></div>"       ];
       fhir:Task.identifier [
         fhir:index 0;
         fhir:Identifier.system [ fhir:value "http://i-tech-uw.github.io/lab-workflow-ig/ext/task/identifier" ];
         fhir:Identifier.value [ fhir:value "88ffa7fb-0419-4097-8b45-24f0d843a5ea" ]       ];
       fhir:Task.basedOn [
         fhir:index 0;
         fhir:Reference.reference [ fhir:value "ServiceRequest/example-laboratory-service-request" ];
         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-laboratory-patient" ]       ];
       fhir:Task.authoredOn [ fhir:value "2021-02-20"^^xsd:date ];
       fhir:Task.owner [
         fhir:Reference.reference [ fhir:value "Practitioner/example-laboratory-practitioner" ]       ]     ]
  ], [
     fhir:index 4;
     fhir:Bundle.entry.resource [
       a fhir:ServiceRequest;
       fhir:Resource.id [ fhir:value "example-laboratory-service-request" ];
       fhir:Resource.meta [
         fhir:Meta.profile [
           fhir:value "http://i-tech-uw.github.io/laboratory-workflows-ig/StructureDefinition/laboratory-service-request";
           fhir:index 0;
           fhir:link <http://i-tech-uw.github.io/laboratory-workflows-ig/StructureDefinition/laboratory-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: ServiceRequest</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 ServiceRequest \"example-laboratory-service-request\" </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-laboratory-service-request.html\">Laboratory Service Request</a></p></div><p><b>status</b>: active</p><p><b>intent</b>: order</p><p><b>code</b>: Creatinine [Moles/volume] in Serum or Plasma <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://loinc.org/\">LOINC</a>#14682-9)</span></p><p><b>subject</b>: <a href=\"#Patient_example-laboratory-patient\">See above (Patient/example-laboratory-patient)</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-laboratory-patient" ]       ]     ]
  ].

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

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