Health tech companies are making a big push to digitize medicine, introducing novel tools like digital pills that track when patients take their drugs and smart spoons that can automatically adjust to hand tremors.

Now they want some patients to get prescription treatments from the app store as well.

Later this year, doctors treating patients addicted to substances like cocaine and amphetamines will be able to prescribe Reset, an app that gives patients lessons to help them modify their behavior. The Food and Drug Administration cleared it in September as the first mobile medical app to help treat substance-use disorders.

“It’s all the things you would traditionally associate with a pill or any other medication,” said Dr. Corey McCann, the chief executive of Pear Therapeutics, the start-up behind Reset. “But it just so happens to be a piece of software.”