OptionalaltEHR Alternative Patient IDs
OptionaldobPatient's date of birth (DD/MM//YYYY)
OptionalfirstPatient's first name
EHR Patient ID
OptionallastPatient's last name
OptionalsexPatient's sex
OptionalxdataAdditional patient data
Optionaladdress?: { city?: string; line1?: string; line2?: string; state?: string; zip?: string }Optionaldept?: stringOptionalemail?: stringOptionallastDateOfService?: 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.
OptionalpcpIds?: { id: string; type: string }[]OptionalphoneCell?: stringOptionalphoneHome?: stringOptionalprimaryInsurance?: stringThe primary insurance of the patient.
Prompt: This is the first listed active insurance. undefined if no active insurances. Format: "
OptionalprimaryInsuranceGroupNum?: stringThe primary insurance group number as provided by the EHR.
OptionalprimaryInsurancePolicyNum?: stringThe primary insurance policy number as provided by the EHR.
Optionalproblems?: 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.
Optionalprovider?: 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: "
OptionalreferringProvider?: 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: "
OptionalsecondaryInsurance?: stringThe patient's secondary insurance.
Prompt: This is the second listed active insurance. undefined if fewer than 2 insurances. Format: "
OptionalsecondaryInsuranceGroupNum?: stringThe secondary insurance group number as provided by the EHR.
OptionalsecondaryInsurancePolicyNum?: stringThe secondary insurance policy number as provided by the EHR.
The Patient being viewed in the EHR.