Patient $everything operation with _offset query parameter throws exception - remove throw exception if _offset is provided

This commit is contained in:
volodymyr 2024-07-05 10:42:01 -06:00
parent ab3433aed9
commit dcf164bdb8
1 changed files with 1 additions and 2 deletions

View File

@ -73,8 +73,7 @@ public class JpaResourceDaoPatient<T extends IBaseResource> extends BaseHapiFhir
paramMap.setCount(theCount.getValue()); paramMap.setCount(theCount.getValue());
} }
if (theOffset != null) { if (theOffset != null) {
throw new IllegalArgumentException( paramMap.setOffset(theOffset.getValue());
Msg.code(1106) + "Everything operation does not support offset searching");
} }
if (theContent != null) { if (theContent != null) {
paramMap.add(Constants.PARAM_CONTENT, theContent); paramMap.add(Constants.PARAM_CONTENT, theContent);