How sienta01/temp-curve works
Kurva Suhu is an Indonesian patient temperature-log application. Users enter patient details, temperatures, and daily PELOD-2 and Candida data; the app calculates scores and renders a printable chart, then saves locally or syncs patients through the server. It also supports exports and backup/restore. The README documents how the parts fit together, while excerpts show grid/model, score-table/calculator, chart/model, and storage/server behavior. The application coordinator and some export/restore wiring are unsampled, so those links rely on README statements.
Main entry points: app.js App coordinator · score-table.js Daily score tables · store.js Patient store · server.js Sync server
Components 15
Patient entry
- App page
index.html - App coordinator
js/app.js - Patient model
js/model.js - Temperature spreadsheet
js/grid.js
Clinical scoring
- Daily score tables
js/score-table.js - PELOD-2 scoring
js/pelod.js - Candida scoring
js/candida.js
Chart and export
- Temperature chart
js/chart.js - Export and restore
js/app.js
Storage and sync
- Patient store
js/store.js - Browser storage
- Sync server
server/server.js - Patient files
- Daily backups
Other components
- Care team
Connections 17
- Care team → App page: uses
README.md - App page → App coordinator: loads
README.md - App coordinator → Temperature spreadsheet: connects
README.md - Temperature spreadsheet → Patient model: updates
js/grid.js - App coordinator → Daily score tables: connects
README.md - Daily score tables → Patient model: reads and writes
js/score-table.js - Daily score tables → PELOD-2 scoring: scores with
js/score-table.js - Daily score tables → Candida scoring: scores with
js/score-table.js - App coordinator → Temperature chart: connects
README.md - Temperature chart → Patient model: reads
js/chart.js - App coordinator → Export and restore: provides
README.md - Export and restore → Temperature chart: exports
README.md - App coordinator → Patient store: connects
README.md - Patient store → Browser storage: saves locally
js/store.js - Patient store → Sync server: syncs with
js/store.js - Sync server → Patient files: reads and writes
server/server.js - Sync server → Daily backups: creates
server/server.js