The app is surely all that is needed and should be configured by the doctor / pharmacist not the user.
Typically you go to the doctor, they write something totally illegible on a bit of paper, you take that to the pharmacy, they print a label you can read on a box of the pills you need to take.
Alternatively whilst the doc is typing out what he just wrote into your medical notes, he could update your phones app and the app can then buzz (or whatever) to say it's time to take your pills. This also reduces the risk of the end user not setting their alarms to remind themselves of what they need to take.
Honestly you'd think whoever came up with this was some kind of e-ink manufacturer trying to find a reason to be relevant.