Auto-save patient data only if there are changes

Description

We auto-save patient form in many cases, e.g. every time before opening pedigree editor, or every time before pushing. This creates unnecessary blank history states for the patient document, and slows the UI interaction. Since implemented "unsaved change" detection, we should now use similar logic to decide if we need to auto-save patient data or not in all those cases as well

Environment

None

Status

Assignee

Marta Girdea

Reporter

Andrew Misyura

Labels

None

External issue ID

None

External issue ID

None

Components

Fix versions

Priority

Medium
Configure