Provider Visit Information
data class ProviderVisitInformation(visitReason: String, patientDeclaration: PatientDeclaration, userEmail: String, contactPhoneNumber: String, actorRelationshipToPatient: RelationshipToPatient?) : Parcelable
Content copied to clipboard
Contains additional information required to book a Provider visit.
Parameters
visitReason
A short description describing the reason for scheduling the provider 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.
actorRelationshipToPatient
A RelationshipToPatient enum which is required when patientDeclaration is PatientDeclaration.Other.
Constructors
ProviderVisitInformation
Link copied to clipboard
fun ProviderVisitInformation(visitReason: String, patientDeclaration: PatientDeclaration, userEmail: String, contactPhoneNumber: String, actorRelationshipToPatient: RelationshipToPatient? = null)
Content copied to clipboard
A short description describing the reason for scheduling the provider visit.
Functions
Properties
actorRelationshipToPatient
Link copied to clipboard
contactPhoneNumber
Link copied to clipboard
departmentId
Link copied to clipboard
nationalProviderId
Link copied to clipboard
patientDeclaration
Link copied to clipboard
visitReason
Link copied to clipboard
visitTypeId
Link copied to clipboard