Updating patient `nonstandard_features` via REST may clear other features as well

Description

PUT {"nonstandard_features": []} also deletes all regular, standard features

E.g. create a patient with some features, suppose it is patient `P0000001`. Then try

and all the features will be removed. Other items are not affected and setting other parameters works, e.g. if sex is set to "M" it will stay as "M", and a call like

will correctly update the sex but also blank regular features

Environment

None

Status

Assignee

Andrew Misyura

Reporter

Andrew Misyura

Labels

None

External issue ID

None

External issue ID

None

Epic Link

Components

Fix versions

Affects versions

1.3-milestone-6

Priority

Medium
Configure