
Interface IAuthorizationSearchParamMatcher
public interface IAuthorizationSearchParamMatcher
Adapt the InMemoryMatcher to support authorization filters in
FhirQueryRuleTester
.
Exists because filters may be applied to resources that don't support all paramters, and UNSUPPORTED
has a different meaning during authorization.-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enum
Match outcomes.static class
-
Method Summary
Modifier and TypeMethodDescriptionCalculate if the resource would match the fhir query parameters.
-
Method Details
-
match
IAuthorizationSearchParamMatcher.MatchResult match(String theQueryParameters, org.hl7.fhir.instance.model.api.IBaseResource theResource) Calculate if the resource would match the fhir query parameters.- Parameters:
theQueryParameters
- e.g. "category=laboratory"theResource
- the target of the comparison
-