Diagnosis typically involves a complete blood count (CBC) test, which measures the levels of red blood cells, white blood cells, and platelets. Additional tests may include bone marrow biopsy and peripheral blood smears to determine the underlying cause.