RetailVisitInformation
public struct RetailVisitInformation
Information needed for scheduling a retail visit other than BillingInformation and RetailTimeSlot
-
The reason for the retail visit.
Declaration
Swift
public let visitReason: String
-
Declares whether the patient being treated is the logged in user or another person.
Declaration
Swift
public let patientDeclaration: PatientDeclaration
-
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.Declaration
Swift
public let userEmail: String
-
This should always be a non-empty 10 digit phone number which can be used to contact the app user.
Declaration
Swift
public let contactPhoneNumber: String
-
This should always be filled in when booking a Retail Visit for a dependent. When booking for self, this can be nil.
Note
This is to replace thePatientDemographic.actorRelationshipToPatient
Declaration
Swift
public var actorRelationshipToPatient: RelationshipToPatient?
-
A generic Question + answer
Declaration
Swift
public var patientQuestions: [PatientQuestion]?
-
init(visitReason:
patientDeclaration: userEmail: contactPhoneNumber: actorRelationshipToPatient: patientQuestions: ) Undocumented
Declaration
Swift
public init( visitReason: String, patientDeclaration: PatientDeclaration, userEmail: String, contactPhoneNumber: String, actorRelationshipToPatient: RelationshipToPatient?, patientQuestions: [PatientQuestion]? = nil )