WP-06 Flutter spec
The API is in place and the store shell does not open this screen. Contract type: Encounter. Wire: exchange/encounter.md.
Usage
The clinician encounter shell calls EncounterRepository.writeNote and updateNotes. Do not expose write methods to a patient session.
Domain
Encounteratlib/domain/encounter/encounter.dart. ContractEncounter.
Models
EncounterModelatlib/data/encounter/encounter_model.dart.fromJsonkeysid,appointmentId,notes.
Data sources
EncounterRemoteDataSourceatlib/data/encounter/encounter_remote_data_source.dart.
writeNote(appointmentId, notes) -> Encounter
updateNotes(encounterId, notes) -> Encounter
Uses ApiConfig clinician encounters path.
Repositories
EncounterRepositoryatlib/domain/encounter/encounter_repository.dart.
Presentation under lib/presentation/clinician/encounter/ imports the repository only.
Does not do
Java types. Appointment persistence. Patient-facing note editors. Invented SOAP forms. A second HTTP client.