IPD Admission
When an IPD (In-Patient Department) admission is created or updated, a webhook event is sent to registered webhooks with the full admission details, including the patient, attending doctor, facility, department, bed, category, rate plan, insurance and billing information.
Field Definitions
• service: string - The type of service. For IPD events, this will be ipd.
• event: string - The type of event. For admissions, this will be ipd_admissions.created or ipd_admissions.updated.
• event_time: integer - Event occurrence timestamp (epoch seconds).
• transaction_id: string - Unique transaction identifier for the event.
• timestamp: integer - Timestamp of the event (epoch seconds).
• business_id: string - The eka ID of the business.
• client_id: string - Client ID associated with the event.
• data: object - Contains detailed information about the admission.
• id / ipid: string - Unique identifiers for the admission.
• stage / status: string - Current stage and status of the admission (e.g. AD, BED_ASSIGNED).
• patient / doc / attendee: object - Patient, attending doctor and attendee details.
• facility / department / bed / category: Location and allocation details for the admission.
• rateplan / insurance / totalbilled / totalpaid: Billing, package and insurance details.
Example Webhook Request
Endpoint: https://your-registered-webhook-url.com
Method: POST
Body
Type of service
"ipd"
Type of event
ipd_admissions.created, ipd_admissions.updated "ipd_admissions.created"
Event occurred timestamp
1782804321
Timestamp of the event
1782804321
Business ID for the admission
"7175620245483777"
Unique transaction identifier for the event
"a9f54d1a-4080-4eec-9db1-ccbfc1771a5d"
Client ID for the admission
"EC_1777984421469"

