Universal API Implementation Guide
1.1.18 - ci-build

Universal API Implementation Guide - Local Development build (v1.1.18). See the Directory of published versions

: External - UAPI Query Response 1 - JSON Representation

Raw json | Download


{
  "resourceType" : "Bundle",
  "id" : "uapi-query-response-1",
  "meta" : {
    "profile" : [
      "https://fhir.developer.gene.com/StructureDefinition/uapi-bundle-query-response"
    ]
  },
  "type" : "message",
  "timestamp" : "2020-03-11T08:10:17-05:00",
  "entry" : [
    {
      "fullUrl" : "urn:uuid:04ba6102-8344-4c3e-b96e-e9fc75a7840c",
      "resource" : {
        "resourceType" : "MessageHeader",
        "id" : "04ba6102-8344-4c3e-b96e-e9fc75a7840c",
        "text" : {
          "status" : "generated",
          "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: MessageHeader</b><a name=\"04ba6102-8344-4c3e-b96e-e9fc75a7840c\"> </a></p><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\">Resource MessageHeader \"04ba6102-8344-4c3e-b96e-e9fc75a7840c\" </p></div><p><b>event</b>: Query Response (Details: http://terminology.gene.com/fhir/usix/uapi/CodeSystem/uapi-event-type code query-response = 'query-response', stated as 'Query Response')</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>Genentech-FHIR-DEV</td><td><a href=\"https://fhir.developer.gene.com/$process-message\">https://fhir.developer.gene.com/$process-message</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>5065aa9f-bd6d-49a8-924c-5d00f5d0b997</td><td>ok</td></tr></table><p><b>focus</b>: <a href=\"#Parameters_9f548d11-1cc6-4cca-8217-f5e3acbe84e5\">See above (urn:uuid:9f548d11-1cc6-4cca-8217-f5e3acbe84e5)</a></p></div>"
        },
        "eventCoding" : {
          "system" : "http://terminology.gene.com/fhir/usix/uapi/CodeSystem/uapi-event-type",
          "code" : "query-response",
          "display" : "Query Response"
        },
        "source" : {
          "name" : "Genentech-FHIR-DEV",
          "endpoint" : "https://fhir.developer.gene.com/$process-message"
        },
        "response" : {
          "identifier" : "5065aa9f-bd6d-49a8-924c-5d00f5d0b997",
          "code" : "ok"
        },
        "focus" : [
          {
            "reference" : "urn:uuid:9f548d11-1cc6-4cca-8217-f5e3acbe84e5"
          }
        ]
      }
    },
    {
      "fullUrl" : "urn:uuid:b3d46ea3-62e6-4171-b818-d64712edfe55",
      "resource" : {
        "resourceType" : "Patient",
        "id" : "b3d46ea3-62e6-4171-b818-d64712edfe55",
        "meta" : {
          "profile" : [
            "https://fhir.developer.gene.com/StructureDefinition/uapi-patient"
          ]
        },
        "text" : {
          "status" : "generated",
          "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: Patient</b><a name=\"b3d46ea3-62e6-4171-b818-d64712edfe55\"> </a></p><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\">Resource Patient \"b3d46ea3-62e6-4171-b818-d64712edfe55\" </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-uapi-patient.html\">UAPI Patient</a></p></div><p><b>identifier</b>: Patient internal identifier: 540002(use: OFFICIAL), Patient internal identifier: MPAT-000123(use: USUAL)</p><p><b>name</b>: Ryan Michaelson (OFFICIAL)</p><p><b>telecom</b>: ph: 1231231234(HOME), ph: 1234561234(MOBILE), <a href=\"mailto:bobster83@example.com\">bobster83@example.com</a></p><p><b>gender</b>: male</p><p><b>birthDate</b>: 1972-10-29</p><p><b>address</b>: 1234 Main St San Francisco CA 94105 US </p><h3>Communications</h3><table class=\"grid\"><tr><td>-</td><td><b>Language</b></td><td><b>Preferred</b></td></tr><tr><td>*</td><td>English <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/5.0.0/CodeSystem-v3-ietf3066.html\">Tags for the Identification of Languages</a>#en)</span></td><td>true</td></tr></table><p><b>generalPractitioner</b>: <a href=\"Bundle-caf568e0-21b6-40e4-b0b8-1fdddef30fd2.html#urn-uuid-695d0991-5e03-46df-934a-85a28acd95c1\">urn:uuid:695d0991-5e03-46df-934a-85a28acd95c1</a></p><p><b>managingOrganization</b>: <a href=\"Bundle-caf568e0-21b6-40e4-b0b8-1fdddef30fd2.html#urn-uuid-01c31a2f-321d-4c6e-8349-206af8a88088\">urn:uuid:01c31a2f-321d-4c6e-8349-206af8a88088</a></p></div>"
        },
        "identifier" : [
          {
            "use" : "official",
            "type" : {
              "coding" : [
                {
                  "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
                  "code" : "PI",
                  "display" : "Patient internal identifier"
                }
              ]
            },
            "system" : "http://vendor.com/ab",
            "value" : "540002",
            "assigner" : {
              "display" : "AB Vendor"
            }
          },
          {
            "use" : "usual",
            "type" : {
              "coding" : [
                {
                  "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
                  "code" : "PI",
                  "display" : "Patient internal identifier"
                }
              ]
            },
            "system" : "http://dev.gene.com/patientmaster",
            "value" : "MPAT-000123",
            "assigner" : {
              "display" : "Genentech Patient Master"
            }
          }
        ],
        "name" : [
          {
            "use" : "official",
            "family" : "Michaelson",
            "given" : [
              "Ryan"
            ]
          }
        ],
        "telecom" : [
          {
            "system" : "phone",
            "value" : "1231231234",
            "use" : "home",
            "rank" : 1
          },
          {
            "system" : "phone",
            "value" : "1234561234",
            "use" : "mobile",
            "rank" : 2
          },
          {
            "system" : "email",
            "value" : "bobster83@example.com",
            "use" : "home",
            "rank" : 3
          }
        ],
        "gender" : "male",
        "birthDate" : "1972-10-29",
        "address" : [
          {
            "line" : [
              "1234 Main St"
            ],
            "city" : "San Francisco",
            "state" : "CA",
            "postalCode" : "94105",
            "country" : "US"
          }
        ],
        "communication" : [
          {
            "language" : {
              "coding" : [
                {
                  "system" : "urn:ietf:bcp:47",
                  "code" : "en",
                  "display" : "English"
                }
              ]
            },
            "preferred" : true
          }
        ],
        "generalPractitioner" : [
          {
            "reference" : "urn:uuid:695d0991-5e03-46df-934a-85a28acd95c1"
          }
        ],
        "managingOrganization" : {
          "reference" : "urn:uuid:01c31a2f-321d-4c6e-8349-206af8a88088"
        }
      }
    },
    {
      "fullUrl" : "urn:uuid:aecbb129-9a73-4b59-9d66-ff5cdb3f3164",
      "resource" : {
        "resourceType" : "Bundle",
        "id" : "Inline-Instance-search-result-for-uapi-query-response-1",
        "meta" : {
          "profile" : [
            "https://fhir.developer.gene.com/StructureDefinition/uapi-bundle-search-result"
          ]
        },
        "type" : "searchset",
        "total" : 1,
        "link" : [
          {
            "relation" : "self",
            "url" : "CoverageEligibilityResponse?status=active&patient=patient1-GNE-version&request.provider=vendorid_hospitalid"
          }
        ],
        "entry" : [
          {
            "fullUrl" : "https://fhir.developer.gene.com/CoverageEligibilityResponse/1",
            "resource" : {
              "resourceType" : "CoverageEligibilityResponse",
              "id" : "7af89fd2-999c-4d3e-a826-cf3d70d32183",
              "meta" : {
                "profile" : [
                  "https://fhir.developer.gene.com/StructureDefinition/uapi-coverage-eligibility-response"
                ]
              },
              "contained" : [
                {
                  "resourceType" : "Organization",
                  "id" : "8a0a8882-2667-4703-8c35-fdff0f6cf19f",
                  "meta" : {
                    "profile" : [
                      "https://fhir.developer.gene.com/StructureDefinition/uapi-organization"
                    ]
                  },
                  "identifier" : [
                    {
                      "use" : "usual",
                      "system" : "http://gene.com",
                      "value" : "ORG-00001",
                      "assigner" : {
                        "display" : "Genentech"
                      }
                    }
                  ],
                  "type" : [
                    {
                      "coding" : [
                        {
                          "system" : "http://terminology.hl7.org/CodeSystem/organization-type",
                          "code" : "ins"
                        }
                      ]
                    }
                  ],
                  "name" : "Genentech Patient Foundation",
                  "telecom" : [
                    {
                      "system" : "phone",
                      "value" : "1800654332211",
                      "use" : "work",
                      "rank" : 1
                    }
                  ]
                },
                {
                  "resourceType" : "CoverageEligibilityRequest",
                  "id" : "0c3b8b8b-cf22-41e2-a14d-1f3c288760c9",
                  "meta" : {
                    "profile" : [
                      "https://fhir.developer.gene.com/StructureDefinition/uapi-coverage-eligibility-request"
                    ]
                  },
                  "status" : "active",
                  "purpose" : [
                    "benefits"
                  ],
                  "patient" : {
                    "reference" : "urn:uuid:7c0c0017-e08d-4a14-9889-9eea26303ff2"
                  },
                  "created" : "2021-05-27T08:10:13-05:00",
                  "insurer" : {
                    "reference" : "urn:uuid:8a0a8882-2667-4703-8c35-fdff0f6cf19f"
                  }
                }
              ],
              "extension" : [
                {
                  "url" : "https://fhir.developer.gene.com/StructureDefinition/gpf-shipment-method",
                  "valueCodeableConcept" : {
                    "coding" : [
                      {
                        "system" : "https://fhir.developer.gene.com/CodeSystem/gpf-shipment-method",
                        "code" : "upfront",
                        "display" : "Upfront"
                      }
                    ]
                  }
                },
                {
                  "url" : "https://fhir.developer.gene.com/StructureDefinition/statusOutcome",
                  "valueCodeableConcept" : {
                    "coding" : [
                      {
                        "system" : "https://fhir.developer.gene.com/CodeSystem/uapi-coverage-outcome",
                        "code" : "approved",
                        "display" : "Approved"
                      }
                    ]
                  }
                }
              ],
              "status" : "active",
              "purpose" : [
                "benefits"
              ],
              "patient" : {
                "reference" : "urn:uuid:7c0c0017-e08d-4a14-9889-9eea26303ff2",
                "type" : "Patient"
              },
              "servicedDate" : "2021-06-01",
              "created" : "2021-05-27T08:10:13-05:00",
              "request" : {
                "reference" : "#0c3b8b8b-cf22-41e2-a14d-1f3c288760c9",
                "type" : "CoverageEligibilityRequest"
              },
              "outcome" : "complete",
              "disposition" : "Not Insured",
              "insurer" : {
                "reference" : "#8a0a8882-2667-4703-8c35-fdff0f6cf19f",
                "type" : "Organization"
              }
            },
            "search" : {
              "mode" : "match"
            }
          }
        ]
      }
    },
    {
      "fullUrl" : "urn:uuid:0c3b8b8b-cf22-41e2-a14d-1f3c288760c9",
      "resource" : {
        "resourceType" : "CoverageEligibilityRequest",
        "id" : "0c3b8b8b-cf22-41e2-a14d-1f3c288760c9",
        "meta" : {
          "profile" : [
            "https://fhir.developer.gene.com/StructureDefinition/uapi-coverage-eligibility-request"
          ]
        },
        "text" : {
          "status" : "generated",
          "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: CoverageEligibilityRequest</b><a name=\"0c3b8b8b-cf22-41e2-a14d-1f3c288760c9\"> </a></p><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\">Resource CoverageEligibilityRequest \"0c3b8b8b-cf22-41e2-a14d-1f3c288760c9\" </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-uapi-coverage-eligibility-request.html\">UAPI CoverageEligibilityRequest</a></p></div><p><b>status</b>: active</p><p><b>purpose</b>: benefits</p><p><b>patient</b>: <a href=\"Bundle-uapi-status-update-1.html#urn-uuid-7c0c0017-e08d-4a14-9889-9eea26303ff2\">urn:uuid:7c0c0017-e08d-4a14-9889-9eea26303ff2</a></p><p><b>created</b>: 2021-05-27 08:10:13-0500</p><p><b>insurer</b>: <a href=\"#Organization_8a0a8882-2667-4703-8c35-fdff0f6cf19f\">See above (urn:uuid:8a0a8882-2667-4703-8c35-fdff0f6cf19f)</a></p></div>"
        },
        "status" : "active",
        "purpose" : [
          "benefits"
        ],
        "patient" : {
          "reference" : "urn:uuid:7c0c0017-e08d-4a14-9889-9eea26303ff2"
        },
        "created" : "2021-05-27T08:10:13-05:00",
        "insurer" : {
          "reference" : "urn:uuid:8a0a8882-2667-4703-8c35-fdff0f6cf19f"
        }
      }
    },
    {
      "fullUrl" : "urn:uuid:9f548d11-1cc6-4cca-8217-f5e3acbe84e5",
      "resource" : {
        "resourceType" : "Parameters",
        "id" : "9f548d11-1cc6-4cca-8217-f5e3acbe84e5",
        "parameter" : [
          {
            "name" : "responder-patient",
            "valueReference" : {
              "reference" : "urn:uuid:b3d46ea3-62e6-4171-b818-d64712edfe55"
            }
          },
          {
            "name" : "search-result",
            "valueReference" : {
              "reference" : "urn:uuid:aecbb129-9a73-4b59-9d66-ff5cdb3f3164"
            }
          }
        ]
      }
    },
    {
      "fullUrl" : "urn:uuid:8a0a8882-2667-4703-8c35-fdff0f6cf19f",
      "resource" : {
        "resourceType" : "Organization",
        "id" : "8a0a8882-2667-4703-8c35-fdff0f6cf19f",
        "meta" : {
          "profile" : [
            "https://fhir.developer.gene.com/StructureDefinition/uapi-organization"
          ]
        },
        "text" : {
          "status" : "generated",
          "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: Organization</b><a name=\"8a0a8882-2667-4703-8c35-fdff0f6cf19f\"> </a></p><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\">Resource Organization \"8a0a8882-2667-4703-8c35-fdff0f6cf19f\" </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-uapi-organization.html\">UAPI Organization</a></p></div><p><b>identifier</b>: id: ORG-00001(use: USUAL)</p><p><b>type</b>: Insurance Company <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://hl7.org/fhir/R4B/codesystem-organization-type.html\">OrganizationType</a>#ins)</span></p><p><b>name</b>: Genentech Patient Foundation</p><p><b>telecom</b>: ph: 1800654332211(WORK)</p></div>"
        },
        "identifier" : [
          {
            "use" : "usual",
            "system" : "http://gene.com",
            "value" : "ORG-00001",
            "assigner" : {
              "display" : "Genentech"
            }
          }
        ],
        "type" : [
          {
            "coding" : [
              {
                "system" : "http://terminology.hl7.org/CodeSystem/organization-type",
                "code" : "ins"
              }
            ]
          }
        ],
        "name" : "Genentech Patient Foundation",
        "telecom" : [
          {
            "system" : "phone",
            "value" : "1800654332211",
            "use" : "work",
            "rank" : 1
          }
        ]
      }
    }
  ]
}