Chest computed tomography performed after the patient coughed up blood showed a suspected blood clot in the left upper lobe bronchus, secretions in both lower bronchi and the left upper lobe bronchus, as well as multiple centrilobular nodules and patchy consolidation in both lungs.