docs: private ElementDefinition updateURLs(String url, ElementDefinition element) {
      if (element != null) {
        ElementDefinition defn = element;
        if (defn.hasBinding() && defn.getBinding().getValueSet() instanceof Reference && ((Reference)defn.getBinding().getValueSet()).getReference().startsWith("#"))
          ((Reference)defn.getBinding().getValueSet()).setReference(url+((Reference)defn.getBinding().getValueSet()).getReference());
        for (TypeRefComponent t : defn.getType()) {
          for (UriType tp : t.getProfile()) {
          	if (tp.getValue().startsWith("#"))
              tp.setValue(url+t.getProfile());
          }
        }
      }
      return element;
    }