/telephone-encounters call you can display a Processing status to your user and when you get the webhook notification you can update that to Completed.
Request Parameters
Required Fields
- patient_mrn (string, required): Patient’s Medical Record Number
- provider_id (string, required): Provider’s EMR ID
- location_id (string, required): Location’s EMR ID
- assigned_to_id (string, required): Assigned provider’s EMR ID
Optional Fields
- reason (string, optional, max 50 characters): Reason for telephone encounter
Example Request
Example Response
- telephone_encounter_id: Unique identifier for the created telephone encounter record
- job_id: Job execution identifier for tracking the async operation
Error Responses
Missing Required Field
patient_mrn, provider_id, location_id, assigned_to_id
Reason Too Long
Provider Not Found
provider_id or assigned_to_id doesn’t exist in the providers table. Sync providers using GET /v1/providers.
Location Not Found
GET /v1/locations to resolve this error.
