File tree Expand file tree Collapse file tree
sormas-api/src/main/java/de/symeda/sormas/api/sample
sormas-ui/src/main/java/de/symeda/sormas/ui Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -340,7 +340,7 @@ public enum SampleMaterial {
340340 PLEURAL_FLUID ,
341341
342342 // Re-activated for RSV new samples (#14023): the RSV specimen requirements list Nasopharyngeal lavage.
343- // No canonical SNOMED-CT code on the specimen sheet, so its SNOMED export stays null.
343+ // No canonical SNOMED-CT code on the specimen sheet, so its SNOMED export stays null.
344344 @ Diseases (value = {
345345 Disease .RESPIRATORY_SYNCYTIAL_VIRUS })
346346 NASOPHARYNGEAL_LAVAGE ,
@@ -367,11 +367,10 @@ public enum SampleMaterial {
367367 Disease .SHIGELLOSIS }, hide = true )
368368 AMNIOTIC_FLUID ,
369369
370- @ Diseases (value = {
371- Disease .RESPIRATORY_SYNCYTIAL_VIRUS ,
372- Disease .GIARDIASIS }, hide = true )
370+ // Clinical Sample (Other) is offered for every disease (#14018) — no @Diseases means "visible for all".
373371 CLINICAL_SAMPLE ,
374372
373+ // Lux hide lifted so Peritoneal fluid shows for IPI on Luxembourg servers (#14156).
375374 @ Diseases (value = {
376375 Disease .RESPIRATORY_SYNCYTIAL_VIRUS ,
377376 Disease .INVASIVE_MENINGOCOCCAL_INFECTION ,
@@ -381,8 +380,6 @@ public enum SampleMaterial {
381380 Disease .MALARIA ,
382381 Disease .DENGUE ,
383382 Disease .SALMONELLOSIS }, hide = true )
384- @ HideForCountries (countries = {
385- CountryHelper .COUNTRY_CODE_LUXEMBOURG })
386383 PERITONEAL_FLUID ,
387384
388385 @ Diseases (value = {
Original file line number Diff line number Diff line change @@ -152,5 +152,4 @@ protected void unbindLegacyFields() {
152152 drugSusceptibilityField = null ;
153153 }
154154 }
155-
156155}
Original file line number Diff line number Diff line change @@ -348,6 +348,14 @@ public void markAsDirty() {
348348 super .markAsDirty ();
349349 }
350350
351+ @ Override
352+ public void commit () {
353+ if (getValue () == null ) {
354+ return ;
355+ }
356+ super .commit ();
357+ }
358+
351359 public void forceUpdateDrugSusceptibilityFields () {
352360 final DrugSusceptibilityDto drugSusceptibilityDto = getValue ();
353361 if (drugSusceptibilityDto == null ) {
You can’t perform that action at this time.
0 commit comments