Table of Contents |
---|
...
Decode content that is encrypted in an electronic digital signature.
Use Digital signature WS. Method checks digital signature and returns result.
See service specification
Validate DRFO
- Check that DRFO in Certificate details exists and not empty
- Check that DRFO in Certificate details is equal to DRFO of the user that creates employee_request in Party
- Get party.tax_id using user_id from employee request payload
- Compare DRFO in Certificate with party.tax_id
- Convert DRFO and TAX_ID to uppercase
- Compare DRFO and TAX_ID as Cyrillic letters
- Convert DRFO to Cyrillic and compare as Cyrillic letters
- In case validation fails - generate 422 error
...
Position can not be changed
in case of failure, return error 422 "position can not be changed"
If specialities.speciality_officio:true, in this object value of speciality can not be changedchanged (with several exceptions in the item b)
in case of failure, return error 422 "main speciality can not be changed"
there are following exceptions related to speciality changing for legal entity type “PRIMARY CARE”:
Old speciality | New speciality | Status details for existing declarations |
---|---|---|
pediatrician | family_doctor | patient's declarations aged 0 to 18 remain status “active” |
pediatrician | therapist | patient's declarations aged 0 to 18 change status to “terminated” |
family_doctor | therapist | patient's declarations aged 18 and older remain status “active” |
patient's declarations aged 0 to 18 change status to “terminated” | ||
family_doctor | pediatrician | patient's declarations aged 0 to 18 remain status “active” |
patient's declarations aged 18 and older change status to “terminated” | ||
therapist | family_doctor | patient's declarations aged 18 and older remain status “active” |
therapist | pediatrician | patient's declarations aged 18 and older change status to “terminated” |