File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
sormas-ui/src/main/java/de/symeda/sormas/ui/samples Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -668,13 +668,14 @@ protected void addFields() {
668
668
seroTypeTF .setVisible (disease == Disease .INVASIVE_PNEUMOCOCCAL_INFECTION && seroGrpTests .contains (testType ));
669
669
seroGrpSepcCB .setVisible (disease == Disease .INVASIVE_MENINGOCOCCAL_INFECTION && seroGrpTests .contains (testType ));
670
670
// for enabling the test result, finding configured country and disease
671
- boolean isNotLuxTbAntiSus = FacadeProvider .getConfigFacade ().isConfiguredCountry (CountryHelper .COUNTRY_CODE_LUXEMBOURG )
671
+ boolean isLuxTbAntiSus = FacadeProvider .getConfigFacade ().isConfiguredCountry (CountryHelper .COUNTRY_CODE_LUXEMBOURG )
672
672
&& Disease .TUBERCULOSIS .equals ((Disease ) diseaseField .getValue ()) && PathogenTestType .ANTIBIOTIC_SUSCEPTIBILITY .equals (testType );
673
- if (isNotLuxTbAntiSus ){
673
+ if (isLuxTbAntiSus ){
674
674
testResultField .setEnabled (true );
675
675
}else {
676
676
testResultField .setEnabled (!seroGrpTests .contains (testType ) && !PathogenTestType .ANTIBIOTIC_SUSCEPTIBILITY .equals (testType ));
677
677
}
678
+ drugSusceptibilityField .setVisible (isLuxTbAntiSus || DiseaseHelper .checkDiseaseIsInvasiveBacterialDiseases ((Disease )diseaseField .getValue ()) && PathogenTestType .ANTIBIOTIC_SUSCEPTIBILITY .equals (testType ));
678
679
setVisibleClear (
679
680
PathogenTestType .PCR_RT_PCR == testType ,
680
681
PathogenTestDto .CQ_VALUE ,
You can’t perform that action at this time.
0 commit comments