FHIR CI-Build

This is the Continuous Integration Build of FHIR (will be incorrect/inconsistent at times).
See the Directory of published versions

Example Task/example3 (Turtle)

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 -------------------------------------------------------------------

[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: Task</b><a name=\"example3\"> </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 Task &quot;example3&quot; </p></div><p><b>status</b>: draft</p><p><b>intent</b>: order</p><p><b>code</b>: Refill Request <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> ()</span></p><p><b>focus</b>: <a href=\"medicationrequestexample2.html\">MedicationRequest/medrx002</a></p><p><b>for</b>: <a href=\"patient-example-f001-pieter.html\">Patient/f001</a> &quot;Pieter VAN DE HEUVEL&quot;</p><p><b>authoredOn</b>: 2016-03-10T22:39:32-04:00</p><p><b>lastModified</b>: 2016-03-10T22:39:32-04:00</p><p><b>requester</b>: <a href=\"patient-example.html\">Patient/example</a> &quot;Peter CHALMERS&quot;</p><p><b>owner</b>: <a href=\"practitioner-example.html\">Practitioner/example</a> &quot;Adam CAREFUL&quot;</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:Reference.reference [ fhir:value "MedicationRequest/medrx002" ]
  ];
  fhir:Task.for [
     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:Reference.reference [ fhir:value "Patient/example" ]
  ];
  fhir:Task.owner [
     fhir:Reference.reference [ fhir:value "Practitioner/example" ]
  ]] .

# - 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.