An Ulster County doctor who sold painkillers for profit was sentenced Thursday to home detention and will lose his medical license, officials said.

Dr. Wayne Longmore, 63, of Woodstock, was sentenced to six months home detention, and was ordered to forfeit his New York State medical license as well as his federal license to issue narcotics, as well as to pay back $200,000 in drug-trafficking proceeds, U.S. Attorney for the Northern District Richard S. Hartunian said Friday.

Under the sentence issued by U.S. District Judge Lawrence E. Kahn, Longmore must complete three years probation and perform 200 hours of community service, officials said. He pleaded guilty Oct. 17 in U.S. District Court in Albany to federal felony narcotics-trafficking charges.

Between Nov. 3, 2011, and March 21, 2012, Longmore illegally wrote prescriptions for a one-week supply of the painkiller hydrocodone, also known by the brand name Vicodin, in exchange for cash payments of $60, officials said. He wrote the prescriptions on patients' first visits and without conducting a thorough physical exam or researching the patients' medical histories to verify the claimed illness, officials said.

Longmore admitted to issuing prescriptions for between 2,500 and 5,000 units of hydrocodone, officials said. The FBI, U.S. Drug Enforcement Administration, and the state Health Department investigated.

advertisement | advertise on newsday

He was formerly the assistant director of emergency medicine at Kingston Hospital and also formerly practiced at Bellevue Hospital Center in New York City, his attorney, David Gruenberg of Troy, told Newsday.

"I'm pleased the judge didn't sentence him to jail," Gruenberg said. "I don't believe that would have been appropriate.

"We presented letters to the judge from some of Dr. Longmore's former patients who spoke of how he had shown them kindness and compassion and had treated them well over the years," Gruenberg said, "even under circumstances in which they were not able to pay."

advertisement | advertise on newsday

Longmore briefly surrendered his medical license in the mid-2000s over mental health issues but it was later restored, Gruenberg said.