Appearance
ASCVD Risk
The ASCVD Risk value is sent as part of the final results.
Note
The ASCVD (Atherosclerotic Cardiovascular Disease) Risk Score is a percentage value that estimates an individual's 10-year risk of developing heart disease or stroke. The SDK returns a maximum value of 30, meaning that any result at this threshold represents a high ASCVD risk, including cases where the actual risk may be greater.
The User Information is required to calculate the ASCVD Risk result. If any details are missing from the User Information, the ASCVD Risk will not be calculated. For more information on User Information, see the User Information page.
This indicator is supported for face measurements on iPhones.
The application can receive the ASCVD Risk result by implementing VitalSignsListener:
Swift
func onFinalResults(results: VitalSignsResults) {
DispatchQueue.main.async {
if let ascvdRisk = results.getResult(of: VitalSignTypes.ascvdRisk) as? VitalSignASCVDRisk {
print("ASCVD Risk: \(ascvdRisk.value)")
}
}
}Objective-C
- (void)onFinalResultsWithResults:(BIOVitalSignsResults *)results {
dispatch_async(dispatch_get_main_queue(), ^{
BIOVitalSignASCVDRisk *ascvdRisk = (BIOVitalSignASCVDRisk *)[results getResultOf:BIOVitalSignTypes.ascvdRisk];
if (ascvdRisk != nil) {
NSLog(@"ASCVD Risk: %f", ascvdRisk.value);
}
});
}For general information about vital signs see the Vital Signs and Health Indicators Information Document.
For a list of supported vital signs per platform and measurement mode (face/polar) see the Supported Vital Signs Document.
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.