{
  "resourceType" : "Bundle",
  "id" : "rtpbc-via-intermediary-response-bundle-1",
  "meta" : {
    "profile" : ["http://hl7.org/fhir/us/carin-rtpbc/StructureDefinition/rtpbc-response-bundle"]
  },
  "language" : "en",
  "type" : "message",
  "timestamp" : "2026-11-01T13:00:05-05:00",
  "entry" : [{
    "fullUrl" : "http://example.org/PharmacyBenefitsCo/fhir/MessageHeader/rtpbc-via-intermediary-messageheader-response-1",
    "resource" : {
      "resourceType" : "MessageHeader",
      "id" : "rtpbc-via-intermediary-messageheader-response-1",
      "meta" : {
        "profile" : ["http://hl7.org/fhir/us/carin-rtpbc/StructureDefinition/rtpbc-response-messageheader"]
      },
      "language" : "en",
      "text" : {
        "status" : "generated",
        "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"MessageHeader_rtpbc-via-intermediary-messageheader-response-1\"> </a><p class=\"res-header-id\"><b>Generated Narrative: MessageHeader rtpbc-via-intermediary-messageheader-response-1</b></p><a name=\"rtpbc-via-intermediary-messageheader-response-1\"> </a><a name=\"hcrtpbc-via-intermediary-messageheader-response-1\"> </a><div style=\"display: inline-block; background-color: #fbffeb; 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-rtpbc-response-messageheader.html\">RTPBC Response MessageHeader</a></p></div><p><b>event</b>: <a href=\"CodeSystem-rtpbc-event-type.html#rtpbc-event-type-rtpbc-response\">RTPBC Event Type Code System: rtpbc-response</a> (RTPBC Response)</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>PharmacyBenefitsCompany</td><td><a href=\"http://example.org/PharmacyBenefitsCo/fhir\">http://example.org/PharmacyBenefitsCo/fhir</a></td></tr></table><h3>Responses</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Identifier</b></td><td><b>Code</b></td></tr><tr><td style=\"display: none\">*</td><td>rtpbc-via-intermediary-request-messageheader-1</td><td>OK</td></tr></table><p><b>focus</b>: <a href=\"Bundle-rtpbc-via-intermediary-response-bundle-1.html#http-//example.org/PharmacyBenefitsCo/fhir/ClaimResponse/rtpbc-claim-response-01\">ClaimResponse: identifier = rtpbc-claim-response-01; status = active; type = Pharmacy; use = predetermination; created = 2026-11-01 13:00:05-0500; outcome = complete; disposition = Processed successfully</a></p><p><b>definition</b>: <a href=\"MessageDefinition-rtpbc-response.html\">RTPBC Response Message Definition</a></p></div>"
      },
      "eventCoding" : {
        "system" : "http://hl7.org/fhir/us/carin-rtpbc/CodeSystem/rtpbc-event-type",
        "code" : "rtpbc-response",
        "display" : "RTPBC Response"
      },
      "source" : {
        "name" : "PharmacyBenefitsCompany",
        "endpoint" : "http://example.org/PharmacyBenefitsCo/fhir"
      },
      "response" : {
        "identifier" : "rtpbc-via-intermediary-request-messageheader-1",
        "code" : "ok"
      },
      "focus" : [{
        "reference" : "http://example.org/PharmacyBenefitsCo/fhir/ClaimResponse/rtpbc-claim-response-01"
      }],
      "definition" : "http://hl7.org/fhir/us/carin-rtpbc/MessageDefinition/rtpbc-response"
    }
  },
  {
    "fullUrl" : "http://example.org/PharmacyBenefitsCo/fhir/ClaimResponse/rtpbc-claim-response-01",
    "resource" : {
      "resourceType" : "ClaimResponse",
      "id" : "rtpbc-claim-response-01",
      "meta" : {
        "profile" : ["http://hl7.org/fhir/us/carin-rtpbc/StructureDefinition/rtpbc-response-claimresponse"]
      },
      "language" : "en",
      "text" : {
        "status" : "extensions",
        "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"ClaimResponse_rtpbc-claim-response-01\"> </a><p class=\"res-header-id\"><b>Generated Narrative: ClaimResponse rtpbc-claim-response-01</b></p><a name=\"rtpbc-claim-response-01\"> </a><a name=\"hcrtpbc-claim-response-01\"> </a><div style=\"display: inline-block; background-color: #fbffeb; 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-rtpbc-response-claimresponse.html\">RTPBC Response Using ClaimResponse</a></p></div><p><b>identifier</b>: rtpbc-claim-response-01</p><p><b>status</b>: Active</p><p><b>type</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/claim-type pharmacy}\">Pharmacy</span></p><p><b>use</b>: Predetermination</p><p><b>patient</b>: <a href=\"Patient-rtpbc-patient-01.html\">Jane Doe  Female, DoB: 1975-12-05 ( Patient internal identifier:\u00a030455)</a></p><p><b>created</b>: 2026-11-01 13:00:05-0500</p><p><b>insurer</b>: Identifier: Pharmacy Plans US</p><p><b>request</b>: Identifier: rtpbc-01</p><p><b>outcome</b>: Processing Complete</p><p><b>disposition</b>: Processed successfully</p><blockquote><p><b>item</b></p><p><b>RTPBC benefitRestriction Extension</b>: <a href=\"CodeSystem-rtpbc-benefit-restriction-temporary.html#rtpbc-benefit-restriction-temporary-prior-auth\">RTPBC Benefit Restriction Code System (Temporary): prior-auth</a> (Prior authorization required)</p><p><b>RTPBC formularyStatus Extension</b>: NCPDPFormularyStatus: O (On Formulary)</p><p><b>RTPBC preferenceLevel Extension</b>: 2</p><p><b>RTPBC nextAvailableFillDate Extension</b>: 2026-12-20</p><p><b>itemSequence</b>: 1</p><blockquote><p><b>adjudication</b></p><p><b>category</b>: <span title=\"Codes:{http://hl7.org/fhir/us/carin-rtpbc/CodeSystem/rtpbc-patient-pay-type-temporary copay}\">Copay</span></p><h3>Amounts</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Value</b></td><td><b>Currency</b></td></tr><tr><td style=\"display: none\">*</td><td>40</td><td>United States dollar</td></tr></table></blockquote><blockquote><p><b>adjudication</b></p><p><b>category</b>: <span title=\"Codes:{http://hl7.org/fhir/us/carin-rtpbc/CodeSystem/rtpbc-patient-pay-type-temporary coinsurance}\">Per prescription coinsurance</span></p><h3>Amounts</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Value</b></td><td><b>Currency</b></td></tr><tr><td style=\"display: none\">*</td><td>30</td><td>United States dollar</td></tr></table></blockquote><blockquote><p><b>adjudication</b></p><p><b>category</b>: <span title=\"Codes:{http://hl7.org/fhir/us/carin-rtpbc/CodeSystem/rtpbc-patient-pay-type-temporary total}\">Total patient responsibility</span></p><h3>Amounts</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Value</b></td><td><b>Currency</b></td></tr><tr><td style=\"display: none\">*</td><td>70</td><td>United States dollar</td></tr></table></blockquote></blockquote><blockquote><p><b>addItem</b></p><p><b>RTPBC isAlternative Extension</b>: true</p><p><b>RTPBC benefitRestriction Extension</b>: <a href=\"CodeSystem-rtpbc-benefit-restriction-temporary.html#rtpbc-benefit-restriction-temporary-covered\">RTPBC Benefit Restriction Code System (Temporary): covered</a> (Covered)</p><p><b>RTPBC formularyStatus Extension</b>: NCPDPFormularyStatus: P (On Formulary/Preferred)</p><p><b>RTPBC preferenceLevel Extension</b>: 1</p><p><b>itemSequence</b>: 1</p><p><b>provider</b>: <a href=\"Organization-rtpbc-organization-03m.html\">My Mail Service Pharmacy (Mail Order) (http://terminology.hl7.org/CodeSystem/NCPDPProviderIdentificationNumber#NCPDP Provider Identification Number#0999029)</a></p><p><b>productOrService</b>: <span title=\"Codes:{http://www.nlm.nih.gov/research/umls/rxnorm 205535}\">fluoxetine 10 MG Oral Capsule [Prozac]</span></p><p><b>quantity</b>: 180 {Each}</p><blockquote><p><b>adjudication</b></p><p><b>category</b>: <span title=\"Codes:{http://hl7.org/fhir/us/carin-rtpbc/CodeSystem/rtpbc-patient-pay-type-temporary copay}\">Copay</span></p><h3>Amounts</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Value</b></td><td><b>Currency</b></td></tr><tr><td style=\"display: none\">*</td><td>10</td><td>United States dollar</td></tr></table></blockquote><blockquote><p><b>adjudication</b></p><p><b>category</b>: <span title=\"Codes:{http://hl7.org/fhir/us/carin-rtpbc/CodeSystem/rtpbc-patient-pay-type-temporary deductible}\">Deductible</span></p><h3>Amounts</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Value</b></td><td><b>Currency</b></td></tr><tr><td style=\"display: none\">*</td><td>20</td><td>United States dollar</td></tr></table></blockquote><blockquote><p><b>adjudication</b></p><p><b>category</b>: <span title=\"Codes:{http://hl7.org/fhir/us/carin-rtpbc/CodeSystem/rtpbc-patient-pay-type-temporary accumulated-deductible}\">Accumulated deductible</span></p><h3>Amounts</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Value</b></td><td><b>Currency</b></td></tr><tr><td style=\"display: none\">*</td><td>195</td><td>United States dollar</td></tr></table></blockquote><blockquote><p><b>adjudication</b></p><p><b>category</b>: <span title=\"Codes:{http://hl7.org/fhir/us/carin-rtpbc/CodeSystem/rtpbc-patient-pay-type-temporary remaining-deductible}\">Remaining deductible</span></p><h3>Amounts</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Value</b></td><td><b>Currency</b></td></tr><tr><td style=\"display: none\">*</td><td>305</td><td>United States dollar</td></tr></table></blockquote><blockquote><p><b>adjudication</b></p><p><b>category</b>: <span title=\"Codes:{http://hl7.org/fhir/us/carin-rtpbc/CodeSystem/rtpbc-patient-pay-type-temporary coinsurance}\">Per prescription coinsurance</span></p><h3>Amounts</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Value</b></td><td><b>Currency</b></td></tr><tr><td style=\"display: none\">*</td><td>30</td><td>United States dollar</td></tr></table></blockquote><blockquote><p><b>adjudication</b></p><p><b>category</b>: <span title=\"Codes:{http://hl7.org/fhir/us/carin-rtpbc/CodeSystem/rtpbc-patient-pay-type-temporary total}\">Total patient responsibility</span></p><h3>Amounts</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Value</b></td><td><b>Currency</b></td></tr><tr><td style=\"display: none\">*</td><td>70</td><td>United States dollar</td></tr></table></blockquote></blockquote></div>"
      },
      "identifier" : [{
        "value" : "rtpbc-claim-response-01"
      }],
      "status" : "active",
      "type" : {
        "coding" : [{
          "system" : "http://terminology.hl7.org/CodeSystem/claim-type",
          "code" : "pharmacy",
          "display" : "Pharmacy"
        }]
      },
      "use" : "predetermination",
      "patient" : {
        "reference" : "Patient/rtpbc-patient-01"
      },
      "created" : "2026-11-01T13:00:05-05:00",
      "insurer" : {
        "identifier" : {
          "value" : "Pharmacy Plans US"
        }
      },
      "request" : {
        "identifier" : {
          "value" : "rtpbc-01"
        }
      },
      "outcome" : "complete",
      "disposition" : "Processed successfully",
      "item" : [{
        "extension" : [{
          "url" : "http://hl7.org/fhir/us/carin-rtpbc/StructureDefinition/rtpbc-benefitRestriction",
          "valueCoding" : {
            "system" : "http://hl7.org/fhir/us/carin-rtpbc/CodeSystem/rtpbc-benefit-restriction-temporary",
            "code" : "prior-auth",
            "display" : "Prior authorization required"
          }
        },
        {
          "url" : "http://hl7.org/fhir/us/carin-rtpbc/StructureDefinition/rtpbc-formularyStatus",
          "valueCoding" : {
            "system" : "http://terminology.hl7.org/CodeSystem/NCPDPFormularyStatus",
            "code" : "O",
            "display" : "On Formulary"
          }
        },
        {
          "url" : "http://hl7.org/fhir/us/carin-rtpbc/StructureDefinition/rtpbc-preferenceLevel",
          "valuePositiveInt" : 2
        },
        {
          "url" : "http://hl7.org/fhir/us/carin-rtpbc/StructureDefinition/rtpbc-nextAvailableFillDate",
          "valueDate" : "2026-12-20"
        }],
        "itemSequence" : 1,
        "adjudication" : [{
          "category" : {
            "coding" : [{
              "system" : "http://hl7.org/fhir/us/carin-rtpbc/CodeSystem/rtpbc-patient-pay-type-temporary",
              "code" : "copay",
              "display" : "Copay"
            }]
          },
          "amount" : {
            "value" : 40,
            "currency" : "USD"
          }
        },
        {
          "category" : {
            "coding" : [{
              "system" : "http://hl7.org/fhir/us/carin-rtpbc/CodeSystem/rtpbc-patient-pay-type-temporary",
              "code" : "coinsurance",
              "display" : "Per prescription coinsurance"
            }]
          },
          "amount" : {
            "value" : 30,
            "currency" : "USD"
          }
        },
        {
          "category" : {
            "coding" : [{
              "system" : "http://hl7.org/fhir/us/carin-rtpbc/CodeSystem/rtpbc-patient-pay-type-temporary",
              "code" : "total",
              "display" : "Total patient responsibility"
            }]
          },
          "amount" : {
            "value" : 70,
            "currency" : "USD"
          }
        }]
      }],
      "addItem" : [{
        "extension" : [{
          "url" : "http://hl7.org/fhir/us/carin-rtpbc/StructureDefinition/rtpbc-isAlternative",
          "valueBoolean" : true
        },
        {
          "url" : "http://hl7.org/fhir/us/carin-rtpbc/StructureDefinition/rtpbc-benefitRestriction",
          "valueCoding" : {
            "system" : "http://hl7.org/fhir/us/carin-rtpbc/CodeSystem/rtpbc-benefit-restriction-temporary",
            "code" : "covered",
            "display" : "Covered"
          }
        },
        {
          "url" : "http://hl7.org/fhir/us/carin-rtpbc/StructureDefinition/rtpbc-formularyStatus",
          "valueCoding" : {
            "system" : "http://terminology.hl7.org/CodeSystem/NCPDPFormularyStatus",
            "code" : "P",
            "display" : "On Formulary/Preferred"
          }
        },
        {
          "url" : "http://hl7.org/fhir/us/carin-rtpbc/StructureDefinition/rtpbc-preferenceLevel",
          "valuePositiveInt" : 1
        }],
        "itemSequence" : [1],
        "provider" : [{
          "reference" : "Organization/rtpbc-organization-03m"
        }],
        "productOrService" : {
          "coding" : [{
            "system" : "http://www.nlm.nih.gov/research/umls/rxnorm",
            "code" : "205535",
            "display" : "fluoxetine 10 MG Oral Capsule [Prozac]"
          }]
        },
        "quantity" : {
          "value" : 180,
          "unit" : "{Each}"
        },
        "adjudication" : [{
          "category" : {
            "coding" : [{
              "system" : "http://hl7.org/fhir/us/carin-rtpbc/CodeSystem/rtpbc-patient-pay-type-temporary",
              "code" : "copay",
              "display" : "Copay"
            }]
          },
          "amount" : {
            "value" : 10,
            "currency" : "USD"
          }
        },
        {
          "category" : {
            "coding" : [{
              "system" : "http://hl7.org/fhir/us/carin-rtpbc/CodeSystem/rtpbc-patient-pay-type-temporary",
              "code" : "deductible",
              "display" : "Deductible"
            }]
          },
          "amount" : {
            "value" : 20,
            "currency" : "USD"
          }
        },
        {
          "category" : {
            "coding" : [{
              "system" : "http://hl7.org/fhir/us/carin-rtpbc/CodeSystem/rtpbc-patient-pay-type-temporary",
              "code" : "accumulated-deductible",
              "display" : "Accumulated deductible"
            }]
          },
          "amount" : {
            "value" : 195,
            "currency" : "USD"
          }
        },
        {
          "category" : {
            "coding" : [{
              "system" : "http://hl7.org/fhir/us/carin-rtpbc/CodeSystem/rtpbc-patient-pay-type-temporary",
              "code" : "remaining-deductible",
              "display" : "Remaining deductible"
            }]
          },
          "amount" : {
            "value" : 305,
            "currency" : "USD"
          }
        },
        {
          "category" : {
            "coding" : [{
              "system" : "http://hl7.org/fhir/us/carin-rtpbc/CodeSystem/rtpbc-patient-pay-type-temporary",
              "code" : "coinsurance",
              "display" : "Per prescription coinsurance"
            }]
          },
          "amount" : {
            "value" : 30,
            "currency" : "USD"
          }
        },
        {
          "category" : {
            "coding" : [{
              "system" : "http://hl7.org/fhir/us/carin-rtpbc/CodeSystem/rtpbc-patient-pay-type-temporary",
              "code" : "total",
              "display" : "Total patient responsibility"
            }]
          },
          "amount" : {
            "value" : 70,
            "currency" : "USD"
          }
        }]
      }]
    }
  },
  {
    "fullUrl" : "http://example.org/PharmacyBenefitsCo/fhir/Patient/rtpbc-patient-01",
    "resource" : {
      "resourceType" : "Patient",
      "id" : "rtpbc-patient-01",
      "meta" : {
        "profile" : ["http://hl7.org/fhir/us/carin-rtpbc/StructureDefinition/rtpbc-patient"]
      },
      "language" : "en",
      "text" : {
        "status" : "generated",
        "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Patient_rtpbc-patient-01\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Patient rtpbc-patient-01</b></p><a name=\"rtpbc-patient-01\"> </a><a name=\"hcrtpbc-patient-01\"> </a><div style=\"display: inline-block; background-color: #fbffeb; 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-rtpbc-patient.html\">RTPBC Patient</a></p></div><p style=\"border: 1px #661aff solid; background-color: #e6e6ff; padding: 10px;\">Jane Doe  Female, DoB: 1975-12-05 ( Patient internal identifier:\u00a030455)</p><hr/><table class=\"grid\"><tr><td style=\"background-color: #f3f5da\" title=\"Ways to contact the Patient\">Contact Detail</td><td colspan=\"3\">100 Oak Court Madison WI 53510 US </td></tr></table></div>"
      },
      "identifier" : [{
        "type" : {
          "coding" : [{
            "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
            "code" : "PI",
            "display" : "Patient internal identifier"
          }],
          "text" : "Patient internal identifier"
        },
        "system" : "http://example.org/my-app",
        "value" : "30455"
      }],
      "name" : [{
        "family" : "Doe",
        "given" : ["Jane"]
      }],
      "gender" : "female",
      "birthDate" : "1975-12-05",
      "address" : [{
        "line" : ["100 Oak Court"],
        "city" : "Madison",
        "state" : "WI",
        "postalCode" : "53510",
        "country" : "US"
      }]
    }
  },
  {
    "fullUrl" : "http://example.org/PharmacyBenefitsCo/fhir/Organization/rtpbc-organization-03m",
    "resource" : {
      "resourceType" : "Organization",
      "id" : "rtpbc-organization-03m",
      "meta" : {
        "profile" : ["http://hl7.org/fhir/us/carin-rtpbc/StructureDefinition/rtpbc-pharmacy-organization"]
      },
      "language" : "en",
      "text" : {
        "status" : "generated",
        "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Organization_rtpbc-organization-03m\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Organization rtpbc-organization-03m</b></p><a name=\"rtpbc-organization-03m\"> </a><a name=\"hcrtpbc-organization-03m\"> </a><div style=\"display: inline-block; background-color: #fbffeb; 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-rtpbc-pharmacy-organization.html\">RTPBC Pharmacy Organization</a></p></div><p style=\"border: 1px #661aff solid; background-color: #e6e6ff; padding: 10px;\">My Mail Service Pharmacy (Mail Order) (http://terminology.hl7.org/CodeSystem/NCPDPProviderIdentificationNumber#NCPDP Provider Identification Number#0999029)</p><hr/><table class=\"grid\"><tr><td style=\"background-color: #f3f5da\" title=\"Record is active\">Active:</td><td colspan=\"3\">true</td></tr><tr><td style=\"background-color: #f3f5da\" title=\"The kind(s) of organization that this is\">Type:</td><td colspan=\"3\"><span title=\"Codes:{http://terminology.hl7.org/CodeSystem/NCPDPPharmacyType M}\">Mail Order</span></td></tr><tr><td style=\"background-color: #f3f5da\" title=\"Ways to contact the organization\">Contact Detail</td><td colspan=\"3\"><ul><li>ph: 5551234567</li><li>10001 Oakland Road Milwaukee WI 54444 US </li></ul></td></tr></table></div>"
      },
      "identifier" : [{
        "system" : "http://terminology.hl7.org/CodeSystem/NCPDPProviderIdentificationNumber",
        "value" : "0999029"
      }],
      "active" : true,
      "type" : [{
        "coding" : [{
          "system" : "http://terminology.hl7.org/CodeSystem/NCPDPPharmacyType",
          "code" : "M",
          "display" : "Mail Order"
        }]
      }],
      "name" : "My Mail Service Pharmacy",
      "telecom" : [{
        "system" : "phone",
        "value" : "5551234567"
      }],
      "address" : [{
        "line" : ["10001 Oakland Road"],
        "city" : "Milwaukee",
        "state" : "WI",
        "postalCode" : "54444",
        "country" : "US"
      }]
    }
  }]
}