This page is part of the FHIR Specification (v5.0.0-ballot: FHIR R5 Ballot Preview). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions
FHIR Infrastructure Work Group | Maturity Level: N/A | Standards Status: Informative | Compartments: Not linked to any defined compartments |
Raw Turtle (+ also see Turtle/RDF Format Specification)
Example of examplescenario - Lab order tracking with Task
@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:ExampleScenario; fhir:nodeRole fhir:treeRoot; fhir:Resource.id [ fhir:value "example-laborder"]; fhir:DomainResource.text [ fhir:Narrative.status [ fhir:value "additional" ]; fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p> <b> ExampleScenario - Lab order tracking with Task</b> <a name=\"example-laborder\"> </a> </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 ExampleScenario "example-laborder" </p> </div> <p> <b> status</b> : draft</p> <p> <b> purpose</b> : Purpose: this serves to demonstrate a scenario that uses service requests and Task resources to establish a handshake for order tracking.</p> \n <img src=\"./examplescenario-example-laborder.png\" alt=\"ExampleScenario diagram - IHE MMA example\"/></div>" ]; fhir:ExampleScenario.title [ fhir:value "Lab order tracking with Task"]; fhir:ExampleScenario.status [ fhir:value "draft"]; fhir:ExampleScenario.description [ fhir:value "In this example, the clinician creates an order in the CPOE. Then a Task is created and updated by both the CPOE and the Lab system..."]; fhir:ExampleScenario.purpose [ fhir:value "Purpose: this serves to demonstrate a scenario that uses service requests and Task resources to establish a handshake for order tracking."]; fhir:ExampleScenario.actor [ fhir:index 0; fhir:ExampleScenario.actor.key [ fhir:value "Clin" ]; fhir:ExampleScenario.actor.type [ fhir:value "person" ]; fhir:ExampleScenario.actor.title [ fhir:value "Clinician" ]; fhir:ExampleScenario.actor.description [ fhir:value "Clinician" ] ], [ fhir:index 1; fhir:ExampleScenario.actor.key [ fhir:value "CPOE" ]; fhir:ExampleScenario.actor.type [ fhir:value "system" ]; fhir:ExampleScenario.actor.title [ fhir:value "CPOE" ]; fhir:ExampleScenario.actor.description [ fhir:value "CPOE" ] ], [ fhir:index 2; fhir:ExampleScenario.actor.key [ fhir:value "EMR" ]; fhir:ExampleScenario.actor.type [ fhir:value "system" ]; fhir:ExampleScenario.actor.title [ fhir:value "EMR" ]; fhir:ExampleScenario.actor.description [ fhir:value "EMR" ] ], [ fhir:index 3; fhir:ExampleScenario.actor.key [ fhir:value "LabMan" ]; fhir:ExampleScenario.actor.type [ fhir:value "person" ]; fhir:ExampleScenario.actor.title [ fhir:value "Lab Man" ]; fhir:ExampleScenario.actor.description [ fhir:value "Lab Person" ] ], [ fhir:index 4; fhir:ExampleScenario.actor.key [ fhir:value "Lab" ]; fhir:ExampleScenario.actor.type [ fhir:value "system" ]; fhir:ExampleScenario.actor.title [ fhir:value "Lab" ]; fhir:ExampleScenario.actor.description [ fhir:value "Lab" ] ]; fhir:ExampleScenario.instance [ fhir:index 0; fhir:ExampleScenario.instance.key [ fhir:value "req1" ]; fhir:ExampleScenario.instance.structureType [ fhir:Coding.system [ fhir:value "http://hl7.org/fhir/fhir-types" ]; fhir:Coding.code [ fhir:value "ServiceRequest" ] ]; fhir:ExampleScenario.instance.title [ fhir:value "Request for a lab procedure" ]; fhir:ExampleScenario.instance.description [ fhir:value "Bla" ]; fhir:ExampleScenario.instance.version [ fhir:index 0; fhir:ExampleScenario.instance.version.key [ fhir:value "req1-v1" ]; fhir:ExampleScenario.instance.version.description [ fhir:value "Initial order" ] ], [ fhir:index 1; fhir:ExampleScenario.instance.version.key [ fhir:value "req1-v2" ]; fhir:ExampleScenario.instance.version.description [ fhir:value "Order in progress" ] ], [ fhir:index 2; fhir:ExampleScenario.instance.version.key [ fhir:value "req1-v3" ]; fhir:ExampleScenario.instance.version.description [ fhir:value "Order completed" ] ] ], [ fhir:index 1; fhir:ExampleScenario.instance.key [ fhir:value "task1" ]; fhir:ExampleScenario.instance.structureType [ fhir:Coding.system [ fhir:value "http://hl7.org/fhir/fhir-types" ]; fhir:Coding.code [ fhir:value "Task" ] ]; fhir:ExampleScenario.instance.title [ fhir:value "Task" ]; fhir:ExampleScenario.instance.description [ fhir:value "The task that handles the status updates..." ]; fhir:ExampleScenario.instance.version [ fhir:index 0; fhir:ExampleScenario.instance.version.key [ fhir:value "task1-v1" ]; fhir:ExampleScenario.instance.version.description [ fhir:value "Initially created" ] ], [ fhir:index 1; fhir:ExampleScenario.instance.version.key [ fhir:value "task1-v2" ]; fhir:ExampleScenario.instance.version.description [ fhir:value "Accepted" ] ], [ fhir:index 2; fhir:ExampleScenario.instance.version.key [ fhir:value "task1-v3" ]; fhir:ExampleScenario.instance.version.description [ fhir:value "In progress" ] ], [ fhir:index 3; fhir:ExampleScenario.instance.version.key [ fhir:value "task1-v4" ]; fhir:ExampleScenario.instance.version.description [ fhir:value "Completed" ] ] ], [ fhir:index 2; fhir:ExampleScenario.instance.key [ fhir:value "req.lab1" ]; fhir:ExampleScenario.instance.structureType [ fhir:Coding.system [ fhir:value "http://hl7.org/fhir/fhir-types" ]; fhir:Coding.code [ fhir:value "ServiceRequest" ] ]; fhir:ExampleScenario.instance.title [ fhir:value "Internal lab request" ]; fhir:ExampleScenario.instance.description [ fhir:value "Lab's internal request for the procedure" ]; fhir:ExampleScenario.instance.version [ fhir:index 0; fhir:ExampleScenario.instance.version.key [ fhir:value "req.lab1-v1" ]; fhir:ExampleScenario.instance.version.description [ fhir:value "Order in progress" ] ], [ fhir:index 1; fhir:ExampleScenario.instance.version.key [ fhir:value "req.lab1-v2" ]; fhir:ExampleScenario.instance.version.description [ fhir:value "Order in progress" ] ], [ fhir:index 2; fhir:ExampleScenario.instance.version.key [ fhir:value "req.lab1-v3" ]; fhir:ExampleScenario.instance.version.description [ fhir:value "Order completed" ] ] ]; fhir:ExampleScenario.process [ fhir:index 0; fhir:ExampleScenario.process.title [ fhir:value "Lab order tracking with Task" ]; fhir:ExampleScenario.process.description [ fhir:value "Lab order, status updates handled with Task between CPOE, EMR and Lab systems" ]; fhir:ExampleScenario.process.step [ fhir:index 0; fhir:ExampleScenario.process.step.number [ fhir:value "1" ]; fhir:ExampleScenario.process.step.process [ fhir:ExampleScenario.process.title [ fhir:value "Create order" ]; fhir:ExampleScenario.process.description [ fhir:value "New lab order" ]; fhir:ExampleScenario.process.step [ fhir:index 0; fhir:ExampleScenario.process.step.number [ fhir:value "1.1" ]; fhir:ExampleScenario.process.step.operation [ fhir:ExampleScenario.process.step.operation.title [ fhir:value "Make a call" ]; fhir:ExampleScenario.process.step.operation.initiator [ fhir:value "Clin" ]; fhir:ExampleScenario.process.step.operation.receiver [ fhir:value "LabMan" ] ] ], [ fhir:index 1; fhir:ExampleScenario.process.step.number [ fhir:value "1.2" ]; fhir:ExampleScenario.process.step.operation [ fhir:ExampleScenario.process.step.operation.title [ fhir:value "Create new EMR order" ]; fhir:ExampleScenario.process.step.operation.initiator [ fhir:value "Clin" ]; fhir:ExampleScenario.process.step.operation.receiver [ fhir:value "CPOE" ] ] ], [ fhir:index 2; fhir:ExampleScenario.process.step.number [ fhir:value "1.3" ]; fhir:ExampleScenario.process.step.operation [ fhir:ExampleScenario.process.step.operation.title [ fhir:value "Submit order to EMR" ]; fhir:ExampleScenario.process.step.operation.initiator [ fhir:value "CPOE" ]; fhir:ExampleScenario.process.step.operation.receiver [ fhir:value "EMR" ]; fhir:ExampleScenario.process.step.operation.request [ fhir:ExampleScenario.instance.containedInstance.instanceReference [ fhir:value "req1" ]; fhir:ExampleScenario.instance.containedInstance.versionReference [ fhir:value "req1-v1" ] ] ] ], [ fhir:index 3; fhir:ExampleScenario.process.step.number [ fhir:value "1.3" ]; fhir:ExampleScenario.process.step.operation [ fhir:ExampleScenario.process.step.operation.title [ fhir:value "Create new task " ]; fhir:ExampleScenario.process.step.operation.initiator [ fhir:value "EMR" ]; fhir:ExampleScenario.process.step.operation.receiver [ fhir:value "EMR" ]; fhir:ExampleScenario.process.step.operation.request [ fhir:ExampleScenario.instance.containedInstance.instanceReference [ fhir:value "task1" ]; fhir:ExampleScenario.instance.containedInstance.versionReference [ fhir:value "task1-v1" ] ] ] ], [ fhir:index 4; fhir:ExampleScenario.process.step.number [ fhir:value "1.4" ]; fhir:ExampleScenario.process.step.operation [ fhir:ExampleScenario.process.step.operation.title [ fhir:value "Send task to Lab" ]; fhir:ExampleScenario.process.step.operation.initiator [ fhir:value "EMR" ]; fhir:ExampleScenario.process.step.operation.receiver [ fhir:value "Lab" ]; fhir:ExampleScenario.process.step.operation.request [ fhir:ExampleScenario.instance.containedInstance.instanceReference [ fhir:value "task1" ]; fhir:ExampleScenario.instance.containedInstance.versionReference [ fhir:value "task1-v1" ] ] ] ] ]; fhir:ExampleScenario.process.step.pause [ fhir:value "true"^^xsd:boolean ] ], [ fhir:index 1; fhir:ExampleScenario.process.step.number [ fhir:value "2" ]; fhir:ExampleScenario.process.step.process [ fhir:ExampleScenario.process.title [ fhir:value "Accept order" ]; fhir:ExampleScenario.process.description [ fhir:value "New task for handling order tracking" ]; fhir:ExampleScenario.process.step [ fhir:index 0; fhir:ExampleScenario.process.step.number [ fhir:value "2.1" ]; fhir:ExampleScenario.process.step.operation [ fhir:ExampleScenario.process.step.operation.title [ fhir:value "Accept task" ]; fhir:ExampleScenario.process.step.operation.initiator [ fhir:value "LabMan" ]; fhir:ExampleScenario.process.step.operation.receiver [ fhir:value "Lab" ] ] ], [ fhir:index 1; fhir:ExampleScenario.process.step.number [ fhir:value "2.2" ]; fhir:ExampleScenario.process.step.operation [ fhir:ExampleScenario.process.step.operation.title [ fhir:value "Task status = accepted" ]; fhir:ExampleScenario.process.step.operation.initiator [ fhir:value "Lab" ]; fhir:ExampleScenario.process.step.operation.receiver [ fhir:value "Lab" ]; fhir:ExampleScenario.process.step.operation.request [ fhir:ExampleScenario.instance.containedInstance.instanceReference [ fhir:value "task1" ]; fhir:ExampleScenario.instance.containedInstance.versionReference [ fhir:value "task1-v2" ] ] ] ], [ fhir:index 2; fhir:ExampleScenario.process.step.number [ fhir:value "2.3" ]; fhir:ExampleScenario.process.step.operation [ fhir:ExampleScenario.process.step.operation.title [ fhir:value "Create internal lab request" ]; fhir:ExampleScenario.process.step.operation.initiator [ fhir:value "Lab" ]; fhir:ExampleScenario.process.step.operation.receiver [ fhir:value "Lab" ]; fhir:ExampleScenario.process.step.operation.request [ fhir:ExampleScenario.instance.containedInstance.instanceReference [ fhir:value "req.lab1" ]; fhir:ExampleScenario.instance.containedInstance.versionReference [ fhir:value "req.lab1-v1" ] ] ] ], [ fhir:index 3; fhir:ExampleScenario.process.step.number [ fhir:value "2.4" ]; fhir:ExampleScenario.process.step.operation [ fhir:ExampleScenario.process.step.operation.title [ fhir:value "Send Task to EMR" ]; fhir:ExampleScenario.process.step.operation.initiator [ fhir:value "Lab" ]; fhir:ExampleScenario.process.step.operation.receiver [ fhir:value "EMR" ]; fhir:ExampleScenario.process.step.operation.request [ fhir:ExampleScenario.instance.containedInstance.instanceReference [ fhir:value "task1" ]; fhir:ExampleScenario.instance.containedInstance.versionReference [ fhir:value "task1-v2" ] ] ] ], [ fhir:index 4; fhir:ExampleScenario.process.step.number [ fhir:value "2.5" ]; fhir:ExampleScenario.process.step.operation [ fhir:ExampleScenario.process.step.operation.title [ fhir:value "Inform CPOE of Task status" ]; fhir:ExampleScenario.process.step.operation.initiator [ fhir:value "EMR" ]; fhir:ExampleScenario.process.step.operation.receiver [ fhir:value "CPOE" ]; fhir:ExampleScenario.process.step.operation.request [ fhir:ExampleScenario.instance.containedInstance.instanceReference [ fhir:value "task1" ]; fhir:ExampleScenario.instance.containedInstance.versionReference [ fhir:value "task1-v2" ] ] ] ] ] ], [ fhir:index 2; fhir:ExampleScenario.process.step.number [ fhir:value "3" ]; fhir:ExampleScenario.process.step.process [ fhir:ExampleScenario.process.title [ fhir:value "Initiate procedure" ]; fhir:ExampleScenario.process.description [ fhir:value "Procedure is initiated at the lab" ]; fhir:ExampleScenario.process.step [ fhir:index 0; fhir:ExampleScenario.process.step.number [ fhir:value "3.1" ]; fhir:ExampleScenario.process.step.operation [ fhir:ExampleScenario.process.step.operation.title [ fhir:value "Begin procedure" ]; fhir:ExampleScenario.process.step.operation.initiator [ fhir:value "LabMan" ]; fhir:ExampleScenario.process.step.operation.receiver [ fhir:value "Lab" ] ] ], [ fhir:index 1; fhir:ExampleScenario.process.step.number [ fhir:value "3.2" ]; fhir:ExampleScenario.process.step.operation [ fhir:ExampleScenario.process.step.operation.title [ fhir:value "Task status: in-progress" ]; fhir:ExampleScenario.process.step.operation.initiator [ fhir:value "Lab" ]; fhir:ExampleScenario.process.step.operation.receiver [ fhir:value "Lab" ]; fhir:ExampleScenario.process.step.operation.request [ fhir:ExampleScenario.instance.containedInstance.instanceReference [ fhir:value "task1" ]; fhir:ExampleScenario.instance.containedInstance.versionReference [ fhir:value "task1-v3" ] ] ] ], [ fhir:index 2; fhir:ExampleScenario.process.step.number [ fhir:value "4.3" ]; fhir:ExampleScenario.process.step.operation [ fhir:ExampleScenario.process.step.operation.title [ fhir:value "Internal lab request: in-progress" ]; fhir:ExampleScenario.process.step.operation.initiator [ fhir:value "Lab" ]; fhir:ExampleScenario.process.step.operation.receiver [ fhir:value "Lab" ]; fhir:ExampleScenario.process.step.operation.request [ fhir:ExampleScenario.instance.containedInstance.instanceReference [ fhir:value "req.lab1" ]; fhir:ExampleScenario.instance.containedInstance.versionReference [ fhir:value "req.lab1-v2" ] ] ] ], [ fhir:index 3; fhir:ExampleScenario.process.step.number [ fhir:value "4.4" ]; fhir:ExampleScenario.process.step.operation [ fhir:ExampleScenario.process.step.operation.title [ fhir:value "Send updated Task to EMR" ]; fhir:ExampleScenario.process.step.operation.initiator [ fhir:value "Lab" ]; fhir:ExampleScenario.process.step.operation.receiver [ fhir:value "EMR" ]; fhir:ExampleScenario.process.step.operation.request [ fhir:ExampleScenario.instance.containedInstance.instanceReference [ fhir:value "task1" ]; fhir:ExampleScenario.instance.containedInstance.versionReference [ fhir:value "task1-v3" ] ] ] ], [ fhir:index 4; fhir:ExampleScenario.process.step.number [ fhir:value "4.5" ]; fhir:ExampleScenario.process.step.operation [ fhir:ExampleScenario.process.step.operation.title [ fhir:value "Inform CPOE of Task status" ]; fhir:ExampleScenario.process.step.operation.initiator [ fhir:value "EMR" ]; fhir:ExampleScenario.process.step.operation.receiver [ fhir:value "CPOE" ]; fhir:ExampleScenario.process.step.operation.request [ fhir:ExampleScenario.instance.containedInstance.instanceReference [ fhir:value "task1" ]; fhir:ExampleScenario.instance.containedInstance.versionReference [ fhir:value "task1-v4" ] ] ] ], [ fhir:index 5; fhir:ExampleScenario.process.step.number [ fhir:value "4.5" ]; fhir:ExampleScenario.process.step.operation [ fhir:ExampleScenario.process.step.operation.title [ fhir:value "Order status: in-progress" ]; fhir:ExampleScenario.process.step.operation.initiator [ fhir:value "CPOE" ]; fhir:ExampleScenario.process.step.operation.receiver [ fhir:value "CPOE" ]; fhir:ExampleScenario.process.step.operation.request [ fhir:ExampleScenario.instance.containedInstance.instanceReference [ fhir:value "req1" ]; fhir:ExampleScenario.instance.containedInstance.versionReference [ fhir:value "req1-v2" ] ] ] ] ] ], [ fhir:index 3; fhir:ExampleScenario.process.step.number [ fhir:value "4" ]; fhir:ExampleScenario.process.step.process [ fhir:ExampleScenario.process.title [ fhir:value "Finish procedure" ]; fhir:ExampleScenario.process.description [ fhir:value "Procedure is finished" ]; fhir:ExampleScenario.process.step [ fhir:index 0; fhir:ExampleScenario.process.step.number [ fhir:value "4.1" ]; fhir:ExampleScenario.process.step.operation [ fhir:ExampleScenario.process.step.operation.title [ fhir:value "Finish procedure" ]; fhir:ExampleScenario.process.step.operation.initiator [ fhir:value "LabMan" ]; fhir:ExampleScenario.process.step.operation.receiver [ fhir:value "Lab" ] ] ], [ fhir:index 1; fhir:ExampleScenario.process.step.number [ fhir:value "4.2" ]; fhir:ExampleScenario.process.step.operation [ fhir:ExampleScenario.process.step.operation.title [ fhir:value "Task status = completed" ]; fhir:ExampleScenario.process.step.operation.initiator [ fhir:value "Lab" ]; fhir:ExampleScenario.process.step.operation.receiver [ fhir:value "Lab" ]; fhir:ExampleScenario.process.step.operation.request [ fhir:ExampleScenario.instance.containedInstance.instanceReference [ fhir:value "task1" ]; fhir:ExampleScenario.instance.containedInstance.versionReference [ fhir:value "task1-v2" ] ] ] ], [ fhir:index 2; fhir:ExampleScenario.process.step.number [ fhir:value "4.3" ]; fhir:ExampleScenario.process.step.operation [ fhir:ExampleScenario.process.step.operation.title [ fhir:value "Internal lab request: complete" ]; fhir:ExampleScenario.process.step.operation.initiator [ fhir:value "Lab" ]; fhir:ExampleScenario.process.step.operation.receiver [ fhir:value "Lab" ]; fhir:ExampleScenario.process.step.operation.request [ fhir:ExampleScenario.instance.containedInstance.instanceReference [ fhir:value "req.lab1" ]; fhir:ExampleScenario.instance.containedInstance.versionReference [ fhir:value "req.lab1-v2" ] ] ] ], [ fhir:index 3; fhir:ExampleScenario.process.step.number [ fhir:value "4.4" ]; fhir:ExampleScenario.process.step.operation [ fhir:ExampleScenario.process.step.operation.title [ fhir:value "Send updated Task to EMR" ]; fhir:ExampleScenario.process.step.operation.initiator [ fhir:value "Lab" ]; fhir:ExampleScenario.process.step.operation.receiver [ fhir:value "EMR" ]; fhir:ExampleScenario.process.step.operation.request [ fhir:ExampleScenario.instance.containedInstance.instanceReference [ fhir:value "task1" ]; fhir:ExampleScenario.instance.containedInstance.versionReference [ fhir:value "task1-v4" ] ] ] ], [ fhir:index 4; fhir:ExampleScenario.process.step.number [ fhir:value "4.5" ]; fhir:ExampleScenario.process.step.operation [ fhir:ExampleScenario.process.step.operation.title [ fhir:value "Inform CPOE of Task status" ]; fhir:ExampleScenario.process.step.operation.initiator [ fhir:value "EMR" ]; fhir:ExampleScenario.process.step.operation.receiver [ fhir:value "CPOE" ]; fhir:ExampleScenario.process.step.operation.request [ fhir:ExampleScenario.instance.containedInstance.instanceReference [ fhir:value "task1" ]; fhir:ExampleScenario.instance.containedInstance.versionReference [ fhir:value "task1-v4" ] ] ] ], [ fhir:index 5; fhir:ExampleScenario.process.step.number [ fhir:value "4.5" ]; fhir:ExampleScenario.process.step.operation [ fhir:ExampleScenario.process.step.operation.title [ fhir:value "Order status = completed" ]; fhir:ExampleScenario.process.step.operation.initiator [ fhir:value "CPOE" ]; fhir:ExampleScenario.process.step.operation.receiver [ fhir:value "CPOE" ]; fhir:ExampleScenario.process.step.operation.request [ fhir:ExampleScenario.instance.containedInstance.instanceReference [ fhir:value "req1" ]; fhir:ExampleScenario.instance.containedInstance.versionReference [ fhir:value "req1-v3" ] ] ] ] ] ] ]] . # - ontology header ------------------------------------------------------------ [a owl:Ontology; owl:imports fhir:fhir.ttl] . # -------------------------------------------------------------------------------------
Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.