EhrPatient

fun EhrPatient(firstName: String, lastName: String, gender: Gender, dateOfBirth: LocalDate, phone: String, email: String, address: Address, ehrIdentifier: String, ehrIdentifierType: String, homeEhr: String, homeMarket: String? = null)

Parameters

firstName

The Patient's given name

lastName

The Patient's family name

gender

The Patient's gender

dateOfBirth

The Patient's birthdate

phone

The Patient's contact phone number

email

The Patient's email

address

The Patient's address

ehrIdentifier

An identifier of the patient record in Epic.

ehrIdentifierType

The type of identifier being sent in ehrIdentifier, e.g. "MRN" or "EPI".

homeEhr

Home EHR code.