No, a hemoglobin test cannot diagnose all types of anemia. Additional tests may be necessary to determine the cause of anemia, such as a complete blood count (CBC),iron studies, or a bone marrow biopsy.