This page is part of the FHIR Specification (v1.4.0: STU 3 Ballot 3). 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 xs: <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:Task.type [
fhir:CodeableConcept.text [ fhir:value "Refill Request" ]
];
fhir:Task.status [ fhir:value "draft"];
fhir:Task.subject [
fhir:reference <http://hl7.org/fhir/Medication/123>;
fhir:Reference.reference [ fhir:value "Medication/123" ]
];
fhir:Task.created [ fhir:value "2016-03-10T22:39:32-04:00"^^xs:dateTime];
fhir:Task.lastModified [ fhir:value "2016-03-10T22:39:32-04:00"^^xs:dateTime];
fhir:Task.creatorReference [
fhir:reference <http://hl7.org/fhir/Patient/Keith>;
fhir:Reference.reference [ fhir:value "Patient/Keith" ]
];
fhir:Task.ownerReference [
fhir:reference <http://hl7.org/fhir/Practitioner/MyDoc>;
fhir:Reference.reference [ fhir:value "Practitioner/MyDoc" ]
].
# -------------------------------------------------------------------------------------
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.