HTML-541 - Error when trying to edit an encounter that doesn't belong to a visit