tweaks to support patient editing