{
  "resourceType": "Bundle",
  "id": "specialty-rx-error-1",
  "meta": {
    "profile": [
      "http://hl7.org/fhir/us/specialty-rx/StructureDefinition/specialty-rx-bundle-error"
    ]
  },
  "type": "message",
  "timestamp": "2020-03-11T13:10:17-05:00",
  "entry": [
    {
      "fullUrl": "http://example.org/MyEHR/MessageHeader/msgheader1",
      "resource": {
        "resourceType": "MessageHeader",
        "id": "res1",
        "text": {
          "status": "generated",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative</b></p><p><b>event</b>: <span title=\"{http://hl7.org/fhir/us/specialty-rx/CodeSystem/specialty-rx-event-type error}\">Error</span></p><h3>Sources</h3><table class=\"grid\"><tr><td>-</td><td><b>Name</b></td><td><b>Endpoint</b></td></tr><tr><td>*</td><td>MyEHR</td><td><a href=\"http://example.org/MyEHR\">http://example.org/MyEHR</a></td></tr></table><h3>Responses</h3><table class=\"grid\"><tr><td>-</td><td><b>Identifier</b></td><td><b>Code</b></td></tr><tr><td>*</td><td>req1</td><td>transient-error</td></tr></table><p><b>focus</b>: <a href=\"#OperationOutcome_exception-13450456830\">See above (OperationOutcome/exception-13450456830)</a></p></div>"
        },
        "eventCoding": {
          "system": "http://hl7.org/fhir/us/specialty-rx/CodeSystem/specialty-rx-event-type",
          "code": "error"
        },
        "source": {
          "name": "MyEHR",
          "endpoint": "http://example.org/MyEHR"
        },
        "response": {
          "identifier": "req1",
          "code": "transient-error"
        },
        "focus": [
          {
            "reference": "urn:uuid:61ebe359-bfdc-4613-8bf2-c5e300945f0z"
          }
        ]
      }
    },
    {
      "fullUrl": "urn:uuid:61ebe359-bfdc-4613-8bf2-c5e300945f0z",
      "resource": {
        "resourceType": "OperationOutcome",
        "id": "exception-13450456830",
        "text": {
          "status": "generated",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative</b></p><h3>Issues</h3><table class=\"grid\"><tr><td>-</td><td><b>Severity</b></td><td><b>Code</b></td><td><b>Details</b></td></tr><tr><td>*</td><td>fatal</td><td>exception</td><td><span title=\"Codes: \">An unexpected exception occurred. Please resubmit</span></td></tr></table></div>"
        },
        "issue": [
          {
            "severity": "fatal",
            "code": "exception",
            "details": {
              "text": "An unexpected exception occurred. Please resubmit"
            }
          }
        ]
      }
    }
  ]
}