{
  "task_id": "00000000-0000-4000-a000-000000000001",
  "status": "SEARCH_ALL_COMPLETE",
  "request_dump": {
    "phone": "+971 50 000 0000",
    "id_type": "EMIRATESID",
    "tpa_name": "BOTH",
    "payerName": "",
    "doctorName": "Sample Clinician",
    "extra_args": {
      "title": "",
      "value": "",
      "is_member_present_at_the_facility": false
    },
    "visit_type": "OUTPATIENT",
    "emirates_id": "784-0000-0000000-0",
    "practice_id": "00000000-0000-4000-a000-000000000002",
    "user_id": "00000000-0000-4000-a000-000000000003",
    "name": null,
    "dob": null,
    "mode": "prod",
    "test_mode": false
  },
  "is_search_all": true,
  "search_all_status": "SEARCH_ALL_COMPLETE",
  "aggregated_results": [
    {
      "tpa_name": "TPA037",
      "status": "failed",
      "data": null,
      "created_at": "2025-12-20T04:25:22.523000",
      "message": "TPA `TPA037` is not configured for the practice.",
      "screenshot_url": null
    },
    {
      "tpa_name": "INS015",
      "status": "error",
      "data": null,
      "created_at": "2025-12-20T04:26:20.246000",
      "message": "Unexpected error: Locator.click: Timeout 30000ms exceeded.\nCall log:\n  - waiting for get_by_role(\"button\", name=\"Login\")\n  -     - locator resolved to <button name=\"button\" value=\"login\" class=\"btn btn-primary\">Login</button>\n  -   - attempting click action\n  -     - waiting for element to be visible, enabled and stable\n  -     - element is visible, enabled and stable\n  -     - scrolling into view if needed\n  -     - done scrolling\n  -     - performing click action\n  -     - click action done\n  -     - waiting for scheduled navigations to finish\n",
      "screenshot_url": null
    },
    {
      "tpa_name": "INS012",
      "status": "member_not_found",
      "data": {
        "payer_id": "INS012",
        "show_data": false,
        "is_eligible": false,
        "screenshot_key": "https://storage.example.com/eligibility/00000000-0000-4000-a000-000000000001/document.png?sig=PLACEHOLDER&se=2026-01-01T00%3A00%3A00Z",
        "was_identified_by_aggregator": false
      },
      "created_at": "2025-12-20T04:25:38.857000",
      "message": "Member Not Eligible for Insurance",
      "screenshot_url": "https://storage.example.com/eligibility/00000000-0000-4000-a000-000000000001/document.png?sig=PLACEHOLDER&se=2026-01-01T00%3A00%3A00Z"
    },
    {
      "tpa_name": "TPA026",
      "status": "member_not_found",
      "data": {
        "payer_id": "TPA026",
        "show_data": false,
        "is_eligible": false,
        "screenshot_key": "https://storage.example.com/eligibility/00000000-0000-4000-a000-000000000001/document.png?sig=PLACEHOLDER&se=2026-01-01T00%3A00%3A00Z",
        "was_identified_by_aggregator": false
      },
      "created_at": "2025-12-20T04:25:37.263000",
      "message": "Member with ID 784-0000-0000000-0 not found or referral code was incorrect.",
      "screenshot_url": "https://storage.example.com/eligibility/00000000-0000-4000-a000-000000000001/document.png?sig=PLACEHOLDER&se=2026-01-01T00%3A00%3A00Z"
    },
    {
      "tpa_name": "TPA004",
      "status": "member_not_found",
      "data": {
        "network": null,
        "payer_id": "TPA004",
        "show_data": false,
        "payer_name": null,
        "valid_upto": null,
        "is_eligible": false,
        "copay_details": null,
        "other_details": null,
        "failure_reason": "Explicit negative eligibility indicators are present ('Not Eligible' and 'Invalid Member Identifier'), overriding anyDates or treatment type information.",
        "screenshot_key": "https://storage.example.com/eligibility/00000000-0000-4000-a000-000000000001/document.png?sig=PLACEHOLDER&se=2026-01-01T00%3A00%3A00Z",
        "coverage_details": null,
        "is_policy_active": false,
        "policy_holder_dob": null,
        "policy_holder_name": null,
        "referral_documents": [
          {
            "tag": "Member Eligibility - Main Page",
            "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 - Details Modal",
            "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 - Alternative Screenshot",
            "s3_url": "https://storage.example.com/eligibility/00000000-0000-4000-a000-000000000001/document.png?sig=PLACEHOLDER&se=2026-01-01T00%3A00%3A00Z"
          }
        ],
        "policy_holder_phone": null,
        "policy_holder_gender": null,
        "policy_holder_last_name": null,
        "policy_holder_member_id": null,
        "payer_eligibility_status": null,
        "policy_holder_first_name": null,
        "policy_holder_card_number": null,
        "policy_holder_emirates_id": null,
        "policy_holder_middle_name": null,
        "policy_holder_relationship": null,
        "was_identified_by_aggregator": false
      },
      "created_at": "2025-12-20T04:26:20.926000",
      "message": null,
      "screenshot_url": null
    },
    {
      "tpa_name": "INS017",
      "status": "member_not_found",
      "data": {
        "network": null,
        "payer_id": "INS017",
        "show_data": false,
        "payer_name": null,
        "valid_upto": null,
        "is_eligible": false,
        "copay_details": null,
        "other_details": null,
        "failure_reason": "Explicit message: 'Given Member ID/Emirates ID is invalid' indicates the member cannot be identified in the system; no other eligibility indicators are present to confirm eligibility.",
        "screenshot_key": "https://storage.example.com/eligibility/00000000-0000-4000-a000-000000000001/document.png?sig=PLACEHOLDER&se=2026-01-01T00%3A00%3A00Z",
        "coverage_details": null,
        "is_policy_active": false,
        "policy_holder_dob": null,
        "policy_holder_name": null,
        "referral_documents": [],
        "policy_holder_phone": null,
        "policy_holder_gender": null,
        "policy_holder_last_name": null,
        "policy_holder_member_id": null,
        "payer_eligibility_status": null,
        "policy_holder_first_name": null,
        "policy_holder_card_number": null,
        "policy_holder_emirates_id": null,
        "policy_holder_middle_name": null,
        "policy_holder_relationship": null,
        "was_identified_by_aggregator": false
      },
      "created_at": "2025-12-20T04:26:32.120000",
      "message": null,
      "screenshot_url": null
    },
    {
      "tpa_name": "TPA010",
      "status": "failed",
      "data": null,
      "created_at": "2025-12-20T04:25:22.400000",
      "message": "TPA `TPA010` is not configured for the practice.",
      "screenshot_url": null
    },
    {
      "tpa_name": "INS020",
      "status": "member_not_found",
      "data": {
        "payer_id": "INS020",
        "show_data": false,
        "is_eligible": false,
        "screenshot_key": "https://storage.example.com/eligibility/00000000-0000-4000-a000-000000000001/document.png?sig=PLACEHOLDER&se=2026-01-01T00%3A00%3A00Z",
        "was_identified_by_aggregator": false
      },
      "created_at": "2025-12-20T04:25:31.468000",
      "message": "Member not found",
      "screenshot_url": "https://storage.example.com/eligibility/00000000-0000-4000-a000-000000000001/document.png?sig=PLACEHOLDER&se=2026-01-01T00%3A00%3A00Z"
    },
    {
      "tpa_name": "TPA003",
      "status": "member_not_found",
      "data": {
        "network": null,
        "payer_id": "TPA003",
        "show_data": false,
        "payer_name": null,
        "valid_upto": null,
        "is_eligible": false,
        "copay_details": null,
        "other_details": null,
        "failure_reason": "Document shows NOT ELIGIBLE with an invalid Emirates ID, indicating no active/valid eligibility.",
        "screenshot_key": "https://storage.example.com/eligibility/00000000-0000-4000-a000-000000000001/document.png?sig=PLACEHOLDER&se=2026-01-01T00%3A00%3A00Z",
        "coverage_details": null,
        "is_policy_active": false,
        "policy_holder_dob": null,
        "policy_holder_name": null,
        "referral_documents": [
          {
            "id": "member_eligibility_document",
            "tag": "Member Eligibility Document",
            "s3_url": "https://storage.example.com/eligibility/00000000-0000-4000-a000-000000000001/document.png?sig=PLACEHOLDER&se=2026-01-01T00%3A00%3A00Z"
          }
        ],
        "policy_holder_phone": null,
        "policy_holder_gender": null,
        "policy_holder_last_name": null,
        "policy_holder_member_id": null,
        "payer_eligibility_status": null,
        "policy_holder_first_name": null,
        "policy_holder_card_number": null,
        "policy_holder_emirates_id": null,
        "policy_holder_middle_name": null,
        "policy_holder_relationship": null,
        "was_identified_by_aggregator": false
      },
      "created_at": "2025-12-20T04:25:39.192000",
      "message": null,
      "screenshot_url": null
    },
    {
      "tpa_name": "INS010",
      "status": "member_not_found",
      "data": {
        "payer_id": "INS010",
        "show_data": false,
        "is_eligible": false,
        "screenshot_key": "https://storage.example.com/eligibility/00000000-0000-4000-a000-000000000001/document.png?sig=PLACEHOLDER&se=2026-01-01T00%3A00%3A00Z",
        "was_identified_by_aggregator": false
      },
      "created_at": "2025-12-20T04:27:44.518000",
      "message": "Member not found",
      "screenshot_url": "https://storage.example.com/eligibility/00000000-0000-4000-a000-000000000001/document.png?sig=PLACEHOLDER&se=2026-01-01T00%3A00%3A00Z"
    },
    {
      "tpa_name": "TPA036",
      "status": "member_not_found",
      "data": {
        "payer_id": "TPA036",
        "show_data": false,
        "is_eligible": false,
        "screenshot_key": "https://storage.example.com/eligibility/00000000-0000-4000-a000-000000000001/document.png?sig=PLACEHOLDER&se=2026-01-01T00%3A00%3A00Z",
        "was_identified_by_aggregator": false
      },
      "created_at": "2025-12-20T04:25:35.791000",
      "message": "Member with ID 784-0000-0000000-0 not found",
      "screenshot_url": "https://storage.example.com/eligibility/00000000-0000-4000-a000-000000000001/document.png?sig=PLACEHOLDER&se=2026-01-01T00%3A00%3A00Z"
    },
    {
      "tpa_name": "TPA032",
      "status": "failed",
      "data": null,
      "created_at": "2025-12-20T04:25:22.571000",
      "message": "TPA `TPA032` is not configured for the practice.",
      "screenshot_url": null
    },
    {
      "tpa_name": "TPA002",
      "status": "member_not_found",
      "data": {
        "payer_id": "TPA002",
        "show_data": false,
        "is_eligible": false,
        "screenshot_key": "https://storage.example.com/eligibility/00000000-0000-4000-a000-000000000001/document.png?sig=PLACEHOLDER&se=2026-01-01T00%3A00%3A00Z",
        "was_identified_by_aggregator": false
      },
      "created_at": "2025-12-20T04:25:36.147000",
      "message": "`This beneficiary is  Invalid ` was seen",
      "screenshot_url": "https://storage.example.com/eligibility/00000000-0000-4000-a000-000000000001/document.png?sig=PLACEHOLDER&se=2026-01-01T00%3A00%3A00Z"
    },
    {
      "tpa_name": "DHPO / Riayati",
      "status": "delegated_to_search_all_pool",
      "data": null,
      "created_at": "2025-12-20T04:25:19.448000",
      "message": "Identification via DHPO / Riayati failed, triggering pool-based search_all.",
      "screenshot_url": null
    },
    {
      "tpa_name": "TPA008",
      "status": "backoff",
      "data": null,
      "created_at": "2025-12-20T04:25:22.713000",
      "message": "Access to username `REDACTED` on TPA008 has been limited due to repeated incorrect password attempts. Please try again after 22 hours 59 minutes.",
      "screenshot_url": null
    },
    {
      "tpa_name": "TPA001",
      "status": "member_not_found",
      "data": {
        "network": null,
        "payer_id": "TPA001",
        "show_data": false,
        "payer_name": null,
        "valid_upto": null,
        "is_eligible": false,
        "copay_details": null,
        "other_details": null,
        "failure_reason": "Explicit negative indicators found: 'Invalid Member Identifier' and 'Not Eligible' in the eligibility details, which means the member is not eligible for coverage for the visit.",
        "screenshot_key": "https://storage.example.com/eligibility/00000000-0000-4000-a000-000000000001/document.png?sig=PLACEHOLDER&se=2026-01-01T00%3A00%3A00Z",
        "coverage_details": null,
        "is_policy_active": false,
        "policy_holder_dob": null,
        "policy_holder_name": null,
        "referral_documents": [
          {
            "tag": "Member Eligibility - Main Page",
            "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 - Details Modal",
            "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 - Alternative Screenshot",
            "s3_url": "https://storage.example.com/eligibility/00000000-0000-4000-a000-000000000001/document.png?sig=PLACEHOLDER&se=2026-01-01T00%3A00%3A00Z"
          }
        ],
        "policy_holder_phone": null,
        "policy_holder_gender": null,
        "policy_holder_last_name": null,
        "policy_holder_member_id": null,
        "payer_eligibility_status": null,
        "policy_holder_first_name": null,
        "policy_holder_card_number": null,
        "policy_holder_emirates_id": null,
        "policy_holder_middle_name": null,
        "policy_holder_relationship": null,
        "was_identified_by_aggregator": false
      },
      "created_at": "2025-12-20T04:26:17.142000",
      "message": null,
      "screenshot_url": null
    },
    {
      "tpa_name": "TPA029",
      "status": "failed",
      "data": null,
      "created_at": "2025-12-20T04:25:23.128000",
      "message": "TPA `TPA029` is not configured for the practice.",
      "screenshot_url": null
    },
    {
      "tpa_name": "INS038",
      "status": "member_not_found",
      "data": {
        "payer_id": "INS038",
        "show_data": false,
        "is_eligible": false,
        "screenshot_key": "https://storage.example.com/eligibility/00000000-0000-4000-a000-000000000001/document.png?sig=PLACEHOLDER&se=2026-01-01T00%3A00%3A00Z",
        "was_identified_by_aggregator": false
      },
      "created_at": "2025-12-20T04:25:52.444000",
      "message": "Member with ID 784-0000-0000000-0 not found",
      "screenshot_url": "https://storage.example.com/eligibility/00000000-0000-4000-a000-000000000001/document.png?sig=PLACEHOLDER&se=2026-01-01T00%3A00%3A00Z"
    },
    {
      "tpa_name": "search_all_pool",
      "status": "member_not_found",
      "data": null,
      "created_at": "2025-12-20T04:27:45.649000",
      "message": "Eligibility checks completed for all prioritized TPAs, no active policy found.",
      "screenshot_url": null
    }
  ],
  "total_tpas_checked": 19,
  "found_results": 0,
  "created_at": "2025-12-20T04:25:15.670000",
  "updated_at": "2025-12-20T04:27:45.760000"
}
