def METHOD_NAME():
    """ Adds MedicalFolder dataset into database of NODE """
    # Request object as JSON
    req = request.json
    data_path_save = os.path.join(config['DATA_PATH_SAVE'], *req['medical_folder_root'])
    if req["reference_csv_path"] is None:
        dataset_parameters = {}
    else:
        reference_csv = os.path.join(config['DATA_PATH_SAVE'], *req["reference_csv_path"])
        dataset_parameters = {"index_col": req["index_col"],
                              "tabular_file": reference_csv}
    try:
        dataset_id = dataset_manager.add_database(
            name=req["name"],
            data_type="medical-folder",
            tags=req['tags'],
            description=req['desc'],
            path=data_path_save,
            dataset_parameters=dataset_parameters,
            data_loading_plan=g.dlp,
            save_dlp=False)
    except FedbiomedError as e:
        return error(str(e)), 400
    except Exception as e:
        return error("Unexpected error: " + str(e)), 400
    # Get saved dataset document
    res = table.get(query.dataset_id == dataset_id)
    if not res:
        return error("Medical Folder Dataset is not properly deployed. "
                     "Please try again."), 400
    return response(data=res), 200