How angiesunghoonie-afk/healthsystem works
Healthsystem is a PHP health-center records system with public information and registration alongside staff-facing records management. Visitors can explore services and register; authenticated staff use the dashboard to manage patients, consultations, medical records, medicine inventory, and users. Domain classes perform database operations, while shared navigation exposes role-specific routes. The service page also advertises vaccination, education, maternal/child, laboratory, dental, pharmacy, and emergency care; these are documented offerings, not separately evidenced runtime modules. Relationships reflect excerpts and SOURCE INDEX references; unsampled implementations are not inferred.
Main entry points: database.php PDO Connection · sidebar.php Role Navigation · Patient.php Patient Domain · consultations.php Consultation Management
Components 20
Public Access
- Service Information
healthsystem2/services.php - Registration
healthsystem2/register.php
Accounts
- Login
healthsystem2/login.php - Account Processing
healthsystem2/process/login_process.php
Clinical Records
- Patient Management
healthsystem2/modules/patients.php - Consultation Management
healthsystem2/modules/consultations.php - Medical Records
healthsystem2/modules/medical_records.php - Patient Domain
healthsystem2/classes/Patient.php - Consultation Domain
healthsystem2/classes/Consultation.php - Medical Record Domain
healthsystem2/classes/MedicalRecord.php
Operations
- Dashboard
healthsystem2/dashboard.php - Medicine Inventory
healthsystem2/modules/medicine_inventory.php - User Management
healthsystem2/modules/users.php - Medicine Domain
healthsystem2/classes/Medicine.php
Shared Infrastructure
- Person Helpers
healthsystem2/classes/person.php - Role Navigation
healthsystem2/components/sidebar.php - PDO Connection
healthsystem2/config/database.php - MySQL Database
Other components
- Visitor
- Staff
Connections 34
- Visitor → Service Information: browses
healthsystem2/services.php - Visitor → Registration: registers
- Staff → Login: signs in
- Login → Account Processing: submits credentials
healthsystem2/process/login_process.php - Account Processing → PDO Connection: queries via
healthsystem2/process/login_process.php - Staff → Dashboard: opens
- Dashboard → Role Navigation: includes
healthsystem2/dashboard.php - Role Navigation → Patient Management: links to
healthsystem2/components/sidebar.php - Role Navigation → Consultation Management: links to
healthsystem2/components/sidebar.php - Role Navigation → Medical Records: links to
healthsystem2/components/sidebar.php - Role Navigation → Medicine Inventory: links to
healthsystem2/components/sidebar.php - Role Navigation → User Management: links to
healthsystem2/components/sidebar.php - Patient Management → Patient Domain: uses
healthsystem2/modules/patients.php - Consultation Management → Consultation Domain: uses
healthsystem2/modules/consultations.php - Consultation Management → Patient Domain: uses
healthsystem2/modules/consultations.php - Medical Records → Medical Record Domain: uses
healthsystem2/modules/medical_records.php - Medical Records → Patient Domain: uses
healthsystem2/modules/medical_records.php - Medicine Inventory → Medicine Domain: uses
healthsystem2/modules/medicine_inventory.php - User Management → Patient Domain: uses
healthsystem2/modules/users.php - Patient Domain → Person Helpers: extends
healthsystem2/classes/Patient.php - Consultation Domain → Person Helpers: extends
healthsystem2/classes/Consultation.php - Medical Record Domain → Person Helpers: extends
healthsystem2/classes/MedicalRecord.php - Medicine Domain → Person Helpers: extends
healthsystem2/classes/Medicine.php - Service Information → PDO Connection: loads
healthsystem2/services.php - Dashboard → PDO Connection: loads
healthsystem2/dashboard.php - Patient Management → PDO Connection: loads
healthsystem2/modules/patients.php - Consultation Management → PDO Connection: loads
healthsystem2/modules/consultations.php - Medical Records → PDO Connection: loads
healthsystem2/modules/medical_records.php - Medicine Inventory → PDO Connection: loads
healthsystem2/modules/medicine_inventory.php - PDO Connection → MySQL Database: connects
healthsystem2/config/database.php - Patient Domain → MySQL Database: queries
healthsystem2/classes/Patient.php - Consultation Domain → MySQL Database: queries
healthsystem2/classes/Consultation.php - Medical Record Domain → MySQL Database: queries
healthsystem2/classes/MedicalRecord.php - Medicine Domain → MySQL Database: queries
healthsystem2/classes/Medicine.php