Search code examples
healthkitwatchos

Is it possible to build default ECG like app in WatchOS?


Native ECG App in Apple Watch shows real time ecg as timeseries graph. Is there any possible function to achive same things on ECG or PPG signal as real-time timeseries data?

As far as I found, the HealthKit libraries only supports 'calculated' numbers of HR, HRV indices... etc.


Solution

  • You can't get real-time data when user is taking an ECG. However, you can see time series data for an ECG that was taken by the user and saved in HealthKit. See the HKElectrocardiogram data type and HKElectrocardiogramQuery to access the voltage measurements of the ECG sample.