The healthcare provider will order tests such as:  X-ray CT scan Blood tests   Sputum test. Sputum, or phlegm, is a sticky, coughed substance.