Diagnosis of cocaine abuse begins with a medical history and physical exam. Blood or urine tests can confirm cocaine use.