Skip to main content

WP-16 Flutter spec

Diagnostics screens at Stitch parity. Decision: ADR 0012. Kit: design-system.md. Wire: exchange/diagnostics-screens.md.

Usage​

The diagnostics role shell opens these screens. Each screen is built from lib/presentation/kit/ widgets and AfiaTheme. Labels come from AppLocalizations. New keys live in l10n-src/diagnostics.json. Folders: lib/presentation/diagnostics/imaging/, lib/presentation/diagnostics/lab/.

ScreenFolderStitch folder
ImagingWorklistScreenimaging/worklist_radiologue_afia_imagerie
ImagingExamsScreenimaging/liste_des_examens_afia_imagerie
ImagingExamDetailScreenimaging/d_tail_examen_afia_imagerie
ImagingUrgentScreenimaging/priorisation_urgences_afia_imagerie
ImagingReportScreenimaging/saisie_compte_rendu_afia_imagerie
ImagingSignScreenimaging/validation_signature_afia_imagerie
ImagingSendScreenimaging/transmission_compte_rendu_afia_imagerie
LabHomeScreenlab/tableau_de_bord_laboratoire
LabPrescriptionsScreenlab/prescriptions_re_ues
LabPrescriptionDetailScreenlab/d_tail_prescription_pr_2026_001
LabCalendarScreenlab/calendrier_des_examens_laboratoire
LabAppointmentsScreenlab/liste_des_rendez_vous_examens_laboratoire
LabAppointmentConfirmedScreenlab/confirmation_du_rdv_laboratoire
LabResultEntryScreenlab/saisie_des_r_sultats_laboratoire
LabResultValidationScreenlab/validation_des_r_sultats_laboratoire
LabResultSendScreenlab/transmission_des_r_sultats_laboratoire
LabSendHistoryScreenlab/historique_des_transmissions_laboratoire
LabExamTypesScreenlab/gestion_des_examens_laboratoire
LabTariffsScreenlab/gestion_des_tarifs_laboratoire
LabStructureScreenlab/informations_structure_laboratoire_central

Domain​

None. Screens import the domain types from WP-12 and the owner packages. They do not add domain types.

Models​

None. A screen may hold a small view state class beside it. It does not parse JSON.

Data sources​

None. Screens call repositories, not data sources.

Repositories​

Screens call:

  • CareGateway
  • diagnostics repository
  • AdminRepository

A missing field is a WP-12 request, not a local fix.

Does not do​

Dicom viewers, annotation, mpr, voice dictation, imaging ai, pacs, lab payments, compensation, and statistics. Domain or data code. Theme changes. Copying the side-by-side French and Arabic Stitch text.