inferno-framework / us-core-test-kit

Inferno Test Kit for evaluating API conformance to the US Core Implementation Guide
Apache License 2.0
7 stars 5 forks source link

FI-2371: Add granular scopes tests #148

Closed Jammjammjamm closed 7 months ago

Jammjammjamm commented 8 months ago

This branch adds testing for granular scopes.

During the normal FHIR API tests, requests for resources with required granular scopes are tagged with their resource type and search param names, e.g. Condition?patient&category. The granular scope tests then load up all of the requests from the normal FHIR API tests for a particular set of search params and repeat them, verifying that the resources returned are properly filtered according to the granted scopes.

To try it out:

Tasks in follow-up tickets: