Hello there! 👋 This project is a C-based system designed to help manage various aspects of a hospital, including patient records, doctor schedules, and reporting.
It was developed as part of coursework at the British Columbia Institute of Technology.
This system includes functionalities for:
- Patient Management: Adding new patients, updating patient information, searching for patients, and managing patient discharge.
- Doctor Scheduling: Managing doctor availability and schedules.
- Data Persistence: Patient and schedule data are stored in
.datfiles (patients.dat,schedule.dat, etc.). - Reporting: Generating various reports, such as:
- Room Usage (
room_usage.txt) - Doctor Utilization (
doctor_utilization_report.txt) - Discharged Patient Summaries (
discharged_reports.txt) - Active Patient Reports (
patient_reports.txt)
- Room Usage (
This project uses CMake. To build and run it:
- Ensure CMake is installed.
- Create a build directory:
mkdir build && cd build - Run CMake:
cmake .. - Build the project:
cmake --build .(or usemakeif that's your generator) - Run the executable: The executable (likely named
hospitalor similar based onCMakeLists.txt) will be in the build directory or a subdirectory likecmake-build-debug.
# Example commands
mkdir build
cd build
cmake ..
cmake --build .
./hospital # Or the correct executable nameThis project was created for the Procedural Programming (COMP 2510) course at the British Columbia Institute of Technology (BCIT).
Special thanks to the instructor, Ayesha Anzer, for their guidance and support.
This project is licensed under the MIT License. See the LICENSE file for details.
Happy coding! 💻