Aller au contenu principal

WP-14 Clinician screens at Stitch parity

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

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

Owns​

  • afia-app/lib/presentation/clinician/home/
  • afia-app/lib/presentation/clinician/visit/
  • afia-app/lib/presentation/clinician/patients/
  • afia-app/l10n-src/clinician.json

Features: F-24 clinician screens at Stitch parity.

Stitch folders in stitch_afia_m_decin.zip:

  • Home: tableau_de_bord_m_decin_afia, agenda_m_dical_afia, gestion_des_cr_neaux_afia, mes_disponibilit_s_afia, profil_m_decin_afia
  • Visit: liste_d_attente_afia, salle_d_attente_afia_updated, gestion_des_urgences_afia, t_l_consultation_en_cours_afia_updated, compte_rendu_m_dical_afia_updated
  • Patients: synth_se_dpi_afia, prescriptions_afia, examens_afia, r_sultats_d_examen_afia, patients_en_t_l_surveillance_afia, donn_es_vitales_afia, alertes_de_t_l_surveillance_afia

manifest/ccf-tree.tsv names WP-14 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 dashboard, agenda range, visit fields, and vital fields.

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/clinician.json in English, French, and Arabic.
  4. Arabic renders RTL with Noto Sans Arabic.
  5. The consultation screen opens the room link and the note form. There are no live video controls.
  6. Vitals show value, unit, time, and status. There are no charts.
  7. cd afia-app && flutter test passes.

Do not invent screens​

Build only the folders listed above. The clinical AI assistant, AI summaries, the directory, tele-expertise, assistance, audit, MFA, training, and hub sync stay out. Do not copy the side-by-side French and Arabic text from the export.