microsoft / microsoft/fhir-server

Limit the number of included results for _include, and not only for _revinclude

Open
#1,309 1 comment 0 reactions 0 assignees View on GitHub
VSTS-Backlog
Dominant language
TSQL
Stars
1.4k
Forks
592
Avg merge
2d 7h
Merged PRs (30d)
41

Description

**User story**
As a user, I want to have the number of _include results (similarly to limiting _revinclude) so that I avoid potential performance issues.

Even though _revinclude is more risky, in terms of performance issue, it would be good to also limit _include results. The same limit applies when using the :iterate modifier.

**Acceptance criteria**
1. When I searching using _include and _revinclude modifiers, then the result sets per each _include/_revinclude parameter is limited by MaxCount, which is currently set to 100 by default.

Contributor guide

Open the contributing guide

Research direction

Start by tracing how the service handles _include and _revinclude parameters, including the :iterate modifier, and locate the existing MaxCount limit currently used for _revinclude. Done means each _include and _revinclude parameter produces no more than the MaxCount results, with the default remaining 100.

Written by the indexing model from the issue text.

Assessment

Tech stack
sql
Domain
api, backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.