WP-08 Flutter spec
The API is in place and the store shell does not open this screen. Reads projected results. Wire: exchange/patient-results.md.
Usage
The patient results shell calls PatientResultsRepository.listMine. It does not submit results.
Domain
- Reuse
DiagnosticResultandDiagnosticKindfromlib/domain/diagnostics/if that package has landed. Otherwise a localPatientResultatlib/domain/patient/results/patient_result.dartwithsummary,kind,orderId. It is a read model, not a store.
Models
PatientResultModelatlib/data/patient/results/patient_result_model.dart.fromJsonkeyssummary,kind,orderId,artifactUri.
Data sources
PatientResultsRemoteDataSourceatlib/data/patient/results/patient_results_remote_data_source.dart.
listMine() -> DiagnosticResult[]
Uses ApiConfig results path. GET only.
Repositories
PatientResultsRepositoryatlib/domain/patient/results/patient_results_repository.dart.
Presentation under lib/presentation/patient/results/ imports the repository only.
Does not do
Java types. Submit-result calls. A local cache that pretends to be the store of truth. Invented timelines. A second HTTP client.