Skip to main content

WP-13 Patient screens at Stitch parity

Load AGENTS.md, ADR 0012, and this file. Tech specs: api/patient-screens.md, app/patient-screens.md, exchange/patient-screens.md. Implement only when the user asks and WP-11 plus WP-12 have landed.

Group G4. May run beside WP-14, WP-15, and WP-16.

Owns​

  • afia-app/lib/presentation/patient/home/
  • afia-app/lib/presentation/patient/visits/
  • afia-app/lib/presentation/patient/record/
  • afia-app/lib/presentation/patient/billing/
  • afia-app/lib/presentation/patient/health/
  • afia-app/l10n-src/patient.json

Features: F-23 patient screens at Stitch parity.

Stitch folders in stitch_afia_patient.zip:

  • Home: cran_dashboard_patient_afia
  • Visits: recherche_de_m_decin_mobile_afia, cr_neaux_disponibles_mobile_afia, r_servation_de_rendez_vous_mobile_afia, confirmation_de_rendez_vous_mobile_afia, mes_rendez_vous_mobile_afia, modification_de_rendez_vous_mobile_afia, annulation_de_rendez_vous_mobile_afia, salle_d_attente_virtuelle_mobile_afia, gestion_des_incidents_r_seau_mobile_afia, fin_de_consultation_mobile_afia
  • Record: synth_se_patient_mobile_afia, examens_mobile_afia, r_sultats_d_examen_mobile_afia, documents_partag_s_mobile_afia
  • Billing: historique_des_paiements_afia, payer_la_consultation_afia, moyens_de_paiement_afia, confirmation_de_paiement_afia, d_tail_de_la_facture_afia
  • Health: alertes_de_sant_afia, mon_profil_afia, aide_et_support_afia

manifest/ccf-tree.tsv names WP-13 as the owner of these rows.

Must not write​

  • afia-api
  • afia-app/lib/core/theme/, afia-app/lib/presentation/kit/, pubspec.yaml
  • afia-app/lib/domain/ and afia-app/lib/data/. Ask WP-12 for a missing field.
  • Another role's presentation folder or l10n-src file
  • afia-app/lib/l10n/app_*.arb by hand

Depends on​

WP-11 for the kit and theme. WP-12 for the fields the screens show.

Done when​

  1. Each folder above has one screen built from kit widgets.
  2. A golden or screenshot per screen sits beside its Stitch screen.png with the same layout, colors, type, and spacing.
  3. Every label comes from AppLocalizations. New keys live in l10n-src/patient.json in English, French, and Arabic.
  4. Arabic renders RTL with Noto Sans Arabic.
  5. The waiting room opens the visit room link. There are no live video controls.
  6. cd afia-app && flutter test passes.

Do not invent screens​

Build only the folders listed above. Charts, the follow-up programme, video controls, AI assistants, voice, and forums stay out. NNI is in scope per ADR 0013 / AFIA-38 but is not part of this WP’s Owns until the user asks for that ticket. Do not copy the side-by-side French and Arabic text from the export.