Ensure phenopacket does not contain both an HPO term and an ancestor.
A phenopacket should not contain a feature and its ancestor. This applies to both observed and excluded phenotypic features. In case of observed features, the most specific feature should be retained. In contrary, the least specific (broadest) feature should be retained for the excluded phenotypic features.
As an exception, an observed ancestor of an excluded feature can be included (e.g. Abnormality of finger but notArachnodactyly).
Ensure phenopacket does not contain both an HPO term and an ancestor.
A phenopacket should not contain a feature and its ancestor. This applies to both observed and excluded phenotypic features. In case of observed features, the most specific feature should be retained. In contrary, the least specific (broadest) feature should be retained for the excluded phenotypic features.
As an exception, an observed ancestor of an excluded feature can be included (e.g. Abnormality of finger but not Arachnodactyly).