That is a good point, but on second thought, this seems to add a lot of expense and effort. The elderly would need a combination of the special pill, the patch, the phone, and the app. On top of that, doctors (who tend to already be busy) would start getting alerts.
The doctors (or someone in their offices) would probably need to contact someone to help the forgetful patient, especially if the meds affect cognitive ability. I’ve seen many cases where a reminder to the patient is not enough. A patient taking multiple medications can confuse them. Also, pills get dropped, lost, or are not taken as directed (with or without food, etc.).