How rizwan-ahmed-92/hospital-management-system works
This repository is a PostgreSQL hospital-management database. Its documented domain spans patient and doctor records, appointments, admissions and beds, medical records, and billing; views support simplified querying, while indexes and triggers enforce or automate selected rules. The README documents the domain relationships and database capabilities, but no SQL excerpts were provided, so the graph omits unverified table-level calls and data flow.
Main entry points: schema.sql Admissions and beds · indexes.sql Integrity indexes · views Query views · triggers.sql Bed automation
Components 10
Care Operations
- Patients and doctors
database/schema.sql - Appointments
database/schema.sql - Admissions and beds
database/schema.sql - Doctor specializations
database/schema.sql
Clinical and Finance
- Prescriptions and labs
database/schema.sql - Billing and insurance
database/schema.sql
Database Support
- Query views
views - Integrity indexes
database/indexes.sql - Bed automation
database/triggers.sql
Other components
- Hospital user
Connections 8
- Patients and doctors → Appointments: relates to
README.md - Patients and doctors → Admissions and beds: has admissions
README.md - Patients and doctors → Doctor specializations: doctor mapping
README.md - Admissions and beds → Appointments: doctor scheduling
README.md - Hospital user → Query views: queries
README.md - Admissions and beds → Bed automation: releases beds
README.md - Appointments → Integrity indexes: prevents conflicts
README.md - Admissions and beds → Integrity indexes: limits active beds
README.md