Build an Offline Multilingual Public Health Scheme Navigator for Asha Workers — implementation
Prompt source
implementation76 lines11 sectionsNo variables1 code block
## Build
Evaluate maternal and infant health milestones against national health mission support schemes on offline mobile devices. Synthesize actionable visit checklists and mock benefit explanations in local languages without external cloud connectivity.
## User
Community health volunteer coordinator
## Workflow
1. Store prenatal visit records and immunisation dates locally in an offline SQLite mobile database.
2. Cross-reference mother and child health milestones against mock scheme eligibility rules and immunization schedules.
3. Identify pending nutritional cash assistance entitlements based on registered institutional delivery dates.
4. Generate multilingual household visit action sheets and document reminders in regional scripts.
## Interface
Offline-ready mobile web view featuring high-contrast text, vernacular toggle switches, and visit planners.
## Data
Assemble synthetic maternal healthcare milestone tables and mock scheme rules in local SQLite databases.
Starter examples below are synthetic. They are not downloaded records.
## Source
[Bhashini documentation](https://bhashini.gitbook.io/bhashini-apis)
Adopts Bhashini language standardization codes and multilingual template structuring for local dialect scripts.
## Tools
ollama, sqlite3, pydantic.
Enables on-device local natural language checklist generation completely decoupled from network connections.
Local small language model (3B to 7B parameters) running locally on edge hardware via Ollama.
## Deliverables
Submit runnable source, pinned dependencies, setup commands, a working interface, example outputs, and a recorded end-to-end demo. Include tests and an action log.
## Acceptance
- Evaluates milestone completion dates against scheme qualification windows without network access.
- Formats vernacular visit reminders with correct ISO-639 language tag handling.
- Operates strictly on synthetic local records without connecting to central health registries.
## Starter Examples
```json
[
{
"input": {
"record_id": "MCH-501",
"gestational_weeks": 28,
"anc_checkups_done": 3,
"institutional_delivery_planned": true,
"language": "hi"
},
"expected_output": {
"scheme_qualifications": [
"Matritva_Vandana_Installment_1",
"Janani_Suraksha_Registered"
],
"pending_milestones": [
"4th ANC Checkup",
"Tetanus Booster"
],
"advisory_cash_support_inr": 3000,
"visit_note_hi": "कृपया चौथे प्रसव पूर्व जांच के लिए स्वास्थ्य केंद्र जाएं।"
}
},
{
"input": {
"record_id": "MCH-502",
"gestational_weeks": 38,
"anc_checkups_done": 1,
"institutional_delivery_planned": false,
"language": "hi"
},
"expected_output": {
"scheme_qualifications": [
"Pending_ANC_Completion"
],
"pending_milestones": [
"Institutional Delivery Counseling",
"Emergency Contact Registration"
],
"advisory_cash_support_inr": 0,
"visit_note_hi": "संस्थागत प्रसव के लाभ और सुरक्षा के बारे में परामर्श आवश्यक है।"
}
}
]
```
## Safety
Provides advisory guidance only; strictly avoids real clinical diagnoses or actual disbursements of public welfare funds.
Use mock external writes. Require human review before any real deployment.