This page is part of the FHIR Specification (v1.4.0: STU 3 Ballot 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
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 xs: <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:MessageHeader.timestamp [ fhir:value "2012-01-04T09:10:14Z"^^xs:dateTime];
fhir:MessageHeader.event [
fhir:Coding.system [ fhir:value "http://hl7.org/fhir/message-type" ];
fhir:Coding.code [ fhir:value "admin-update" ]
];
fhir:MessageHeader.response [
fhir:MessageHeader.response.identifier [ fhir:value "5015fe84-8e76-4526-89d8-44b322e8d4fb" ];
fhir:MessageHeader.response.code [ fhir:value "ok" ]
];
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.destination [
fhir:index 0;
fhir:MessageHeader.destination.name [ fhir:value "Acme Message Gateway" ];
fhir:MessageHeader.destination.target [
fhir:reference <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.enterer [
fhir:reference <http://hl7.org/fhir/Practitioner/example>;
fhir:Reference.reference [ fhir:value "Practitioner/example" ]
];
fhir:MessageHeader.author [
fhir:reference <http://hl7.org/fhir/Practitioner/example>;
fhir:Reference.reference [ fhir:value "Practitioner/example" ]
];
fhir:MessageHeader.responsibleReference [
fhir:reference <http://hl7.org/fhir/Practitioner/example>;
fhir:Reference.reference [ fhir:value "Practitioner/example" ]
];
fhir:MessageHeader.reason [
fhir:CodeableConcept.coding [
fhir:index 0;
fhir:Coding.system [ fhir:value "http://hl7.org/fhir/message-reasons-encounter" ];
fhir:Coding.code [ fhir:value "admit" ] ]
];
fhir:MessageHeader.data [
fhir:index 0;
fhir:reference <http://hl7.org/fhir/Patient/example>;
fhir:Reference.reference [ fhir:value "Patient/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.