Capnography monitors trigger high priority 'no breath' alarms when CO2 measurements do not exceed a given threshold over a specified time-period. False alarms occur when the underlying breathing pattern is stable, but the alarm is triggered when the CO2 value reduces even slightly below the threshold. True 'no breath' events can be falsely classified as breathing if waveform artifact causes an aberrant spike in CO2 values above the threshold. The aim of this study was to determine the accuracy of a deep learning approach to classifying segments of capnography waveforms as either 'breath' or 'no breath'. A post hoc secondary analysis of data from 9 North American sites included in the PRediction of Opioid-induced Respiratory Depression In Patients Monitored by capnoGraphY (PRODIGY) study was conducted. We used a convolutional neural network to classify 15 s capnography waveform segments drawn from a random sample of 400 participants. Loss was calculated over batches of 32 using the binary cross-entropy loss function with weights updated using the Adam optimizer. Internal-external validation was performed by iteratively fitting the model using data from all but one hospital and then assessing its performance in the remaining hospital. The labelled dataset consisted of 10,391 capnography waveform segments. The neural network's accuracy was 0.97, precision was 0.97 and recall was 0.96. Performance was consistent across hospitals in internal-external validation. The neural network could reduce false capnography alarms. Further research is needed to compare the frequency of alarms derived from the neural network with the standard approach.
Keywords: Capnography; Deep learning; Informatics; Machine learning; Neural networks.; Nursing; Opioids; Patient safety.
© 2023. The Author(s), under exclusive licence to Springer Nature B.V.