How argonforfun-source/clinica-system-dev works
This repository appears to contain two overlapping product layers: the README describes a Firebase-backed clinic booking system, while the sampled source identifies a broader Argon Medical OS with EMR, billing, specialty modules, authentication, and recovery. The tree lacks the README’s HTML entry pages, so corresponding application nodes use the available JS files where identifiable. Several major modules are represented from the source index and README rather than inspected in full; uncertain wiring is omitted.
Main entry points: emr-specialty-loader.js Specialty loader · emr-app.js Clinic dashboard · patient-app.js Patient app · billing-engine.js Billing engine
Components 24
Clinic access
- Patient app
patient-app.js - Clinic dashboard
emr-app.js - Super admin
super-app.js
Clinical workflows
- EMR workflows
emr-app.js - Specialty loader
emr-specialty-loader.js - Cardiology
specialty-modules/cardio_module.js - Dental chart
specialty-modules/dental_chart_module.js - Dental media
specialty-modules/dental_media_module.js - Growth charts
specialty-modules/growth_chart_module.js - Treatment plans
specialty-modules/treatment_plan_module.js
Clinic operations
- Billing engine
billing-engine.js - Pharmacy
pharmacy-app.js - Laboratory
lab-app.js - Radiology
radiology-app.js
Platform services
- Auth bridge
معدل2/argon-auth-bridge.js - Backup and restore
نسخ/client-local-backup (2).js - Cloud functions
functions/index.js - Offline support
sw.js
Other components
- Firebase Realtime DB
- Firebase Auth
- Firebase Storage
- Patient
- Clinic staff
- System owner
Connections 23
- Patient → Patient app: books with
README.md - Patient app → Firebase Realtime DB: writes bookings
- Clinic staff → Clinic dashboard: manages clinic
README.md - Clinic dashboard → Firebase Realtime DB: reads and writes
- System owner → Super admin: manages clinics
README.md - Super admin → Firebase Realtime DB: configures clinics
- Clinic dashboard → Auth bridge: authenticates via
- Auth bridge → Firebase Auth: signs in
معدل2/argon-auth-bridge.js - Clinic dashboard → EMR workflows: hosts workflows
emr-app.js - EMR workflows → Specialty loader: loads specialties
- Specialty loader → Cardiology: dispatches to
- Specialty loader → Dental chart: dispatches to
- Specialty loader → Dental media: dispatches to
- Specialty loader → Growth charts: dispatches to
- Specialty loader → Treatment plans: dispatches to
- Dental media → Firebase Storage: uploads media
specialty-modules/dental_media_module.js - Billing engine → Firebase Realtime DB: reads and writes
billing-engine.js - Billing engine → Clinic dashboard: uses session
- Backup and restore → Firebase Storage: stores backups
نسخ/client-local-backup (2).js - Backup and restore → Firebase Realtime DB: restores data
- Cloud functions → Firebase Realtime DB: reads backup settings
functions/index.js - Cloud functions → Firebase Storage: writes backups
functions/index.js - Patient app → Offline support: supports offline
README.md