{"id":21398847,"url":"https://github.com/mo7ammedd/hospital-system","last_synced_at":"2025-04-16T01:46:59.553Z","repository":{"id":161238788,"uuid":"635966771","full_name":"Mo7ammedd/Hospital-system","owner":"Mo7ammedd","description":"Hospital Management System is a console-based C++ application that helps manage patient and doctor","archived":false,"fork":false,"pushed_at":"2023-09-05T00:46:06.000Z","size":5703,"stargazers_count":8,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-29T03:41:27.988Z","etag":null,"topics":["cpp","filesystem","mangement-system"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Mo7ammedd.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-05-03T20:59:50.000Z","updated_at":"2024-09-03T13:07:45.000Z","dependencies_parsed_at":"2024-11-22T15:10:46.986Z","dependency_job_id":"e786fbe3-6720-488a-b707-1269caf6d380","html_url":"https://github.com/Mo7ammedd/Hospital-system","commit_stats":null,"previous_names":["mohammed-mostafa-nazih-elsayed/hospital-system","mo7ammedd/hospital-system"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mo7ammedd%2FHospital-system","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mo7ammedd%2FHospital-system/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mo7ammedd%2FHospital-system/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mo7ammedd%2FHospital-system/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Mo7ammedd","download_url":"https://codeload.github.com/Mo7ammedd/Hospital-system/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249182966,"owners_count":21226123,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cpp","filesystem","mangement-system"],"created_at":"2024-11-22T15:10:45.122Z","updated_at":"2025-04-16T01:46:59.537Z","avatar_url":"https://github.com/Mo7ammedd.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Hospital Management System\n\nThe Hospital Management System is a console-based C++ application that helps manage patient and doctor information in a hospital. It allows users to add, read, search, update, and delete records for patients and doctors. The application uses file handling to store and retrieve data from text files.\n\n## How to use the application\n\n1. When you run the program, you will be presented with a main menu with the following options:\n   ```\n   +----------------------------+\n   + HOSPITAL MANAGEMENT SYSTEM +\n   +----------------------------+\n   [1]-Enter Patients Department\n   [2]-Enter Doctors Department\n   [3]-Exit\n   ```\n\n2. Choose the desired option by entering the corresponding number.\n\n### Enter Patients Department\n\nIf you choose option 1, you will be directed to the Patients Department section. In this section, you can perform the following actions:\n\n1. Write Patient Record: Add patient information and save it to the \"Patient.txt\" file.\n2. Read Patient Records: Display the patient information stored in the \"Patient.txt\" file.\n3. Search for a Patient Record: Search for a patient by last name or ID.\n4. Update a Patient Record: Modify the information of a specific patient.\n5. Delete a Patient Record: Remove a patient's information from the records.\n\n### Enter Doctors Department\n\nIf you choose option 2, you will be directed to the Doctors Department section. In this section, you can perform the following actions:\n\n1. Write Doctor Record: Add doctor information and save it to the \"Doctor.txt\" file.\n2. Read Doctor Records: Display the doctor information stored in the \"Doctor.txt\" file.\n3. Search for a Doctor Record: Search for a doctor by last name or ID.\n4. Update a Doctor Record: Modify the information of a specific doctor.\n5. Delete a Doctor Record: Remove a doctor's information from the records.\n\n### Exit\n\nIf you choose option 3, the program will terminate, and the application will close.\n\n## Important Notes\n\n- Patient and doctor information is stored in separate text files: \"Patient.txt\" and \"Doctor.txt\".\n- When searching for a patient or doctor, you can use their last name or ID to find the record.\n- The application provides basic data validation for blood group entry to ensure it is a valid blood group type.\n\n## How to Compile and Run\n\nEnsure you have a C++ compiler (e.g., GCC) installed on your system.\n\n1. Save the provided C++ code in a file named \"hospital_management_system.cpp\".\n2. Open a terminal or command prompt and navigate to the directory containing the file.\n3. Compile the code using the C++ compiler. For example, with GCC:\n   ```\n   g++ hospital_management_system.cpp -o hospital_management_system\n   ```\n4. Run the compiled program:\n   ```\n   ./hospital_management_system\n   ```\n\nNow you can interact with the Hospital Management System application and manage patient and doctor records.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmo7ammedd%2Fhospital-system","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmo7ammedd%2Fhospital-system","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmo7ammedd%2Fhospital-system/lists"}