CLINFARM: SUPPORT SYSTEM FOR IDENTIFYING PROBLEMS RELATED TO MEDICATIONS IN DRUGSTORES
Pharmacotherapeutic monitoring; Drug-related problems; Drugstores; Health innovation; Clinical software.
Low adherence to medication regimens among patients with chronic diseases represents a serious public health issue, frequently associated with the occurrence of Medication-Related Problems (MRPs). Although pharmacotherapeutic monitoring is recognized as an effective strategy for identifying and resolving these problems, its implementation in community pharmacies still faces structural and operational limitations—notably, a lack of specific clinical digital tools to support the systematic recording, analysis, and longitudinal monitoring of pharmacotherapy. Against this backdrop, this dissertation aimed to develop Clinfarm, a technological solution resulting from a scientific-entrepreneurial research effort. Conceived as a specialized web application for pharmacotherapeutic monitoring, it focuses on optimizing the identification and resolution of MRPs. To achieve this, an applied methodological approach involving incremental and iterative development was adopted. The process combined principles of Design Thinking—to understand user needs—with the Rational Unified Process (RUP), a structured software engineering model based on phases and iterations. The architecture was designed using the hexagonal pattern (ports and adapters) and structured into microservices to ensure modularity, scalability, and maintainability. The system was implemented as a web application with integrated clinical functionalities, including structured encounter logging, the definition of monitoring parameters, automated alerts for potential MRPs, and organized clinical data analysis. The proposal was validated through an exploratory approach involving semi-structured interviews with community pharmacists; the goal was to assess how well the solution met clinical practice needs and to evaluate the tool's perceived utility within the context of pharmacotherapeutic monitoring. The results indicate that Clinfarm—as a technological solution derived from applied research—provides significant support for pharmacists' clinical practice, contributing to better-organized care, enhanced patient safety, and the potential to strengthen treatment adherence. It is concluded that the system contributes to bridging a technological gap in drugstores, with a potential positive impact on the quality of care and public health.