At the time of writing (July 2014), I am not aware of any actual apps that require a written prescription. There is software that is limited in testing and release to certain groups of people but as far as I know, there are none that explicitly require a prescription.
Video games have been used in an attempt to reduce pain.
My expectation is that a prescription video game is likely by 2018.