Release 5 Preview #3

This page is part of the FHIR Specification (v4.5.0: R5 Preview #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 . Page versions: R5 R4B R4 R3

Task-example3.ttl

Orders and Observations Work GroupMaturity Level: N/AStandards Status: InformativeCompartments: Not linked to any defined compartments

Raw Turtle (+ also see Turtle/RDF Format Specification)

Example of simple prescription 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/example3> a fhir:Task;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "example3"];
  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>id</b>: example3</p><p><b>status</b>: draft</p><p><b>intent</b>: order</p><p><b>code</b>: <span>Refill Request</span></p><p><b>focus</b>: <a>Generated Summary: id: medrx002; id: 12345 (OFFICIAL); status: active; intent: order; <span>prescribed medication</span>; authoredOn: 2015-03-01; <span>Essential hypertension (disorder)</span>; </a></p><p><b>for</b>: <a>Generated Summary: id: f001; id: 738472983 (USUAL), id: ?ngen-9? (USUAL); active; Pieter van de Heuvel ; ph: 0648352638(MOBILE), p.heuvel@gmail.com(HOME); gender: male; birthDate: 1944-11-17; <span>Getrouwd</span>; multipleBirth</a></p><p><b>authoredOn</b>: 11/03/2016 1:39:32 PM</p><p><b>lastModified</b>: 11/03/2016 1:39:32 PM</p><p><b>requester</b>: <a>Generated Summary: id: example; Medical record number: 12345 (USUAL); active; Peter James Chalmers (OFFICIAL), Jim , Peter James Windsor (MAIDEN); -unknown-(HOME), ph: (03) 5555 6473(WORK), ph: (03) 3410 5613(MOBILE), ph: (03) 5555 8834(OLD); gender: male; birthDate: 1974-12-25; </a></p><p><b>owner</b>: <a>Generated Summary: id: example; id: 23; active; Adam Careful </a></p></div>"
  ];
  fhir:Task.status [ fhir:value "draft"];
  fhir:Task.intent [ fhir:value "order"];
  fhir:Task.code [
     fhir:CodeableConcept.text [ fhir:value "Refill Request" ]
  ];
  fhir:Task.focus [
     fhir:link <http://hl7.org/fhir/MedicationRequest/medrx002>;
     fhir:Reference.reference [ fhir:value "MedicationRequest/medrx002" ]
  ];
  fhir:Task.for [
     fhir:link <http://hl7.org/fhir/Patient/f001>;
     fhir:Reference.reference [ fhir:value "Patient/f001" ]
  ];
  fhir:Task.authoredOn [ 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/example>;
     fhir:Reference.reference [ fhir:value "Patient/example" ]
  ];
  fhir:Task.owner [
     fhir:link <http://hl7.org/fhir/Practitioner/example>;
     fhir:Reference.reference [ fhir:value "Practitioner/example" ]
  ] .

<http://hl7.org/fhir/MedicationRequest/medrx002> a fhir:MedicationRequest .

<http://hl7.org/fhir/Patient/f001> a fhir:Patient .

<http://hl7.org/fhir/Patient/example> a fhir:Patient .

<http://hl7.org/fhir/Practitioner/example> a fhir:Practitioner .

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

<http://hl7.org/fhir/Task/example3.ttl> a owl:Ontology;
  owl:imports fhir:fhir.ttl;
  owl:versionIRI <http://build.fhir.org/Task/example3.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.