{
  "resourceType" : "MessageHeader",
  "id" : "messageheader-example-reportheader",
  "meta" : {
    "versionId" : "1",
    "lastUpdated" : "2020-11-29T02:03:28.045+00:00",
    "profile" : ["http://hl7.org/fhir/us/ph-library/StructureDefinition/us-ph-messageheader"]
  },
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n      <p>Reporting Data</p> \n    </div>"
  },
  "extension" : [{
    "url" : "http://hl7.org/fhir/us/ph-library/StructureDefinition/us-ph-data-encrypted-extension",
    "valueBoolean" : false
  },
  {
    "url" : "http://hl7.org/fhir/us/ph-library/StructureDefinition/us-ph-message-processing-category-extension",
    "valueCode" : "consequence"
  }],
  "eventCoding" : {
    "system" : "http://snomed.info/sct",
    "code" : "77386006"
  },
  "destination" : [{
    "name" : "PHA endpoint",
    "endpoint" : "http://example.org/fhir/pha"
  }],
  "sender" : {
    "reference" : "Organization/example-healthcare-org"
  },
  "source" : {
    "name" : "Healthcare Organization",
    "software" : "Backend Service App",
    "version" : "3.1.45.AABB",
    "contact" : {
      "system" : "phone",
      "value" : "+1 (917) 123 4567"
    },
    "endpoint" : "http://example.org/fhir/healthcare"
  },
  "reason" : {
    "coding" : [{
      "system" : "http://hl7.org/fhir/us/ph-library/CodeSystem/us-ph-codesystem-triggerdefinition-namedevents",
      "code" : "encounter-close"
    }]
  }
}