Inclusion Criteria:  Age greater than or equal to 18 years. Visit ED for a DRP caused bu a drug of the ATC groups A, B, C or N. Be independent for activities of daily living (equivalent to Barthel 100). Have a Chalson Comorbidity Index 2 <= 3. Not present cognitive impairment. Be directly responsible for pharmacotherapy. Have a mobile device compatible with the MyPlan mobile application and access to Wi-Fi or mobile data, enabling the use of the technology platform from home.  Exclusion Criteria:  Important language barrier. Impossibility of carrying out the necessary questionnaires or interviews defined in the methods of this study. Mental pathology that makes the autonomous use of technology impossible or that represents a safety problem for the patient according to clinical criteria. Patients not residing in the territory who cannot be followed-up later.