b.well SDK v0.7.0
almost 2 years ago
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
- Initialize the SDK
- Note: Keystore is now required as part of the
configobject when initializing the SDK. Reference Initialize the SDK for more information.
- Note: Keystore is now required as part of the
- 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
- Error handling when passing an incorrect
clientkeyduringinitializewill be improved in an upcoming release. - Error handling when passing an incorrect or invalid JWT during
authenticatewill be improved in an upcoming release.
Mock SDK Updates
getHealthSummary Method
getHealthSummary MethodThe 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 typeHealthSummaryRequestthat 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 ofAllergyIntolerance,CarePlan,Encounter,Immunization,Procedure, andVitalSignresources.
Method Signature
suspend fun getHealthSummary(request: HealthSummaryRequest) : BWellResult<HealthSummary>