Aller au contenu principal

WP-14 exchange

Screen flow over the existing wire. Envelope: envelope.md. Wire shapes: api-enrichment.md.

Workflow​

  1. The clinician shell opens the home, visit, and patients tabs.
  2. Each screen asks a repository for data.
  3. The repository calls the endpoint and returns domain types.
  4. The screen renders kit widgets with AppLocalizations labels.
  5. A write goes through the owner repository. The screen then reloads.

Wire​

No new wire. The screens use:

  • GET /api/v1/afia/clinician/dashboard for home.
  • GET /api/v1/afia/clinician/agenda?from=&to= for agenda.
  • GET /api/v1/afia/clinician/patients for patients.
  • /api/v1/afia/clinician/encounters for report.
  • GET /api/v1/afia/clinician/profile for 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.