How shashwat-009/medisetu works
MediKiosk is a clinical-intake kiosk paired with a physician review interface. Patients identify themselves, consent, complete an adaptive interview and submit medical documents; the backend processes consultation data into a clinical summary for physician review and editing. The tree and excerpts establish the application entry points, session handling, OCR and summary responsibilities, but do not expose every API handler’s internal wiring, so some subsystem links are intentionally omitted.
Main entry points: main.py API application · summary_service.py Clinical summary · App.jsx Kiosk app · patient Patient workflow
Components 24
Patient kiosk
- Kiosk app
frontend/src/App.jsx - Patient workflow
frontend/src/pages/patient - Kiosk interface
frontend/src/components/kiosk - Patient services
frontend/src/services
Backend application
- API application
backend/app/main.py - Patient and session APIs
backend/app/api/sessions.py - Conversation APIs
backend/app/api/conversations.py - Document APIs
backend/app/api/documents.py - Summary APIs
backend/app/api/summary.py - Doctor APIs
backend/app/api/doctors.py - Application database
backend/app/db/database.py - Document storage service
backend/app/services/storage_service.py
Clinical processing
- Adaptive interview
backend/ai/conversation/dialogue_manager.py - Speech recognition
backend/ai/asr - Document OCR pipeline
backend/ai/ocr/pipeline.py - OCR service
backend/app/services/ocr_service.py - Medical timeline
backend/app/services/timeline_service.py - Clinical summary
backend/app/services/summary_service.py - Summary generation
backend/ai/summary - Speech synthesis
backend/ai/tts
Physician review
- Doctor portal
frontend/src/pages/doctor
Other components
- Patient
- Doctor
- Supabase storage
Connections 25
- Patient → Kiosk app: uses
- Kiosk app → Patient workflow: routes to
- Kiosk app → Kiosk interface: renders
- Patient workflow → Patient services: requests
- Patient services → Patient and session APIs: calls
- Doctor → Doctor portal: uses
- Doctor portal → Doctor APIs: reviews
- Doctor portal → Summary APIs: updates
- API application → Patient and session APIs: registers
- API application → Conversation APIs: registers
- API application → Document APIs: registers
- API application → Summary APIs: registers
- API application → Doctor APIs: registers
- Patient and session APIs → Application database: persists
- Conversation APIs → Adaptive interview: coordinates
- Conversation APIs → Speech recognition: uses
- Document APIs → OCR service: processes documents
- OCR service → Document OCR pipeline: runs
- Document APIs → Document storage service: stores files
- Document storage service → Supabase storage: uploads and downloads
- Summary APIs → Clinical summary: builds summary
- Clinical summary → Application database: reads records
- Clinical summary → Medical timeline: uses events
- Clinical summary → Summary generation: merges sources
- Patient workflow → Speech synthesis: requests speech