Doctor, Can You Prescribe Me An App?

Has anyone ever had an app prescribed to them? Or met with a doctor who even considered it?