This
page
is
part
of
the
FHIR
Specification
(v4.0.1:
R4
(v5.0.0:
R5
-
Mixed
Normative
and
STU
)
).
This
is
the
current
published
version
in
it's
permanent
home
(it
will
always
be
available
at
this
URL).
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
| Orders and Observations Work Group | Maturity Level : N/A | Standards Status : Informative |
Compartments
:
|
Raw Turtle (+ also see Turtle/RDF Format Specification )
Example of polling for queued resources
@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/fm-example2> a fhir:Task; fhir:nodeRole fhir:treeRoot; fhir:Resource.id [ fhir:value "fm-example2"]; fhir:DomainResource.text [ fhir:Narrative.status [ fhir:value "generated" ]; fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n <p>\n <b> Generated Narrative with Details</b>\n </p>\n </div>" ]; fhir:Task.identifier [ fhir:index 0; fhir:Identifier.use [ fhir:value "official" ]; fhir:Identifier.system [ fhir:value "http:/happyvalley.com/task" ]; fhir:Identifier.value [ fhir:value "20181012-005" ] ]; fhir:Task.status [ fhir:value "requested"]; fhir:Task.intent [ fhir:value "order"]; fhir:Task.priority [ fhir:value "stat"]; fhir:Task.code [ fhir:CodeableConcept.coding [ fhir:index 0; fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/financialtaskcode" ]; fhir:Coding.code [ fhir:value "poll" ] ] ]; fhir:Task.authoredOn [ fhir:value "2018-10-12T08:25:05+10:00"^^xsd:dateTime]; fhir:Task.lastModified [ fhir:value "2018-10-12T08:25:05+10:00"^^xsd:dateTime]; fhir:Task.requester [ fhir:link <http://hl7.org/fhir/Organization/example>; fhir:Reference.reference [ fhir:value "Organization/example" ]; fhir:Reference.display [ fhir:value "Happy Valley Clinic" ] ]; fhir:Task.owner [ fhir:Reference.identifier [ fhir:Identifier.system [ fhir:value "http://nationalinsurers.com/identifiers" ]; fhir:Identifier.value [ fhir:value "12345" ][a fhir:Task ; fhir:nodeRole fhir:treeRoot ; fhir:id [ fhir:v "fm-example2"] ; # This is an example to demonstrate using task for actioning a poll request for only undelivered ClaimResponses created during a # specified period fhir:text [ fhir:status [ fhir:v "generated" ] ; fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n <p>\n <b> Generated Narrative with Details</b>\n </p>\n </div>" ] ; # fhir:identifier ( [ fhir:use [ fhir:v "official" ] ; fhir:system [ fhir:v "http:/happyvalley.com/task"^^xsd:anyURI ] ; fhir:value [ fhir:v "20181012-005" ] ] ) ; # fhir:status [ fhir:v "requested"] ; # fhir:intent [ fhir:v "order"] ; # fhir:priority [ fhir:v "stat"] ; # fhir:code [ fhir:coding ( [ fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/financialtaskcode"^^xsd:anyURI ] ; fhir:code [ fhir:v "poll" ] ] ) ] ; # real time request and response required , fictive code and description elements populated for this example fhir:authoredOn [ fhir:v "2018-10-12T08:25:05+10:00"^^xsd:dateTime] ; # fhir:lastModified [ fhir:v "2018-10-12T08:25:05+10:00"^^xsd:dateTime] ; # fhir:requester [ fhir:reference [ fhir:v "Organization/example" ] ; fhir:display [ fhir:v "Happy Valley Clinic" ] ] ; # fhir:owner [ fhir:identifier [ fhir:system [ fhir:v "http://nationalinsurers.com/identifiers"^^xsd:anyURI ] ; fhir:value [ fhir:v "12345" ] ]]; fhir:Task.input [ fhir:index 0; fhir:Task.input.type [ fhir:CodeableConcept.coding [ fhir:index 0; fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/financialtaskinputtype" ]; fhir:Coding.code [ fhir:value "include" ] ] ]; fhir:Task.input.valueCode [ fhir:value "ClaimResponse" ] ], [ fhir:index 1; fhir:Task.input.type [ fhir:CodeableConcept.coding [ fhir:index 0; fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/financialtaskinputtype" ]; fhir:Coding.code [ fhir:value "period" ] ] ]; fhir:Task.input.valuePeriod [ fhir:Period.start [ fhir:value "2018-10-01"^^xsd:date ]; fhir:Period.end [ fhir:value "2018-10-12"^^xsd:date ]] ; # fhir:input ( [ fhir:type [ fhir:coding ( [ fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/financialtaskinputtype"^^xsd:anyURI ] ; fhir:code [ fhir:v "include" ] ] ) ] ; fhir:value [ fhir:v "ClaimResponse" ] ] [ fhir:type [ fhir:coding ( [ fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/financialtaskinputtype"^^xsd:anyURI ] ; fhir:code [ fhir:v "period" ] ] ) ] ; fhir:value [ a fhir:Period ; fhir:start [ fhir:v "2018-10-01"^^xsd:date ] ; fhir:end [ fhir:v "2018-10-12"^^xsd:date ] ]] . <http://hl7.org/fhir/Organization/example> a fhir:Organization . # - ontology header ------------------------------------------------------------ <http://hl7.org/fhir/Task/fm-example2.ttl> a owl:Ontology; owl:imports fhir:fhir.ttl; owl:versionIRI <http://build.fhir.org/Task/fm-example2.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.
FHIR
®©
HL7.org
2011+.
FHIR
Release
4
(Technical
Correction
#1)
(v4.0.1)
R5
hl7.fhir.core#5.0.0
generated
on
Fri,
Nov
1,
2019
09:37+1100.
QA
Page
Sun,
Mar
26,
2023
15:26+1100.
Links:
Search
|
Version
History
|
Table
of
Contents
|
Credits
Glossary
|
QA
|
Compare
to
R3
R4
|
Compare
to
R4B
|
|
Propose
a
change