How istiaqahmedtamim/hospital works
This is a PHP hospital-management application covering public doctor discovery and appointment booking, staff operations, patient records, clinical care, billing, pharmacy, and reporting. The visible entry flow is a visitor reaching the public landing page and following its appointment link; subsequent booking steps are represented by the appointment modules, but their runtime handoffs were not sampled. The graph preserves documented product areas and sampled shared layers. Relationships for unsampled modules are omitted or marked unverified rather than inferred from filenames; database wiring is not fully visible in the supplied excerpts.
Main entry points: auth.php Session and roles · index.php Hospital landing · status.php Appointment management · inpatient Admissions and discharge
Components 27
Access and navigation
- Hospital landing
index.php - Authentication
auth/login.php - Role dashboards
dashboard
Patient and clinical care
- Doctor directory
doctor/view_doctor.php - Appointment booking
appointment/book.php - Appointment management
appointment/status.php - Doctor schedules
doctor/schedule.php - Patient records
patient - Medical history
medical_history - Patient vitals
vitals - Admissions and discharge
inpatient - Medication administration
nurse/mar.php - Prescriptions
prescription - Patient documents
documents/patient_documents.php
Hospital operations
- Medicine and purchasing
medicine - Test type administration
admin/manage_test_types.php - Appointment reminders
reminders
Billing and reporting
- Bills and payments
billing - Service fee management
admin/manage_service_fees.php - Operational reports
reports
Shared services
- Session and roles
includes/auth.php - Billing schema and fees
includes/billing_schema.php - Audit logging
includes/audit.php - Schedule helpers
includes/doctor_schedule_helpers.php - Appointment helpers
includes/appointment_helpers.php - Application database
Other components
- Visitor
Connections 25
- Visitor → Hospital landing: opens
index.php - Hospital landing → Doctor directory: links to
index.php - Hospital landing → Appointment booking: links to
index.php - Authentication → Session and roles: uses
auth/login.php - Session and roles → Audit logging: records activity
includes/auth.php - Session and roles → Role dashboards: routes roles
includes/auth.php - Appointment management → Session and roles: checks access
appointment/status.php - Appointment management → Billing schema and fees: uses schema
appointment/status.php - Appointment management → Appointment helpers: uses helpers
appointment/status.php - Appointment helpers → Schedule helpers: uses helpers
includes/appointment_helpers.php - Doctor schedules → Schedule helpers: uses helpers
doctor/schedule.php - Admissions and discharge → Billing schema and fees: uses schema
inpatient/discharge.php - Medication administration → Session and roles: checks access
nurse/mar.php - Bills and payments → Billing schema and fees: uses schema
billing/view_bill.php - Service fee management → Session and roles: checks access
admin/manage_service_fees.php - Service fee management → Application database: reads and writes
admin/manage_service_fees.php - Operational reports → Session and roles: checks access
reports/index.php - Hospital landing → Session and roles: initializes
index.php - Appointment booking → Appointment management: hands off
- Patient records → Medical history: clinical record
- Patient records → Admissions and discharge: care episode
- Prescriptions → Medicine and purchasing: dispensing link
- Admissions and discharge → Medication administration: care records
- Bills and payments → Application database: reads and writes
- Operational reports → Application database: queries summaries