This GitHub repository contains a Python implementation of a Hospital Information System, designed to manage patient and doctor records, appointments, hospitalizations, and reporting. The system is built using object-oriented programming principles and leverages Pandas for data manipulation, and Excel files for persistent data storage.
- Patient registration.
- Doctor registration.
- Admission of patients to specific departments.
- Generation of patient reports with hospitalization costs.
- Patient discharge from a specific department.
- Search for patients and doctors based on ID.
- Requires
Pandas
for data manipulation. - Integrates with
Patient
andDoctor
classes for managing individual records. - Utilizes
MedicalDepartment
class for handling medical department operations.
- Represents a medical department with attributes such as name, cost per appointment, and an appointments file.
- Manages hospitalization of patients, appointment reservations, and cost calculation.
- Requires
Pandas
for data manipulation. - Utilizes
datetime
for timestamping appointments. - Inherits from
ABC
for abstract methods and adheres to an interface defined in thePerson
class.
- Represents a patient with attributes inherited from the
Person
class. - Displays patient information.
- Inherits from the abstract
Person
class.
- Represents a doctor with attributes inherited from the
Person
class. - Displays doctor information.
- Inherits from the abstract
Person
class.
- Abstract class defining common attributes for patients and doctors.
- Provides an abstract method for displaying information.
- Inherits from
ABC
for abstract methods. - Utilizes
datetime
for timestamping.
- Handles user interaction and menu-driven execution of the hospital system.
- Utilizes the
Hospital
class for managing patient and doctor functionalities. - Allows users to choose between patient and doctor operations or exit the system.
- Run the
main.py
script to initiate the Hospital Information System. - Choose between patient and doctor operations or exit the system using the provided menu.
Ensure that the necessary dependencies (Pandas
, datetime
) are installed before running the system.
Arman Kianian