WP-02 Patient profile
Load AGENTS.md, contracts.md, and this file. Tech specs: api/patient-profile.md, app/patient-profile.md, exchange/patient-profile.md. Implement only when the user asks and WP-00 has landed.
Group G1. May run beside WP-01, WP-03, and WP-04.
Owns
afia-api/src/main/java/health/afia/app/patient/profile/afia-api/src/test/java/health/afia/app/patient/profile/afia-app/lib/presentation/patient/profile/afia-app/lib/data/patient/profile/afia-app/lib/domain/patient/profile/
Feature: F-03 patient profile.
Reserved path: /api/v1/afia/patient/profile.
Must not write
EndpointUri.java,api_config.dart,docs/api-map.mdhealth.afia.app.patient.appointmentorhealth.afia.app.patient.results- Booking, agenda, or diagnostics packages
- Identity
Accountpersistence
Depends on
WP-00. Reads Account.id from identity once WP-01 exists. Until then, accept accountId as an input on the profile resource.
Done when
PatientProfilehasaccountIdanddisplayNameonly.- A patient can read and update their own profile on
/api/v1/afia/patient/profile. - Tests cover the HTTP resource. They do not create appointments or results.
cd afia-api && mvn testpasses.cd afia-app && flutter testpasses.
Do not invent screens
Landing copy is "suivez votre santé". That is not a screen name. Do not add consult or booking widgets here.