This
page
is
part
of
the
FHIR
Specification
(v4.3.0:
R4B
(v5.0.0-draft-final:
Final
QA
Preview
for
R5
-
STU
see
ballot
notes
).
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
| Orders and Observations Work Group | Maturity Level : N/A | Standards Status : Informative |
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><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 "example3" </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=\"medicationrequest-medrx002.html\">MedicationRequest/medrx002</a></p><p><b>for</b>: <a href=\"patient-f001.html\">Patient/f001</a> "Pieter VAN DE HEUVEL"</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> "Peter CHALMERS"</p><p><b>owner</b>: <a href=\"practitioner-example.html\">Practitioner/example</a> "Adam CAREFUL"</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> .[a fhir:Task ; fhir:nodeRole fhir:treeRoot ; fhir:id [ fhir:v "example3"] ; # fhir:text [ fhir:status [ fhir:v "generated" ] ; fhir: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 "example3" </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> "Pieter VAN DE HEUVEL"</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> "Peter CHALMERS"</p><p><b>owner</b>: <a href=\"practitioner-example.html\">Practitioner/example</a> "Adam CAREFUL"</p></div>" ] ; # fhir:status [ fhir:v "draft"] ; # fhir:intent [ fhir:v "order"] ; # fhir:code [ fhir:text [ fhir:v "Refill Request" ] ] ; # fhir:focus [ fhir:reference [ fhir:v "MedicationRequest/medrx002" ] ] ; # fhir:for [ fhir:reference [ fhir:v "Patient/f001" ] ] ; # fhir:authoredOn [ fhir:v "2016-03-10T22:39:32-04:00"^^xsd:dateTime] ; # fhir:lastModified [ fhir:v "2016-03-10T22:39:32-04:00"^^xsd:dateTime] ; # fhir:requester [ fhir:reference [ fhir:v "Patient/example" ] ] ; # fhir:owner [ fhir:reference [ fhir:v "Practitioner/example" ] ]] . # # -------------------------------------------------------------------------------------
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.
FHIR
®©
HL7.org
2011+.
FHIR
Release
4B
(v4.3.0)
hl7.fhir.r4b.core#4.3.0
R5
hl7.fhir.core#5.0.0-draft-final
generated
on
Sat,
May
28,
2022
12:57+1000.
Wed,
Mar
1,
2023
23:07+1100.
Links:
Search
|
Version
History
|
Table
of
Contents
|
Glossary
|
QA
Page
|
Compare
to
R4
R4B
|
Compare
to
R5
Draft
|
|
Propose
a
change