b.well SDK v0.7.0

b.well SDK v0.7.0 Change Log

Production SDK Updates

b.well SDK version 0.7.0 includes the first round of fully integrated methods aligned with User Journey 1: User is able to be authenticated.

Updated Methods

  1. Initialize the SDK
    • Note: Keystore is now required as part of the config object when initializing the SDK. Reference Initialize the SDK for more information.
  2. Authenticate a User
    • Note: Client generated JWTs can now be used to test the authentication flow pending verification of correct server validation configuration.

Future Improvements

  1. Error handling when passing an incorrect clientkey during initialize will be improved in an upcoming release.
  2. Error handling when passing an incorrect or invalid JWT during authenticate will be improved in an upcoming release.

Mock SDK Updates

getHealthSummary Method

The getHealthSummary method offers a streamlined way to retrieve a summarized view of current health records, categorized by resource types.

This view includes counts for AllergyIntolerance, CarePlan, Encounter, Immunization, Procedure, and Vital Sign resources.

Parameters

  • request(optional) : An object of type HealthSummaryRequest that allows you to specify parameters and filters for customizing the health summary information retrieval, such as category, date range, or other relevant parameters.

Return

  • Returns a BWellResult<HealthSummary> object, which is based off of generated Compositions, representing an aggregation of AllergyIntolerance, CarePlan, Encounter, Immunization, Procedure, and VitalSign resources.

Method Signature

suspend fun getHealthSummary(request: HealthSummaryRequest) : BWellResult<HealthSummary>