cqframework / clinical-reasoning

CQF Clinical Reasoning on FHIR for Java
https://www.cqframework.org/clinical-reasoning/
Apache License 2.0
33 stars 24 forks source link

Fix issue with item generation for hidden items #441

Closed barhodes closed 3 months ago

barhodes commented 3 months ago

With this change, when generating Questionnaire items from a Profile, if a differential element does not have a type, the type from the snapshot (if available) will be used. Alternatively, if the element has child elements defined the type is ignored and a group item is created for the children elements.

github-actions[bot] commented 3 months ago

Formatting check succeeded!

codecov[bot] commented 3 months ago

Codecov Report

Attention: Patch coverage is 94.52055% with 4 lines in your changes are missing coverage. Please review.

Project coverage is 59.23%. Comparing base (a50e8eb) to head (7d524b1).

Files Patch % Lines
...questionnaire/generate/dstu3/ElementProcessor.java 87.50% 0 Missing and 1 partial :warning:
...cr/questionnaire/generate/r4/ElementProcessor.java 87.50% 0 Missing and 1 partial :warning:
...cr/questionnaire/generate/r5/ElementProcessor.java 87.50% 0 Missing and 1 partial :warning:
...onnaireresponse/extract/ProcessDefinitionItem.java 95.23% 0 Missing and 1 partial :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #441 +/- ## ============================================ + Coverage 59.15% 59.23% +0.07% - Complexity 3163 3175 +12 ============================================ Files 320 320 Lines 16496 16495 -1 Branches 2553 2564 +11 ============================================ + Hits 9759 9771 +12 + Misses 5618 5606 -12 + Partials 1119 1118 -1 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.