Skip to content

Commit

Permalink
fix for issue #86
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander-Kreutz committed Dec 20, 2023
1 parent b553af8 commit 1420541
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -388,6 +388,11 @@ public List<Patient> translateToFhir(byte[] input, Map<String, Object> parameter
}

response.add(result);

// Fix for issue #86. More restrictions required for query than provided.
if (response.isEmpty() && errtext.length() > 0) {
throw new InvalidRequestException(errtext, error(IssueType.INVALID, errtext));
}
}


Expand Down

0 comments on commit 1420541

Please sign in to comment.