Provider Service
interface ProviderService
Content copied to clipboard
Functions
getMaxLookaheadDays
Link copied to clipboard
abstract fun getMaxLookaheadDays(visitTypeShortName: VisitTypeShortName, ehrSystemName: String): DataObserver<Int>
Content copied to clipboard
Fetches the maximum number of days beyond Today that getProviderTimeslotsWithShortName can return results for.
getProvider
Link copied to clipboard
abstract fun getProvider(providerNationalId: String): DataObserver<Provider>
Content copied to clipboard
getProviderTimeslotsWithShortName
Link copied to clipboard
abstract fun getProviderTimeslotsWithShortName(providerNationalId: String, visitTypeShortName: String, startDate: LocalDate = LocalDate.now(), endDate: LocalDate = LocalDate.now().plusDays(7)): DataObserver<ProviderTimeSlot>
Content copied to clipboard
scheduleProviderVisit
Link copied to clipboard
abstract fun scheduleProviderVisit(paymentMethod: PaymentMethod, providerVisitInformation: ProviderVisitInformation, timeSlot: TimeSlot, ehrSystemName: String, patientDexCarePatient: DexCarePatient, actorDexCarePatient: DexCarePatient? = null): DataObserver<String>
Content copied to clipboard