<MessageHeader xmlns="http://hl7.org/fhir">
  <id value="Example-DataStandardsWales-PSOM-MessageHeader-ExceptionResponse" />
  <meta>
    <profile value="https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-PSOM-MessageHeader" />
  </meta>
  <eventCoding>
    <system value="https://fhir.nhs.wales/CodeSystem/DataStandardsWales-PSOM-MessageEvent" />
    <code value="exception-response" />
    <display value="Exception response" />
  </eventCoding>
  <source>
    <name value="Example PROMs provider" />
    <endpoint value="https://nhspsom.examplepromsprovider.com" />
  </source>
  <response>
    <identifier value="5015fe84-8e76-4526-89d8-44b322e8d4fb" />
    <code value="fatal-error" />
    <details>
      <reference value="OperationOutcome/Example-DataStandardsWales-PSOM-OperationOutcome" />
    </details>
  </response>
  <definition value="https://fhir.nhs.wales/MessageDefinition/DataStandardsWales-PSOM-ExceptionResponse" />
</MessageHeader>