AUTOMATED PATIENT QUERY FOR USE IN PULMONARY MEDICINE by