Situation Description & Motivation
Refactor PathogenTestForm from a bridge-method / PoC section-slot approach into a clean
composition architecture where disease-specific fields are fully encapsulated in
DiseaseSectionLayout implementations.
Use cases
PathogenTestForm
High-Level Explanation
- One stable
PathogenTestForm instance — never swapped by the controller
- Disease-specific fields fully encapsulated in
DiseaseSectionLayout implementations
- Adding a new disease = one new class + one line in the factory — zero changes to
PathogenTestForm or the controller
- No bridge methods — sections receive exactly what they need via
FieldGroup + CustomLayout
TubeFieldHandler eliminates the 4× duplicated tube listener pattern
Timeline
Sprint 1 (Phases 1–4) + Sprint 2 (Phases 5–7)
Tasks
Alternatives
Risks
Additional Information
Situation Description & Motivation
Refactor
PathogenTestFormfrom a bridge-method / PoC section-slot approach into a cleancomposition architecture where disease-specific fields are fully encapsulated in
DiseaseSectionLayoutimplementations.Use cases
PathogenTestFormHigh-Level Explanation
PathogenTestForminstance — never swapped by the controllerDiseaseSectionLayoutimplementationsPathogenTestFormor the controllerFieldGroup+CustomLayoutTubeFieldHandlereliminates the 4× duplicated tube listener patternTimeline
Sprint 1 (Phases 1–4) + Sprint 2 (Phases 5–7)
Tasks
Alternatives
Risks
Additional Information