Search Mailing List Archives

Limit search to: Subject & Body Subject Author
Sort by: Reverse Sort
Limit to: All This Week Last Week This Month Last Month
Select Date Range     through    

[bioontology-support] [BioPortal] Feedback from fawks

Jennifer Leigh Vendetti vendetti at
Wed Jul 18 11:18:29 PDT 2018

Hello Alex,

> On Jul 18, 2018, at 10:02 AM, Alex Fawksson <fawks14 at> wrote:
> Hello Jennifer, thank you for your advice. Using children instead of descandants is very sound idea. As for modified API calls I tried using it with parameters you recommended but encountered one problem. PrefLabel and Cui worked but hasChildren doesn't seem to work. If I understood correctly it should have only listed elements that have children but it still included childless elements into the list.

Apologies if I didn’t explain the hasChildren attribute in enough detail.

It’s a boolean attached to a class object that simply indicates whether or not a class has children. Including this property when using the classes endpoint won’t filter out classes with no children. You would still need to iterate over the collection of MEDDRA classes, checking the value of hasChildren for each class, and retrieving the children if hasChildren = true.

Let me know if that makes sense.

Kind regards,

More information about the bioontology-support mailing list