File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
sormas-ui/src/main/java/de/symeda/sormas/ui/symptoms Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 6363import com .vaadin .v7 .ui .OptionGroup ;
6464import com .vaadin .v7 .ui .TextField ;
6565
66+ import de .symeda .sormas .api .CountryHelper ;
6667import de .symeda .sormas .api .Disease ;
6768import de .symeda .sormas .api .FacadeProvider ;
6869import de .symeda .sormas .api .caze .CaseDataDto ;
@@ -931,7 +932,7 @@ public String getFormattedHtmlMessage() {
931932 getField (PNEUMONIA_CLINICAL_OR_RADIOLOGIC ).setCaption (I18nProperties .getCaption (Captions .Symptoms_ipi_pneumoniaClinicalOrRadiologic ));
932933 }
933934
934- if (disease == Disease .TUBERCULOSIS ) {
935+ if (FacadeProvider . getConfigFacade (). isConfiguredCountry ( CountryHelper . COUNTRY_CODE_LUXEMBOURG ) && disease == Disease .TUBERCULOSIS ) {
935936 Label localisationHeadingLabel = createLabel (I18nProperties .getString (Strings .headingLocalisation ), H3 , LOCALISATION_HEADING_LOC );
936937
937938 clinicalPresentationHeadingLabel .setVisible (true );
@@ -1022,7 +1023,7 @@ protected String createHtmlLayout() {
10221023
10231024 String FINAL_HTML_LAYOUT = HTML_LAYOUT ;
10241025
1025- if (disease == Disease .TUBERCULOSIS ) {
1026+ if (FacadeProvider . getConfigFacade (). isConfiguredCountry ( CountryHelper . COUNTRY_CODE_LUXEMBOURG ) && disease == Disease .TUBERCULOSIS ) {
10261027 FINAL_HTML_LAYOUT = FINAL_HTML_LAYOUT .replace (onsetDateLoc , emptyLoc )
10271028 .replace (tbOnsetDateLoc , onsetDateLoc )
10281029 .replace (clinicalPresentationDetailsLoc , emptyLoc )
You can’t perform that action at this time.
0 commit comments