DSTU2 FHIR Release 3 (STU)

This page is part of the FHIR Specification (v1.0.2: DSTU (v3.0.2: STU 2). 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 R2 R3 R2

Messageheader-example.json

Infrastructure And Messaging Work Group Maturity Level : N/A Ballot Status : Informative Compartments : Device , Practitioner

Raw JSON ( canonical form )

A typical message header

{
  "resourceType": "MessageHeader",
  "id": "1cbdfb97-5859-48a4-8301-d54eab818d68",
  "text": {
    "status": "generated",
    "div": "<div>\n      <p>Update Person resource for Peter James CHALMERS (Jim), MRN: 12345 (Acme Healthcare)</p>\n    </div>"

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

  },
  "timestamp": "2012-01-04T09:10:14Z",

  "event": {
    "system": "http://hl7.org/fhir/message-type",
    "code": "admin-update"
  },
  "response": {
    "identifier": "5015fe84-8e76-4526-89d8-44b322e8d4fb",
    "code": "ok"
  },
  "source": {
    "name": "Acme Central Patient Registry",
    "software": "FooBar Patient Manager",
    "version": "3.1.45.AABB",
    "contact": {
      "system": "phone",
      "value": "+1 (555) 123 4567"
    },
    "endpoint": "llp:10.11.12.13:5432"

    "system": "http://hl7.org/fhir/message-events",
    "code": "admin-notify"

  },
  "destination": [
    {
      "name": "Acme Message Gateway",
      "target": {
        "fhir_comments": [
          "  this is to indicate to the Acme Message Gateway that this particular message \n       is intended for Practitioner \"xcda\"  "
        ],

        "reference": "Device/example"
      },
      "endpoint": "llp:10.11.12.14:5432"
    }
  ],
  "sender": {
    "reference": "Organization/1"
  },
  "timestamp": "2012-01-04T09:10:14Z",

  "enterer": {
    "reference": "Practitioner/example"
  },
  "author": {
    "reference": "Practitioner/example"
  },
  "responsible": {
    "reference": "Practitioner/example"

  "source": {
    "name": "Acme Central Patient Registry",
    "software": "FooBar Patient Manager",
    "version": "3.1.45.AABB",
    "contact": {
      "system": "phone",
      "value": "+1 (555) 123 4567"
    },
    "endpoint": "llp:10.11.12.13:5432"

  },
  "reason": {
    "coding": [
      {
        "system": "http://hl7.org/fhir/message-reasons-encounter",
        "code": "admit"
      }
    ]
  },
  "data": [

  "response": {
    "identifier": "5015fe84-8e76-4526-89d8-44b322e8d4fb",
    "code": "ok"
  },
  "focus": [

    {
      "fhir_comments": [
        "  Here's the payload, the resource that this admin-update concerns  "
      ],

      "reference": "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.