-
Notifications
You must be signed in to change notification settings - Fork 161
Open
Labels
refactoringTechnical refactoring of an existing featureTechnical refactoring of an existing featuretaskSomething to be done that does not directly affect the softwareSomething to be done that does not directly affect the software
Description
Problem Description
Part of Epic: [Epic] PathogenClassification: Replace GenoTypeResult & SeroGroupSpecification enums
Blocked by: Phase 10
Wire the pathogenClassification ComboBox into the affected DiseaseSectionLayout classes,
update PathogenTestListEntry, and update CaseDataForm to show the classification caption
in the disease subtype slot.
Proposed Solution
Tasks
-
MeaslesDiseaseSectionLayout— replacegenoTypeResultComboBox withPathogenClassificationComboBox sourced fromPathogenClassificationFacade.getByDiseaseAndType(MEASLES, GENOTYPE); replacegenoTypeResultTextwithpathogenClassificationDetails; keep same visibility conditions -
CryptosporidiosisDiseaseSectionLayout— same, usingCRYPTOSPORIDIOSIS, GENOTYPE -
ImiDiseaseSectionLayout— replaceseroGroupSpecificationComboBox withPathogenClassificationComboBox sourced fromgetByDiseaseAndType(IMI, SEROGROUP); replaceseroGroupSpecificationTextwithpathogenClassificationDetails -
IpiDiseaseSectionLayout— no change —serotypestays free text -
PathogenTestListEntry— replacegetSeroGroupSpecification()/getGenoTypeResult()display withgetPathogenClassification().getCaption()(+ details if set); IPI fallback toserotypefree text -
CaseDataForm— showpathogenClassification.getCaption()in disease subtype slot whendiseaseVariantis null andpathogenClassificationis set; existing RSV/Influenza path untouched
Additional Information
Acceptance Criteria
- Measles: GENOTYPING + POSITIVE →
pathogenClassificationComboBox shows Measles genotypes only - Cryptosporidiosis: same, shows crypto species only
- IMI: SEROGROUPING + POSITIVE → shows IMI serogroups
- IPI: SEROGROUPING + POSITIVE →
serotype(free text) still present; nopathogenClassificationComboBox - Select OTHER in
pathogenClassification→pathogenClassificationDetailstext field visible PathogenTestListEntrydisplays caption for MEASLES/CRYPTO/IMI;serotypefree text for IPI- Open Measles case with saved GENOTYPING+POSITIVE test → disease subtype slot shows genotype caption
- Open RSV/Influenza case →
testedDiseaseVariantstill shows correctly (unchanged path)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
refactoringTechnical refactoring of an existing featureTechnical refactoring of an existing featuretaskSomething to be done that does not directly affect the softwareSomething to be done that does not directly affect the software