Wagers would write the prescriptions in Peters' name and she would fill them and bring him back the pills, officials said.

Court documents outline that Wagers would forge the name of another doctor at the practice who called police with nine forged prescriptions that he had been notified of by WellSpan Pharmacy.

Six of those prescriptions had been picked up by Wagers, two by Peters and another was not filled, according to court documents.

Wagers would also use scripts stolen from a previous employer to write and fill prescriptions for hydrocodone, the news release states.

Detectives met with numerous pharmacies that had fraudulent prescriptions filled by Wagers: Palmyra Pharmacy in Lebanon County showed 17 prescriptions alleged to be written by Dr. Shan Lin and filled by Wagers, documents state. A CVS Pharmacy in Dauphin County showed 20 prescriptions since 2011, many of those allegedly written by Lin, according to court documents.

Lin denied that Wagers was a patient, police said.

Wagers told detectives he fell several years ago while working at Progressive Vision Institute and his doctor prescribed him hydrocodone, according to the documents.

After three months of being on the medication, when Wagers' doctor started to lower the dosage, Wagers began writing the fraudulent prescriptions, police said.

He said he switched to oxycodone because the acetaminophen in hydrocodone can damage the liver, according to court documents.

Wagers had a registration to prescribe Schedule III, IV and V controlled substances but not Schedule II, which oxycodone is, officials said.

Wagers and Peters were arraigned by District Judge Scott Laird. Peters was released on $5,000 unsecured bail and Wagers was released on $7,500 unsecured bail.

Wagers, of Old Farm Road in Palmyra, is charged with two counts of possession of a controlled substance by fraud, one count of prescribing a controlled substance not in accordance with treatment principals, one count of criminal conspiracy and one count of failure to keep records of distribution of controlled substances.

Peters, 29, of Wellsville, is charged with one count of possession of a controlled substance by fraud and one count of criminal conspiracy.