cqframework / cqframework/cqf-tooling
Enhance decision table logic production in decision table processor
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 22
- Forks
- 26
- PR merge metrics
- No merged PRs in 30d
Description
To better align the decision table logic with the data dictionary labels, add processing to the decision table that identifies data elements referenced in the decision logic and creates "renames" so that the decision table logic doesn't have to reference included library names. For example, ANC DT01 currently produces:
define "Should Proceed with ANC contact":
ContactData."Danger signs" in Cx."Danger Signs - No danger signs Choices"
Should produce
define "Danger signs" : ContactData."Danger signs"
define "Danger Signs - No danger signs Choices":
Cx."Danger Signs - No danger signs Choices"
That way the logic can be expressed as (i.e. without library prefixes):
define "Should Proceed with ANC contact":
"Danger signs" in "Danger Signs - No danger signs Choices"
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the decision table processor and the code that produces CQL for ANC DT01. Compare the current generated logic with the requested renamed definitions and verify that referenced data elements no longer require included library names. Done means the generated output follows the shown form without breaking other decision tables.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100