Aller au contenu principal

WP-16 exchange

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

Workflow​

  1. The diagnostics shell opens the imaging and lab folders, picked by kind.
  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/worklists/summary?kind= for dashboard.
  • GET /api/v1/afia/worklists?kind= for worklist and prescriptions.
  • PATCH /api/v1/afia/orders/{id}/schedule for calendar and confirmation.
  • POST /api/v1/afia/orders/{id}/results for entry, validation, and transmission.
  • /api/v1/afia/admin/structures, /admin/exam-types, and /admin/tariffs for structure info, exam types, and tariffs.

Ownership​

WP-16 writes lib/presentation/diagnostics/imaging/, lib/presentation/diagnostics/lab/ and l10n-src/diagnostics.json. WP-12 owns the wire. WP-11 owns the kit.

Does not do​

New endpoints. Dicom viewers, annotation, mpr, voice dictation, imaging ai, pacs, lab payments, compensation, and statistics.