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