WP-14 exchange
Screen flow over the existing wire. Envelope: envelope.md. Wire shapes: api-enrichment.md.
Workflow
- The clinician shell opens the home, visit, and patients tabs.
- Each screen asks a repository for data.
- The repository calls the endpoint and returns domain types.
- The screen renders kit widgets with
AppLocalizationslabels. - A write goes through the owner repository. The screen then reloads.
Wire
No new wire. The screens use:
GET /api/v1/afia/clinician/dashboardfor home.GET /api/v1/afia/clinician/agenda?from=&to=for agenda.GET /api/v1/afia/clinician/patientsfor patients./api/v1/afia/clinician/encountersfor report.GET /api/v1/afia/clinician/profilefor profile.
Ownership
WP-14 writes lib/presentation/clinician/home/, lib/presentation/clinician/visit/, lib/presentation/clinician/patients/ and l10n-src/clinician.json. WP-12 owns the wire. WP-11 owns the kit.
Does not do
New endpoints. The clinical ai assistant, ai summaries, the directory, tele-expertise, assistance, audit, mfa, training, hub sync, video controls, and charts.