Hospital Management System

Terminal-Based Integrated Hospital Management System in C

Systems Programming | Hospital Operations Simulation

2 Technologies·3 Key Features·2024·low complexity

Overview

A terminal-based integrated hospital management system implemented in C, designed to simulate and manage core hospital operations: patient registration, doctor handling, appointment and service workflows, billing, and record storage. Features a dual-layer design: synthetic data generator for scale testing + hospital management core.

Key Features

Hospital Operations Core

Patient CRUD, admit/discharge, service tracking, billing, file-based persistence.

Synthetic Data Generator

Automated generation of large, realistic patient datasets for scale testing.

Admin Console UI

Lightweight CLI menu system with deterministic execution flow.

Technology Stack

Algorithms & Methods

Data Generation

Randomized patient attribute generation using bounded random distributions.

Record Management

Struct-based storage with linear search, filtered scan, quicksort.

Constraint Validation

Duplicate ID prevention, appointment limits, billing rule compliance.

System Architecture

generate_data.c

Synthetic data factory: creates valid patient records

hospital_management.c

Core hospital engine: patient lifecycle, workflows, menu/UI, persistence

Results & Outcomes

  • Functional hospital operations engine with file persistence
  • Scale-test framework via synthetic data generator
  • Zero external dependencies; fully portable C implementation

Related Projects