Releases: DexCare/DexCareSDK-iOS
6.1.7
ZipCodeValidator (and the SDK as a result) now accepts 9-digit zip codes in addition to 5-digit zip codes. A hyphen is required for 9-digit zip codes.
ZipCodeValidator.ZIP_CODE_VALIDATION_REGEX
has been added. This is the Regex string used in the ZipCodeValidator.isValid class function.
6.1.6
- Adjusts TytoCare setup views for smaller devices
- When opening Chat, the keyboard no longer automatically opens.
6.1.5
- New functionality was not available publicly.
- Fixed a crash on launch
6.1.4
Fixed
- New functionality was not available publicly.
6.1.3
Fixed
- Fixed a crash on launch by downgrading MessageKit back to 3.5.0
6.1.2
New
- Added a new optional parameter to the
CustomizationOptions
model,VirtualConfig
. This new model contains various customization options related the the virtual visit experience.
VirtualConfig
currently has two optional parameters:showWaitingRoomVideo
- Whether or not to display the video on the waiting room. Defaults totrue
.waitingRoomVideoURL
- A bundle url that can be optionally specified to change the video that displays inside the virtual waiting room. When not specified, the default video is used (the same video that has always played in the waiting room, no changes). See documentation for more detail and example.
When these properties orVirtualConfig
are not explicitly overridden, the default values are used.
Deprecated
- Deprecated
DexcareConfiguration.init
where you pass in the deprecatedCustomStrings
. A new init is available to use withoutCustomStrings
. Any custom strings should now be passed throughDexcareSDK.customizationOption
Other
- Removed some public classes and functions that should be internal only
- Updated MessageKit to 3.6.0
6.1.1
6.1.1
- Fixes crash when going into waiting room
6.1.0
6.1.0
New
- Added support for TytoCare devices in the Virtual Visit experience. When enabled on the server, a new button will appear in the waiting room and conference screens. Clicking the button will open a new that instructs the user on how to pair/connect their TytoCare device. For more information about TytoCare, visit https://www.tytocare.com/.
- New permissions are also required in order for the TytoCare integration to work:
- The Wifi entitlement will need to be enabled on your build.
- Location with percise accuracy.
- If any of the new permissions are not available, the integration will still work, but the SDK will not be able to get the current Wifi network information
DexCareSDK.customizationOptions
now has atytoCareConfig
option for any TytoCare configuration that is allowed in the SDK. Please update these before starting a virtual visit.- More information and details are available on https://developers.dexcarehealth.com/virtualvisit/tytocare
Deprecations
- Deprecated
DexcareConfiguration.customStrings
in favour ofDexcareSDK.customizationOptions
, which can be set after initialization of the SDK and anytime before a start of a Virtual Visit.
Changes
- When starting a virtual visit, the
VirtualVisitInformation.userEmail
will ALWAYS be used in the request irregardless of what is in the DexcarePatient object. This now matches retail appointments is doing. DC-4213
Other
- Dropped support for iOS 11. Minimum iOS version is now iOS 12
- Update MessageKit to 3.5.1. InputBarAccessoryView to 5.3.0
- Updated OpenTok to 2.19.1
- Updated an internal endpoint for cancelling a virtual visit.
- Updated some public enums with the
@frozen
attribute.DexcareSDKLogLevel
Gender
PatientDeclaration
VirtualFeedback
PaymentHolderDeclaration
6.0.0
6.0.0
Xcode 12
- iOS SDK is now using an
.xcframework
to distribute the SDK. Xcode 11 is no longer supported. You must upgrade to Xcode 12.0+ in order to use v6.0
Breaking
- The framework has been renamed to
DexcareiOSSDK
fromDexcareSDK
. Anywhere in your app where youimport DexcareSDK
will need be changed toimport DexcareiOSSDK
PaymentService
VirtualService.getInsurancePayers
has been deprecated and moved toPaymentService.getInsurancePayers
VirtualService.verifyCouponCode
has been deprecated and moved toPaymentService.verifyCouponCode
,RetailService.uploadInsuranceCard
has been deprecated and moved toPaymentService.uploadInsuranceCard
- Added a property on
DexcareSDK
instance calledpaymentService
Other
- Dependency OpenTok updated to v2.19
- Note: You may get a LOT of warnings with v2.19. They are aware of the issue, but the warnings does not stop Virtual Visits from working.
5.0.0
Practices
- Added a new
PracticeService
to the SDK to loadVirtualPractice
Information PracticeService.getVirtualPractice(practiceId)
to load information about a practicePracticeService.getVirtualPracticeRegionAvailability(practiceRegionId)
to load- Added a new
VirtualService.startVirtualVisit
which takes in thepracticeId
from the above call. VirtualVisitInformation.practiceRegionId
is now required when calling the above function- New models
VirtualPractice
,PracticeCareMode
,PracticePaymentAvailability
,VirtualPracticeRegion
have been made public
Providers
- Added a new
ProviderService
to the SDK to loadProvider
Information. - Added
ProviderService.getProvider(providerNationalId)
to retrieve information about a provider. - Added
ProviderService.getProviderTimeslots(providerNationalId, visitTypeId, startDate, endDate)
to load timeslots for a given provider - Added
ProviderService.getMaxLookaheadDays(visitTypeShortName, ehrSystemName)
to get the max days the server will look ahead for timeslots - Added
ProviderService.scheduleProviderVisit(paymentMethod, providerVisitInformation, timeSlot, ehrSystemName, patientDexcarePatient, actorDexcarePatient?)
to book through a provider. - New models
Provider
,ProviderDepartment
,ProviderVisitType
,ScheduledProviderVisit
Other
- New
PatientService.getSuffixes
has been added to load the list of approved suffixes that can be optional used to fill in the suffix field of aPatientDemographic.HumanName
property ScheduleDay.date
is now formatted in the timezone of the Clinic/Provider. You can effectively ignore the timezone, as the property should be used for grouping of time slots.- Changed internally the endpoint for
RetailService.getTimeSlots
- A Virtual Visit must succeed in order to submit any feedback through
VirtualService.postFeedback
Deprecated
VirtualService.getRegions
has been deprecated in favour of the newerPracticeService.getPractice
VirtualService.getRegionAvailability
has been deprecated in favour of the newerPracticeService.getPracticeRegionAvailability
VirtualService.startVirtualVisit(with catchmentArea)
has been deprecated. Going forward use thestartVirtualVisit
method that has the practiceId.VirtualVisitInformation.currentState
has been marked as deprecated and now optional. This can be set to nil when booking through Practices.
Breaking
-
Removed
PatientDemographics.actorRelationshipToPatient
property. Going forward, this property should be set fromRetailVisitInformation
orVirtualVisitInformation
instead -
Removed deprecated
VirtualService.updatePushNotificationDeviceToken(String)
- switch toupdatePushNotificationDeviceToken(Data)
instead -
Removed deprecated
VirtualService.startVirtualVisit
that does not use catchmentArea or practiceId -
Removed deprecated
VirtualService.resumeVirtualVisit
that does not use a dexcarePatient -
Removed deprecated
PatientService.createPatient(usingVisitState)
- switch tofindOrCreatePatient(inEhrSystem)
method instead -
Removed deprecated
PatientService.createDependentPatient(usingVisitState)
- switch tofindOrCreateDependentPatient(inEhrSystem)
method instead -
Removed deprecated
PatientService.createPatient(inEhrSystem)
- switch tofindOrCreatePatient(inEhrSystem)
method instead -
Removed deprecated
PatientService.createDependentPatient(inEhrSystem)
- switch tofindOrCreateDependentPatient(inEhrSystem)
method instead -
Removed
AppointmentService.cancelRetailAppointment(appointmentId)
- switch to.cancelRetailAppointment(visitId)
method instead -
Removed
AppointmentService.scheduleRetailAppointment()
- switch toRetailService.scheduleRetailAppointment()
method instead -
Environment.pcpURL
has been removed from the DexcareSDK initializer -
Removed
AppointmentService.getPCPAppointments
-
Removed
PCPAppointment
andPrimaryCareAppointmentFailedReason
-
Made
ScheduledVisitFailedReason
enum unavailable and updatedAppointmentService.getRetailVisits
to return aFailedReason
instead -
Removed an unused
RetailScheduledFailedReason
enum. -
Removed some unused cases in
VirtualVisitFailedReason
,ScheduleProviderAppointmentFailedReason
,ScheduleRetailAppointmentFailedReason
-
DexcarePatient.demographicLinks
has been renamed toDexcarePatient.demographicsLinks
-
PatientDemographics.ssn
has been renamed toPatientDemographics.last4SSN
-
AllowedVisitType.shortName
is now aVisitType
enum
Fixed
- When passing in a nil
VirtualVisitInformation.preTriageTags
the function would return an error. This adds internally a default empty array if nil is passed in. Workaround for client in the interim is to pass in an empty array. (DC-3502) - If a user disallows push notifications, the SDK now allows them to start a Virtual Visit. Only Microphone and Camera are required. (DC-3885)
Dependencies
- Updated
MessageKit
to 3.3