Skip to content
On this page

Vital Signs

The Binah.ai SDK measures a comprehensive range of vital signs and physiological indicators. For the sake of brevity, we refer to the set of physical indicators calculated by the SDK as "vital signs". The vital sign results provided at the end of the measurement include both the vital sign values and the vital sign confidence levels.

Information on the supported vital signs can be found on the Binah.ai Vital Signs and Health Indicators Information page.

Note

In order to receive a result for a specific vital sign, the vital sign must be enabled. Information on enabled vital signs can be found on the Enabled Vital Signs page.

The application can receive vital sign values by implementing VitalSignsListener:

Swift
func onVitalSign(vitalSign: VitalSign) {
    DispatchQueue.main.async {
        // Handle vital sign result
    }
}

func onFinalResults(results: VitalSignsResults) {
    DispatchQueue.main.async {
        // Handle the final results of the measurements
    }
}
Objective-C
- (void)onVitalSignWithVitalSign:(BNHVitalSign *)vitalSign {
    dispatch_async(dispatch_get_main_queue(), ^{
        // Handle vital sign result
    });
}

- (void)onFinalResultsWithResults:(BNHVitalSignsResults *)results {
    dispatch_async(dispatch_get_main_queue(), ^{
        // Handle the final results of the measurements
    });
}

The vital sign values measured by the SDK are reported at two stages of the measurement:

Instantaneous Vital Signs Values

Instantaneous vital sign values are provided as soon as they become available. To receive instantaneous vital sign results, the application can implement the onVitalSign method as part of VitalSignsListener.

Swift
func onVitalSign(vitalSign: VitalSign) {
    DispatchQueue.main.async {
        // Handle vital sign result
    }
}
Objective-C
- (void)onVitalSignWithVitalSign:(BNHVitalSign *)vitalSign {
    dispatch_async(dispatch_get_main_queue(), ^{
        // Handle vital sign result
    });
}

Instantaneous vital sign values can be received for the following vital signs during the measurement:

Final Results

Final vital sign results are calculated at the end of a measurement.

The application can receive the final vital signs results by implementing the onFinalResults method as part of VitalSignsListener.

Swift
func onFinalResults(results: VitalSignsResults) {
    DispatchQueue.main.async {
        // Handle the final results of the measurements
    }
}
Objective-C
- (void)onFinalResultsWithResults:(BNHVitalSignsResults *)results {
    dispatch_async(dispatch_get_main_queue(), ^{
        // Handle the final results of the measurements
    });
}

Important

Note that vital signs are sent on a background thread. The application must switch to the UI thread in order to perform UI updates.