dhis2-core icon indicating copy to clipboard operation
dhis2-core copied to clipboard

feat(dataelement): add reference to programstageelements

Open Birkbjo opened this issue 2 years ago • 2 comments

https://dhis2.atlassian.net/browse/DHIS2-16062

Adds the reverse reference from dataElement->programStageDataElements. As far as I understand this is basically the same as the reverse reference to dataSetElements.

This is mostly useful to allow us to filter dataElements by programStage and program. Eg.

/api/dataElements?fields=name,id&filter=programStageDataElements.programStage.program.id:eq:IpHINAT79UW

Birkbjo avatar Oct 26 '23 09:10 Birkbjo

Codecov Report

Merging #15493 (83ceb42) into master (5b62825) will increase coverage by 0.01%. Report is 1 commits behind head on master. The diff coverage is 100.00%.

@@             Coverage Diff              @@
##             master   #15493      +/-   ##
============================================
+ Coverage     66.15%   66.16%   +0.01%     
- Complexity    31176    31187      +11     
============================================
  Files          3485     3485              
  Lines        129745   129750       +5     
  Branches      15134    15134              
============================================
+ Hits          85828    85849      +21     
+ Misses        36830    36823       -7     
+ Partials       7087     7078       -9     
Flag Coverage Δ
integration 49.71% <100.00%> (+0.01%) :arrow_up:
integration-h2 32.42% <100.00%> (+<0.01%) :arrow_up:
unit 30.33% <60.00%> (+<0.01%) :arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Coverage Δ
...in/java/org/hisp/dhis/dataelement/DataElement.java 76.62% <100.00%> (+0.62%) :arrow_up:
.../main/java/org/hisp/dhis/program/ProgramStage.java 98.80% <100.00%> (+<0.01%) :arrow_up:

... and 7 files with indirect coverage changes


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update d61c516...83ceb42. Read the comment docs.

codecov[bot] avatar Oct 26 '23 10:10 codecov[bot]

This PR has not seen any activity in the last 5 months. The PR will be closed in 30 days if the stale label is not removed.

Please note that this is an automated message and we might very well be the reason why there has not been any activity lately.

Please remove the stale label if you would like to continue working on the PR. Make sure that you have requested a review by a dev or a team https://github.com/orgs/dhis2/teams.

github-actions[bot] avatar May 24 '24 00:05 github-actions[bot]

This PR is closed since it has not seen any activity in the last 6 months.

Please reopen a new PR if you would like to continue your work. Make sure that you request a review by a dev or a team https://github.com/orgs/dhis2/teams.

github-actions[bot] avatar Jun 24 '24 00:06 github-actions[bot]