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

Apply fixes for apply #315

Closed barhodes closed 1 year ago

barhodes commented 1 year ago

Fixes several issues found testing against the use cases found here: https://github.com/cqframework/pd-apply/tree/main/connectathon-33

The biggest issue is the de-flattening of nested PlanDefinition actions. This flattening was occurring in the previous implementation to support CDS Hooks. This new implementation will break anything currently depending on that flattening. A translation layer for turning a RequestGroup response into a CDS Card/system action will need to be developed to support those use cases.