Releases: DexCare/DexCareSDK-iOS
Releases · DexCare/DexCareSDK-iOS
4.0.3
Fixes
- Chats inside virtual waiting room and virtual visits, were not persisting if the virtual visit was resumed (DC-3773)
4.0.2
Changed/Updated
AppointmentService.getPCPAppointments
is marked as deprecated and will be removed in the next minor versionPCPAppointment
and associated objects are marked as deprecated and will be removed in the next minor version.Environment.pcpURL
is marked as deprecated and the property will be removed in the next minor version
Fixes
- Using the
RefreshTokenDelegate
now gets called properly (DC-3446)
4.0.1
Changed/Updated
CatchmentArea.ehrSystem
andCatchmentArea.departmentId
properties are now public
4.0.0
New
- A new
AppointmentService.cancelRetailAppointment(visitId:)
method is now the method used to cancel retail visits. The oldAppointmentService.cancelRetailAppointment(appointmentId:)
is now deprecated.VisitId
will be the id passed back in theAppointmentService.getRetailVisits
call. - A new
DexcareSDK.refreshTokenDelegate
delegate is now available to better handle 401 UnAuthenticated errors. When a client adopts this protocol, they have the ability to try and send a valid token (say for example if it's expired) and the network call will retry.
Create patient/Booking
- Creating patients and booking have been overhauled to be simpler.
- Removed the requirement to call
PatientService.createPatient(visit state or ehrSystem)
orPatientService.createDependentPatient(visit state or ehrSystem)
and instead created newPatientService.findOrCreatePatient
orPatientService.findOrCreateDependentPatient
. These depend on a newCatchmentArea
property that internally is what the SDK uses to figure out the visit state. PatientService.getCatchmentArea
is now available to figure out the EHRSystem based on a visit state. If you know the EHRSystem, there is no need to call this methodVirtualService.startVirtualVisit
have new methods to use the newCatchmentArea
property. You also must pass up the fullDexcarePatient
instead of the just the demographics.RetailService.scheduleRetailAppointment
is new to expect aDexcarePatient
and an optional patient for dependent if you're booking an appointment for a dependent.This replaces the oldAppointmentService.scheduleRetailAppointment
Breaking
- Any old deprecated functions, methods, protocols, classes from
3.0
have now been removed. It is recommended if you are coming from2.x
to first update to3.X
then to4.0
Changed/Updated
RetailService.getRetailClinics
is nowRetailService.getClinics
(DC-2769)- Added some extra validation for empty strings on some methods. (DC-2885)
- Updated an internal endpoint used by the sdk to resume virtual visits (DC-2836)
- Adds the SDK Version to the
userAgent
header for all network calls (DC-3206) PatientDemographic.actorRelationshipToPatient
is deprecated. AllactorRelationshipToPatient
should now be passed in via theRetailVisitInformation
or theVirtualVisitInformation
- Removed
AllowedVisitType.reasonLabel
andAllowedVisitType.description
as they are unused
3.0.1
Fixes
- Updated podspec to included updated 2.18 OpenTok pod
- When in Virtual Chat the message from device should be on the right side and different color. (DC-2794)
3.0.0
Breaking
-
Virtual Visits with Someone else now require
PatientDemographics.relationshipToPatient
to be set. This now matches what retail visits are requiring. -
VirtualVisitInformation
now has a requireduserEmail
property. -
VirtualVisitInformation
now has a requiredcontactPhoneNumber
property. -
VirtualVisitInformation.declaration
is nowVirtualVisitInformation.patientDeclaration
-
RetailVisitInformation
now has a requireduserEmail
property. -
RetailVisitInformation
now has a requiredcontactPhoneNumber
property. -
RetailService.uploadInsuranceCard
has been changed to return a string instead of a URL -
PaymentMethod.insuranceImageSelf
andPaymentMethod.insuranceImageOther
have been changed to require a new cardId instead of a URL
New
- A new
Environment
struct has been created to simplify initialization of DexCareSDK VirtualConfiguration
replacesVirtualSDKConfiguration
DexcareConfiguration
replacesDexcareSDKConfiguration
that takes in the newEnvironment
propertyDexcareSDK.signIn(accessToken:String)
replacesDexcareSDK.authentication.signIn
DexcareSDK.signOut()
replacesDexcareSDK.authentication.signOut
VirtualService.startVirtualVisit
without email replaces the same call with email. Email property is now passed throughVirtualVisitInformation.userEmail
VirtualService.resumeVirtualVisit
without email replaces the same call with email, dislplayName. DisplayName is now gathered automatically by SDK.PatientService.createPatient
andPatientService.createDependentPatient
now have extra validation checks forAddress.postalCode
,homePhone
,mobilePhone
,workPhone
,- New
VirtualFeedback
enum that is used in new postFeedback call VirtualService.postFeedback([VirtualFeedback])
replacesVirtualService.postFeedback(patientId...)
to simplify the postFeedback call. AstartVirtualVisit
or aresumeVirtualVisit
must have been called before you can call this function.RetailService.uploadInsuranceCard
has been changed to use a new insurance card capture (ICC) endpoint.PaymentMethod.insuranceImageSelf
andPaymentMethod.insuranceNewImageOther
have been added
Changed/Updated
- OpenTok is now v 2.18.0
Dexcare.retail
has been renamed toDexcare.retailService
Dexcare.virtual
has been renamed toDexcare.virtualService
Dexcare.appointment
has been renamed toDexcare.appointmentService
Dexcare.patient
has been renamed toDexcare.patientService
VirtualSDKConfiguration
has been deprecated in favor ofVirtualConfiguration
DexcareSDKBaseURL
has been deprecated in favor ofEnvironment
DexcareSDKConfiguration
has been deprecated in favor ofDexcareConfiguration
DexcareSDK.authentication
has been deprecatedRegion.Price
struct is nowRegion.Prices
. Property onRegion
is stillprices
Deleted
- Old deprecated
func startVirtualVisit(request: VirtualVisitRequest, presentingViewController: UIViewController, displayName: String, givenName: String, familyName: String, onCompletion: @escaping VisitCompletion, success: @escaping (String) -> Void, failure: @escaping (VirtualVisitFailedReason) -> Void)
is now removed - Removed deprecated
VirtualVisitRequest
- Removed unused public
VirtualFeedbackRequest
struct
Fixes
- When in the waiting room, and the provider declines the visit, the virtual visit now closes as it should. DC-2019