Create a pre-booking in the Flabs system with patient details and test/package information. This initiates the billing workflow.
| Field | Type | Description |
|---|---|---|
patient_details | object | Patient information (required) |
patient_details.first_name | string | Patient’s first name |
patient_details.gender | string | Patient’s gender (male, female, other) |
patient_details.age | integer | Patient’s age |
patient_details.age_type | string | Age unit (year, month, day) |
integrator_id | string | Your unique identifier for this booking |
lead_source | string | Source of the booking (contact Flabs for available sources) |
| Field | Type | Description |
|---|---|---|
mapped_tests | array | Tests mapped with Flabs (use flabs_id or id) |
unmapped_tests | array | Tests not mapped with Flabs |
mapped_packages | array | Packages mapped with Flabs (use id only) |
unmapped_packages | array | Packages not mapped with Flabs |
unmapped_packages_with_tests | array | Packages with associated tests not mapped with Flabs |
| Field | Type | Description |
|---|---|---|
barCode | string | Unique barcode identifier |
patient_details.last_name | string | Patient’s last name |
flabs_id or id for mapped tests - Only id is available for mapped
packages (no flabs_id) - The preBookingID in the response is used to track
the booking through the workflowJWT token obtained from the authentication endpoint
Your unique identifier for this booking
Source of the lead (contact Flabs team for available sources)
Tests not mapped between your system and Flabs
Tests mapped with Flabs system
Packages mapped with Flabs system
Packages not mapped between your system and Flabs
Packages with associated tests not mapped between your system and Flabs
Optional barcode (must be unique)