# test **Repository Path**: man_13/test ## Basic Information - **Project Name**: test - **Description**: testbiugviugv - **Primary Language**: Unknown - **License**: MulanPSL-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2026-06-10 - **Last Updated**: 2026-06-11 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # JD Health Emergency Triage Priority Queue System ## 📋 Project Overview NIIT C Programming & Data Structures — Case Study 1 A hospital emergency triage simulation system using: - **Min Heap** — Priority queue for severity-based patient processing - **Linked List** — Complete patient registry and record management ## ✨ Features | Feature | Status | |---------|--------| | Admit new patients with severity level | ✅ | | Min Heap priority queue (highest severity first) | ✅ | | Treat highest-priority patient | ✅ | | Update severity (auto heap rearrangement) | ✅ | | Search by Patient ID or Name | ✅ | | Display all registered patients | ✅ | | Doctor assignment | ✅ | | Patient history tracking | ✅ | | Emergency alert for critical patients | ✅ | | File persistence (save/load) | ✅ | ## 🔧 Build & Run ### Prerequisites - GCC compiler (MinGW on Windows, or system GCC on Linux/macOS) ### Build ```bash make ``` ### Run ```bash make run # or ./triage_system ``` ### Clean ```bash make clean ``` ## 🏥 Severity Scale | Severity | Label | Priority | |:--------:|-------|:--------:| | 1 | Critical | Highest | | 2-3 | Emergency | High | | 4-6 | Urgent | Medium | | 7-10 | Non-Urgent | Low | ## 📁 Project Structure ``` ├── src/ │ ├── main.c # Main menu and program flow │ ├── patient.h/.c # Patient data structure and operations │ ├── minheap.h/.c # Min Heap priority queue │ ├── linkedlist.h/.c # Linked List patient registry │ └── filehandler.h/.c# File persistence (save/load) ├── Makefile └── README.md ``` ## 📦 Data Files (auto-generated) - `patients.dat` — Patient records in pipe-delimited format - `counter.dat` — Auto-increment ID counter