b.well SDK v0.11.0

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.

  1. General Search
  2. Search Providers
  3. Search Connections

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

  • registerDeviceToken has been changed to registerDevice. 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): OperationOutcome
  • deregisterDeviceTokenhas been changed to deregisterDevice. 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): OperationOutcome

Namespaces 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.ProviderSearchRequest
  • import com.bwell.search.requests.ConnectionRequest
    changed to
    import com.bwell.search.requests.connection.ConnectionRequest
  • import com.bwell.generated.search.type.OrganizationType
    changed to
    import com.bwell.common.models.domain.search.enums.OrganizationType
  • import com.bwell.generated.search.type.SortField
    changed to
    import com.bwell.common.models.domain.search.enums.SortField
  • import com.bwell.generated.search.type.SortOrder
    changed to
    com.bwell.common.models.domain.common.enums.SortOrder
  • import com.bwell.generated.search.type.Gender
    changed to
    import com.bwell.common.models.domain.common.enums.Gender

Future Enhancements

  • Currently, entering page: 0 or pageSize: 0 within the ProviderSearchRequest will result in a crash. This scenario will be handled properly in a future release.