An open-source software for automatic calculation of respiratory parameters based on esophageal pressure

https://doi.org/10.1016/j.resp.2013.11.007Get rights and content

Highlights

  • We provide an open-source tool for the estimation of works of breathing and other physiological parameters of respiration.

  • We developed a technique for the identification of the beginning of inspiratory effort in esophageal pressure waveform.

  • We offer a user-friendly graphical user interface for expert verification of signals and results.

  • Our tool was validated in adults and pediatric patients presenting with various conditions.

  • The tool can easily be modified to include additional parameters and features.

Abstract

Purpose

We have developed a software that automatically calculates respiratory effort indices, including intrinsic end expiratory pressure (PEEPi) and esophageal pressure–time product (PTPeso).

Materials and methods

The software first identifies respiratory periods. Clean signals are averaged to provide a reference mean cycle from which respiratory parameters are extracted. The onset of the inspiratory effort is detected automatically by looking backward from the onset of inspiratory flow to the first point where the esophageal pressure derivative is equal to zero (inflection point). PEEPi is derived from this point. Twenty-three recordings from 16 patients were analyzed with the algorithm and compared with experts’ manual analysis of signals: 15 recordings were performed during spontaneous breathing, 1 during non-invasive mechanical ventilation, and 7 under both conditions.

Results

For all values, the coefficients of determinations (r2) exceeded 0.94 (p < 0.001). The bias (mean difference) between PEEPi calculated by hand and automatically was −0.26 ± 0.52 cm H2O during spontaneous breathing and the precisions (standard deviations of the differences) was 0.52 cm H2O with limits of agreement of 0.78 and −1.30 cm H2O. The mean difference between PTPeso calculated by hand and automatically was −0.38 ± 1.42 cm H2O s/cycle with limits of agreement of 2.46 and −3.22 cm H2O s/cycle.

Conclusions

Our program provides a reliable method for the automatic calculation of PEEPi and respiratory effort indices, which may facilitate the use of these variables in clinical practice. The software is open source and can be improved with the development and validation of new respiratory parameters.

Introduction

Recently, Brochard et al. (2012b) have suggested a list of respiratory parameters to be monitored in critically ill patients. In particular, assessments of respiratory effort in patients with respiratory failure are useful, and even more in patients requiring mechanical ventilation. The esophageal pressure time product (PTPeso) is considered as one of the most useful variables for quantifying respiratory muscle effort (Baydur et al., 1982b, Sassoon et al., 1991, Tobin and Laghi, 1998) and this variable has been broadly used in recent literature (Carr et al., 2012, Jubran, 1999, Man et al., 2012). PTPeso is calculated as the time integral of the difference between the oesophageal pressure (Peso) and the estimated recoil pressure of the chest wall during inspiration (Baydur et al., 1982a, Jubran, 1999).

However, this measurement requires the determination of the onset of the inspiratory effort and the estimation of the intrinsic positive end expiratory pressure (PEEPi) to determine the precise onset of inspiration to the chest wall relaxation line (Baydur et al., 1982a, Chu and Han, 2008, Sassoon et al., 1991). Few commercially available systems for monitoring these indices are available and it is unknown if these systems are able to adequately estimate PEEPi (Baydur et al., 1982a, Sassoon et al., 1991, Tobin and Laghi, 1998).

We have developed a MATLAB-based standalone program, which is designed to automatically detect the onset of the inspiratory effort and calculate the inspiratory effort indices taking into account PEEPi (Tobin and Laghi, 1998).

The aim of our study was to validate this program by comparing automated versus manual (expert) calculation of PEEPi and PTPeso on different patients’ recordings in order to allow an online access of the validated software. The software and its documentation are published online (http://code.google.com/p/respmat/), where source code is available and can easily be improved with the development and validation of new respiratory parameters.

Section snippets

Patients

We used data previously recorded from different studies at Raymond Poincaré hospital on adult patients with neuromuscular diseases and at Trousseau hospital on pediatric patients with neuromuscular diseases, cystic fibrosis and obstructive sleep apnea. Studies were all approved by Institutional Review Board (IRB, Saint Antoine Faculty and Île de France Saint Germain en Laye: NCT01113255) and written informed consent had been obtained from all patients and his/her parents when applicable. Among

Results

The population studied is described in Table 1.

For each recording, differences between the two measurement methods were found to be less than 1% for Ti, Ttot and VT. As expected, there was a significant positive correlation between PEEPi calculated by hand and automatically (r2 = +0.931, p < 0.001). The left panel of Fig. 3 shows the Bland and Altman plot of the difference between PEEPi calculated by hand and automatically with a mean difference between of −0.26 ± 0.52 cm H2O with limits of agreement

Discussion

This study validates an automated method using filters to determine the onset of inspiratory effort and subsequently the PEEPi measurement and PTPeso calculation. The validation consisted in comparing manual versus automated calculation of these parameters during spontaneous breathing and NIMV in pediatric and adult patients with various diseases.

Although our program was able to calculate the WOB, we did not compare this parameter against its manual calculation because validation of PTPeso will

Conclusion

We have developed an algorithm for analysis of flow and Peso recordings that automatically computes PTPeso, PEEPi in addition to several other respiratory parameters. This algorithm has been compared to manual analysis of these parameters and shows acceptable agreement with expert measurement. The software is made publicly available in an open-source platform with a graphical user interface, which hopefully will ease the monitoring of lung function in critically ill patients. In addition to

References (19)

There are more references available in the full text version of this article.

Cited by (11)

View all citing articles on Scopus
View full text