docs: private String genChoiceTypes(StructureDefinition sd, ElementDefinition ed, String id) {
      List<String> choiceEntries = new ArrayList<String>();
      String base = id.replace("[x]", "");
  
      for(ElementDefinition.TypeRefComponent typ : ed.getType())
        choiceEntries.add(genChoiceEntry(sd, ed, id, base, typ));
  
      return StringUtils.join(choiceEntries, " |\n");
    }