Table of Contents |
---|
General Aspects of Interacting with Services
Filtering on Searching with Included Resources
Info |
---|
This functionality is available from eHealth Infrastructure Release 6.1 when including referenced ClinicalImpression 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 the 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.
When a search operation includes references resources, however, this cannot be determined up front. In that case, access is checked for each included resource just before a page of search results is returned to the client. Previously, an error would be returned to the client in case of inadvertent security violations. This behavior has now been changed to a filtering mechanism instead. Any included resources that the user is not allowed to access are removed from the search result returned to the client.
When resources have been removed due to access control, an OperationOutcome is included in the search result, where particular elements contains the following:
OperationOutcome.issue.severity:
warning
OperationOutcome.issue.code:
suppressed
OperationOutcome.issue.diagnostics:
Some included resources were filtered due to access constraints for the user
Interactions with the Terminology Service
...