cqframework / cqframework/cqf-tooling

Refresh creates duplicate patient entries in the Group resource

Open
#575 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
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:

  1. Run refresh in the ecqm-content-qicore-2025 repository
  2. 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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.