...
If this policy is adopted, then a closed status will reflect the status of the resource (EpisodeOfCare or CarePlan) including all of its children.
Filtering included resources when searching
Note: This functionality is available from release 6.1 when including referenced ClinicalImpressions in a Task search. It may later be extended to other resource types
For the primary resource, it is possible to verify search parameters against security token before performing the actual search against the database. This ensures that the user is allowed access to all resources found by the search.
However, this cannot be determined if the search includes referenced resources. In that case access is checked for each included resource just before a page of search results are returned to the client. If any security violations are found, then an error is returned to the client.
This behavior is changed to a filtering mechanism instead. Any included resources that the user is not allowed to access will be removed from the search result, but the remaining resources will be returned to the client.
To indicate that some resources were filtered, an OperationOutcome will be added to the search result.
OperationOutcome.issue.severity:
warning
OperationOutcome.issue.code:
suppressed
OperationOutcome.issue.diagnostics:
Some included resources were filtered due to access constraints for the user