We're updating the issue view to help you get more done. 

Unable to create/update patient record with phenotypes without specifying nonstandard_features[] through REST API

Description

This no longer works in PT1.3M6 (it worked in PT1.3M5):

1 curl -u Admin:admin -H "Content-Type: application/json" -X POST -d '{ "features": [{"id": "HP:0000593", "label": "Abnormality of the anterior chamber", "type": "phenotype", "observed":"yes"}], "sex":"F"}' http://localhost:8080/rest/patients

This is the only way to create a patient record with phenotype:

1 curl -u Admin:admin -H "Content-Type: application/json" -X POST -d '{ "features": [{"id": "HP:0000593", "label": "Abnormality of the anterior chamber", "type": "phenotype", "observed":"yes"}], "sex":"F", "nonstandard_features": []}' http://localhost:8080/rest/patients

Environment

None

Status

Assignee

Veronika Koltunova

Reporter

Sasha Andjic

Labels

External issue ID

None

External issue ID

None

Epic Link

Fix versions

Affects versions

1.3-milestone-6

Priority

Medium