b.well SDK v0.11.0
almost 2 years ago
b.well SDK v0.11.0 Change Log
Production SDK Updates
b.well SDK version 0.11.0 includes the latest round of fully integrated methods aligned with User Journey 2: User is able to search for and select a data connection.
Please note the following regarding Data Connection Categories:
The searchConnections method is tailored to effectively categorize different data connection categories.
- For Clinics, Hospitals, and Health Systems, use
.organizationTypeFilters(listOf(OrganizationType.PROVIDER)). - For Labs, use
.organizationTypeFilters(listOf(OrganizationType.LABORATORY))
When using searchProviders for Providers, do not apply the .organizationTypeFilter as it will result in no returned data.
Please reference the method guides for more detailed example uses.
Important Changes
Method Updates
registerDeviceTokenhas been changed toregisterDevice. This change is included in v0.11.0 however the method is not yet fully integrated and will continue to return mock data. More details will be included with v0.12.0
suspend fun registerDevice(deviceRequest: RegisterDeviceTokenRequest): OperationOutcomederegisterDeviceTokenhas been changed toderegisterDevice. This change is included in v0.11.0 however the method is not yet fully integrated and will continue to return mock data. More details will be included with v0.12.0
suspend fun deregisterDevice(deviceToken: String): OperationOutcomeNamespaces and Enum Updates
Please note the following changes to existing namespaces and enums:
import com.bwell.search.requests.ProviderSearchRequest
changed to
import com.bwell.search.requests.provider.ProviderSearchRequestimport com.bwell.search.requests.ConnectionRequest
changed to
import com.bwell.search.requests.connection.ConnectionRequestimport com.bwell.generated.search.type.OrganizationType
changed to
import com.bwell.common.models.domain.search.enums.OrganizationTypeimport com.bwell.generated.search.type.SortField
changed to
import com.bwell.common.models.domain.search.enums.SortFieldimport com.bwell.generated.search.type.SortOrder
changed to
com.bwell.common.models.domain.common.enums.SortOrderimport com.bwell.generated.search.type.Gender
changed to
import com.bwell.common.models.domain.common.enums.Gender
Future Enhancements
- Currently, entering
page: 0orpageSize: 0within theProviderSearchRequestwill result in a crash. This scenario will be handled properly in a future release.
