Data Element Concept -
{% lookup subitems "aristotle_mdr.dataelementconcept" item.dataElementConcept_id as dec %}
{% include "aristotle_mdr/helpers/itemLink.html" with item=dec %}
{% include "aristotle_mdr/downloads/html/helpers/inlineDetails.html" with item=dec name=False %}
{% if dec.objectClass_id %}
Object Class
{% lookup subitems "aristotle_mdr.objectclass" dec.objectClass_id as oc %}
{% include "aristotle_mdr/downloads/html/helpers/inlineDetails.html" with item=oc %}
{% endif %}
{% if dec.property_id %}
Property
{% lookup subitems "aristotle_mdr.property" dec.property_id as prop %}
{% include "aristotle_mdr/downloads/html/helpers/inlineDetails.html" with item=prop %}
{% endif %}
{% endif %}
{% if item.valueDomain_id %}
Value Domain -
{% lookup subitems "aristotle_mdr.valuedomain" item.valueDomain_id as vd %}
{% include "aristotle_mdr/helpers/itemLink.html" with item=vd %}
{% include "aristotle_mdr/downloads/html/helpers/inlineDetails.html" with item=vd name=False %}
{# % include "aristotle_mdr/downloads/html/inline/valueDomainRepresentation.html" with item=item.valueDomain % #}