...
Person registration request itself must contains patient (person) data and some consents as part of PIS authorization
Validate person data according to https://e-health-ua.atlassian.net/wiki/spaces/PCABEH/pages/1741514359817525605954/Rules+to+validate+patient+data#Person-with-confidant
Check
patient_signed
field value equals to ‘true’in case of error - return 422 ('value is not allowed in enum')
Check
process_disclosure_data_consent
field value equal to ‘true’in case of error - return 422 ('value is not allowed in enum')
...