VirtualActor

data class VirtualActor(firstName: String, lastName: String, gender: Gender, dateOfBirth: LocalDate, phone: String, email: String, address: Address, relationshipToPatient: RelationshipToPatient, ehrIdentifier: String?, ehrIdentifierType: String?, homeEhr: String?) : Parcelable

Represents the app user when scheduling a virtual visit for someone else.

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.

Constructors

VirtualActor
Link copied to clipboard
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)
The Actor's given name

Types

Companion
Link copied to clipboard
object Companion

Functions

describeContents
Link copied to clipboard
abstract fun describeContents(): Int
validate
Link copied to clipboard
fun validate(): MissingInformationError?
A helper method used internally by the SDK to perform minimal validation on the object before sending it to the server.
writeToParcel
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)

Properties

address
Link copied to clipboard
val address: Address
The Actor's address
dateOfBirth
Link copied to clipboard
val dateOfBirth: LocalDate
The Actor's birthdate
ehrIdentifier
Link copied to clipboard
val ehrIdentifier: String? = null
Optional, an identifier of the patient record in Epic.
ehrIdentifierType
Link copied to clipboard
val ehrIdentifierType: String? = null
The type of identifier being sent in ehrIdentifier, e.g.
email
Link copied to clipboard
val email: String
The Actor's email
firstName
Link copied to clipboard
val firstName: String
The Actor's given name
gender
Link copied to clipboard
val gender: Gender
The Actor's gender
homeEhr
Link copied to clipboard
val homeEhr: String? = null
Home EHR code.
lastName
Link copied to clipboard
val lastName: String
The Actor's family name
phone
Link copied to clipboard
val phone: String
The Actor's contact phone number
relationshipToPatient
Link copied to clipboard
val relationshipToPatient: RelationshipToPatient
An enum representing the Actor's relationship to the patient they are scheduling the visit for.