ProviderVisitInformation
public struct ProviderVisitInformation : Equatable, Codable
Contains additional information required to book a Provider visit.
-
A short description describing the reason for scheduling the provider visit.
Declaration
Swift
public var visitReason: String
-
An enum used to determine who the visit should be scheduled for.
Declaration
Swift
public var 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 var 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 var contactPhoneNumber: String
-
Set and used internally by the SDK.
Declaration
Swift
public var nationalProviderId: String
-
Set and used internally by the SDK.
Declaration
Swift
public var visitTypeId: String
-
Set and used internally by the SDK.
Declaration
Swift
public var ehrSystemName: String
-
This should always be filled in when booking a Visit for a dependent. When booking for self, this can be nil.
Declaration
Swift
public let actorRelationshipToPatient: RelationshipToPatient?
-
A generic Question + answer
Declaration
Swift
public var patientQuestions: [PatientQuestion]?
-
init(visitReason:
patientDeclaration: userEmail: contactPhoneNumber: nationalProviderId: visitTypeId: ehrSystemName: actorRelationshipToPatient: patientQuestions: ) Undocumented
Declaration
Swift
public init( visitReason: String, patientDeclaration: PatientDeclaration, userEmail: String, contactPhoneNumber: String, nationalProviderId: String, visitTypeId: String, ehrSystemName: String, actorRelationshipToPatient: RelationshipToPatient?, patientQuestions: [PatientQuestion]? = nil )