IPD Admission Clearance
When a clearance is created or updated against an IPD admission (for example a pharmacy, billing or housekeeping clearance), a webhook event is sent to registered webhooks with the clearance status and details.
Field Definitions
• service: string - The type of service. For IPD events, this will be ipd.
• event: string - The type of event. This will be ipd_admissions_clearances.created or ipd_admissions_clearances.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 details about the clearance.
• type: string - The type of clearance (e.g. pharmacy).
• status: string - Status of the clearance (e.g. COMPLETED).
• completed_by: object - The actor who completed the clearance.
Example Webhook Request
Endpoint: https://your-registered-webhook-url.com
Method: POST
Body
Type of service
"ipd"
Type of event
ipd_admissions_clearances.created, ipd_admissions_clearances.updated "ipd_admissions_clearances.created"
Event occurred timestamp
1782811750
Timestamp of the event
1782811750
Business ID for the admission
"7175620245483777"
Unique transaction identifier for the event
"ipd/7175620245483777/admissions/6909b0faba49e0b2f147cf58/clearances/pharmacy"
Client ID for the admission
"EC_1777984421469"

