Panel claims

Panel claims aggregate invoice amounts for third-party payers.

The panel claims model

Properties

  • Name
    id
    Type
    string
    Description

    Claim UUID.

  • Name
    status
    Type
    string
    Description

    Workflow status.

  • Name
    totalAmount
    Type
    number
    Description

    Claim total.


GET/api/panel-claims

List claims

Paginated claims list.

Request

GET
/api/panel-claims
curl -X GET http://localhost:3000/api/panel-claims \
  -H "Authorization: Bearer YOUR_JWT"

Response

{
  "data": [
    {
      "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
      "status": "DRAFT",
      "totalAmount": 500,
      "invoiceCount": 3
    }
  ],
  "pagination": {
    "page": 1,
    "pageSize": 20,
    "total": 1,
    "totalPages": 1
  }
}

POST/api/panel-claims

Create claim

Create from eligible invoices.

Request

POST
/api/panel-claims
curl -X POST http://localhost:3000/api/panel-claims \
  -H "Authorization: Bearer YOUR_JWT"

Response

{
  "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
  "status": "DRAFT",
  "totalAmount": 500
}

GET/api/panel-claims/summary

Claim summary

Aggregated panel totals.

Request

GET
/api/panel-claims/summary
curl -X GET http://localhost:3000/api/panel-claims/summary \
  -H "Authorization: Bearer YOUR_JWT"

Response

{
  "draftTotal": 500,
  "submittedTotal": 1200,
  "paidTotal": 8000
}

PATCH/api/panel-claims/:id/status

Update status

Advance claim workflow.

Request

PATCH
/api/panel-claims/:id/status
curl -X PATCH http://localhost:3000/api/panel-claims/:id/status \
  -H "Authorization: Bearer YOUR_JWT"

Response

{
  "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
  "status": "SUBMITTED"
}

Was this page helpful?