docs: private ST genAlternativeTypes(ElementDefinition ed, String id, String shortId) {
      ST shex_alt = tmplt(ALTERNATIVE_SHAPES_TEMPLATE);
      List<String> altEntries = new ArrayList<String>();
  
  
      for(ElementDefinition.TypeRefComponent typ : ed.getType())  {
        altEntries.add(genAltEntry(id, typ));
      }
      shex_alt.add("altEntries", StringUtils.join(altEntries, " OR\n    "));
      return shex_alt;
    }