Make fields "Deceased at age" and "Cause of death" visible only when editable

Description

Right now the following occurs when changing status:

Alive - both fields visible and read-only ( hide both fields)
Deceased - both fields visible and editable
Unborn - Cause of death visible and read-only ( hide cause of death)
Stillborn - Cause of death visible and editable ( hide cause of death)
Miscarried - Cause of death visible and editable ( hide cause of death)
Aborted - Cause of death visible and read-only ( hide cause of death)

Environment

None

Status

Assignee

Marta Girdea

Reporter

Sasha Andjic

Labels

None

External issue ID

None

Epic Link

Components

Priority

Minor
Configure