This Patient Management System is build to manage patient queues in a hospital. The system allows for adding new patients, processing the next patient, updating patient priority, and displaying all patients in the queue.
- Add New Patients: Input patient details including name, gender, SSN, date of birth, and a task (e.g., surgery, X-ray scan)
- Process Patients: Processes patients based on their priority and arrival time.
- Update Patient Priority: Change a patient's priority, which automatically updates their assigned task.
- Display All Patients: View all patients currently in the queue with details including name, gender, Date Of Birth, SSN, task, priority, and the timestamp of when they were added to the queue.
- Duplicate SSN Check: Ensures that no two patients have the same SSN in the system.
The main functions that is created to manage the system:
**void newPatient(PriorityQueue *pq)
**void processPatient(PriorityQueue *pq)
**void updatePatient(PriorityQueue *pq)
--Youness Aboukad "119691"-- --Wassim Assili "135954"--