How sekhar28march-png/hms works
This is a hospital management SPA for patient admission, clinical and procurement expenses, inventory, payments, documents, and inpatient billing. The principal workflow is staff entering patient and charge records, tracking payments, then reviewing and printing a bill. It runs locally with browser storage or can use a Google Apps Script API backed by Google Sheets. README documents the major capabilities; the app.js excerpt is partial, so internal links are limited to documented behavior rather than inferred calls.
Main entry points: app.js Application controller · Code.gs Apps Script API · Index.html Web interface
Components 15
Application interface
- Web interface
Index.html - Application controller
app.js - Print documents
app.js
Patient and clinical operations
- Patient registration
app.js - Document checklist
app.js - Clinical expenses
app.js
Finance and procurement
- Inpatient billing
app.js - Payment receipts
app.js - Procurement
app.js - Inventory stock
app.js
Persistence and services
- Browser storage
app.js - Apps Script API
backend/Code.gs - Google Sheets
- Google Drive
Other components
- Hospital staff
Connections 14
- Hospital staff → Web interface: uses
README.md - Web interface → Application controller: runs
README.md - Application controller → Patient registration: supports
README.md - Application controller → Document checklist: supports
README.md - Application controller → Clinical expenses: tracks
README.md - Application controller → Procurement: supports
README.md - Application controller → Inventory stock: manages
README.md - Application controller → Payment receipts: records
README.md - Application controller → Inpatient billing: calculates
README.md - Application controller → Print documents: prints
README.md - Application controller → Browser storage: stores locally
README.md - Application controller → Apps Script API: sends API requests
README.md - Apps Script API → Google Sheets: reads and writes
README.md - Apps Script API → Google Drive: exports PDFs
README.md