VirtualVisitInformation

data class VirtualVisitInformation(visitReason: String, patientDeclaration: PatientDeclaration, userEmail: String, contactPhoneNumber: String, acceptedTerms: Boolean, pretriageTags: List<String>, actorRelationshipToPatient: RelationshipToPatient?, practiceRegionId: String) : Parcelable

An object containing additional information required to schedule a virtual visit.

Parameters

visitReason

A short description describing the reason for scheduling the virtual visit.

patientDeclaration

An enum used to determine who the visit should be scheduled for.

userEmail

This should always be a non-empty email address which can be used to contact the app user. Note: the patient email address as returned by Epic is not guaranteed to be present. For this reason, it is recommended to always collect this information from an alternative source, e.g. Auth0 email.

contactPhoneNumber

A phone number that can be used to communicate with the patient.

acceptedTerms

Whether or not the user has accepted the Terms and Conditions required to schedule a virtual visit.

pretriageTags

An optional list of tags to be used in analytics when scheduling the visit.

actorRelationshipToPatient
practiceRegionId

A unique identifier of a VirtualPracticeRegion in which the visit will be booked. Required when booking to a particular practiceId.

Constructors

VirtualVisitInformation
Link copied to clipboard
fun VirtualVisitInformation(visitReason: String, patientDeclaration: PatientDeclaration, userEmail: String, contactPhoneNumber: String, acceptedTerms: Boolean = true, pretriageTags: List<String> = listOf(), actorRelationshipToPatient: RelationshipToPatient? = null, practiceRegionId: String = "")
A short description describing the reason for scheduling the virtual visit.

Functions

describeContents
Link copied to clipboard
abstract fun describeContents(): Int
writeToParcel
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)

Properties

acceptedTerms
Link copied to clipboard
val acceptedTerms: Boolean = true
Whether or not the user has accepted the Terms and Conditions required to schedule a virtual visit.
actorRelationshipToPatient
Link copied to clipboard
val actorRelationshipToPatient: RelationshipToPatient? = null
contactPhoneNumber
Link copied to clipboard
val contactPhoneNumber: String
A phone number that can be used to communicate with the patient.
departmentId
Link copied to clipboard
var departmentId: String? = null
Set and used internally by the SDK
ehrSystem
Link copied to clipboard
var ehrSystem: String? = null
Set and used internally by the SDK
patientDeclaration
Link copied to clipboard
val patientDeclaration: PatientDeclaration
An enum used to determine who the visit should be scheduled for.
practiceRegionId
Link copied to clipboard
val practiceRegionId: String
A unique identifier of a VirtualPracticeRegion in which the visit will be booked.
pretriageTags
Link copied to clipboard
val pretriageTags: List<String>
An optional list of tags to be used in analytics when scheduling the visit.
userEmail
Link copied to clipboard
val userEmail: String
This should always be a non-empty email address which can be used to contact the app user.
visitReason
Link copied to clipboard
val visitReason: String
A short description describing the reason for scheduling the virtual visit.