CityCare Hospital operates with a legacy monolithic Hospital Management System (HMS) that handles various healthcare operations. The hospital administration has decided to migrate to a microservices architecture to improve scalability, maintainability, and performance. Your task is to analyze the monolithic system and propose a microservices-based architecture by identifying service boundaries.
The HMS is a single large application that includes the following functionalities:
- Patient Management: Registers patients, updates their information, and maintains medical history.
- Appointment Scheduling: Manages doctor appointments, availability, and patient scheduling.
- Doctor and Staff Management: Stores doctor and staff information, including credentials, schedules, and payroll.