who-icatx / icatx-project

A place for project tasks discussion and discussion of other issues arising on this project
0 stars 0 forks source link

New entity field that searches only in the subclasses of the selected entity #67

Open tudorache opened 2 months ago

tudorache commented 2 months ago

We need a new entity field type for subclassBaseInclusions, which can take as value the IRIs of the subclasses only. It should not allow adding a value from anywhere in the class hiearchy, but only from the subclasses of the edited class.

image
matthewhorridge commented 2 months ago

I am trying to figure out a clean way of doing this. In the meantime, would you be able to give a couple of examples of what this looks like in practice and what it actually means?

tudorache commented 1 month ago

For example, here is what the subclass base inclusion for class Cholera looks like in the old iCAT. It allows the user to select subclasses of Cholera as values:

image

You can read about the significance of the subclass base inclusion in the content model guide section 4.8.