WP-16 exchange
Screen flow over the existing wire. Envelope: envelope.md. Wire shapes: api-enrichment.md.
Workflow
- The diagnostics shell opens the imaging and lab folders, picked by
kind. - 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/worklists/summary?kind=for dashboard.GET /api/v1/afia/worklists?kind=for worklist and prescriptions.PATCH /api/v1/afia/orders/{id}/schedulefor calendar and confirmation.POST /api/v1/afia/orders/{id}/resultsfor entry, validation, and transmission./api/v1/afia/admin/structures,/admin/exam-types, and/admin/tariffsfor 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.