cqframework / cqframework/clinical-reasoning

ReportAggregators not including groups/stratifiers/etc. from both Reports

Open
#135 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Java
Stars
49
Forks
43
Avg merge
2d 19h
Merged PRs (30d)
13

Description

Correct Behavior:

MeasureReport A {
   Group 1 = 8
   Group 2 = 3
}

+

MeasureReport B {
   Group 2 = 8
   Group 3 = 5
}

=

MeasureReport C {
   Group 1 = 8   <- Included from A
   Group 2 = 11  <- Included from A and B
   Group 3 = 5   <- Includes from B
}

Current Behavior:

Current Behavior:
MeasureReport A {
   Group 1 = 8
   Group 2 = 3
}

+

MeasureReport B {
   Group 2 = 8
   Group 3 = 5
}

=

MeasureReport C {
   Group 1 = 8   <- Included from A
   Group 2 = 11  <- Included from A and B
   Group 3 = MISSING! Wasn't present in A so it wasn't added! 
}

Contributor guide

No contributing guide indexed for this repository

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 locating ReportAggregators and inspect how groups, stratifiers, and related data are copied when combining two MeasureReports. Reproduce the example with Groups 1–3, then verify that the combined report includes entries unique to either input and sums shared entries as described.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend-api-design
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 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.