File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed
sormas-api/src/main/java/de/symeda/sormas/api/symptoms
sormas-ui/src/main/java/de/symeda/sormas/ui/symptoms Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -508,6 +508,7 @@ public static SymptomsDto build() {
508508 OTHER })
509509 @ Outbreaks
510510 @ HideForCountries
511+ @ SymptomGrouping (SymptomGroup .RESPIRATORY )
511512 private SymptomState chestPain ;
512513
513514 @ Diseases ({
Original file line number Diff line number Diff line change 6969import de .symeda .sormas .api .DiseaseHelper ;
7070import de .symeda .sormas .api .FacadeProvider ;
7171import de .symeda .sormas .api .caze .CaseDataDto ;
72+ import de .symeda .sormas .api .caze .PlagueType ;
7273import de .symeda .sormas .api .hospitalization .HospitalizationDto ;
7374import de .symeda .sormas .api .i18n .Captions ;
7475import de .symeda .sormas .api .i18n .Descriptions ;
@@ -943,6 +944,10 @@ public String getFormattedHtmlMessage() {
943944 getField (PNEUMONIA_CLINICAL_OR_RADIOLOGIC ).setCaption (I18nProperties .getCaption (Captions .Symptoms_ipi_pneumoniaClinicalOrRadiologic ));
944945 }
945946
947+ if (symptomsContext == SymptomsContext .CASE && caze != null && caze .getDisease () == Disease .PLAGUE ) {
948+ getField (CHEST_PAIN ).setVisible (PlagueType .PNEUMONIC == caze .getPlagueType ());
949+ }
950+
946951 if (FacadeProvider .getConfigFacade ().isConfiguredCountry (CountryHelper .COUNTRY_CODE_LUXEMBOURG ) && disease == Disease .TUBERCULOSIS ) {
947952 Label localisationHeadingLabel = createLabel (I18nProperties .getString (Strings .headingLocalisation ), H3 , LOCALISATION_HEADING_LOC );
948953
You can’t perform that action at this time.
0 commit comments