Skip to content

Commit c0c2605

Browse files
Added new pathogen tests for Measles
1 parent d647594 commit c0c2605

3 files changed

Lines changed: 6 additions & 4 deletions

File tree

sormas-api/src/main/java/de/symeda/sormas/api/sample/PathogenTestType.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,14 +86,14 @@ public enum PathogenTestType {
8686
Disease.CORONAVIRUS,
8787
Disease.RESPIRATORY_SYNCYTIAL_VIRUS,
8888
Disease.INVASIVE_MENINGOCOCCAL_INFECTION,
89-
Disease.INVASIVE_PNEUMOCOCCAL_INFECTION })
89+
Disease.INVASIVE_PNEUMOCOCCAL_INFECTION, Disease.MEASLES })
9090
INDIRECT_FLUORESCENT_ANTIBODY,
9191

9292
@Diseases(value = {
9393
Disease.CORONAVIRUS,
9494
Disease.RESPIRATORY_SYNCYTIAL_VIRUS,
9595
Disease.INVASIVE_MENINGOCOCCAL_INFECTION,
96-
Disease.INVASIVE_PNEUMOCOCCAL_INFECTION })
96+
Disease.INVASIVE_PNEUMOCOCCAL_INFECTION, Disease.MEASLES })
9797
DIRECT_FLUORESCENT_ANTIBODY,
9898

9999
@Diseases(value = {

sormas-api/src/main/resources/enum.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1270,7 +1270,7 @@ SampleMaterial.PLEURAL_FLUID=Pleural fluid specimen
12701270
SampleMaterial.CLINICAL_SAMPLE=Clinical sample
12711271
SampleMaterial.PERITONEAL_FLUID = Peritoneal Fluid
12721272
SampleMaterial.SYNOVIAL_FLUID = Synovial Fluid
1273-
SampleMaterial.DRY_BLOOD = Dry blood spot
1273+
SampleMaterial.DRY_BLOOD = Dried blood spot
12741274
SampleMaterial.AMNIOTIC_FLUID = Amniotic fluid
12751275
SampleMaterial.THROAT_ASPIRATE = Throat aspirate
12761276
SampleMaterial.EDTA_WHOLE_BLOOD = EDTA Whole Blood

sormas-ui/src/main/java/de/symeda/sormas/ui/symptoms/SymptomsForm.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -544,7 +544,9 @@ public String getFormattedHtmlMessage() {
544544
if (isConfiguredServer(CountryHelper.COUNTRY_CODE_LUXEMBOURG)) {
545545
boolean isSymptamatic = !SymptomState.YES.equals(asymptomaticNOG.getNullableValue());
546546
editableAllowedFields().stream().filter(field -> !field.getId().equals(ASYMPTOMATIC)).forEach(field -> {
547-
field.clear();
547+
if (!isSymptamatic) {
548+
field.clear();
549+
}
548550
field.setEnabled(isSymptamatic);
549551
onsetSymptom.setEnabled(isSymptamatic);
550552
onsetDateField.setEnabled(isSymptamatic);

0 commit comments

Comments
 (0)