docs: private String genAltEntry(String id, ElementDefinition.TypeRefComponent typ) {
      if(!typ.getCode().equals("Reference"))
        throw new AssertionError("We do not handle " + typ.getCode() + " alternatives");
  
      return genReference(id, typ);
    }