Claims

View claims

GET
/claims

This endpoint returns a list of insurance claims for a location. You can filter by patient_id, guarantor_id, provider_id, updated_since or date_of_service, and must provide at least one of these filters. location_id is always required, but does not satisfy the at-least-one-filter requirement on its own. Soft-deleted claims are excluded unless include_deleted is true.

Authorization

Authorization
Authorization<token>

In: header

Query Parameters

subdomain*string

Used to scope the request to the specified institution

location_id*integer

Used to scope the request to the specified location

Formatint32
sort?string

Optional comma-separated string of fields to sort on. Include a leading dash for descending order.

Available fields:

  • updated_at
  • -updated_at
patient_id?integer

The ID of the patient associated with the claim

Formatint32
guarantor_id?integer

The ID of the guarantor associated with the claim

Formatint32
provider_id?integer

The ID of the provider associated with the claim

Formatint32
updated_since?string

Claims updated at or after the specified time (UTC). The comparison is inclusive, so a record whose updated_at exactly equals the given value is returned

Formatdate-time
date_of_service?string

Claims whose date of service exactly matches the specified date

Formatdate
include_deleted?boolean

Include soft-deleted claims in the results

Defaultfalse
start_cursor?string

First item of the current page. Starts empty

end_cursor?string

Last item of the current page. Starts empty

per_page?integer

Number of results to return per page. Maximum allowed amount is 1000.

Formatint32
Default5

Header Parameters

Nex-Api-Version*string

The NexHealth API version

Default"v3.0.0"

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/claims?subdomain=string&location_id=0&patient_id=162&guarantor_id=1001&provider_id=84&updated_since=2024-04-12T10%3A30%3A00Z&date_of_service=2024-04-12" \  -H "Nex-Api-Version: v3.0.0"
{  "code": false,  "description": "Description",  "error": [    "Error message"  ],  "data": [    {      "id": 10,      "location_id": 1,      "patient_id": 1002,      "provider_id": 101,      "guarantor_id": 1001,      "status": "sent",      "received_at": "2024-06-10T15:16:57.000Z",      "sent_at": "2024-06-03T11:23:12.000Z",      "note": "Claim was sent to the insurance company",      "primary_insurance_plan_id": 10021,      "secondary_insurance_plan_id": 10022,      "date_of_service": "2024-06-03",      "totals": {        "amount_billed_to_insurance": {          "amount": "62.00",          "currency": "USD"        },        "estimated_insurance_payment": {          "amount": "62.00",          "currency": "USD"        },        "insurance_payment": {          "amount": "62.00",          "currency": "USD"        },        "write_off": {          "amount": "62.00",          "currency": "USD"        }      },      "updated_at": "2020-06-05T20:16:57.007Z",      "deleted_at": "2022-01-01T00:00:00Z"    }  ],  "page_info": {    "has_previous_page": false,    "has_next_page": false,    "start_cursor": "AAAAA",    "end_cursor": "BBBBBB"  }}