How gmelan2002/clinic-os works
ClinicOS is a static, multi-tenant clinic-management web app backed by Firebase. Clinic staff use the clinic login and then manage separate operational areas; platform administrators use the HQ login and console to provision and control clinic workspaces. The README documents the key feature flows, but no source excerpts were provided, so the graph omits unverified page-to-page navigation and internal call details.
Main entry points: inventory.html Inventory · login.html Clinic login · hq_login.html HQ login · index.html Landing and plans
Components 20
Entry and access
- Landing and plans
index.html - Clinic login
login.html - HQ login
hq_login.html
Clinic operations
- Clinic dashboard
clinicos_dashboard.html - Patient records
patients.html - Appointments
calendar.html - Clinical records
treatments.html - Lab orders
lab_orders.html - Billing
billing.html - Inventory
inventory.html - Expense tracking
inventory.html - Clinic and staff settings
settings.html - Plan upgrade
payment.html
Platform administration
- HQ console
superadmin_hq.html - Clinic inspector
clinic_details.html
Backend and integrations
- Firebase Authentication
- Cloud Firestore
Other components
- Clinic staff
- Platform admin
Connections 17
- Clinic staff → Clinic login: signs in
README.md - Platform admin → HQ login: signs in
README.md - Clinic login → Firebase Authentication: authenticates with
README.md - HQ login → Firebase Authentication: authenticates with
README.md - Clinic dashboard → Cloud Firestore: reads clinic data
README.md - Patient records → Cloud Firestore: stores patient records
README.md - Appointments → Cloud Firestore: stores appointments
README.md - Clinical records → Cloud Firestore: stores treatments
README.md - Lab orders → Cloud Firestore: stores lab orders
README.md - Billing → Cloud Firestore: stores billings
README.md - Inventory → Cloud Firestore: stores inventory
README.md - Inventory → Expense tracking: logs usage cost
README.md - Clinic and staff settings → Cloud Firestore: stores clinic users
README.md - HQ console → Cloud Firestore: manages workspaces
README.md - Clinic inspector → Cloud Firestore: inspects clinics
README.md - Plan upgrade → WhatsApp: starts upgrade
README.md - Landing and plans → Clinic staff: presents plans
README.md