Fixed #337, non-admins can't edit patient fields