Optional
altEHR Alternative Patient IDs
Optional
dobPatient's date of birth (DD/MM//YYYY)
Optional
firstPatient's first name
EHR Patient ID
Optional
lastPatient's last name
Optional
sexPatient's sex
Optional
xdataAdditional patient data
Optional
address?: { city?: string; line1?: string; line2?: string; state?: string; zip?: string }Optional
dept?: stringOptional
email?: stringOptional
lastDateOfService?: stringLast date of service in ISO 8601 format: "YYYY-MM-DD"
Prompt: Most recent visit's (across all cases) date of service. undefined
if no visits.
Optional
pcpIds?: { id: string; type: string }[]Optional
phoneCell?: stringOptional
phoneHome?: stringOptional
primaryInsurance?: stringThe primary insurance of the patient.
Prompt: This is the first listed active insurance. undefined
if no active insurances. Format: "
Optional
primaryInsuranceGroupNum?: stringThe primary insurance group number as provided by the EHR.
Optional
primaryInsurancePolicyNum?: stringThe primary insurance policy number as provided by the EHR.
Optional
problems?: string[]The patient's list of medical diagnoses as provided by the EHR.
Prompt: List of active cases' visits' services' diagnoses. Sorted alphabetically. Empty array if no active cases.
Optional
provider?: stringThe provider assigned to the patient.
Prompt: The provider on the most recent active case. undefined
if no active cases, or no provider on the most recent active case. Format: "
Optional
referringProvider?: stringThe provider that referred the patient.
Prompt: The referring provider on the most recent active case. undefined
if no active cases, or no referring provider on the most recent active case. Format: "
Optional
secondaryInsurance?: stringThe patient's secondary insurance.
Prompt: This is the second listed active insurance. undefined
if fewer than 2 insurances. Format: "
Optional
secondaryInsuranceGroupNum?: stringThe secondary insurance group number as provided by the EHR.
Optional
secondaryInsurancePolicyNum?: stringThe secondary insurance policy number as provided by the EHR.
The Patient being viewed in the EHR.