Difference between folder / container for modifiers

Skip to first unread message

Andreas Unterkircher

Aug 31, 2021, 7:45:57 AMAug 31
to i2b2 Install Help

We notice that an element of visualattribute "OA" must be contained in an element of type "FA" somewhere higher in the hierarchy.  If this is not the case one cannot drag the element into a group. In particular we saw this problem because our "OA" was contained in a "CA"  and thus was not draggable, only after having changed to "FA" we could again drag the element,

I wonder what is the rationale behind the above rule? In the context of modifiers what's the difference between a folder and a container?

Here's the javascript code snippet implementing this behaviour:

var data = sdxConcept.origData;
while (hasContainer || !Object.isUndefined(data.parent))
if ((data.hasChildren == "OAE") || (data.hasChildren == "OA"))
hasContainer = true;

var realdata = sdxConcept.origData;
while ((realdata.hasChildren != "FA") &&
(realdata.hasChildren != "FAE"))

realdata  = realdata.parent;

Thanks for any advice!

Phillips, Lori C.

Aug 31, 2021, 9:18:42 AMAug 31
to i2b2-ins...@googlegroups.com

OA signifies an active modifier.  A modifier must be associated with a draggable concept in order for it to be draggable.


From: i2b2-ins...@googlegroups.com <i2b2-ins...@googlegroups.com> On Behalf Of Andreas Unterkircher
Sent: Tuesday, August 31, 2021 7:46 AM
To: i2b2 Install Help <i2b2-ins...@googlegroups.com>
Subject: Difference between folder / container for modifiers


        External Email - Use Caution        

You received this message because you are subscribed to the Google Groups "i2b2 Install Help" group.
To unsubscribe from this group and stop receiving emails from it, send an email to i2b2-install-h...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/i2b2-install-help/9e4ef485-0a39-4ff1-8bed-39672ad58fbdn%40googlegroups.com.

The information in this e-mail is intended only for the person to whom it is addressed. If you believe this e-mail was sent to you in error and the e-mail contains patient information, please contact the Mass General Brigham Compliance HelpLine at http://www.massgeneralbrigham.org/complianceline . If the e-mail was sent to you in error but does not contain patient information, please contact the sender and properly dispose of the e-mail.

Please note that this e-mail is not secure (encrypted).  If you do not wish to continue communication over unencrypted e-mail, please notify the sender of this message immediately.  Continuing to send or respond to e-mail after receiving this message means you understand and accept this risk and wish to continue to communicate over unencrypted e-mail. 

Reply all
Reply to author
0 new messages