LifeStatusController does not handle life status changes well on import

Description

When a life status is changed from "deceased" to "alive" date of death is not cleared. This may result in a strangely looking patient:

1) create a patient, make patient "deceased", set date of birth, date of death, save, go to view mode
2) import JSON: {"life_status":"alive"}
3) observe a patient which is "alive" but has date of death

This is a regression introduced in PT-2992 and PT-2987

Also, the tests that verify actual save() functionality were removed, probably should be added back as well

Environment

None

Status

Assignee

Veronika Koltunova

Reporter

Andrew Misyura

Labels

None

External issue ID

None

External issue ID

None

Components

Fix versions

Affects versions

1.3

Priority

Medium
Configure