this function allows us to determine which ids are directly descended from which other ones. it is the only part of the code that relies on the ID format used by the Curitiba study (TODO CITE); by modifying this function, it shold be possible to adapt this code to another study
the id of the potential child
the id of the potential parent
id is the direct descendant of
and FALSE otherwise
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.