             ) AS cmd,
             lower(item_group_oid) AS relname,
             21 AS suborder
-            FROM dm.metadata_crf_ig_item
+            FROM metadata_crf_ig_item
             INNER JOIN dm_metadata_study AS dms
                 ON metadata_crf_ig_item.study_name = dms.study_name
             

  $BODY$
    DECLARE r RECORD;
    BEGIN
        RETURN QUERY
        WITH views AS (
                SELECT

        RETURN;
    END;
    $BODY$
LANGUAGE plpgsql VOLATILE;