Offline Expo app for Android and iOS built around the Ghana Standard Treatment Guidelines (STG), 7th edition (2017). The app now has two clearly separated workflows: Guided triage: a stricter, age-aware rules engine that ranks only curated STG conditions STG reference: a broader offline disease/section lookup across the searchable STG corpus
# STG Triage
Offline Expo app for Android and iOS built around the Ghana Standard Treatment Guidelines (STG), 7th edition (2017).
The app now has two clearly separated workflows:
- `Guided triage`: a stricter, age-aware rules engine that ranks only curated STG conditions
- `STG reference`: a broader offline disease/section lookup across the searchable STG corpus
## What it does
- Collects `age`, `duration`, `symptoms`, and `signs` separately.
- Supports guided triage with structured STG buckets plus manual symptom/sign entry.
- Ranks likely conditions locally on-device using curated age-aware STG logic.
- Lets users search STG diseases/conditions by name with typo-tolerant offline search.
- Shows treatment options, investigations, red flags, and source section/page references from the STG.
- Uses no authentication, no backend, and no external API calls.
## Current product shape
### Guided triage
- Designed to return one careful primary STG answer first
- Uses age bands, hallmark findings, red flags, and duration windows
- Separates `symptoms` from `signs / examination findings`
- Keeps ranking limited to curated conditions instead of the full extracted corpus
### STG reference
- Searches the broader offline STG corpus by disease/condition name
- Returns structured section content for confirmation and reference
- Labels entries as either:
- `Ranked by guided triage`
- `Reference-only STG section`
## Local setup
```bash
npm install
npm start
```
Then open the Expo app on Android or iOS.
## Validation
```bash
npm test
npx tsc --noEmit
npx expo-doctor
npx expo export --platform web
```
## Curated guided-triage coverage
The ranked guided-triage layer currently includes:
- Sick newborn / neonatal sepsis
- Neonatal hypoglycaemia
- Neonatal jaundice
- Acute diarrhoea / gastroenteritis
- Rotavirus diarrhoea
- Measles
- Uncomplicated malaria
- Severe malaria
- Meningitis
- Common cold
- Pneumonia
- Bronchial asthma
- Acute bronchitis
- Urinary tract infectio …