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.
  • 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