WP-16 Diagnostics screens at Stitch parity
Load AGENTS.md, ADR 0012, and this file. Tech specs: api/diagnostics-screens.md, app/diagnostics-screens.md, exchange/diagnostics-screens.md. Implement only when the user asks and WP-11 plus WP-12 have landed.
Group G4. May run beside WP-13, WP-14, and WP-15.
Owns
afia-app/lib/presentation/diagnostics/imaging/afia-app/lib/presentation/diagnostics/lab/afia-app/l10n-src/diagnostics.json
These folders sit inside the WP-07 presentation folder. WP-07 keeps the one diagnostics shell with its kind filter. WP-16 writes only these two subfolders.
Features: F-26 diagnostics screens at Stitch parity.
Imaging folders in stitch_afia_imagerie-1.zip: worklist_radiologue_afia_imagerie, liste_des_examens_afia_imagerie, d_tail_examen_afia_imagerie, priorisation_urgences_afia_imagerie, saisie_compte_rendu_afia_imagerie, validation_signature_afia_imagerie, transmission_compte_rendu_afia_imagerie.
Lab folders in stitch_afia_laboratoire-1.zip and stitch_afia_laboratoire-2.zip: tableau_de_bord_laboratoire, prescriptions_re_ues, d_tail_prescription_pr_2026_001, calendrier_des_examens_laboratoire, liste_des_rendez_vous_examens_laboratoire, confirmation_du_rdv_laboratoire, saisie_des_r_sultats_laboratoire, validation_des_r_sultats_laboratoire, transmission_des_r_sultats_laboratoire, historique_des_transmissions_laboratoire, gestion_des_examens_laboratoire, gestion_des_tarifs_laboratoire, informations_structure_laboratoire_central.
manifest/ccf-tree.tsv names WP-16 as the owner of these rows.
Must not write
afia-apiafia-app/lib/core/theme/,afia-app/lib/presentation/kit/,pubspec.yamlafia-app/lib/domain/andafia-app/lib/data/. Ask WP-12 for a missing field.- Other files under
afia-app/lib/presentation/diagnostics/ - Another role's presentation folder or
l10n-srcfile afia-app/lib/l10n/app_*.arbby hand- Two public APIs for imaging and lab
Depends on
WP-11 for the kit and theme. WP-12 for work item fields, scheduledAt, and the worklist summary.
Done when
- Each folder above has one screen built from kit widgets.
- A golden or screenshot per screen sits beside its Stitch
screen.pngwith the same layout, colors, type, and spacing. - Imaging and lab screens read the same
DiagnosticOrderandDiagnosticResulttypes.kindpicks the folder. - Every label comes from
AppLocalizations. New keys live inl10n-src/diagnostics.jsonin English, French, and Arabic. - Arabic renders RTL with Noto Sans Arabic.
cd afia-app && flutter testpasses.
Do not invent screens
Build only the folders listed above. DICOM viewers, annotation, MPR, voice dictation, imaging AI, PACS, lab payments, compensation, and statistics stay out. Do not copy the side-by-side French and Arabic text from the export.