VirtualActor

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

Parameters

firstName

The Actor's given name

lastName

The Actor's family name

gender

The Actor's gender

dateOfBirth

The Actor's birthdate

phone

The Actor's contact phone number

email

The Actor's email

address

The Actor's address

relationshipToPatient

An enum representing the Actor's relationship to the patient they are scheduling the visit for.

ehrIdentifier

Optional, 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.