Portable pulmonary function analyzer. It includes a spirometer computer and gas analyzers. The system provides automatic calculations of inspiratory or expiratory volumes and flows, and gas distribution measurements. Portable or cart-mountable unit that can be wheeled anywhere in the hospital. Used as a screening system to determine baseline ventilatory function along with types and degrees of impairments to a patient's respiratory system.