% capture invariantsdiff %}
            {% include StructureDefinition-{{[id]}}-inv-diff.xhtml %}
          {% endcapture %}
          <!-- 218 is size of empty table -->
          {% unless invariantsdiff.size <= 218 %}
            <a name="inv"> </a>
            <!--Constraints  heading in the fragment -->
            {% include StructureDefinition-{{[id]}}-inv-diff.xhtml %}
          {% endunless%}
        </div>
      </div>
    </div>
    <a name="tabs-key"> </a>
    <div id="tabs-key">
      <div id="