This study will be a single site prospective randomized controlled study of all pediatric patients (age ≤17 years old) requiring a chest tube placed for spontaneous pneumothorax or pulmonary resection by a pediatric surgery fellow, faculty or general surgery faculty at The Children's Hospital at OU Health. Pediatric patients who meet inclusion criteria will be identified by pediatric surgery residents, fellows or staff. Upon receiving consent prior to chest tube placement, patients will be randomized to using either the digital (Thopaz+) or analog (Pleur-evac) drainage system. This is an investigator-initiated study. The investigators have designed and will conduct the study and keep the data. The company producing the digital or analog devices will not assist with the study design, conduct, data acquisition or monitoring, analysis or writing of the manuscript or abstracts. Patients will be followed while inpatient to determine duration of the chest tube drainage in days and hours, length of stay in days and time to first ambulation in days and hours. Time will start upon connecting the chest tube to the pre-determined drainage system. Additional data will be collected regarding when the patient was able to progress to water seal, therapeutic failure (defined as the need to replace chest tube after it was removed or placing an additional chest tube), complications (such as pneumonia), time to ambulation (in patients who were previously ambulating), number of chest x-rays, duration of the tube and presence of an air leak. An air leak will be defined as any bubbling in the water chamber of the analog device. Similarly, an air leak in the digital system will be defined as an air leak flow ≥10 ml/min. Accrual will continue until there are at least 12 patients in each arm of the study at which point interim analysis will be performed. Accrual will continue until an adequate sample size is obtained to power the study for both duration of chest tube and length of stay (N=70 per arm).

Stratified randomization will occur via permuted block with 2 strata (pulmonary resection or spontaneous pneumothorax) and a block size of 4. Randomization will be assigned via sealed envelopes designated as either pneumothorax or resection which when open will contain the group that the patient will be assigned to. Within the envelope there will be an assignment of group 1 (analog system) or group 2 (digital system). The sealed envelopes will be opened by the resident, fellow or faculty member after obtaining consent but before the chest tube is placed. Due to the nature of the device, the study will be unblinded for both the patient and investigators. The study will be analyzed via intention to treat. Sample size was calculated to detect a difference in duration of chest tube placement based on prior data (standard deviation=2.86). Based on 80% statistical power with an alpha=0.05, a sample size of 24 patients (12 patients in each arm) was determined.

Research will be conducted at The Children's Hospital at OU Health. Consenting will occur in clinic or at The Children's Hospital. Interventions will occur at The Children's Hospital (i.e. emergency department, inpatient rooms, neonatal or pediatric intensive care units etc). Individual research results will not be disclosed to participants. Identifiers might be removed and the de-identified information may be used for future research without additional informed consent from the subject.