cqframework / clinical-reasoning

CQF Clinical Reasoning on FHIR for Java
https://www.cqframework.org/clinical-reasoning/
Apache License 2.0
34 stars 24 forks source link

Instantiate a single ModelResolver in the ResourceMatchers #324

Closed barhodes closed 1 year ago

barhodes commented 1 year ago

When using an in memory repository with search parameters, the resource matchers being used were instantiated a version specific ModelResolver on each match call. This fix instantiates a single ModelResolver to be used for the life of the matcher.