Number of data returned by _summary=count when using _include or _revinclude

Hi.
I could not find it, but if there was a similar discussion going on in this topic I apologize.

For example, suppose I have a DB here that contains 10 patient data, one of which refers to the organization resource.

In this case, the number of data to be retrieved would be 10 patient data and 1 organization data, for a total of 11 data items, if the following search is performed.
/Patient?_include=Patient:organization

If I use _summary=count in addition to this search, will the counts displayed include data from other resources obtained with _include?
/Patient?_summary=count&_include=Patient:organization

I also checked the searchSummary, but could not find it.

Appreciate any help you can give me.
Thanks.

count does not include the included resources

1 Like