Package org.dexcare.services.virtualvisit.models

Types

Answer
Link copied to clipboard
data class Answer(id: String, type: String, value: String, text: String) : Parcelable
CatchmentArea
Link copied to clipboard
data class CatchmentArea(ehrSystem: String, departmentId: String)
Represents an area serviced by a hospital/health system.
Conference
Link copied to clipboard
data class Conference(conferenceId: String?, conferenceSessionId: String?, rating: Int?, startTime: String?, endTime: String?, visitId: String?, userDisplayName: String?, userID: String?) : Parcelable
CouponCode
Link copied to clipboard
data class CouponCode(code: String, status: CouponCode.Status, discountAmount: Double) : Parcelable
DefaultVirtualVisitTypes
Link copied to clipboard
DefaultVisitStatus
Link copied to clipboard
enum DefaultVisitStatus : Enum<DefaultVisitStatus>
Represents the status of a virtual visit.
Feedback
Link copied to clipboard
data class Feedback(id: String?, type: String?, text: String?, answers: MutableList<Answer>) : Parcelable
FeedbackQuestions
Link copied to clipboard
enum FeedbackQuestions : Enum<FeedbackQuestions> , Parcelable
Represents various feedback question/answer pairs supported by the feedback service.
Lang
Link copied to clipboard
sealed class Lang
PediatricsAgeRange
Link copied to clipboard
data class PediatricsAgeRange(min: Double?, max: Double?) : Parcelable
Represents the minimum and maximus age range for Pediatrics for providers that support pediatric visits
RegionAvailabilityReason
Link copied to clipboard
RegisterPushNotification
Link copied to clipboard
data class RegisterPushNotification(appId: String, fcmToken: String, platform: String) : Parcelable
A model containing information required to register an android device to receive push notifications.
VirtualActor
Link copied to clipboard
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.
VirtualFeedback
Link copied to clipboard
sealed class VirtualFeedback
A base class representing user-given feedback.
VirtualPractice
Link copied to clipboard
data class VirtualPractice(practiceId: String, displayName: String, careMode: PracticeCareMode, paymentAvailability: PracticePaymentAvailability, epicBookingEnabled: Boolean, practiceRegions: List<VirtualPracticeRegion>) : Practice, Parcelable
A Practice is a collection of resources that provides a type of care to patients.
VirtualPracticeRegion
Link copied to clipboard
data class VirtualPracticeRegion(practiceRegionId: String, displayName: String, regionCode: String, active: Boolean, busy: Boolean, busyMessage: String, priceInCents: Int, practiceRegionAvailability: List<PracticeRegionAvailability>, pediatricsAgeRange: PediatricsAgeRange?) : Parcelable
Represents a physical area serviced by a VirtualPractice.
VirtualVisitDetails
Link copied to clipboard
data class VirtualVisitDetails(acceptedTerms: Boolean, assignmentQualifiers: List<VirtualVisitAssignmentQualifier>?, patientDeclaration: PatientDeclaration, stateLicensure: String, visitReason: String, visitTypeName: VirtualVisitTypeName, userEmail: String, contactPhoneNumber: String, practiceId: String?, assessmentToolUsed: String?, brand: String?, interpreterLanguage: String?, preTriageTags: List<String>, urgency: Int?, homeMarket: String?, initialStatus: VisitStatus?, traveling: Boolean?, actorRelationshipToPatient: RelationshipToPatient?, additionalDetails: AdditionalDetails?) : Lang, Parcelable
An object containing additional information used to schedule a virtual visit.
WaitTime
Link copied to clipboard
data class WaitTime(estimatedWaitTimeSeconds: Int, estimatedWaitTimeMessage: String?, generatedAt: ZonedDateTime, waitTimeLocalizationInfo: WaitTimeLocalizationInfo?) : Parcelable
Contains information about an estimated wait time for a Virtual Practice Region, or a Virtual Visit.
WaitTimeAvailability
Link copied to clipboard
data class WaitTimeAvailability(generatedAt: Instant, estimatedWaitTimeSeconds: Int?, estimatedWaitTimeMessage: String?, available: Boolean, reason: WaitTimeAvailability.Reason?, regionCode: String?, practiceId: String, visitTypeName: VirtualVisitTypeName?, assignmentQualifiers: List<VirtualVisitAssignmentQualifier>?, homeMarket: String?)
Contains information about a particular virtual visit provider queue.
WaitTimeLocalizationInfo
Link copied to clipboard
data class WaitTimeLocalizationInfo(modality: VirtualVisitModality, waitTimeMapKey: String, timeMinSeconds: Int?, timeMaxSeconds: Int?) : Parcelable
Contains localization information about an estimated wait time for a Virtual Practice Region, or a Virtual Visit.

Functions

isVisitStatusActive
Link copied to clipboard
fun isVisitStatusActive(status: VisitStatus): Boolean
A helper function that can be used to determine whether or not a visit can be reconnected to using org.dexcare.services.virtualvisit.VirtualService.resumeVirtualVisit.
key
Link copied to clipboard
fun WaitTimeLocalizationInfo.key(): String