If DOB are marked as required only year of birth will be enforced

Description

Steps to reproduce:

  • make Date of birth required ( open http://localhost:8080/edit/PhenoTips/UIX_Field__date_of_birth?editor=object and in the "Extension Parameters" section set `required` to `true`, e.g. `required=true`)

  • create new patient and do not populate DPB

  • click SAVE

  • you will be prompted about missing data

  • type year of birth

  • click on SAVE

  • patient record will be saved (it shouldn't because month and day of birth were not specified)

Environment

None

Status

Assignee

Veronika Koltunova

Reporter

Sasha Andjic

Labels

None

External issue ID

None

External issue ID

None

Epic Link

Components

Fix versions

Affects versions

1.4-milestone-4

Priority

Medium
Configure