Foundation
This
page
is
part
of
the
FHIR
Specification
(v4.3.0:
R4B
(v5.0.0:
R5
-
STU
).
The
This
is
the
current
published
version
which
supercedes
in
it's
permanent
home
(it
will
always
be
available
at
this
version
is
5.0.0
.
URL).
For
a
full
list
of
available
versions,
see
the
Directory
of
published
versions
.
Page
versions:
R5
R4B
R5
R4B
R4
R3
| Infrastructure And Messaging Work Group | Maturity Level : N/A | Standards Status : Informative | Compartments : Device , Practitioner |
Raw Turtle (+ also see Turtle/RDF Format Specification )
A typical message header
@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/MessageHeader/1cbdfb97-5859-48a4-8301-d54eab818d68> a fhir:MessageHeader; fhir:nodeRole fhir:treeRoot; fhir:Resource.id [ fhir:value "1cbdfb97-5859-48a4-8301-d54eab818d68"]; fhir:DomainResource.text [ fhir:Narrative.status [ fhir:value "generated" ]; fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n <p>Update Person resource for Peter James CHALMERS (Jim), MRN: 12345 (Acme Healthcare)</p>\n </div>" ]; fhir:MessageHeader.eventCoding [ fhir:Coding.system [ fhir:value "http://example.org/fhir/message-events" ]; fhir:Coding.code [ fhir:value "admin-notify" ] ]; fhir:MessageHeader.destination [ fhir:index 0; fhir:MessageHeader.destination.name [ fhir:value "Acme Message Gateway" ]; fhir:MessageHeader.destination.target [ fhir:link <http://hl7.org/fhir/Device/example>; fhir:Reference.reference [ fhir:value "Device/example" ] ]; fhir:MessageHeader.destination.endpoint [ fhir:value "llp:10.11.12.14:5432" ]; fhir:MessageHeader.destination.receiver [ fhir:link <http://acme.com/ehr/fhir/Practitioner/2323-33-4>; fhir:Reference.reference [ fhir:value "http://acme.com/ehr/fhir/Practitioner/2323-33-4" ][a fhir:MessageHeader ; fhir:nodeRole fhir:treeRoot ; fhir:id [ fhir:v "1cbdfb97-5859-48a4-8301-d54eab818d68"] ; # fhir:text [ fhir:status [ fhir:v "generated" ] ; fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n <p>Update Person resource for Peter James CHALMERS (Jim), MRN: 12345 (Acme Healthcare)</p>\n </div>" ] ; # fhir:event [ a fhir:Coding ; fhir:system [ fhir:v "http://example.org/fhir/message-events"^^xsd:anyURI ] ; fhir:code [ fhir:v "admin-notify" ] ] ; # fhir:destination ( [ fhir:endpoint [ fhir:v "llp:10.11.12.14:5432"^^xsd:anyURI ] ; fhir:name [ fhir:v "Acme Message Gateway" ] ; fhir:target [ fhir:reference [ fhir:v "Device/example" ] ] ; # this is to indicate to the Acme Message Gateway that this particular message \n is intended for Practitioner \"xcda\" fhir:receiver [ fhir:link <http://acme.com/ehr/fhir/Practitioner/2323-33-4> ; fhir:reference [ fhir:v "http://acme.com/ehr/fhir/Practitioner/2323-33-4" ] ]]; fhir:MessageHeader.sender [ fhir:link <http://hl7.org/fhir/Organization/1>; fhir:Reference.reference [ fhir:value "Organization/1" ] ]; fhir:MessageHeader.enterer [ fhir:link <http://hl7.org/fhir/Practitioner/example>; fhir:Reference.reference [ fhir:value "Practitioner/example" ] ]; fhir:MessageHeader.author [ fhir:link <http://hl7.org/fhir/Practitioner/example>; fhir:Reference.reference [ fhir:value "Practitioner/example" ] ]; fhir:MessageHeader.source [ fhir:MessageHeader.source.name [ fhir:value "Acme Central Patient Registry" ]; fhir:MessageHeader.source.software [ fhir:value "FooBar Patient Manager" ]; fhir:MessageHeader.source.version [ fhir:value "3.1.45.AABB" ]; fhir:MessageHeader.source.contact [ fhir:ContactPoint.system [ fhir:value "phone" ]; fhir:ContactPoint.value [ fhir:value "+1 (555) 123 4567" ] ]; fhir:MessageHeader.source.endpoint [ fhir:value "llp:10.11.12.13:5432" ] ]; fhir:MessageHeader.reason [ fhir:CodeableConcept.coding [ fhir:index 0; fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/message-reasons-encounter" ]; fhir:Coding.code [ fhir:value "admit" ]] ) ; # fhir:sender [ fhir:reference [ fhir:v "Organization/1" ] ] ; # fhir:author [ fhir:reference [ fhir:v "Practitioner/example" ] ] ; # <timestamp value="2012-01-04T09:10:14Z"/> fhir:source [ fhir:endpoint [ fhir:v "llp:10.11.12.13:5432"^^xsd:anyURI ] ; fhir:name [ fhir:v "Acme Central Patient Registry" ] ; fhir:software [ fhir:v "FooBar Patient Manager" ] ; fhir:version [ fhir:v "3.1.45.AABB" ] ; fhir:contact [ fhir:system [ fhir:v "phone" ] ; fhir:value [ fhir:v "+1 (555) 123 4567" ] ]]; fhir:MessageHeader.response [ fhir:MessageHeader.response.identifier [ fhir:value "5015fe84-8e76-4526-89d8-44b322e8d4fb" ]; fhir:MessageHeader.response.code [ fhir:value "ok" ] ]; fhir:MessageHeader.focus [ fhir:index 0; fhir:link <http://hl7.org/fhir/Patient/example>; fhir:Reference.reference [ fhir:value "Patient/example" ] ]; fhir:MessageHeader.definition [ fhir:value "http:////acme.com/ehr/fhir/messagedefinition/patientrequest";] ; # fhir:reason [ fhir:coding ( [ fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/message-reasons-encounter"^^xsd:anyURI ] ; fhir:code [ fhir:v "admit" ] ] ) ] ; # fhir:response [ fhir:identifier [ fhir:value [ fhir:v "5015fe84-8e76-4526-89d8-44b322e8d4fb" ] ] ; fhir:code [ fhir:v "ok" ] ] ; # fhir:focus ( [ fhir:reference [ fhir:v "Patient/example" ] ] ) ; # Here's the payload, the resource that this admin-update concerns fhir:definition [ fhir:v "http:////acme.com/ehr/fhir/messagedefinition/patientrequest"^^xsd:anyURI ; fhir:link <http:////acme.com/ehr/fhir/messagedefinition/patientrequest>] . <http://hl7.org/fhir/Device/example> a fhir:Device . <http://hl7.org/fhir/Organization/1> a fhir:Organization . <http://hl7.org/fhir/Practitioner/example> a fhir:Practitioner . <http://hl7.org/fhir/Patient/example> a fhir:Patient . # - ontology header ------------------------------------------------------------ <http://hl7.org/fhir/MessageHeader/1cbdfb97-5859-48a4-8301-d54eab818d68.ttl> a owl:Ontology; owl:imports fhir:fhir.ttl; owl:versionIRI <http://build.fhir.org/MessageHeader/1cbdfb97-5859-48a4-8301-d54eab818d68.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
4B
(v4.3.0)
hl7.fhir.r4b.core#4.3.0
R5
hl7.fhir.core#5.0.0
generated
on
Sat,
May
28,
2022
12:56+1000.
Sun,
Mar
26,
2023
15:25+1100.
Links:
Search
|
Version
History
|
Table
of
Contents
|
Glossary
|
QA
Page
|
Compare
to
R4
|
Compare
to
R4B
|
|
Propose
a
change