{
  "id": "00000000-0000-4000-a000-000000000001",
  "tenant_id": "yourorg",
  "clinic_id": "00000000-0000-4000-a000-000000000002",
  "created_at": "2026-07-26T04:26:23.738000",
  "updated_at": "2026-07-26T04:27:26.191000",
  "task_id": "00000000-0000-4000-a000-000000000001",
  "status": "PROCESS_COMPLETE",
  "request_dump": {
    "emirates_id": "MBR-0000000",
    "phone": "+971 50 000 0000",
    "practice_id": "00000000-0000-4000-a000-000000000002",
    "tpa_name": "TPA002",
    "id_type": "CARDNUMBER",
    "visit_type": "OUTPATIENT",
    "name": "Sample Patient",
    "extra_args": {
      "title": "",
      "value": "",
      "request_start_time": 1785039983.731288
    },
    "doctorName": "Sample Clinician",
    "payerName": "",
    "user_id": "00000000-0000-4000-a000-000000000003"
  },
  "interim_results": {
    "referral_documents": [
      {
        "s3_url": "https://storage.example.com/eligibility/00000000-0000-4000-a000-000000000001/document.png?sig=PLACEHOLDER&se=2026-01-01T00%3A00%3A00Z",
        "tag": "Claim Form",
        "id": "claim_form"
      },
      {
        "s3_url": "https://storage.example.com/eligibility/00000000-0000-4000-a000-000000000001/document.png?sig=PLACEHOLDER&se=2026-01-01T00%3A00%3A00Z",
        "tag": "Claim Form Image",
        "id": "claim_form_image"
      },
      {
        "s3_url": "https://storage.example.com/eligibility/00000000-0000-4000-a000-000000000001/document.png?sig=PLACEHOLDER&se=2026-01-01T00%3A00%3A00Z",
        "tag": "Table of Benefits",
        "id": "table_of_benefits"
      },
      {
        "s3_url": "https://storage.example.com/eligibility/00000000-0000-4000-a000-000000000001/document.png?sig=PLACEHOLDER&se=2026-01-01T00%3A00%3A00Z",
        "tag": "Member Eligibility Document",
        "id": "member_eligibility_document"
      }
    ],
    "screenshot_key": "https://storage.example.com/eligibility/00000000-0000-4000-a000-000000000001/document.png?sig=PLACEHOLDER&se=2026-01-01T00%3A00%3A00Z",
    "tpa_name": "TPA002"
  },
  "is_search_all": false,
  "search_all_status": null,
  "created_by_user_id": null,
  "eligibility_result": {
    "id": "00000000-0000-4000-a000-000000000001:TPA002:card1",
    "tenant_id": "yourorg",
    "clinic_id": "00000000-0000-4000-a000-000000000002",
    "created_at": "2026-07-26T04:27:26.184000",
    "updated_at": "2026-07-26T04:27:26.184000",
    "data_dump": {
      "status": "found",
      "tpa": "TPA002",
      "data": {
        "patient_info": {
          "policy_holder_name": "Sample Policy Holder",
          "patient_emirates_id": "784-0000-0000000-0",
          "policy_primary_member_id": "MBR-0000000",
          "policy_primary_dha_member_id": "0000000000",
          "policy_holder_dob": "1990-01-01"
        },
        "copay_analysis": {
          "waiting_period": "Not Specified",
          "copay_details": [
            {
              "visit_type": "Laboratory",
              "copay_percentage": "5.0",
              "visit_setting": "Outpatient",
              "copay_amount": null,
              "copay_currency": "AED",
              "copay_max_amount": null,
              "copay_max_scope": null,
              "coinsurance_percentage": null,
              "remarks": "Citation: Co-Part: 5% | \n\n ",
              "cost_sharing": {
                "visit_type": "Outpatient",
                "visit_setting": "Outpatient",
                "copay_percentage": 5.0,
                "copay_amount": null,
                "copay_currency": "AED",
                "copay_maximum_amount": null,
                "copay_maximum_scope": null,
                "coinsurance_percentage": null
              }
            },
            {
              "visit_type": "Radiology",
              "copay_percentage": "5.0",
              "visit_setting": "Outpatient",
              "copay_amount": null,
              "copay_currency": "AED",
              "copay_max_amount": null,
              "copay_max_scope": null,
              "coinsurance_percentage": null,
              "remarks": "Citation: Co-Part: 5% | \n\n ",
              "cost_sharing": {
                "visit_type": "Outpatient",
                "visit_setting": "Outpatient",
                "copay_percentage": 5.0,
                "copay_amount": null,
                "copay_currency": "AED",
                "copay_maximum_amount": null,
                "copay_maximum_scope": null,
                "coinsurance_percentage": null
              }
            },
            {
              "visit_type": "Pharmacy",
              "copay_percentage": "5.0",
              "visit_setting": "Outpatient",
              "copay_amount": null,
              "copay_currency": "AED",
              "copay_max_amount": null,
              "copay_max_scope": null,
              "coinsurance_percentage": null,
              "remarks": "Citation: Co-Part: 5% | \n\n ",
              "cost_sharing": {
                "visit_type": "Outpatient",
                "visit_setting": "Outpatient",
                "copay_percentage": 5.0,
                "copay_amount": null,
                "copay_currency": "AED",
                "copay_maximum_amount": null,
                "copay_maximum_scope": null,
                "coinsurance_percentage": null
              }
            },
            {
              "visit_type": "Consultation",
              "copay_percentage": "20.0",
              "visit_setting": "Outpatient",
              "copay_amount": null,
              "copay_currency": "AED",
              "copay_max_amount": 14.0,
              "copay_max_scope": null,
              "coinsurance_percentage": null,
              "remarks": "Citation: Co-Part: 20% Max(14 USD) | \n\n ",
              "cost_sharing": {
                "visit_type": "Outpatient",
                "visit_setting": "Outpatient",
                "copay_percentage": 20.0,
                "copay_amount": null,
                "copay_currency": "AED",
                "copay_maximum_amount": 14.0,
                "copay_maximum_scope": null,
                "coinsurance_percentage": null
              }
            }
          ],
          "special_remarks": [],
          "new_version_of_copay_analysis": {
            "benefits": [
              {
                "service_category_standardized": "Laboratory",
                "service_category_original": "Laboratory",
                "coverage_status": "Covered",
                "cost_sharing": [
                  {
                    "visit_type": "Outpatient",
                    "visit_setting": "Outpatient",
                    "copay_percentage": 5.0,
                    "copay_amount": null,
                    "copay_currency": "AED",
                    "copay_maximum_amount": null,
                    "copay_maximum_scope": null,
                    "coinsurance_percentage": null
                  }
                ],
                "conditions": null,
                "limits": null,
                "remarks": null
              },
              {
                "service_category_standardized": "Radiology",
                "service_category_original": "Radiology",
                "coverage_status": "Covered",
                "cost_sharing": [
                  {
                    "visit_type": "Outpatient",
                    "visit_setting": "Outpatient",
                    "copay_percentage": 5.0,
                    "copay_amount": null,
                    "copay_currency": "AED",
                    "copay_maximum_amount": null,
                    "copay_maximum_scope": null,
                    "coinsurance_percentage": null
                  }
                ],
                "conditions": null,
                "limits": null,
                "remarks": null
              },
              {
                "service_category_standardized": "Pharmacy",
                "service_category_original": "Pharmacy",
                "coverage_status": "Covered",
                "cost_sharing": [
                  {
                    "visit_type": "Outpatient",
                    "visit_setting": "Outpatient",
                    "copay_percentage": 5.0,
                    "copay_amount": null,
                    "copay_currency": "AED",
                    "copay_maximum_amount": null,
                    "copay_maximum_scope": null,
                    "coinsurance_percentage": null
                  }
                ],
                "conditions": null,
                "limits": null,
                "remarks": null
              },
              {
                "service_category_standardized": "Consultation",
                "service_category_original": "Consultation",
                "coverage_status": "Covered",
                "cost_sharing": [
                  {
                    "visit_type": "Outpatient",
                    "visit_setting": "Outpatient",
                    "copay_percentage": 20.0,
                    "copay_amount": null,
                    "copay_currency": "AED",
                    "copay_maximum_amount": 14.0,
                    "copay_maximum_scope": null,
                    "coinsurance_percentage": null
                  }
                ],
                "conditions": null,
                "limits": null,
                "remarks": null
              },
              {
                "service_category_standardized": "Medical Checkup",
                "service_category_original": "Medical Checkup",
                "coverage_status": "Covered",
                "cost_sharing": [
                  {
                    "visit_type": "Outpatient",
                    "visit_setting": "Outpatient",
                    "copay_percentage": null,
                    "copay_amount": null,
                    "copay_currency": "AED",
                    "copay_maximum_amount": null,
                    "copay_maximum_scope": null,
                    "coinsurance_percentage": null
                  }
                ],
                "conditions": null,
                "limits": null,
                "remarks": null
              }
            ],
            "policy_info": {
              "policy_period_start": {
                "DD": 1,
                "MM": 1,
                "YYYY": 2026
              },
              "policy_period_end": null,
              "beneficiary_start_date": {
                "DD": 23,
                "MM": 4,
                "YYYY": 2024
              },
              "waiting_period": "Not Specified",
              "policy_jurisdiction": "Not Specified"
            },
            "general_remarks": [],
            "abbreviations_defined": []
          }
        },
        "policy_network": {
          "policy_plan_name": null,
          "payer_name_as_in_text": "INS008 - Orient Insurance PJSC Worldwide E-Rx",
          "sponsor_id": "INS008",
          "payer_name": "ORIENT INSURANCE PJSC - INS008",
          "valid_upto": "2026-12-31",
          "start_date": "2026-01-01",
          "all_networks": [
            {
              "network_name_as_in_text": "Amazon - RNE including 14 Hospital exc. Iranian",
              "network": "RN Enhanced",
              "visit_type": "OP (Out Patient)",
              "network_value": "RN Enhanced",
              "matched_plan_name": null,
              "network_code": null,
              "raw_plan_string": "INS008 - ORIENT INSURANCE PJSC- NEXTCARE - RN - DXB",
              "plan_code": "INT001"
            }
          ],
          "policy_authority": "DHA",
          "is_general_physician_referral_required_for_specialist_referral": false,
          "is_gatekeeper": "No",
          "is_vip": "No",
          "waiting_period": null,
          "policy_holder_name": "Sample Policy Holder",
          "work_site_covered": "Could not determine",
          "package_name": null
        },
        "copay_details_to_fill": [
          {
            "name": "Outpatient",
            "values_to_fill": {
              "CONSULTATION": {
                "deductible": "0",
                "copay": "20.0",
                "should_set_copay": true,
                "_copayAmount": "0",
                "_copayMaxAmount": "14.0",
                "_is_outpatient_fallback": false,
                "_deductibleLegacy": "14.0"
              },
              "LAB": {
                "deductible": "0",
                "copay": "5.0",
                "should_set_copay": true,
                "_copayAmount": "0",
                "_copayMaxAmount": "0",
                "_is_outpatient_fallback": false,
                "_deductibleLegacy": "0",
                "_maxDeductible": "0"
              },
              "RADIOLOGY": {
                "deductible": "0",
                "copay": "5.0",
                "should_set_copay": true,
                "_copayAmount": "0",
                "_copayMaxAmount": "0",
                "_is_outpatient_fallback": false,
                "_deductibleLegacy": "0"
              },
              "PROCEDURE": {
                "deductible": "0",
                "copay": "0",
                "should_set_copay": true,
                "_copayAmount": "0",
                "_copayMaxAmount": "0",
                "_is_outpatient_fallback": false
              },
              "DIAGNOSTICS": {
                "deductible": "0",
                "copay": "0",
                "should_set_copay": true,
                "_copayAmount": "0",
                "_copayMaxAmount": "0",
                "_is_outpatient_fallback": false
              },
              "DENTAL CONSULTATION & PROCEDURE": {
                "deductible": "0",
                "copay": "0",
                "should_set_copay": true,
                "_copayAmount": "0",
                "_copayMaxAmount": "0",
                "_is_outpatient_fallback": false
              },
              "MEDICINES": {
                "deductible": "0",
                "copay": "5.0",
                "should_set_copay": true,
                "_copayAmount": "0",
                "_copayMaxAmount": "0",
                "_is_outpatient_fallback": false,
                "_deductibleLegacy": "0"
              },
              "PHYSIOTHERAPY": {
                "deductible": "0",
                "copay": "0",
                "should_set_copay": true,
                "_copayAmount": "0",
                "_copayMaxAmount": "0",
                "_is_outpatient_fallback": false
              },
              "OPTICAL": {
                "deductible": "0",
                "copay": "0",
                "should_set_copay": true,
                "_copayAmount": "0",
                "_copayMaxAmount": "0",
                "_is_outpatient_fallback": false
              }
            },
            "available_networks": [
              {
                "network_name_as_in_text": "Amazon - RNE including 14 Hospital exc. Iranian",
                "network": "RN Enhanced",
                "visit_type": "OP (Out Patient)",
                "network_value": "RN Enhanced",
                "matched_plan_name": null,
                "network_code": null,
                "raw_plan_string": "INS008 - ORIENT INSURANCE PJSC- NEXTCARE - RN - DXB",
                "plan_code": "INT001"
              }
            ],
            "has_multiple_networks": false,
            "primary_network": {
              "network": "RN Enhanced",
              "network_status": null,
              "matched_plan_name": null
            }
          },
          {
            "name": "Maternity",
            "values_to_fill": {
              "CONSULTATION": {
                "deductible": "0",
                "copay": "0",
                "should_set_copay": true,
                "_copayAmount": "0",
                "_copayMaxAmount": "0",
                "_is_outpatient_fallback": false
              },
              "LAB": {
                "deductible": "0",
                "copay": "0",
                "should_set_copay": true,
                "_copayAmount": "0",
                "_copayMaxAmount": "0",
                "_is_outpatient_fallback": false
              },
              "RADIOLOGY": {
                "deductible": "0",
                "copay": "0",
                "should_set_copay": true,
                "_copayAmount": "0",
                "_copayMaxAmount": "0",
                "_is_outpatient_fallback": false
              },
              "PROCEDURE": {
                "deductible": "0",
                "copay": "0",
                "should_set_copay": true,
                "_copayAmount": "0",
                "_copayMaxAmount": "0",
                "_is_outpatient_fallback": false
              },
              "DIAGNOSTICS": {
                "deductible": "0",
                "copay": "0",
                "should_set_copay": true,
                "_copayAmount": "0",
                "_copayMaxAmount": "0",
                "_is_outpatient_fallback": false
              },
              "DENTAL CONSULTATION & PROCEDURE": {
                "deductible": "0",
                "copay": "0",
                "should_set_copay": true,
                "_copayAmount": "0",
                "_copayMaxAmount": "0",
                "_is_outpatient_fallback": false
              },
              "MEDICINES": {
                "deductible": "0",
                "copay": "0",
                "should_set_copay": true,
                "_copayAmount": "0",
                "_copayMaxAmount": "0",
                "_is_outpatient_fallback": false
              },
              "PHYSIOTHERAPY": {
                "deductible": "0",
                "copay": "0",
                "should_set_copay": true,
                "_copayAmount": "0",
                "_copayMaxAmount": "0",
                "_is_outpatient_fallback": false
              },
              "OPTICAL": {
                "deductible": "0",
                "copay": "0",
                "should_set_copay": true,
                "_copayAmount": "0",
                "_copayMaxAmount": "0",
                "_is_outpatient_fallback": false
              }
            },
            "available_networks": [
              {
                "network_name_as_in_text": "Amazon - RNE including 14 Hospital exc. Iranian",
                "network": "RN Enhanced",
                "visit_type": "OP (Out Patient)",
                "network_value": "RN Enhanced",
                "matched_plan_name": null,
                "network_code": null,
                "raw_plan_string": "INS008 - ORIENT INSURANCE PJSC- NEXTCARE - RN - DXB",
                "plan_code": "INT001"
              }
            ],
            "has_multiple_networks": false,
            "primary_network": {
              "network": "RN Enhanced",
              "network_status": null,
              "matched_plan_name": null
            }
          },
          {
            "name": "Specialization",
            "values_to_fill": {
              "CONSULTATION": {
                "deductible": "0",
                "copay": "20.0",
                "should_set_copay": true,
                "_copayAmount": "0",
                "_copayMaxAmount": "14.0",
                "_is_outpatient_fallback": true,
                "_deductibleLegacy": "14.0"
              },
              "LAB": {
                "deductible": "0",
                "copay": "5.0",
                "should_set_copay": true,
                "_copayAmount": "0",
                "_copayMaxAmount": "0",
                "_is_outpatient_fallback": true,
                "_deductibleLegacy": "0",
                "_maxDeductible": "0"
              },
              "RADIOLOGY": {
                "deductible": "0",
                "copay": "5.0",
                "should_set_copay": true,
                "_copayAmount": "0",
                "_copayMaxAmount": "0",
                "_is_outpatient_fallback": true,
                "_deductibleLegacy": "0"
              },
              "PROCEDURE": {
                "deductible": "0",
                "copay": "0",
                "should_set_copay": true,
                "_copayAmount": "0",
                "_copayMaxAmount": "0",
                "_is_outpatient_fallback": true
              },
              "DIAGNOSTICS": {
                "deductible": "0",
                "copay": "0",
                "should_set_copay": true,
                "_copayAmount": "0",
                "_copayMaxAmount": "0",
                "_is_outpatient_fallback": true
              },
              "DENTAL CONSULTATION & PROCEDURE": {
                "deductible": "0",
                "copay": "0",
                "should_set_copay": true,
                "_copayAmount": "0",
                "_copayMaxAmount": "0",
                "_is_outpatient_fallback": true
              },
              "MEDICINES": {
                "deductible": "0",
                "copay": "5.0",
                "should_set_copay": true,
                "_copayAmount": "0",
                "_copayMaxAmount": "0",
                "_is_outpatient_fallback": true,
                "_deductibleLegacy": "0"
              },
              "PHYSIOTHERAPY": {
                "deductible": "0",
                "copay": "0",
                "should_set_copay": true,
                "_copayAmount": "0",
                "_copayMaxAmount": "0",
                "_is_outpatient_fallback": true
              },
              "OPTICAL": {
                "deductible": "0",
                "copay": "0",
                "should_set_copay": true,
                "_copayAmount": "0",
                "_copayMaxAmount": "0",
                "_is_outpatient_fallback": true
              }
            },
            "available_networks": [
              {
                "network_name_as_in_text": "Amazon - RNE including 14 Hospital exc. Iranian",
                "network": "RN Enhanced",
                "visit_type": "OP (Out Patient)",
                "network_value": "RN Enhanced",
                "matched_plan_name": null,
                "network_code": null,
                "raw_plan_string": "INS008 - ORIENT INSURANCE PJSC- NEXTCARE - RN - DXB",
                "plan_code": "INT001"
              }
            ],
            "has_multiple_networks": false,
            "primary_network": {
              "network": "RN Enhanced",
              "network_status": null,
              "matched_plan_name": null
            }
          },
          {
            "name": "Inpatient",
            "values_to_fill": {
              "CONSULTATION": {
                "deductible": "0",
                "copay": "0",
                "should_set_copay": true,
                "_copayAmount": "0",
                "_copayMaxAmount": "0",
                "_is_outpatient_fallback": false
              },
              "LAB": {
                "deductible": "0",
                "copay": "0",
                "should_set_copay": true,
                "_copayAmount": "0",
                "_copayMaxAmount": "0",
                "_is_outpatient_fallback": false
              },
              "RADIOLOGY": {
                "deductible": "0",
                "copay": "0",
                "should_set_copay": true,
                "_copayAmount": "0",
                "_copayMaxAmount": "0",
                "_is_outpatient_fallback": false
              },
              "PROCEDURE": {
                "deductible": "0",
                "copay": "0",
                "should_set_copay": true,
                "_copayAmount": "0",
                "_copayMaxAmount": "0",
                "_is_outpatient_fallback": false
              },
              "DIAGNOSTICS": {
                "deductible": "0",
                "copay": "0",
                "should_set_copay": true,
                "_copayAmount": "0",
                "_copayMaxAmount": "0",
                "_is_outpatient_fallback": false
              },
              "DENTAL CONSULTATION & PROCEDURE": {
                "deductible": "0",
                "copay": "0",
                "should_set_copay": true,
                "_copayAmount": "0",
                "_copayMaxAmount": "0",
                "_is_outpatient_fallback": false
              },
              "MEDICINES": {
                "deductible": "0",
                "copay": "0",
                "should_set_copay": true,
                "_copayAmount": "0",
                "_copayMaxAmount": "0",
                "_is_outpatient_fallback": false
              },
              "PHYSIOTHERAPY": {
                "deductible": "0",
                "copay": "0",
                "should_set_copay": true,
                "_copayAmount": "0",
                "_copayMaxAmount": "0",
                "_is_outpatient_fallback": false
              },
              "OPTICAL": {
                "deductible": "0",
                "copay": "0",
                "should_set_copay": true,
                "_copayAmount": "0",
                "_copayMaxAmount": "0",
                "_is_outpatient_fallback": false
              }
            },
            "available_networks": [
              {
                "network_name_as_in_text": "Amazon - RNE including 14 Hospital exc. Iranian",
                "network": "RN Enhanced",
                "visit_type": "OP (Out Patient)",
                "network_value": "RN Enhanced",
                "matched_plan_name": null,
                "network_code": null,
                "raw_plan_string": "INS008 - ORIENT INSURANCE PJSC- NEXTCARE - RN - DXB",
                "plan_code": "INT001"
              }
            ],
            "has_multiple_networks": false,
            "primary_network": {
              "network": "RN Enhanced",
              "network_status": null,
              "matched_plan_name": null
            }
          }
        ],
        "policy_holder_name": "Sample Policy Holder",
        "policy_holder_emirates_id": "784-0000-0000000-0",
        "policy_holder_dob": "1990-01-01",
        "is_eligible": true,
        "failure_reason": null,
        "card_index": 1,
        "card_number": "MBR-0000000",
        "package_name": "Orient Insurance PJSC Worldwide E-Rx",
        "card_network": null,
        "multi_card_total": 2,
        "screenshot_key": "https://storage.example.com/eligibility/00000000-0000-4000-a000-000000000001/document.png?sig=PLACEHOLDER&se=2026-01-01T00%3A00%3A00Z",
        "referral_documents": [
          {
            "s3_url": "https://storage.example.com/eligibility/00000000-0000-4000-a000-000000000001/document.png?sig=PLACEHOLDER&se=2026-01-01T00%3A00%3A00Z",
            "tag": "Claim Form",
            "id": "claim_form"
          },
          {
            "s3_url": "https://storage.example.com/eligibility/00000000-0000-4000-a000-000000000001/document.png?sig=PLACEHOLDER&se=2026-01-01T00%3A00%3A00Z",
            "tag": "Claim Form Image",
            "id": "claim_form_image"
          },
          {
            "s3_url": "https://storage.example.com/eligibility/00000000-0000-4000-a000-000000000001/document.png?sig=PLACEHOLDER&se=2026-01-01T00%3A00%3A00Z",
            "tag": "Table of Benefits",
            "id": "table_of_benefits"
          },
          {
            "s3_url": "https://storage.example.com/eligibility/00000000-0000-4000-a000-000000000001/document.png?sig=PLACEHOLDER&se=2026-01-01T00%3A00%3A00Z",
            "tag": "Member Eligibility Document",
            "id": "member_eligibility_document"
          }
        ],
        "payer_id": "TPA002",
        "warning_messages": [
          {
            "message": "Patient holds 2 NextCare policies; checking each of them...",
            "screenshot": null,
            "warning": true,
            "message_type": "warning"
          },
          {
            "message": "Referral Details Dropdown does not have any options to select",
            "screenshot": null,
            "warning": true,
            "message_type": "warning"
          },
          {
            "message": "Referral Details Dropdown does not have any options to select",
            "screenshot": null,
            "warning": true,
            "message_type": "warning"
          },
          {
            "message": "Patient holds 2 NextCare policies; delivering 2 eligible as separate results: Sample Plan A, Sample Plan B",
            "screenshot": null,
            "warning": true,
            "message_type": "warning"
          },
          {
            "message": "Medical check-up / wellness is covered under this policy",
            "screenshot": null,
            "warning": true,
            "message_type": "information"
          }
        ],
        "was_identified_by_aggregator": false
      }
    },
    "search_id": "0000-0000-0000-0000",
    "tpa_name": "TPA002",
    "task_id": "00000000-0000-4000-a000-000000000001",
    "user_id": null,
    "status": "found"
  }
}
