Open ms-k1ngk0ng opened 2 years ago
Unfortunately, there's no clear-cut approach to this issue. As things stand currently, the 'Basic Search Params' generator should be able to handle any SearchParameter resource. Meaning, if you can inflate the SearchParams listed into the CapabilityStatement into actual SearchParameter resources, you should be able to duplicate the Basic Search Params generator and hand them to it. However, this is simply going to have unintended consequences due to the likely incomplete nature of the SearchParameters in the CapabilityStatement, and the generator's reliance on the Expression element. I think the most important part of this is going to be guaranteeing that the relevant information is stored within the search parameter resources, and how to handle scenarios where it is not stored.
Add support for generating tests targeting the search parameters defined within the Capability Statement of a given IG.