Health Summary

Retrieving Health Summary

Overview

The getHealthSummary method in the b.well SDK enables the retrieval of a comprehensive summary of current healthcare records by category. This summary includes an aggregation of various health resources.

Method Signature

suspend fun getHealthSummary(): BWellResult<HealthSummary>
  • Returns BWellResult<HealthSummary>: An object representing a summary of health records.

Example Usage

suspend fun getHealthSummaryList() {
    val healthSummary = BWellSdk.health.getHealthSummary()
    // Handle the Health Summary data
}

This example shows how to call getHealthSummary to receive an overview of health records, including allergies, care plans, encounters, immunizations, procedures, and vital signs.

Best Practices

  • Utilize this method to get a holistic view of a patient's health records.
  • Handle the response to effectively use the summarized health data.