Automated continuous analysis of ultrasound data is provided to determine occurrence of pneumothorax in a patient. Specifically, A-mode ultrasound data is processed by a processing system to identify automatically if pneumothorax has occurred in a patient.