Fetch a List of Claims
GET/v1/claims
Get list of Claims for Insurer or hospital
Request
Query Parameters
Possible values: [approved
, pending
, rejected
, partially_approved
]
The status of the claim.
Note: 'partially_approved' points to claims that have been approved but whose approved amount is less than the total amount.
When present, value should be comma seperated names of field the user would like returned with the response.
This parameter is applicable to Providers/Hospitals only. It filters the claims based on if they have been submitted or drafted claims. Returns all claims when absent.
This parameter is used to filter the claims based on if they have been vetted or not.
This parameter is used to filter the claims based on if they have been synced with external db or not.
Applicable if fetching list as a provider/hospital
The ID of the Insurer that owns the created claims.
Applicable if fetching list as an Insurer
The ID of the hospital that created the claims
The ID of the enrollee the claims were created for.
The insurance number of the enrollee the claims were created for. This is only considered when no value is provided for enrollee_id
Filter returned claims by the creation date.
This implements a range filtering on the claims when set to an object with keys of 'start' and 'end' bearing date values. Setting it to a single date string also filters the claims with a direct comparison to the value given.
Filter returned claims by the submission date.
This implements a range filtering on the claims when set to an object with keys of 'start' and 'end' bearing date values. Setting it to a single date string also filters the claims with a direct comparison to the value given.
Filter returned claims by the vetting date.
This implements a range filtering on the claims when set to an object with keys of 'start' and 'end' bearing date values. Setting it to a single date string also filters the claims with a direct comparison to the value given.
Filter returned claims by the encounter date.
This implements a range filtering on the claims when set to an object with keys of 'start' and 'end' bearing date values. Setting it to a single date string also filters the claims with a direct comparison to the value given.
Filter returned claims by the synced date if available.
This implements a range filtering on the claims when set to an object with keys of 'start' and 'end' bearing date values. Setting it to a single date string also filters the claims with a direct comparison to the value given.
The presence of this param would return results in paginated format Better used together with the 'per_page' param
This is used to indicate the offset from which results are fetched in paginated format.
Better used together with the 'page' param
This is used to indicate the how many results are to be in an offset for pagination.
Possible values: [1
, 0
]
Used to fetch an exported list of Claims requests in Excel format. Can be used in conjunction with other filters to achieve results.
This is used to search for claims by the key word supplied to it.
The search is applied to the enrollee firstname, lastname, and insurance number as well as diagnoses icd codes and names.
Responses
- 200
- 401
- 404
- 422
Success
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- Array [
- ]
- Array [
- ]
- Array [
- ]
- ]
data object[]
This is the hmo_erp_id when user is an Insurer, and provider_ref when user is a provider.
insurer object
Present only when user is a provider/hospital.
provider object
Present only when user is an Insurer
enrollee object
This is absent if is_floating is truthy.
diagnoses object[]
Status includes: PENDING, APPROVED, PARTIALLY_APPROVED, REJECTED.
PARTIALLY_APPROVED represents when total amount is not equal to the amount approved but not equal to zero(0).
attachments object[]
This is the uploaded filename.
The file URL on Storage.
Images Only Auto-generated URL that utilizes Cloudinary transformations to give a thumbnail of the image attachment, 150px by 150px dimensions.
Images Only Similar to thumbnail URL, but no width specified, only a reduced height to produce a smaller-sized image that can be suitable for previewing the attachment in a modal before the full file is downloaded.
items object[]
This is the hmo_erp_id of the Insurer the claim and claim item belongs.
Status includes: PENDING, APPROVED, PARTIALLY_APPROVED, REJECTED.
{
"page": 0,
"per_page": 0,
"total": 0,
"data": [
{
"id": 0,
"ref": "string",
"pile_id": 0,
"insurer": {
"id": 0,
"code": "string",
"name": "string"
},
"provider": {
"id": 0,
"code": "string",
"name": "string"
},
"enrollee": {
"id": 0,
"insurance_no": "string",
"firstname": "string",
"lastname": "string",
"is_floating": true
},
"encounter_date": "2024-10-31",
"created_at": "2024-10-31",
"submitted_at": "2024-10-31",
"vetted_at": "2024-10-31",
"diagnoses": [
{
"id": 0,
"icd_code": "string",
"name": "string"
}
],
"amount_billed": 0,
"amount_approved": 0,
"status": "string",
"attachments": [
{
"id": 0,
"title": "string",
"file_type": "string",
"filename": "string",
"file_url": "string",
"thumbnail_url": "string",
"preview_url": "string"
}
],
"items": [
{
"ref": "string",
"description": "string",
"unit_price_billed": 0,
"unit_price_approved": 0,
"qty_billed": 0,
"qty_approved": 0,
"sub_total_billed": 0,
"sub_total_approved": 0,
"comments": [
"string"
],
"status": "string"
}
]
}
]
}
Unauthenticated
Not Found
Unprocessable Entity