This paper presents the development of software designed to optimize shift scheduling for healthcare professionals in hospitals and rehabilitation centers, with a focus on stroke rehabilitation. The proposed optimization is crucial to addressing the shortage of specialized professionals and the increasing demand for this type of care. Additionally, staffing costs represent a substantial share of operational costs in the healthcare sector. In this way, this study proposes integrating Operations Research techniques with quantitative patient assessments, using technologies such as assistive robotics and serious games. The developed software optimizes shift schedules to meet the specific needs of patients and minimize operational costs, incorporating functional assessment data such as Fugl-Meyer and Motor Activity Log scores, as well as quantitative scores collected by robotic equipment. The methodology also accounts for Brazilian labor laws, including mandatory breaks during shifts, overtime hours, and night shift allowances. The results demonstrate that optimization can improve resource allocation, ensuring personalized care for each patient while minimizing operational costs. Thus, implementing this software in healthcare facilities represents a significant opportunity to modernize resource management and enhance clinical outcomes, providing a robust tool for strategic decision-making in hospital administration.