In people who are coughing up blood, testing focuses on determining the rate of bleeding and any risk to breathing. The cause for hemoptysis must then be identified. Tests for coughing up blood include:
- History and physical examination. By talking to and examining someone who is coughing up blood, a doctor gathers clues that help identify the cause.
- Chest X-ray. This test may show a mass in the chest, areas of fluid or congestion in the lungs, or be completely normal.
- Computed tomography (CT scan). By producing detailed images of structures in the chest, a CT scan can reveal some causes for coughing up blood.
- Bronchoscopy. A doctor advances an endoscope (flexible tube with a camera on its end) through the nose or mouth into the windpipe and airways. Using bronchoscopy, a doctor may be able to identify the cause of hemoptysis.
- Complete blood count (CBC). A test of the number of white and red blood cells in the blood, along with platelets (cells that help blood clot).
- Urinalysis. Certain causes of hemoptysis also result in abnormalities on this simple urine test.
- Blood chemistry profile. This test measures electrolytes and kidney function, which may be abnormal in some causes of hemoptysis.
- Coagulation tests. Alterations in blood’s ability to clot can contribute to bleeding and coughing up blood.
- Arterial blood gas. A test of the levels of oxygen and carbon dioxide in the blood. Oxygen levels can be low in people coughing up blood.
- Pulse oximetry. A probe (usually on a finger) tests the level of oxygen in the blood.
For people who are coughing up blood, treatments aim to stop the bleeding, as well as treat the underlying cause of hemoptysis. Treatments for coughing up blood include:
- Bronchial artery embolization. A doctor advances a catheter through the leg into an artery supplying blood to the lungs. By injecting dye and viewing the arteries on a video screen, the doctor identifies the source of bleeding. That artery is then blocked, using metal coils or another substance. Bleeding usually stops, and other arteries compensate for the newly blocked artery.
- Bronchoscopy. Tools on the end of the endoscope can be used to treat some causes of coughing up blood. For example, a balloon inflated inside the airway may help stop bleeding.
- Surgery. Coughing up blood, if severe and life-threatening, may require surgery to remove a lung (pneumonectomy).
Treatments for hemoptysis should also address the underlying reason for coughing up blood. Other treatments for people coughing blood may include:
- Antibiotics for pneumonia or tuberculosis
- Chemotherapy and/or radiation for lung cancer
- Steroids for inflammatory conditions
People with excessively thin blood because of medication use may require transfusion of blood products or other medications to curb blood loss.