Disable click to edit patient when necessary