The CBC reported the New Brunswick government has promised legislation to regulate a new electronic health records system.