Skip to content

Commit

Permalink
remove requirement to have missing indexes enabled for patient bulk e…
Browse files Browse the repository at this point in the history
…xport
  • Loading branch information
XcrigX committed Nov 10, 2023
1 parent c89fc46 commit 1056769
Showing 1 changed file with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -163,13 +163,6 @@ private LinkedHashSet<JpaPid> getPidsForPatientStyleExport(
throws IOException {
LinkedHashSet<JpaPid> pids = new LinkedHashSet<>();
// Patient
if (myStorageSettings.getIndexMissingFields() == JpaStorageSettings.IndexEnabledEnum.DISABLED) {
String errorMessage =
"You attempted to start a Patient Bulk Export, but the system has `Index Missing Fields` disabled. It must be enabled for Patient Bulk Export";
ourLog.error(errorMessage);
throw new IllegalStateException(Msg.code(797) + errorMessage);
}

Set<String> patientSearchParams =
SearchParameterUtil.getPatientSearchParamsForResourceType(myContext, theParams.getResourceType());

Expand Down

0 comments on commit 1056769

Please sign in to comment.