SDK Release Notes - Web Apps
Track all the changes for the Web Apps JS SDK, providing valuable insights into every update, improvement, bug fix, and new feature introduced by the JS SDK development team. With each entry, developers gain a clear understanding of the modifications made in each version, facilitating seamless integration and adaptation of their applications.
[1.2.1] - 19.02.2025
Updated
- Moved
module_selection
from patient mgmt module to core modules - Added new params for site catalog
[1.2.0] - 19.02.2025
Added
- Added
CallCenter
&EmergencyMgmt
modules
[1.1.15] - 12.02.2025
Updated
- Added
referral_code
for Identify event and user catalog
[1.1.14] - 27.11.2024
Updated
- Added
blood_pressure_systolic
,blood_pressure_diastolic
andmuac
for DiagnosisSubType
[1.1.12] - 04.11.2024
Added
- Added Immunization list in the encounter summary
Updated
- Update Prescription item to make prescriptionDate as optional
- Updated DiagnosisSymptomItem for more types
- Updated PrescriptionItem type for more types.
- Updated treatmentAdherence to include type and remarks param
- Updated DiagnosisStatusItem to replace value by status and add risk type with updated enums
- Updated PrescriptionItem to replace existing type by formulation and type as Diagnosis type
- Updated multiple list params to include _list in the param names
- Updated patient, appointment and encounter event for patient and site ids
- Renamed
prev_diagnosis_status
anddiagnosis_status
toprev_diagnosis_status_list
anddiagnosis_status_list
[1.1.11] - 25.10.2024
Updated
- Fixed Identify event on CFLog
[1.1.10] - 24.10.2024
Updated
- Moved Core Ingest Events to a single function call format. Now use
Navigation.logIngestEvent(eventType, eventProps)
to Core log events. - Moved Core Catalog Events to a single function call format. Now use
Navigation.logCatalogEvent(catalogType, catalogProps)
to log Core Catalog events. - Renamed
UserProperties
interface toUserCatalog
- Added
id
param in the user props for User Catalog event. - Adding global SDK pause flag in init options, to pause all SDK events and nudge listener.
- Update Patent Mgmt events to have
patient_id
andsite_id
on the first level of events. - Include Site Catalog in Core and remove HCW_SITE catalog from patient mgmt.
Upgrading to 0.9.* version
[0.9.6] - 23.04.2024
Updated
- Updated nudge to use locally stored userId for diff among login and anonymous users.
- Using locally stored userId for events in case of no login in the same session.
[0.9.4] - 22.04.2024
Updated
- fixed bug on
nudge_response
event for multiple nudges shown at a same time. Was using the time from the last nudge in all responses.
Added
- Added ability to fetch nudges for anonymous users, set
allowAnonymousUsers
totrue
increateSDKInstance
options.
[0.9.3] - 17.04.2024
Updated
- Updated
SDKInit
method to decouple logIdentifyEvent and SDK init. - Refactored
EducationLevel
enum toEducationalLevel
ANDIdentifyAction
toIdentityAction
- Merged
schedule_delivery
anddelivery
events. - The new
delivery
event now has the optional params to pass on delivery and dispatch coordinates as well. - Updated enums for
payment
events,- such as
DeferredPaymentType
&PaymentsMethodAction
toPaymentAction
PaymentMethodType
is refactored toPaymentMethod
- such as
- SDK now provides the ability to fetch in-app nudges on an individual screen.
- To enable that set
selfManagedNudges
to true in theCFLog
options. - Then on your Home Screen of the app or any screen of your choice,
use
CfLog.getSDKInstance().fetchNudgesForScreen(NudgeScreenType.xx)
- In the above,
NudgeScreenType
is an enum, if you don't want to show the messages based on a specific screen, useNudgeScreenType.None
elseNudgeScreenType.Home
or other available screen types based on the intervention.
- To enable that set
Added
- Added
Marital Status
,Family Members
,Birth Year
,Gender
andNumber of Children under 5 years
params as OPTIONAL for User Catalog. - Rate event has more enum values such as
customer
,hcw
,hcw_site
,facility
,process
,assessment
, etc. - Payment Method now have more enum values such as
mobile_transfer
,cash
,other
, etc. - SDK nudges will now track
nudge_response
asexpired
as well for bothpush_notifications
andin_app_messages
.