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() {
936936 getField (PNEUMONIA_CLINICAL_OR_RADIOLOGIC ).setCaption (I18nProperties .getCaption (Captions .Symptoms_ipi_pneumoniaClinicalOrRadiologic ));
937937 }
938938
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+ }
940942
941943 if (FacadeProvider .getConfigFacade ().isConfiguredCountry (CountryHelper .COUNTRY_CODE_LUXEMBOURG ) && disease == Disease .TUBERCULOSIS ) {
942944 Label localisationHeadingLabel = createLabel (I18nProperties .getString (Strings .headingLocalisation ), H3 , LOCALISATION_HEADING_LOC );
You can’t perform that action at this time.
0 commit comments