San Antonio police arrested a woman who allegedly wrote fraudulent prescriptions to nonexistent patients.

Vanessa Hernandez, 28, was taken into custody Wednesday on suspicion of obtaining drugs by fraud, according to jail records.

In August, police were called by a doctor who said she was notified of a fraudulent prescription made in her name, according to the affidavit. Soon after, the doctor quickly discovered 20 other fraudulent prescriptions for Alprazolam, commonly sold under the brand name Xanax.

As they reviewed the prescription-writing software they use, the employees discovered that Hernandez had logged into the system several times, and those logins matched the time the prescriptions were written, the affidavit says.

Hernandez would write the prescriptions for a patient named Maria Hernandez, according to the affidavit. The doctor told police that Maria Hernandez is not one of her patients.