Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ public class Constants {
"cancel",
"end",
"accept",
"execute",
"sync",
"request",
"revoke",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,15 @@ default List<ExternalMessageDto> saveAndProcessSurveyResponses() {

ExternalMessageDto getForSurveillanceReport(SurveillanceReportReferenceDto surveillanceReport);

/**
* Re-submits a survey response.
*
* @param uuid
* UUID of the external message (must be of type SURVEY_RESPONSE)
* @return updated ExternalMessageDto after reprocessing
*/
ExternalMessageDto executeSurveyProcessing(String uuid);

/**
* Re-submits a survey response with a corrected patch dictionary after previous processing failures.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -346,14 +346,6 @@ public class SymptomsDto extends PseudonymizableDto {
public static final String WEIGHT_LOSS = "weightLoss";
public static final String WEIGHT_LOSS_AMOUNT = "weightLossAmount";
public static final String BLOATING = "bloating";

public static final String LOSS_OF_APPETITE = "lossOfAppetite";
public static final String FLATULENCE = "flatulence";
public static final String SMELLY_BURPS = "smellyBurps";
public static final String COUGHING_ATTACKS = "coughingAttacks";
public static final String COUGHING_AT_NIGHT = "coughingAtNight";
public static final String ABDOMINAL_CRAMPS = "abdominalCramps";

public static final String REOCCURRENCE = "reoccurrence";
public static final String OVERNIGHT_STAY_REQUIRED = "overnightStayRequired";
public static final String SYMPTOM_CURRENT_STATUS = "symptomCurrentStatus";
Expand Down Expand Up @@ -2958,34 +2950,6 @@ public static SymptomsDto build() {
GIARDIASIS })
@SymptomGrouping(SymptomGroup.GASTROINTESTINAL)
private SymptomState bloating;

@Diseases({
CRYPTOSPORIDIOSIS,
GIARDIASIS,
RESPIRATORY_SYNCYTIAL_VIRUS })
private SymptomState lossOfAppetite;

@Diseases({
GIARDIASIS })
private SymptomState flatulence;

@Diseases({
GIARDIASIS })
private SymptomState smellyBurps;

@Diseases({
PERTUSSIS })
private SymptomState coughingAttacks;

@Diseases({
PERTUSSIS })
private SymptomState coughingAtNight;

@Diseases({
CRYPTOSPORIDIOSIS,
GIARDIASIS })
private SymptomState abdominalCramps;

private DiagnosisType diagnosis;
private InfectionSite majorSite;
private String otherMajorSiteDetails;
Expand Down Expand Up @@ -5352,54 +5316,6 @@ public void setEyeIrritation(SymptomState eyeIrritation) {
this.eyeIrritation = eyeIrritation;
}

public SymptomState getCoughingAtNight() {
return coughingAtNight;
}

public void setCoughingAtNight(SymptomState coughingAtNight) {
this.coughingAtNight = coughingAtNight;
}

public SymptomState getLossOfAppetite() {
return lossOfAppetite;
}

public void setLossOfAppetite(SymptomState lossOfAppetite) {
this.lossOfAppetite = lossOfAppetite;
}

public SymptomState getFlatulence() {
return flatulence;
}

public void setFlatulence(SymptomState flatulence) {
this.flatulence = flatulence;
}

public SymptomState getSmellyBurps() {
return smellyBurps;
}

public void setSmellyBurps(SymptomState smellyBurps) {
this.smellyBurps = smellyBurps;
}

public SymptomState getCoughingAttacks() {
return coughingAttacks;
}

public void setCoughingAttacks(SymptomState coughingAttacks) {
this.coughingAttacks = coughingAttacks;
}

public SymptomState getAbdominalCramps() {
return abdominalCramps;
}

public void setAbdominalCramps(SymptomState abdominalCramps) {
this.abdominalCramps = abdominalCramps;
}

public SymptomState getTenesmus() {
return tenesmus;
}
Expand Down
2 changes: 1 addition & 1 deletion sormas-api/src/main/resources/strings.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2096,7 +2096,7 @@ headingSurveyResponseDetails=Response Details
headingSurveyResponseFailures=Validation Issues
headingSurveyResponseCorrectAndReprocess=Correct & Reprocess
messageSurveyResponseAllFieldsApplied=All fields were successfully applied
messageSurveyResponseNotYetProcessed=This response has not been processed yet
messageSurveyResponseNotYetProcessed=There was an issue when building the survey request, please fetch the surveys again or wait for the next automatic fetch
messageSurveyResponseReprocessed=The response has been successfully reprocessed
messageSurveyResponseReprocessedFailure=There was a failure when reprocessing the response, please try to edit it again to check what caused the issue.

Expand Down
2 changes: 1 addition & 1 deletion sormas-api/src/main/resources/strings_ar-SA.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2095,7 +2095,7 @@ headingSurveyResponseDetails=Response Details
headingSurveyResponseFailures=Validation Issues
headingSurveyResponseCorrectAndReprocess=Correct & Reprocess
messageSurveyResponseAllFieldsApplied=All fields were successfully applied
messageSurveyResponseNotYetProcessed=This response has not been processed yet
messageSurveyResponseNotYetProcessed=There was an issue when building the survey request, please fetch the surveys again or wait for the next automatic fetch
messageSurveyResponseReprocessed=The response has been successfully reprocessed
messageSurveyResponseReprocessedFailure=There was a failure when reprocessing the response, please try to edit it again to check what caused the issue.

Expand Down
2 changes: 1 addition & 1 deletion sormas-api/src/main/resources/strings_cs-CZ.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2095,7 +2095,7 @@ headingSurveyResponseDetails=Response Details
headingSurveyResponseFailures=Validation Issues
headingSurveyResponseCorrectAndReprocess=Correct & Reprocess
messageSurveyResponseAllFieldsApplied=All fields were successfully applied
messageSurveyResponseNotYetProcessed=This response has not been processed yet
messageSurveyResponseNotYetProcessed=There was an issue when building the survey request, please fetch the surveys again or wait for the next automatic fetch
messageSurveyResponseReprocessed=The response has been successfully reprocessed
messageSurveyResponseReprocessedFailure=There was a failure when reprocessing the response, please try to edit it again to check what caused the issue.

Expand Down
2 changes: 1 addition & 1 deletion sormas-api/src/main/resources/strings_de-CH.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2095,7 +2095,7 @@ headingSurveyResponseDetails=Response Details
headingSurveyResponseFailures=Validation Issues
headingSurveyResponseCorrectAndReprocess=Correct & Reprocess
messageSurveyResponseAllFieldsApplied=All fields were successfully applied
messageSurveyResponseNotYetProcessed=This response has not been processed yet
messageSurveyResponseNotYetProcessed=There was an issue when building the survey request, please fetch the surveys again or wait for the next automatic fetch
messageSurveyResponseReprocessed=The response has been successfully reprocessed
messageSurveyResponseReprocessedFailure=There was a failure when reprocessing the response, please try to edit it again to check what caused the issue.

Expand Down
2 changes: 1 addition & 1 deletion sormas-api/src/main/resources/strings_de-DE.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2095,7 +2095,7 @@ headingSurveyResponseDetails=Response Details
headingSurveyResponseFailures=Validation Issues
headingSurveyResponseCorrectAndReprocess=Correct & Reprocess
messageSurveyResponseAllFieldsApplied=All fields were successfully applied
messageSurveyResponseNotYetProcessed=This response has not been processed yet
messageSurveyResponseNotYetProcessed=There was an issue when building the survey request, please fetch the surveys again or wait for the next automatic fetch
messageSurveyResponseReprocessed=The response has been successfully reprocessed
messageSurveyResponseReprocessedFailure=There was a failure when reprocessing the response, please try to edit it again to check what caused the issue.

Expand Down
2 changes: 1 addition & 1 deletion sormas-api/src/main/resources/strings_en-AF.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2095,7 +2095,7 @@ headingSurveyResponseDetails=Response Details
headingSurveyResponseFailures=Validation Issues
headingSurveyResponseCorrectAndReprocess=Correct & Reprocess
messageSurveyResponseAllFieldsApplied=All fields were successfully applied
messageSurveyResponseNotYetProcessed=This response has not been processed yet
messageSurveyResponseNotYetProcessed=There was an issue when building the survey request, please fetch the surveys again or wait for the next automatic fetch
messageSurveyResponseReprocessed=The response has been successfully reprocessed
messageSurveyResponseReprocessedFailure=There was a failure when reprocessing the response, please try to edit it again to check what caused the issue.

Expand Down
2 changes: 1 addition & 1 deletion sormas-api/src/main/resources/strings_en-GH.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2095,7 +2095,7 @@ headingSurveyResponseDetails=Response Details
headingSurveyResponseFailures=Validation Issues
headingSurveyResponseCorrectAndReprocess=Correct & Reprocess
messageSurveyResponseAllFieldsApplied=All fields were successfully applied
messageSurveyResponseNotYetProcessed=This response has not been processed yet
messageSurveyResponseNotYetProcessed=There was an issue when building the survey request, please fetch the surveys again or wait for the next automatic fetch
messageSurveyResponseReprocessed=The response has been successfully reprocessed
messageSurveyResponseReprocessedFailure=There was a failure when reprocessing the response, please try to edit it again to check what caused the issue.

Expand Down
2 changes: 1 addition & 1 deletion sormas-api/src/main/resources/strings_en-GM.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2095,7 +2095,7 @@ headingSurveyResponseDetails=Response Details
headingSurveyResponseFailures=Validation Issues
headingSurveyResponseCorrectAndReprocess=Correct & Reprocess
messageSurveyResponseAllFieldsApplied=All fields were successfully applied
messageSurveyResponseNotYetProcessed=This response has not been processed yet
messageSurveyResponseNotYetProcessed=There was an issue when building the survey request, please fetch the surveys again or wait for the next automatic fetch
messageSurveyResponseReprocessed=The response has been successfully reprocessed
messageSurveyResponseReprocessedFailure=There was a failure when reprocessing the response, please try to edit it again to check what caused the issue.

Expand Down
2 changes: 1 addition & 1 deletion sormas-api/src/main/resources/strings_en-KE.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2095,7 +2095,7 @@ headingSurveyResponseDetails=Response Details
headingSurveyResponseFailures=Validation Issues
headingSurveyResponseCorrectAndReprocess=Correct & Reprocess
messageSurveyResponseAllFieldsApplied=All fields were successfully applied
messageSurveyResponseNotYetProcessed=This response has not been processed yet
messageSurveyResponseNotYetProcessed=There was an issue when building the survey request, please fetch the surveys again or wait for the next automatic fetch
messageSurveyResponseReprocessed=The response has been successfully reprocessed
messageSurveyResponseReprocessedFailure=There was a failure when reprocessing the response, please try to edit it again to check what caused the issue.

Expand Down
2 changes: 1 addition & 1 deletion sormas-api/src/main/resources/strings_en-LR.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2095,7 +2095,7 @@ headingSurveyResponseDetails=Response Details
headingSurveyResponseFailures=Validation Issues
headingSurveyResponseCorrectAndReprocess=Correct & Reprocess
messageSurveyResponseAllFieldsApplied=All fields were successfully applied
messageSurveyResponseNotYetProcessed=This response has not been processed yet
messageSurveyResponseNotYetProcessed=There was an issue when building the survey request, please fetch the surveys again or wait for the next automatic fetch
messageSurveyResponseReprocessed=The response has been successfully reprocessed
messageSurveyResponseReprocessedFailure=There was a failure when reprocessing the response, please try to edit it again to check what caused the issue.

Expand Down
2 changes: 1 addition & 1 deletion sormas-api/src/main/resources/strings_en-NG.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2095,7 +2095,7 @@ headingSurveyResponseDetails=Response Details
headingSurveyResponseFailures=Validation Issues
headingSurveyResponseCorrectAndReprocess=Correct & Reprocess
messageSurveyResponseAllFieldsApplied=All fields were successfully applied
messageSurveyResponseNotYetProcessed=This response has not been processed yet
messageSurveyResponseNotYetProcessed=There was an issue when building the survey request, please fetch the surveys again or wait for the next automatic fetch
messageSurveyResponseReprocessed=The response has been successfully reprocessed
messageSurveyResponseReprocessedFailure=There was a failure when reprocessing the response, please try to edit it again to check what caused the issue.

Expand Down
2 changes: 1 addition & 1 deletion sormas-api/src/main/resources/strings_es-BO.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2095,7 +2095,7 @@ headingSurveyResponseDetails=Response Details
headingSurveyResponseFailures=Validation Issues
headingSurveyResponseCorrectAndReprocess=Correct & Reprocess
messageSurveyResponseAllFieldsApplied=All fields were successfully applied
messageSurveyResponseNotYetProcessed=This response has not been processed yet
messageSurveyResponseNotYetProcessed=There was an issue when building the survey request, please fetch the surveys again or wait for the next automatic fetch
messageSurveyResponseReprocessed=The response has been successfully reprocessed
messageSurveyResponseReprocessedFailure=There was a failure when reprocessing the response, please try to edit it again to check what caused the issue.

Expand Down
2 changes: 1 addition & 1 deletion sormas-api/src/main/resources/strings_fa-AF.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2095,7 +2095,7 @@ headingSurveyResponseDetails=Response Details
headingSurveyResponseFailures=Validation Issues
headingSurveyResponseCorrectAndReprocess=Correct & Reprocess
messageSurveyResponseAllFieldsApplied=All fields were successfully applied
messageSurveyResponseNotYetProcessed=This response has not been processed yet
messageSurveyResponseNotYetProcessed=There was an issue when building the survey request, please fetch the surveys again or wait for the next automatic fetch
messageSurveyResponseReprocessed=The response has been successfully reprocessed
messageSurveyResponseReprocessedFailure=There was a failure when reprocessing the response, please try to edit it again to check what caused the issue.

Expand Down
2 changes: 1 addition & 1 deletion sormas-api/src/main/resources/strings_fi-FI.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2095,7 +2095,7 @@ headingSurveyResponseDetails=Response Details
headingSurveyResponseFailures=Validation Issues
headingSurveyResponseCorrectAndReprocess=Correct & Reprocess
messageSurveyResponseAllFieldsApplied=All fields were successfully applied
messageSurveyResponseNotYetProcessed=This response has not been processed yet
messageSurveyResponseNotYetProcessed=There was an issue when building the survey request, please fetch the surveys again or wait for the next automatic fetch
messageSurveyResponseReprocessed=The response has been successfully reprocessed
messageSurveyResponseReprocessedFailure=There was a failure when reprocessing the response, please try to edit it again to check what caused the issue.

Expand Down
2 changes: 1 addition & 1 deletion sormas-api/src/main/resources/strings_fr-CH.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2095,7 +2095,7 @@ headingSurveyResponseDetails=Response Details
headingSurveyResponseFailures=Validation Issues
headingSurveyResponseCorrectAndReprocess=Correct & Reprocess
messageSurveyResponseAllFieldsApplied=All fields were successfully applied
messageSurveyResponseNotYetProcessed=This response has not been processed yet
messageSurveyResponseNotYetProcessed=There was an issue when building the survey request, please fetch the surveys again or wait for the next automatic fetch
messageSurveyResponseReprocessed=The response has been successfully reprocessed
messageSurveyResponseReprocessedFailure=There was a failure when reprocessing the response, please try to edit it again to check what caused the issue.

Expand Down
2 changes: 1 addition & 1 deletion sormas-api/src/main/resources/strings_fr-FR.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2095,7 +2095,7 @@ headingSurveyResponseDetails=Response Details
headingSurveyResponseFailures=Validation Issues
headingSurveyResponseCorrectAndReprocess=Correct & Reprocess
messageSurveyResponseAllFieldsApplied=All fields were successfully applied
messageSurveyResponseNotYetProcessed=This response has not been processed yet
messageSurveyResponseNotYetProcessed=There was an issue when building the survey request, please fetch the surveys again or wait for the next automatic fetch
messageSurveyResponseReprocessed=The response has been successfully reprocessed
messageSurveyResponseReprocessedFailure=There was a failure when reprocessing the response, please try to edit it again to check what caused the issue.

Expand Down
2 changes: 1 addition & 1 deletion sormas-api/src/main/resources/strings_fr-TN.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2095,7 +2095,7 @@ headingSurveyResponseDetails=Response Details
headingSurveyResponseFailures=Validation Issues
headingSurveyResponseCorrectAndReprocess=Correct & Reprocess
messageSurveyResponseAllFieldsApplied=All fields were successfully applied
messageSurveyResponseNotYetProcessed=This response has not been processed yet
messageSurveyResponseNotYetProcessed=There was an issue when building the survey request, please fetch the surveys again or wait for the next automatic fetch
messageSurveyResponseReprocessed=The response has been successfully reprocessed
messageSurveyResponseReprocessedFailure=There was a failure when reprocessing the response, please try to edit it again to check what caused the issue.

Expand Down
2 changes: 1 addition & 1 deletion sormas-api/src/main/resources/strings_it-CH.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2095,7 +2095,7 @@ headingSurveyResponseDetails=Response Details
headingSurveyResponseFailures=Validation Issues
headingSurveyResponseCorrectAndReprocess=Correct & Reprocess
messageSurveyResponseAllFieldsApplied=All fields were successfully applied
messageSurveyResponseNotYetProcessed=This response has not been processed yet
messageSurveyResponseNotYetProcessed=There was an issue when building the survey request, please fetch the surveys again or wait for the next automatic fetch
messageSurveyResponseReprocessed=The response has been successfully reprocessed
messageSurveyResponseReprocessedFailure=There was a failure when reprocessing the response, please try to edit it again to check what caused the issue.

Expand Down
2 changes: 1 addition & 1 deletion sormas-api/src/main/resources/strings_it-IT.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2095,7 +2095,7 @@ headingSurveyResponseDetails=Response Details
headingSurveyResponseFailures=Validation Issues
headingSurveyResponseCorrectAndReprocess=Correct & Reprocess
messageSurveyResponseAllFieldsApplied=All fields were successfully applied
messageSurveyResponseNotYetProcessed=This response has not been processed yet
messageSurveyResponseNotYetProcessed=There was an issue when building the survey request, please fetch the surveys again or wait for the next automatic fetch
messageSurveyResponseReprocessed=The response has been successfully reprocessed
messageSurveyResponseReprocessedFailure=There was a failure when reprocessing the response, please try to edit it again to check what caused the issue.

Expand Down
2 changes: 1 addition & 1 deletion sormas-api/src/main/resources/strings_ka-GE.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2095,7 +2095,7 @@ headingSurveyResponseDetails=Response Details
headingSurveyResponseFailures=Validation Issues
headingSurveyResponseCorrectAndReprocess=Correct & Reprocess
messageSurveyResponseAllFieldsApplied=All fields were successfully applied
messageSurveyResponseNotYetProcessed=This response has not been processed yet
messageSurveyResponseNotYetProcessed=There was an issue when building the survey request, please fetch the surveys again or wait for the next automatic fetch
messageSurveyResponseReprocessed=The response has been successfully reprocessed
messageSurveyResponseReprocessedFailure=There was a failure when reprocessing the response, please try to edit it again to check what caused the issue.

Expand Down
2 changes: 1 addition & 1 deletion sormas-api/src/main/resources/strings_pl-PL.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2095,7 +2095,7 @@ headingSurveyResponseDetails=Response Details
headingSurveyResponseFailures=Validation Issues
headingSurveyResponseCorrectAndReprocess=Correct & Reprocess
messageSurveyResponseAllFieldsApplied=All fields were successfully applied
messageSurveyResponseNotYetProcessed=This response has not been processed yet
messageSurveyResponseNotYetProcessed=There was an issue when building the survey request, please fetch the surveys again or wait for the next automatic fetch
messageSurveyResponseReprocessed=The response has been successfully reprocessed
messageSurveyResponseReprocessedFailure=There was a failure when reprocessing the response, please try to edit it again to check what caused the issue.

Expand Down
2 changes: 1 addition & 1 deletion sormas-api/src/main/resources/strings_ps-AF.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2095,7 +2095,7 @@ headingSurveyResponseDetails=Response Details
headingSurveyResponseFailures=Validation Issues
headingSurveyResponseCorrectAndReprocess=Correct & Reprocess
messageSurveyResponseAllFieldsApplied=All fields were successfully applied
messageSurveyResponseNotYetProcessed=This response has not been processed yet
messageSurveyResponseNotYetProcessed=There was an issue when building the survey request, please fetch the surveys again or wait for the next automatic fetch
messageSurveyResponseReprocessed=The response has been successfully reprocessed
messageSurveyResponseReprocessedFailure=There was a failure when reprocessing the response, please try to edit it again to check what caused the issue.

Expand Down
2 changes: 1 addition & 1 deletion sormas-api/src/main/resources/strings_pt-BR.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2095,7 +2095,7 @@ headingSurveyResponseDetails=Response Details
headingSurveyResponseFailures=Validation Issues
headingSurveyResponseCorrectAndReprocess=Correct & Reprocess
messageSurveyResponseAllFieldsApplied=All fields were successfully applied
messageSurveyResponseNotYetProcessed=This response has not been processed yet
messageSurveyResponseNotYetProcessed=There was an issue when building the survey request, please fetch the surveys again or wait for the next automatic fetch
messageSurveyResponseReprocessed=The response has been successfully reprocessed
messageSurveyResponseReprocessedFailure=There was a failure when reprocessing the response, please try to edit it again to check what caused the issue.

Expand Down
Loading
Loading