openEHR / archie

OpenEHR library implementing ADL 2, AOM 2, BMM, RM 1.0.4 and many tools
Apache License 2.0
52 stars 25 forks source link

Add AnnotationDifferentiator #610

Closed VeraPrinsen closed 2 months ago

VeraPrinsen commented 3 months ago

Fixes #608

Differentiating archetypes does not yet differentiate the annotations, resulting in all annotations of the parents being in the child archetype.

With this AnnotationDifferentiator, the entries in the annotations that are also in the parent are now removed from the annotations in the child archetype.

codecov[bot] commented 3 months ago

Codecov Report

Attention: Patch coverage is 96.15385% with 1 line in your changes missing coverage. Please review.

Project coverage is 72.28%. Comparing base (e4d16b2) to head (3b70c11). Report is 4 commits behind head on master.

Files Patch % Lines
...om/nedap/archie/diff/AnnotationDifferentiator.java 96.00% 0 Missing and 1 partial :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #610 +/- ## ============================================ + Coverage 71.85% 72.28% +0.43% - Complexity 6972 7229 +257 ============================================ Files 663 671 +8 Lines 22740 23449 +709 Branches 3680 3905 +225 ============================================ + Hits 16340 16951 +611 - Misses 4669 4725 +56 - Partials 1731 1773 +42 ```

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