cqframework / cqframework/cqf-tooling
Refresh creates duplicate patient entries in the Group resource
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 22
- Forks
- 26
- PR merge metrics
- No merged PRs in 30d
Description
Describe the bug
Group resource creation duplicates Patient resources in the Group.
To Reproduce
Steps to reproduce the behavior:
- Run refresh in the ecqm-content-qicore-2025 repository
- Note that the resulting Group resources duplicate Patient entries
We suspect that this is because the test case folders contain the test data within individual resource files in the folders, as well as the "bundle" files at the root, as a by-product of the bundling process, and note that the actual fix here is to fix the fact that the bundling process shouldn't be leaving these bundled files around, they cause all sorts of problems in other ways as well.
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 reproducing refresh in the ecqm-content-qicore-2025 repository and inspect the test case folders for both individual resource files and root-level bundle files. Trace the bundling process to determine why bundled files remain; done means refresh no longer creates duplicate Patient entries in Group resources and the leftover bundled files are removed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100