Pre-appointments
A pre-appointment is the central entity of the check-in flow: one scheduled visit, captured before care. It holds the beneficiary, the payer, the doctor/specialty, the appointment date, and the charges (the procedures/products expected for the visit).
It is created in one of two ways — its source:
| Source | How | Who |
|---|---|---|
HIS_INBOUND | Pushed automatically from your Hospital Information System via POST /v1/checkin/appointments/his-inbound | Your HIS integration |
MANUAL | Created by hand via POST /v1/checkin/appointments | The reception/admissions user (fallback) |
The reception-desk screen to create pre-appointments is hidden by default; the POST /v1/checkin/appointments endpoint remains available.
Lifecycle
In V1 a pre-appointment is created PENDING and stays PENDING. This version has no status evolution: nothing in the check-in flow advances, confirms or closes a pre-appointment, and your integration neither needs to nor should try to move it.
Both sources create the record as PENDING — the HIS inbound push and the manual form alike. status is present on every response, and PENDING is the only value V1 produces.
CONFIRMED, COMPLETED and CANCELLED exist in the status enum and the API still accepts them through PUT /v1/checkin/appointments/{id}, but no part of the V1 product writes or reads them: there is no confirmation step, no closing step, and no screen that represents them. Do not send status from your integration — a pre-appointment moved out of PENDING becomes invisible to the flows that consume it.
Status evolution will be specified in a future version, together with the business rules that give these states meaning.
Missing or AI-rejected documents never block care. The reception user is expected to be warned beforehand (see Documents), but the patient is always let through. Required supports still pending are recorded for the billing team; they are never enforced as a gate.
- Delete is a soft-delete:
DELETE /{id}disables the record so it stops appearing in listings, but it does not changestatus— a deleted pre-appointment staysPENDING. It is only allowed on appointments with sourceMANUAL; anything else returns400.
Charges
Each pre-appointment carries a list of charges — the procedures/products expected. A charge is identified by the provider's own product code:
{
"provider_product_code": "PROC001",
"provider_product_name": "Electrocardiogram (ECG)",
"quantity": 1
}
provider_product_code is the key that ties everything together: it's how required documents are matched to a charge, and how uploaded documents complete the right placeholders.
Endpoints
| Operation | Endpoint |
|---|---|
| Create (manual) | POST /v1/checkin/appointments |
| Create/merge (HIS) | POST /v1/checkin/appointments/his-inbound |
| Update (HIS) | PUT /v1/checkin/appointments/his-inbound/{external_appointment_id} |
| Delete (HIS) | DELETE /v1/checkin/appointments/his-inbound/{external_appointment_id} |
| Update (manual) | PUT /v1/checkin/appointments/{id} |
| Get by ID | GET /v1/checkin/appointments/{id} |
| List (paginated + filters) | GET /v1/checkin/appointments |
| Filter options | GET /v1/checkin/appointments/filter-options |
| Delete (soft, manual) | DELETE /v1/checkin/appointments/{id} |
See the full request/response schemas and try them live in the API Reference.
Listing and filters
GET /v1/checkin/appointments is paginated (default 20 per page, sorted by appointment_date descending) and accepts filters. GET .../filter-options returns the payers, doctors and specialties from the provider's catalogs to populate the filter combos in a UI.
Everything is scoped to the authenticated provider — you only ever see your own pre-appointments.