Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/armanx200/hospital_system
Hospital Information System
https://github.com/armanx200/hospital_system
arman-kianian github popular popular-repositories project python trending-repositories trending-topics trends
Last synced: 10 days ago
JSON representation
Hospital Information System
- Host: GitHub
- URL: https://github.com/armanx200/hospital_system
- Owner: Armanx200
- Created: 2024-02-02T21:05:47.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-04-24T16:50:35.000Z (9 months ago)
- Last Synced: 2024-11-24T09:16:37.110Z (2 months ago)
- Topics: arman-kianian, github, popular, popular-repositories, project, python, trending-repositories, trending-topics, trends
- Language: Python
- Homepage: https://github.com/Armanx200
- Size: 31.3 KB
- Stars: 7
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Hospital Information System
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.
## Key Components
### 1. Hospital Class (`Hospital.py`)
#### Functionality
- 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.#### Dependencies
- Requires `Pandas` for data manipulation.
- Integrates with `Patient` and `Doctor` classes for managing individual records.
- Utilizes `MedicalDepartment` class for handling medical department operations.### 2. MedicalDepartment Class (`MedicalDepartment.py`)
#### Functionality
- 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.#### Dependencies
- Requires `Pandas` for data manipulation.
- Utilizes `datetime` for timestamping appointments.
- Inherits from `ABC` for abstract methods and adheres to an interface defined in the `Person` class.### 3. Patient Class (`Patient.py`)
#### Functionality
- Represents a patient with attributes inherited from the `Person` class.
- Displays patient information.#### Dependencies
- Inherits from the abstract `Person` class.### 4. Doctor Class (`Doctor.py`)
#### Functionality
- Represents a doctor with attributes inherited from the `Person` class.
- Displays doctor information.#### Dependencies
- Inherits from the abstract `Person` class.### 5. Person Class (`Person.py`)
#### Functionality
- Abstract class defining common attributes for patients and doctors.
- Provides an abstract method for displaying information.#### Dependencies
- Inherits from `ABC` for abstract methods.
- Utilizes `datetime` for timestamping.### 6. Main Execution Script (`main.py`)
#### Functionality
- 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.## Usage Instructions
1. Run the `main.py` script to initiate the Hospital Information System.
2. Choose between patient and doctor operations or exit the system using the provided menu.## Note
Ensure that the necessary dependencies (`Pandas`, `datetime`) are installed before running the system.
Arman Kianian