This page is part of the FHIR Specification (v1.6.0: STU 3 Ballot 4). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions
Example of 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 ------------------------------------------------------------------- <http://hl7.org/fhir/Task/example> a fhir:Task; fhir:nodeRole fhir:treeRoot; fhir:Resource.id [ fhir:value "example"]; fhir:DomainResource.text [ fhir:Narrative.status [ fhir:value "generated" ]; fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative with Details</b></p><p><b>id</b>: example</p><p><b>text</b>: </p><p><b>status</b>: draft</p><p><b>stage</b>: actionable <span>(Details : {http://hl7.org/fhir/task-stage code 'actionable' = 'actionable)</span></p><p><b>code</b>: Refill Request <span>(Details )</span></p><p><b>focus</b>: <a>MedicationOrder/medrx001</a></p><p><b>for</b>: <a>Patient/f001</a></p><p><b>created</b>: 10/03/2016 10:39:32 PM</p><p><b>lastModified</b>: 10/03/2016 10:39:32 PM</p><p><b>requester</b>: <a>Patient/Keith</a></p><p><b>owner</b>: <a>Practitioner/MyDoc</a></p></div>" ]; fhir:Task.status [ fhir:value "draft"]; fhir:Task.stage [ fhir:CodeableConcept.coding [ fhir:index 0; fhir:Coding.system [ fhir:value "http://hl7.org/fhir/task-stage" ]; fhir:Coding.code [ fhir:value "actionable" ] ] ]; fhir:Task.code [ fhir:CodeableConcept.text [ fhir:value "Refill Request" ] ]; fhir:Task.focus [ fhir:link <http://hl7.org/fhir/MedicationOrder/medrx001>; fhir:Reference.reference [ fhir:value "MedicationOrder/medrx001" ] ]; fhir:Task.for [ fhir:link <http://hl7.org/fhir/Patient/f001>; fhir:Reference.reference [ fhir:value "Patient/f001" ] ]; fhir:Task.created [ fhir:value "2016-03-10T22:39:32-04:00"^^xsd:dateTime]; fhir:Task.lastModified [ fhir:value "2016-03-10T22:39:32-04:00"^^xsd:dateTime]; fhir:Task.requester [ fhir:link <http://hl7.org/fhir/Patient/Keith>; fhir:Reference.reference [ fhir:value "Patient/Keith" ] ]; fhir:Task.owner [ fhir:link <http://hl7.org/fhir/Practitioner/MyDoc>; fhir:Reference.reference [ fhir:value "Practitioner/MyDoc" ] ] . <http://hl7.org/fhir/MedicationOrder/medrx001> a fhir:MedicationOrder . <http://hl7.org/fhir/Patient/f001> a fhir:Patient . <http://hl7.org/fhir/Patient/Keith> a fhir:Patient . <http://hl7.org/fhir/Practitioner/MyDoc> a fhir:Practitioner . # -------------------------------------------------------------------------------------
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.