RESUMEN
CONTEXT: Medical professionals and hospitals promote solutions like care pathways and Health Information Systems (HIS) to support medical conduct and improve the quality of medical care. PURPOSE: This study proposes MedPath: a Domain Specific Language (DSL) for modeling care pathways based on the paradigms of Model-Based Engineering (MBE) that can be integrated into software solutions. PROCEDURES: We have developed MedPath's abstract syntax with the Eclipse Modeling Framework by employing Ecore technology and concrete syntax with the Eclipse Sirius. FINDINGS: We have modeled over 85 care pathways that are in use in 45 hospitals in Brazil. MedPath-originated pathways have been used over 3.2 million times since October 2017. We conducted a survey among the professionals who used MedPath to evaluate user satisfaction. CONCLUSIONS: We believe MedPath can translate any care pathway into an action flow with its current abstractions. MedPath makes care pathways more easily integrated into HIS and electronic patient records, as it enables programmatic modeling and generates consumable artifacts.