Skip to content
This repository was archived by the owner on May 5, 2021. It is now read-only.

Commit 1303b36

Browse files
lgallgal
authored andcommitted
SORMAS-Foundation#3416 change label and fix hiding nosocomial fileds in export fro non german servers
1 parent 6e4c402 commit 1303b36

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

sormas-api/src/main/java/de/symeda/sormas/api/caze/CaseExportDto.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -208,9 +208,7 @@ public class CaseExportDto implements Serializable {
208208
private EmbeddedSampleExportDto sample3 = new EmbeddedSampleExportDto();
209209
private List<EmbeddedSampleExportDto> otherSamples = new ArrayList<>();
210210

211-
@HideForCountriesExcept
212211
private Boolean nosocomialOutbreak;
213-
@HideForCountriesExcept
214212
private InfectionSetting infectionSetting;
215213

216214
private QuarantineType quarantine;
@@ -641,6 +639,7 @@ public CaseOutcome getOutcome() {
641639
CaseExportType.CASE_MANAGEMENT })
642640
@ExportProperty(value = CaseDataDto.NOSOCOMIAL_OUTBREAK, combined = true)
643641
@ExportGroup(ExportGroupType.ADDITIONAL)
642+
@HideForCountriesExcept
644643
public Boolean getNosocomialOutbreak() {
645644
return nosocomialOutbreak;
646645
}
@@ -651,6 +650,7 @@ public Boolean getNosocomialOutbreak() {
651650
CaseExportType.CASE_MANAGEMENT })
652651
@ExportProperty(value = CaseDataDto.INFECTION_SETTING, combined = true)
653652
@ExportGroup(ExportGroupType.ADDITIONAL)
653+
@HideForCountriesExcept
654654
public InfectionSetting getInfectionSetting() {
655655
return infectionSetting;
656656
}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,7 @@ CaseData.quarantineReasonBeforeIsolationDetails=Other reason
393393
CaseData.endOfIsolationReason=Reason for end of isolation
394394
CaseData.endOfIsolationReasonDetails=Other reason
395395
CaseData.sormasToSormasOriginInfo=Shared by
396-
CaseData.nosocomialOutbreak=Nosocomial outbreak
396+
CaseData.nosocomialOutbreak=Resulted from nosocomial outbreak
397397
CaseData.infectionSetting=Infection setting
398398

399399
# CaseExport

sormas-api/src/main/resources/captions_de-DE.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@ CaseData.quarantineReasonBeforeIsolationDetails=Anderer Grund
390390
CaseData.endOfIsolationReason=Grund für das Ende der Isolation
391391
CaseData.endOfIsolationReasonDetails=Anderer Grund
392392
CaseData.sormasToSormasOriginInfo=Geteilt von
393-
CaseData.nosocomialOutbreak=Nosokomialer Ausbruch
393+
CaseData.nosocomialOutbreak=Resultiert infolge eines nosokomialen Ausbruchs
394394
CaseData.infectionSetting=Infektionsumfeld
395395

396396
# CaseExport

0 commit comments

Comments
 (0)