Skip to content

Commit e474eac

Browse files
committed
Fixed antibiotic susceptability visibility for LU and other countries
- Tuberculosis/Latent Tuberculosis is only visible for Luxembourg - IPI/IMI drug susceptibility is visible for all countries
1 parent 7244666 commit e474eac

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

sormas-ui/src/main/java/de/symeda/sormas/ui/samples/PathogenTestForm.java

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -344,9 +344,10 @@ private void updateDrugSusceptibilityFieldSpecifications(PathogenTestType testTy
344344
testResultField.setValue(PathogenTestResultType.POSITIVE);
345345
}
346346

347-
// testResult=NOT_APPLICABLE for IMI, test type ANTIBIOTIC_SUSCEPTIBILITY
348-
if (disease == Disease.INVASIVE_MENINGOCOCCAL_INFECTION && testType == PathogenTestType.ANTIBIOTIC_SUSCEPTIBILITY) {
349-
testResultField.setValue(PathogenTestResultType.NOT_APPLICABLE);
347+
// testResult=POSITIVE for IMI and IPI, test type ANTIBIOTIC_SUSCEPTIBILITY
348+
if ((disease == Disease.INVASIVE_MENINGOCOCCAL_INFECTION || disease == Disease.INVASIVE_PNEUMOCOCCAL_INFECTION)
349+
&& testType == PathogenTestType.ANTIBIOTIC_SUSCEPTIBILITY) {
350+
testResultField.setValue(PathogenTestResultType.POSITIVE);
350351
}
351352
}
352353

0 commit comments

Comments
 (0)