How humansamiksha/care works
C.A.R.E. is a static, browser-based hospital intake kiosk. Patients speak or scan a prescription; the app conducts multilingual AI-assisted intake, converts speech to voice prompts, and syncs patient records for staff review. The main runtime is concentrated in app.js; the README documents capabilities whose specific implementation is not fully shown in the excerpts.
Main entry points: app.js Kiosk Controller · index.html Kiosk Interface
Components 18
Patient Intake
- Kiosk Interface
index.html - Kiosk Controller
app.js - Voice Recognition
app.js - Language Handling
app.js - Conversation Logic
app.js - Spoken Prompts
app.js
AI Services
- Groq LLM
- Web Speech API
- Prescription Scanning
app.js - OCR.space
- Handwriting Model
Records and Dashboard
- Patient Local Storage
- Record Sync
app.js - Staff Dashboard
app.js - Broadcast Channel
Kiosk Configuration
- API Settings
app.js
Other components
- Patient
- Hospital Staff
Connections 20
- Patient → Kiosk Interface: uses
- Kiosk Interface → Kiosk Controller: dispatches input
- Kiosk Controller → Voice Recognition: starts recognition
- Voice Recognition → Web Speech API: captures speech
- Kiosk Controller → Language Handling: detects language
- Kiosk Controller → Conversation Logic: processes responses
- Conversation Logic → Groq LLM: requests replies
- Kiosk Controller → Spoken Prompts: speaks prompts
- Spoken Prompts → Web Speech API: uses synthesis
- Kiosk Controller → Prescription Scanning: handles scans
- Prescription Scanning → OCR.space: submits images
- Prescription Scanning → Handwriting Model: runs recognition
- Kiosk Controller → Record Sync: syncs patient data
- Record Sync → Patient Local Storage: writes records
- Staff Dashboard → Patient Local Storage: reads records
- Kiosk Controller → Staff Dashboard: refreshes view
- Staff Dashboard → Hospital Staff: presents records
- Kiosk Controller → Broadcast Channel: publishes updates
- Broadcast Channel → Record Sync: delivers updates
- API Settings → Patient Local Storage: persists keys