Skip to content

Commit

Permalink
RESTWS-956 - Erroneous response when totalCount is included in query …
Browse files Browse the repository at this point in the history
…parameters for fetching encounters
  • Loading branch information
Amos Laboso committed Sep 19, 2024
1 parent deb522d commit d5147f7
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ public class EncounterSearchHandler2_0 implements SearchHandler {
Collections.singletonList("2.0.* - 9.*"),
Collections.singletonList(new SearchQuery.Builder(
"Allows you to find Encounter by patient and encounterType (and optionally by from and to date range)")
.withRequiredParameters("patient").withOptionalParameters("visit", "encounterType", DATE_FROM, DATE_TO, "order")
.build()));
.withRequiredParameters("patient").withOptionalParameters("visit", "encounterType", DATE_FROM, DATE_TO,
"order", "totalCount").build()));

@Override
public SearchConfig getSearchConfig() {
Expand Down

0 comments on commit d5147f7

Please sign in to comment.