View 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.
Query parameters
Used to scope the request to the specified institution
Used to scope the request to the specified location
Optional comma-separated string of fields to sort on. Include a leading dash for descending order.
Available fields:
- updated_at
- -updated_at
The ID of the patient associated with the claim
The ID of the guarantor associated with the claim
The ID of the provider associated with the claim
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
Claims whose date of service exactly matches the specified date
Include soft-deleted claims in the results
First item of the current page. Starts empty
Last item of the current page. Starts empty
Number of results to return per page. Maximum allowed amount is 1000.
Headers
The NexHealth API version
Response
Successful
Example response
{
"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"
}
}