Understanding Provider IDs
Each provider has two identifiers:-
id: Cobalt’s internal identifier (32-character UUID without hyphens)- Use when updating provider settings like status or hours
- Operations:
PATCH /v1/providers/{id}
-
ehr_id: Your EMR system’s provider identifier- Use when creating appointments or other EMR operations
- Operations:
POST /v1/appointments(providerfield)
Quick Reference:
- Updating provider settings → Use
id - Creating appointments → Use
ehr_id
Example Request
Example Response
Response Parameters
Schedule Structure
- Day: Specifies which day of the week the schedule applies to
- Shifts: Array of work periods with:
- Start/end times using 24-hour format. Times are in the clinic’s eCW instance’s timezone.
- Facility information (name and ID)
- Date range when the schedule is active (start date and optional end date. If there is no end date then the shift is active indefinitely).
- Visit Type Rules (optional):
- Pre-allocated slots for specific appointment types
- Each slot has its own start/end times
- Includes description and total allowed appointments
- Recurrence (optional):
- Defines repeating patterns (e.g., “every 2 weeks”)
- Contains start date and interval information
- Allows for schedules that don’t occur every week
