{
  "resourceType" : "Bundle",
  "id" : "uapi-copay-update-1",
  "meta" : {
    "profile" : ["https://fhir.developer.gene.com/StructureDefinition/uapi-copay-management-bundle"]
  },
  "type" : "message",
  "timestamp" : "2023-03-11T08:10:13-05:00",
  "entry" : [{
    "fullUrl" : "urn:uuid:fa54ac6e-e15c-41c8-9f53-df49d94aeded",
    "resource" : {
      "resourceType" : "MessageHeader",
      "id" : "fa54ac6e-e15c-41c8-9f53-df49d94aeded",
      "meta" : {
        "profile" : ["https://fhir.developer.gene.com/StructureDefinition/uapi-messageheader"]
      },
      "text" : {
        "status" : "extensions",
        "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"MessageHeader_fa54ac6e-e15c-41c8-9f53-df49d94aeded\"> </a><p class=\"res-header-id\"><b>Generated Narrative: MessageHeader fa54ac6e-e15c-41c8-9f53-df49d94aeded</b></p><a name=\"fa54ac6e-e15c-41c8-9f53-df49d94aeded\"> </a><a name=\"hcfa54ac6e-e15c-41c8-9f53-df49d94aeded\"> </a><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\"/><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-uapi-messageheader.html\">UAPI MessageHeader</a></p></div><p><b>UAPI MessageHeader Timestamp</b>: 2020-03-11 08:10:13-0500</p><p><b>event</b>: uapi-event-type copay-update: copay-update</p><h3>Destinations</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Name</b></td><td><b>Endpoint</b></td></tr><tr><td style=\"display: none\">*</td><td>UAPI-ENR-V2.1</td><td><a href=\"https://test-us-e1.apis.roche.com/pharma-cmg-ehr-fhir-exp-test/v2/update\">https://test-us-e1.apis.roche.com/pharma-cmg-ehr-fhir-exp-test/v2/update</a></td></tr></table><p><b>sender</b>: Identifier: <code>http://vendor.com/ab</code>/HOSP-12345\u00a0(use:\u00a0usual,\u00a0)</p><h3>Sources</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Name</b></td><td><b>Endpoint</b></td></tr><tr><td style=\"display: none\">*</td><td>Vendor_Tailormed</td><td><a href=\"http://vendor.com/fhir/enrollmentID/ENR-00001\">http://vendor.com/fhir/enrollmentID/ENR-00001</a></td></tr></table><p><b>focus</b>: <a href=\"Bundle-uapi-copay-update-1.html#urn-uuid-319e536f-377b-4457-9d46-4a76c403a2c3\">Bundle: type = message; timestamp = 2023-03-11 08:10:13-0500</a></p></div>"
      },
      "extension" : [{
        "url" : "https://fhir.developer.gene.com/StructureDefinition/message-timestamp",
        "valueDateTime" : "2020-03-11T08:10:13-05:00"
      }],
      "eventCoding" : {
        "system" : "http://terminology.gene.com/fhir/usix/uapi/CodeSystem/uapi-event-type",
        "code" : "copay-update"
      },
      "destination" : [{
        "name" : "UAPI-ENR-V2.1",
        "endpoint" : "https://test-us-e1.apis.roche.com/pharma-cmg-ehr-fhir-exp-test/v2/update"
      }],
      "sender" : {
        "type" : "Organization",
        "identifier" : {
          "use" : "usual",
          "system" : "http://vendor.com/ab",
          "value" : "HOSP-12345",
          "assigner" : {
            "display" : "AB Vendor"
          }
        }
      },
      "source" : {
        "name" : "Vendor_Tailormed",
        "endpoint" : "http://vendor.com/fhir/enrollmentID/ENR-00001"
      },
      "focus" : [{
        "reference" : "urn:uuid:319e536f-377b-4457-9d46-4a76c403a2c3",
        "type" : "Parameters"
      }]
    }
  },
  {
    "fullUrl" : "urn:uuid:319e536f-377b-4457-9d46-4a76c403a2c3",
    "resource" : {
      "resourceType" : "Parameters",
      "id" : "319e536f-377b-4457-9d46-4a76c403a2c3",
      "parameter" : [{
        "name" : "requester-patient",
        "valueReference" : {
          "reference" : "urn:uuid:77a64848-bcb5-4fa1-a132-d09952b1c891"
        }
      },
      {
        "name" : "requester-task",
        "valueReference" : {
          "reference" : "urn:uuid:b4b2493c-f20d-4a83-849c-ebbd64ec2ff3"
        }
      }]
    }
  },
  {
    "fullUrl" : "urn:uuid:77a64848-bcb5-4fa1-a132-d09952b1c891",
    "resource" : {
      "resourceType" : "Patient",
      "id" : "77a64848-bcb5-4fa1-a132-d09952b1c891",
      "text" : {
        "status" : "generated",
        "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Patient_77a64848-bcb5-4fa1-a132-d09952b1c891\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Patient 77a64848-bcb5-4fa1-a132-d09952b1c891</b></p><a name=\"77a64848-bcb5-4fa1-a132-d09952b1c891\"> </a><a name=\"hc77a64848-bcb5-4fa1-a132-d09952b1c891\"> </a><p style=\"border: 1px #661aff solid; background-color: #e6e6ff; padding: 10px;\">Anonymous Patient (no stated gender), DoB Unknown ( Patient internal identifier: 8132413049\u00a0(use:\u00a0usual,\u00a0))</p><hr/></div>"
      },
      "identifier" : [{
        "use" : "usual",
        "type" : {
          "coding" : [{
            "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
            "code" : "PI",
            "display" : "Patient internal identifier"
          }]
        },
        "system" : "http://connectiverx.com/confirmationId",
        "value" : "8132413049",
        "assigner" : {
          "display" : "CRX"
        }
      }]
    }
  },
  {
    "fullUrl" : "urn:uuid:b4b2493c-f20d-4a83-849c-ebbd64ec2ff3",
    "resource" : {
      "resourceType" : "Task",
      "id" : "b4b2493c-f20d-4a83-849c-ebbd64ec2ff3",
      "text" : {
        "status" : "generated",
        "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Task_b4b2493c-f20d-4a83-849c-ebbd64ec2ff3\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Task b4b2493c-f20d-4a83-849c-ebbd64ec2ff3</b></p><a name=\"b4b2493c-f20d-4a83-849c-ebbd64ec2ff3\"> </a><a name=\"hcb4b2493c-f20d-4a83-849c-ebbd64ec2ff3\"> </a><p><b>status</b>: Requested</p><p><b>intent</b>: plan</p><p><b>code</b>: <span title=\"Codes:{https://fhir.developer.gene.com/CodeSystem/uapi-sr-type copay}\">Copay</span></p><p><b>for</b>: <a href=\"Bundle-uapi-copay-update-1.html#urn-uuid-77a64848-bcb5-4fa1-a132-d09952b1c891\">Bundle: type = message; timestamp = 2023-03-11 08:10:13-0500</a></p><p><b>authoredOn</b>: 2023-01-23 08:10:13-0500</p><h3>Inputs</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Type</b></td><td><b>Value[x]</b></td></tr><tr><td style=\"display: none\">*</td><td><span title=\"Codes:{http://terminology.gene.com/fhir/usix/uapi/CodeSystem/uapi-copay-task-input-type brandId}\">brandId</span></td><td><span title=\"Codes:{http://terminology.gene.com/fhir/usix/uapi/CodeSystem/uapi-copay-brand-id 9c2693fd-4eb2-4543-a26b-2c85a3450fe2}\">9c2693fd-4eb2-4543-a26b-2c85a3450fe2</span></td></tr></table></div>"
      },
      "status" : "requested",
      "intent" : "plan",
      "code" : {
        "coding" : [{
          "system" : "https://fhir.developer.gene.com/CodeSystem/uapi-sr-type",
          "code" : "copay"
        }]
      },
      "for" : {
        "reference" : "urn:uuid:77a64848-bcb5-4fa1-a132-d09952b1c891",
        "type" : "Patient"
      },
      "authoredOn" : "2023-01-23T08:10:13-05:00",
      "input" : [{
        "type" : {
          "coding" : [{
            "system" : "http://terminology.gene.com/fhir/usix/uapi/CodeSystem/uapi-copay-task-input-type",
            "code" : "brandId"
          }]
        },
        "valueCodeableConcept" : {
          "coding" : [{
            "system" : "http://terminology.gene.com/fhir/usix/uapi/CodeSystem/uapi-copay-brand-id",
            "code" : "9c2693fd-4eb2-4543-a26b-2c85a3450fe2"
          }]
        }
      }]
    }
  }]
}