z-logo
open-access-imgOpen Access
A Rest Quality Metric Using a Cluster-Based Analysis of Accelerometer Data and Correlation With Digital Medicine Ingestion Data: Algorithm Development
Author(s) -
Zahra Heidary,
Jeffrey M. Cochran,
Timothy Peters-Strickland,
Jonathan Knights
Publication year - 2021
Publication title -
jmir formative research
Language(s) - English
Resource type - Journals
ISSN - 2561-326X
DOI - 10.2196/17993
Subject(s) - rest (music) , metric (unit) , ingestion , outlier , medicine , accelerometer , population , computer science , algorithm , artificial intelligence , environmental health , operations management , economics , operating system
Background Adherence to medication regimens and patient rest are two important factors in the well-being of patients with serious mental illness. Both of these behaviors are traditionally difficult to record objectively in unsupervised populations. Objective A digital medicine system that provides objective time-stamped medication ingestion records was used by patients with serious mental illness. Accelerometer data from the digital medicine system was used to assess rest quality and thus allow for investigation into correlations between rest and medication ingestion. Methods Longest daily rest periods were identified and then evaluated using a k-means clustering algorithm and distance metric to quantify the relative quality of patient rest during these periods. This accelerometer-derived quality-of-rest metric, along with other accepted metrics of rest quality, such as duration and start time of the longest rest periods, was compared to the objective medication ingestion records. Overall medication adherence classification based on rest features was not performed due to a lack of patients with poor adherence in the sample population. Results Explorations of the relationship between these rest metrics and ingestion did seem to indicate that patients with poor adherence experienced relatively low quality of rest; however, patients with better adherence did not necessarily exhibit consistent rest quality. This sample did not contain sufficient patients with poor adherence to draw more robust correlations between rest quality and ingestion behavior. The correlation of temporal outliers in these rest metrics with daily outliers in ingestion time was also explored. Conclusions This result demonstrates the ability of digital medicine systems to quantify patient rest quality, providing a framework for further work to expand the participant population, compare these rest metrics to gold-standard sleep measurements, and correlate these digital medicine biomarkers with objective medication ingestion data.

The content you want is available to Zendy users.

Already have an account? Click here to sign in.
Having issues? You can contact us here