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());
}
if (theOffset != null) {
throw new IllegalArgumentException(
Msg.code(1106) + "Everything operation does not support offset searching");
paramMap.setOffset(theOffset.getValue());
}
if (theContent != null) {
paramMap.add(Constants.PARAM_CONTENT, theContent);