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

Commit a2bf1ee

Browse files
Merge remote-tracking branch 'origin/development' into feature-3488-LabMessage_UI
2 parents 229f7d2 + ee391fe commit a2bf1ee

140 files changed

Lines changed: 983 additions & 296 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

SERVER_SETUP.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,10 @@ In case Keycloak is set up alongside an already running instance of SORMAS, thes
140140
2. Login to SORMAS and trigger the **Sync Users** button from the **Users** page
141141
3. This will sync users to Keycloak keeping their original password - see [SORMAS Keycloak Service Provider](sormas-keycloak-service-provider/README.md) for more information about this
142142

143+
### Keycloak configuration
144+
145+
More about the default configuration and how to customize can be found here [Keycloak](sormas-base/doc/keycloak.md)
146+
143147
## Web Server Setup
144148

145149
### Apache Web Server

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

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@
1919

2020
import de.symeda.sormas.api.i18n.I18nProperties;
2121
import de.symeda.sormas.api.statistics.StatisticsGroupingKey;
22+
import java.util.Collections;
23+
import java.util.EnumSet;
24+
import java.util.Set;
2225

2326
public enum CaseClassification
2427
implements
@@ -71,4 +74,13 @@ public int keyCompareTo(StatisticsGroupingKey o) {
7174
public int getSeverity() {
7275
return severity;
7376
}
77+
78+
public static Set<CaseClassification> getConfirmedClassifications() {
79+
return Collections
80+
.unmodifiableSet(EnumSet.of(
81+
CaseClassification.CONFIRMED,
82+
CaseClassification.CONFIRMED_NO_SYMPTOMS,
83+
CaseClassification.CONFIRMED_UNKNOWN_SYMPTOMS
84+
));
85+
}
7486
}

sormas-api/src/main/java/de/symeda/sormas/api/contact/ContactFacade.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public interface ContactFacade {
4242

4343
ContactDto saveContact(ContactDto dto);
4444

45-
ContactDto saveContact(ContactDto dto, boolean handleChanges);
45+
ContactDto saveContact(ContactDto dto, boolean handleChanges, boolean handleCaseChanges);
4646

4747
ContactReferenceDto getReferenceByUuid(String uuid);
4848

sormas-api/src/main/java/de/symeda/sormas/api/i18n/Captions.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -633,6 +633,7 @@ public interface Captions {
633633
String dashboardGt1ProbableCases = "dashboardGt1ProbableCases";
634634
String dashboardGt1SuspectCases = "dashboardGt1SuspectCases";
635635
String dashboardGtThreeDays = "dashboardGtThreeDays";
636+
String dashboardHideDataLabels = "dashboardHideDataLabels";
636637
String dashboardHideOtherCountries = "dashboardHideOtherCountries";
637638
String dashboardHideOverview = "dashboardHideOverview";
638639
String dashboardHigh = "dashboardHigh";
@@ -689,6 +690,7 @@ public interface Captions {
689690
String dashboardShowCases = "dashboardShowCases";
690691
String dashboardShowConfirmedContacts = "dashboardShowConfirmedContacts";
691692
String dashboardShowContacts = "dashboardShowContacts";
693+
String dashboardShowDataLabels = "dashboardShowDataLabels";
692694
String dashboardShowEvents = "dashboardShowEvents";
693695
String dashboardShowFirstDiseases = "dashboardShowFirstDiseases";
694696
String dashboardShowMinimumEntries = "dashboardShowMinimumEntries";

sormas-api/src/main/java/de/symeda/sormas/api/i18n/Strings.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -781,6 +781,7 @@ public interface Strings {
781781
String notificationContactSymptomatic = "notificationContactSymptomatic";
782782
String notificationContactWithoutCaseSymptomatic = "notificationContactWithoutCaseSymptomatic";
783783
String notificationDiseaseChanged = "notificationDiseaseChanged";
784+
String notificationEventParticipantCaseClassificationConfirmed = "notificationEventParticipantCaseClassificationConfirmed";
784785
String notificationLabResultArrived = "notificationLabResultArrived";
785786
String notificationLabResultArrivedContact = "notificationLabResultArrivedContact";
786787
String notificationLabResultArrivedEventParticipant = "notificationLabResultArrivedEventParticipant";

sormas-api/src/main/java/de/symeda/sormas/api/person/PersonAddressType.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ public static PersonAddressType[] getValues(String countryCode) {
1818
return new PersonAddressType[] {
1919
HOME,
2020
PLACE_OF_WORK,
21+
PLACE_OF_ISOLATION,
2122
OTHER_ADDRESS };
2223
}
2324

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -784,6 +784,8 @@ dashboardContactClassificationChart=Contact Classification Chart
784784
dashboardFollowUpUntilChart=Follow-Up Until Chart
785785
dashboardShowPercentageValues=Show percentage values
786786
dashboardShowTotalValues=Show total values
787+
dashboardShowDataLabels=Show data labels
788+
dashboardHideDataLabels=Hide data labels
787789
dashboardAggregatedNumber=Count
788790
dashboardProportion=Proportion (%)
789791

@@ -1189,7 +1191,7 @@ lineListingSetEndDateForAll=Set end date for all
11891191
Location=Location
11901192
Location.additionalInformation=Additional information
11911193
Location.addressType=Address Type
1192-
Location.addressTypeDetails=Address Type specification
1194+
Location.addressTypeDetails=Address name / description
11931195
Location.areaType=Area type (urban/rural)
11941196
Location.details=Community contact person
11951197
Location.facility=Facility

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

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ Campaign.description=Beschreibung
223223
Campaign.startDate=Startdatum
224224
Campaign.endDate=Enddatum
225225
Campaign.creatingUser=Benutzer erstellen
226-
Campaign.viewForms=Öffentlich
226+
Campaign.open=Open
227227
Campaign.edit=Bearbeiten
228228
Campaign.area=Gebiet
229229
Campaign.region=Kanton
@@ -311,6 +311,7 @@ CaseData.doses=Wie viele Dosen
311311
CaseData.epiData=Epidemiologische Daten
312312
CaseData.epidNumber=EPID-Nummer
313313
CaseData.externalID=Externe ID
314+
CaseData.externalToken=External Token
314315
CaseData.facilityType=Art der Einrichtung
315316
CaseData.healthFacility=Einrichtung
316317
CaseData.healthFacilityDetails=Name & Beschreibung der Einrichtung
@@ -430,12 +431,15 @@ CaseExport.travelHistory=Reisegeschichte
430431
CaseExport.numberOfPrescriptions=Anzahl der Rezepte
431432
CaseExport.numberOfTreatments=Anzahl der Behandlungen
432433
CaseExport.numberOfClinicalVisits=Anzahl an klinischen Bewertungen
434+
CaseExport.sampleUuid1=Latest sample uuid
433435
CaseExport.sampleDateTime1=Neueste Probe Datum Zeit
434436
CaseExport.sampleLab1=Labor der letzten Probe
435437
CaseExport.sampleResult1=Neueste Probe finales Laborergebnis
438+
CaseExport.sampleUuid2=2nd latest sample uuid
436439
CaseExport.sampleDateTime2=Vorletzte Probe Datum Zeit
437440
CaseExport.sampleLab2=Labor der vorletzten Probe
438441
CaseExport.sampleResult2=Vorletzte Probe finales Laborergebnis
442+
CaseExport.sampleUuid3=3rd latest sample uuid
439443
CaseExport.sampleDateTime3=Drittletzte Probe Datum Zeit
440444
CaseExport.sampleLab3=Labor der drittletzten Probe
441445
CaseExport.sampleResult3=Drittletzte Probe finales Laborergebnis
@@ -579,6 +583,7 @@ Contact.disease=Krankheit des Indexfalls
579583
Contact.district=Zuständiger Bezirk
580584
Contact.epiData=Epidemiologische Daten
581585
Contact.externalID=Externe ID
586+
Contact.externalToken=External Token
582587
Contact.firstContactDate=Datum des ersten Kontakts
583588
Contact.firstName=Vorname der Kontaktperson
584589
Contact.followUpComment=Nachverfolgungs-Status-Kommentar
@@ -876,6 +881,7 @@ Event.eventActions=Ereignisaktionen
876881
Event.endDate=Enddatum
877882
Event.multiDayEvent=Mehrtägiges Ereignis
878883
Event.externalId=Externe ID
884+
Event.externalToken=External Token
879885
Event.eventTitle=Titel
880886
Event.eventDesc=Beschreibung
881887
Event.nosocomial=Nosokomial
@@ -1349,6 +1355,7 @@ Person.uuid=Person-ID
13491355
Person.hasCovidApp=Hat COVID App
13501356
Person.covidCodeDelivered=COVID Code wurde generiert und ausgeliefert
13511357
Person.externalId=Externe ID
1358+
Person.externalToken=External Token
13521359
Person.symptomJournalStatus=Symptomtagebuch-Status
13531360
Person.salutation=Anrede
13541361
Person.otherSalutation=Andere Anrede

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

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ reportingUser=Meldender Nutzer
6161
about=Info
6262
aboutDocuments=Dokumente
6363
aboutSormasVersion=Version
64-
aboutBrandedSormasVersion=%s powered by SORMAS
64+
aboutBrandedSormasVersion=%s mit SORMAS betrieben
6565
aboutCaseClassificationRules=Falldefinitionskategorienregeln (HTML)
6666
aboutChangelog=Vollständiges Änderungsprotokoll
6767
aboutDataDictionary=Datenbeschreibungsverzeichnis (XLSX)
@@ -223,7 +223,7 @@ Campaign.description=Beschreibung
223223
Campaign.startDate=Startdatum
224224
Campaign.endDate=Enddatum
225225
Campaign.creatingUser=Benutzer erstellen
226-
Campaign.viewForms=Öffentlich
226+
Campaign.open=Öffnen
227227
Campaign.edit=Bearbeiten
228228
Campaign.area=Gebiet
229229
Campaign.region=Bundesland
@@ -311,6 +311,7 @@ CaseData.doses=Wie viele Dosen
311311
CaseData.epiData=Epidemiologische Daten
312312
CaseData.epidNumber=EPID-Nummer
313313
CaseData.externalID=Externe ID
314+
CaseData.externalToken=Aktenzeichen
314315
CaseData.facilityType=Art der Einrichtung
315316
CaseData.healthFacility=Einrichtung
316317
CaseData.healthFacilityDetails=Name & Beschreibung der Einrichtung
@@ -406,7 +407,6 @@ CaseData.prohibitionToWork=Tätigkeitsverbot
406407
CaseData.prohibitionToWorkFrom=Beginn des Tätigkeitsverbots
407408
CaseData.prohibitionToWorkUntil=Ende des Tätigkeitsverbots
408409
CaseData.reportingDistrict=Meldende/r Landkreis/Kreisfreie Stadt
409-
410410
# CaseExport
411411
CaseExport.address=Adresse
412412
CaseExport.addressRegion=Adresse Bundesland
@@ -431,12 +431,15 @@ CaseExport.travelHistory=Reisegeschichte
431431
CaseExport.numberOfPrescriptions=Anzahl der Verschreibungen
432432
CaseExport.numberOfTreatments=Anzahl der Behandlungen
433433
CaseExport.numberOfClinicalVisits=Anzahl an klinischen Bewertungen
434+
CaseExport.sampleUuid1=Letzte Proben ID
434435
CaseExport.sampleDateTime1=Neueste Probe Datum Zeit
435436
CaseExport.sampleLab1=Labor der letzten Probe
436437
CaseExport.sampleResult1=Neueste Probe finales Laborergebnis
438+
CaseExport.sampleUuid2=Zweitletzte Proben ID
437439
CaseExport.sampleDateTime2=Vorletzte Probe Datum Zeit
438440
CaseExport.sampleLab2=Labor der vorletzten Probe
439441
CaseExport.sampleResult2=Vorletzte Probe finales Laborergebnis
442+
CaseExport.sampleUuid3=Drittletzte Proben ID
440443
CaseExport.sampleDateTime3=Drittletzte Probe Datum Zeit
441444
CaseExport.sampleLab3=Labor der drittletzten Probe
442445
CaseExport.sampleResult3=Drittletzte Probe finales Laborergebnis
@@ -580,6 +583,7 @@ Contact.disease=Krankheit des Indexfalls
580583
Contact.district=Zuständige/r Landkreis/Kreisfreie Stadt
581584
Contact.epiData=Epidemiologische Daten
582585
Contact.externalID=Externe ID
586+
Contact.externalToken=Aktenzeichen
583587
Contact.firstContactDate=Datum des ersten Kontakts
584588
Contact.firstName=Vorname der Kontaktperson
585589
Contact.followUpComment=Nachverfolgungs-Status-Kommentar
@@ -877,6 +881,7 @@ Event.eventActions=Ereignisaktionen
877881
Event.endDate=Enddatum
878882
Event.multiDayEvent=Mehrtägiges Ereignis
879883
Event.externalId=Externe ID
884+
Event.externalToken=Aktenzeichen
880885
Event.eventTitle=Titel
881886
Event.eventDesc=Beschreibung
882887
Event.nosocomial=Nosokomial
@@ -1031,7 +1036,7 @@ Exposure.animalContactTypeDetails=Details zur Art der Kontakts
10311036
Exposure.contactToCase=Kontakt zum Indexfall
10321037
Exposure.gatheringType=Art der Versammlung
10331038
Exposure.gatheringDetails=Details zur Art der Versammlung
1034-
Exposure.habitationType=Art der Behausung
1039+
Exposure.habitationType=Art der Behausung/ des Aufenthalts
10351040
Exposure.habitationDetails=Details zur Art der Behausung/ des Aufenthalts
10361041
Exposure.typeOfAnimal=Art des Tieres
10371042
Exposure.typeOfAnimalDetails=Details zur Art des Tieres
@@ -1329,7 +1334,7 @@ Person.occupationFacilityDetails=Name & Beschreibung der Einrichtung
13291334
Person.occupationFacilityType=Art der Einrichtung
13301335
Person.occupationRegion=Bundesland der Einrichtung
13311336
Person.occupationType=Beschäftigungsart
1332-
Person.other.occupationDetails=Bitte geben Sie Ihren Beruf an
1337+
Person.other.occupationDetails=Beruf spezifizieren
13331338
Person.armedForcesRelationType=Zugehörigkeit zur Bundeswehr
13341339
Person.phone=Telefonnummer
13351340
Person.phoneOwner=Besitzer des Telefons
@@ -1350,6 +1355,7 @@ Person.uuid=Personen-ID
13501355
Person.hasCovidApp=Hat COVID App
13511356
Person.covidCodeDelivered=COVID Code wurde generiert und ausgeliefert
13521357
Person.externalId=Externe ID
1358+
Person.externalToken=Aktenzeichen
13531359
Person.symptomJournalStatus=Symptomtagebuch-Status
13541360
Person.salutation=Anrede
13551361
Person.otherSalutation=Andere Anrede

sormas-api/src/main/resources/captions_en-AF.properties

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -223,12 +223,12 @@ Campaign.description=Description
223223
Campaign.startDate=Start date
224224
Campaign.endDate=End date
225225
Campaign.creatingUser=Creating user
226-
Campaign.viewForms=Open
226+
Campaign.open=Open
227227
Campaign.edit=Edit
228228
Campaign.area=Region
229229
Campaign.region=Province
230230
Campaign.district=District
231-
Campaign.community=Community
231+
Campaign.community=Cluster
232232

233233
CampaignFormData.campaign = Campaign
234234
CampaignFormData.campaignFormMeta = Form
@@ -311,6 +311,7 @@ CaseData.doses=How many doses
311311
CaseData.epiData=Epidemiological data
312312
CaseData.epidNumber=EPID number
313313
CaseData.externalID=External ID
314+
CaseData.externalToken=External Token
314315
CaseData.facilityType=Facility type
315316
CaseData.healthFacility=Facility
316317
CaseData.healthFacilityDetails=Facility name & description
@@ -430,12 +431,15 @@ CaseExport.travelHistory=Travel history
430431
CaseExport.numberOfPrescriptions=Number of prescriptions
431432
CaseExport.numberOfTreatments=Number of treatments
432433
CaseExport.numberOfClinicalVisits=Number of clinical assessments
434+
CaseExport.sampleUuid1=Latest sample uuid
433435
CaseExport.sampleDateTime1=Latest sample date time
434436
CaseExport.sampleLab1=Latest sample laboratory
435437
CaseExport.sampleResult1=Latest sample final laboratory result
438+
CaseExport.sampleUuid2=2nd latest sample uuid
436439
CaseExport.sampleDateTime2=2nd latest sample date time
437440
CaseExport.sampleLab2=2nd latest sample laboratory
438441
CaseExport.sampleResult2=2nd latest sample final laboratory result
442+
CaseExport.sampleUuid3=3rd latest sample uuid
439443
CaseExport.sampleDateTime3=3rd latest sample date time
440444
CaseExport.sampleLab3=3rd latest sample laboratory
441445
CaseExport.sampleResult3=3rd latest sample final laboratory result
@@ -579,6 +583,7 @@ Contact.disease=Disease of source case
579583
Contact.district=Responsible district
580584
Contact.epiData=Epidemiological data
581585
Contact.externalID=External ID
586+
Contact.externalToken=External Token
582587
Contact.firstContactDate=Date of first contact
583588
Contact.firstName=First name of contact person
584589
Contact.followUpComment=Follow-up status comment
@@ -876,6 +881,7 @@ Event.eventActions=Event actions
876881
Event.endDate=End date
877882
Event.multiDayEvent=Multi-day event
878883
Event.externalId=External ID
884+
Event.externalToken=External Token
879885
Event.eventTitle=Title
880886
Event.eventDesc=Description
881887
Event.nosocomial=Nosocomial
@@ -1349,6 +1355,7 @@ Person.uuid=Person ID
13491355
Person.hasCovidApp=Has COVID app
13501356
Person.covidCodeDelivered=COVID code was generated and delivered
13511357
Person.externalId=External ID
1358+
Person.externalToken=External Token
13521359
Person.symptomJournalStatus=Symptom journal status
13531360
Person.salutation=Salutation
13541361
Person.otherSalutation=Other salutation
@@ -1905,8 +1912,8 @@ View.cases.maternalhistory=Maternal History
19051912
View.cases.porthealthinfo=Port Health Information
19061913
View.cases.visits=Case Visits
19071914

1908-
View.configuration.communities=Communities Configuration
1909-
View.configuration.communities.short=Communities
1915+
View.configuration.communities=Clusters Configuration
1916+
View.configuration.communities.short=Clusters
19101917
View.configuration.districts=Districts Configuration
19111918
View.configuration.districts.short=District
19121919
View.configuration.documentTemplates=Document Templates Management

0 commit comments

Comments
 (0)