File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
sormas-ui/src/main/java/de/symeda/sormas/ui/symptoms Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -936,7 +936,9 @@ public String getFormattedHtmlMessage() {
936
936
getField (PNEUMONIA_CLINICAL_OR_RADIOLOGIC ).setCaption (I18nProperties .getCaption (Captions .Symptoms_ipi_pneumoniaClinicalOrRadiologic ));
937
937
}
938
938
939
- getField (CHEST_PAIN ).setVisible (PlagueType .PNEUMONIC == caze .getPlagueType ());
939
+ if (symptomsContext == SymptomsContext .CASE && caze != null && caze .getDisease () == Disease .PLAGUE ) {
940
+ getField (CHEST_PAIN ).setVisible (PlagueType .PNEUMONIC == caze .getPlagueType ());
941
+ }
940
942
941
943
if (FacadeProvider .getConfigFacade ().isConfiguredCountry (CountryHelper .COUNTRY_CODE_LUXEMBOURG ) && disease == Disease .TUBERCULOSIS ) {
942
944
Label localisationHeadingLabel = createLabel (I18nProperties .getString (Strings .headingLocalisation ), H3 , LOCALISATION_HEADING_LOC );
You can’t perform that action at this time.
0 commit comments