Is there any way to 'filter' Resources that are included or reverse included?
For instance if I wanted to get all Patient resources and the Flags that reference them:
Patient?_revinclude=Flag:subject
But what if I want to get all the Patient resources and the Flags that reference them, but only include the Flags that have an active status (assuming there is a SearchParameter on Flag.status):
Patient?_revinclude=Flag:subject&Flag.status=active
Is there a way to do this? I am assuming FHIR only allows to 'filter' the Resource that is being queried.
There is no mechanism to do this using regular RESTful query.