Skip to content

Commit c5ccf33

Browse files
Fixes: Display manual case classification.
Summary: Displaying the manual classification, which has configured in disease level Changes: Verifying the caseClassificationMode, if it's DISABLED, does nothing. For AUTOMATIC, display the automatic case classification in the table. For MANUAL, display the plain text box with the configured details.
1 parent 61c66ad commit c5ccf33

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sormas-backend/src/main/java/de/symeda/sormas/backend/disease/DiseaseConfigurationFacadeEjb.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -444,7 +444,7 @@ public int getMinIncubationPeriod(Disease disease) {
444444
}
445445

446446
public String getCaseDefinitionText(Disease disease) {
447-
return service.getDiseaseConfiguration(disease).getCaseDefinitionText();
447+
return service.getDiseaseConfiguration(disease) == null ? null : service.getDiseaseConfiguration(disease).getCaseDefinitionText();
448448
}
449449

450450
@Override

0 commit comments

Comments
 (0)