Coccidioidomycosis can be diagnosed by a blood test that detects antibodies to the Coccidioides fungus. In some cases, a culture or biopsy of infected tissue may also be necessary to confirm the diagnosis.