Open VeraPrinsen opened 4 months ago
In the Flattener, on this line https://github.com/openEHR/archie/blob/0f48e8e752647625c113f09c90e92e2f6c8df2d9/tools/src/main/java/com/nedap/archie/flattener/Flattener.java#L182, the objects with zero occurrences are removed from the flattened archetype.
This is however not done with annotations referring to these objects.
These annotations should also be removed in the flattener.
In the Flattener, on this line https://github.com/openEHR/archie/blob/0f48e8e752647625c113f09c90e92e2f6c8df2d9/tools/src/main/java/com/nedap/archie/flattener/Flattener.java#L182, the objects with zero occurrences are removed from the flattened archetype.
This is however not done with annotations referring to these objects.
These annotations should also be removed in the flattener.