docs: public static List<ElementDefinition> getChildList(StructureDefinition profile, String path) {
      List<ElementDefinition> res = new ArrayList<ElementDefinition>();
  
      for (ElementDefinition e : profile.getSnapshot().getElement())
      {
        String p = e.getPath();
  
        if (!Utilities.noString(e.getContentReference()) && path.startsWith(p))
        {
          if (path.length() > p.length())
            return getChildList(profile, e.getContentReference()+"."+path.substring(p.length()+1));
          else
            return getChildList(profile, e.getContentReference());
        }
        else if (p.startsWith(path+".") && !p.equals(path))
        {
            String tail = p.substring(path.length()+1);
            if (!tail.contains(".")) {
              res.add(e);
            }
          }
  
        }
  
      return res;
    }