Given the age of the patient a primary lung cancer is unlikely. The hemoptysis (coughing up blood in the sputum) and the rest of the history suggest the patient has a lung infection. Given the chest radiographic findings of a cavity in the apex of the lung, a diagnosis of tuberculosis (TB) was made. This was confirmed by bronchoscopy and aspiration of pus, which was cultured.