PatientManager is a robust application for managing patient care in a sanatorium. It allows users to register patients, discharge them, prescribe medications, and schedule procedures. The system supports role-based access, ensuring secure interactions, and includes a pharmacy module to efficiently track medication inventory.
-
Patient Management
- Register new patients in the sanatorium.
- Discharge patients when treatment is complete.
- Maintain detailed patient records, including personal details and medical history.
-
Treatment Management
- Prescribe medications tailored to individual patient needs.
- Schedule and manage medical procedures efficiently.
-
Role-Based Access Control
- Multiple user roles (e.g., doctors, nurses, and administrators) interact with patients in specific ways.
- Role-specific permissions ensure secure and structured access to the system.
-
Pharmacy Module
- Dedicated pharmacy management to track medication inventory.
- Automatically updates stock levels after prescriptions.
-
Database Migration
- Integrated with Flyway for seamless and versioned database migrations.
- Backend: Spring Boot
- Database: PostgreSQL
- Security: Spring Security for secure authentication and role-based access control
- Database Migration Tool: Flyway
- Clone the repository:
git clone https://github.com/YourUsername/PatientManager.git
- Set up the environment variables for database connection and security configuration.
- Apply database migrations using Flyway:
./mvnw flyway:migrate
- Run the application:
./mvnw spring-boot:run
- Access the application at
http://localhost:8080. (Only ADMIN can register new users)