In the course of creating and testing a hierarchy of custom modifiers for my project, I encountered this anomaly with my custom modifiers. Then I checked a modifier folder in the i2b2 Demo Ontology. The behavior was the same. My report below focuses on the example from the i2b2 Demo Ontology, but this seems to be the case with my custom Modifier folders as well.
This was discovered in i2b2 v.1.8.2 using Firefox on macOS. Fyi, I am using SQL Server, and WildFly 37 is running on RHEL 9.
Not certain whether this is a webclient issue, or an ONT-cell issue, but it manifests itself in the webclient for version 1.8.2.
Imagine the Severity hierarchy for modifiers in the i2b2 Demo Ontology. These modifiers are used, for instance, in the Respiratory branch of the Diagnoses tree. The Severity modifier tree has a folder "Severe" and 2 leaves: "Fatal", and "Type I Hypersensitivity". These modifiers are visible, for instance, under "Lung diseases due to external irritants," and are also displayed inside each of the "child" diagnoses within that folder.
So far, so good.
The problem is encountered when a user opens up the Severe folder in the parent diagnosis, also opens up a child diagnosis (for instance, "Asbestosis"), and then also opens the Severe folder within the child diagnosis. Then when the user closes all these folders, and then opens them up again, there is a problem. The modifier-leaves "Fatal" and "Type I Hypersensitivity" that are associated with the "Asbestosis" diagnosis are displayed within the "Severe" folder for the parent-level "Lung diseases due to external irritants." Please see the attached screenshot.
In that image, it's unclear from the Terms panel whether the Severe leaves are simply repeated, or actually belong to a child diagnosis. But when I dragged over each of those leaves into the Query Panel, I discovered that two of the leaves were for the parent diagnosis folder, and two of the leaves were in fact for Asbestosis.
Somehow, the modifier folder for the parent diagnosis is "attracting" or "collecting" the modifier leaves from the child diagnosis.
In the course of creating and testing a hierarchy of custom modifiers for my project, I encountered this anomaly with my custom modifiers. Then I checked a modifier folder in the i2b2 Demo Ontology. The behavior was the same. My report below focuses on the example from the i2b2 Demo Ontology, but this seems to be the case with my custom Modifier folders as well.
This was discovered in i2b2 v.1.8.2 using Firefox on macOS. Fyi, I am using SQL Server, and WildFly 37 is running on RHEL 9.
Not certain whether this is a webclient issue, or an ONT-cell issue, but it manifests itself in the webclient for version 1.8.2.
Imagine the Severity hierarchy for modifiers in the i2b2 Demo Ontology. These modifiers are used, for instance, in the Respiratory branch of the Diagnoses tree. The Severity modifier tree has a folder "Severe" and 2 leaves: "Fatal", and "Type I Hypersensitivity". These modifiers are visible, for instance, under "Lung diseases due to external irritants," and are also displayed inside each of the "child" diagnoses within that folder.
So far, so good.
The problem is encountered when a user opens up the Severe folder in the parent diagnosis, also opens up a child diagnosis (for instance, "Asbestosis"), and then also opens the Severe folder within the child diagnosis. Then when the user closes all these folders, and then opens them up again, there is a problem. The modifier-leaves "Fatal" and "Type I Hypersensitivity" that are associated with the "Asbestosis" diagnosis are displayed within the "Severe" folder for the parent-level "Lung diseases due to external irritants." Please see the attached screenshot.
In that image, it's unclear from the Terms panel whether the Severe leaves are simply repeated, or actually belong to a child diagnosis. But when I dragged over each of those leaves into the Query Panel, I discovered that two of the leaves were for the parent diagnosis folder, and two of the leaves were in fact for Asbestosis.
Somehow, the modifier folder for the parent diagnosis is "attracting" or "collecting" the modifier leaves from the child diagnosis.