ЕСОЗ - публічна документація

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Current »

#Description
Expected resultActual result

Valid input data
record created in DBrecord created in DB

Wrong scopestoken of user, who doesn't have the scope 403403

Declaration validation(link to test cases) handledid of the patient, who does not have a declaration with the doctor403

Patient statusid of the patient that is not active409+

PK is nunique$.id not unique422+

Managing organization is not a legal_entity $.managing_organization.identifier.type.coding.[0].code != "legal_entity"422+

Attempt to create episode for another legal_entity$.managing_organization.identifier.value != token.client_id422+

Start date is not in future $.period.start !<= current_date422+

End date is present in not requestend_date
+

Care_manager is not an employee$.care_manager.identifier.type.coding.[0].code != "employee"422+

Care_manager is not a DOCTORPRM.employee.type != "DOCTOR"409+

Care_manager is not activePRM.employee.status!= "active"409+

Care_manager is not from the same legal_entityPRM.employee.legal_entity! = token.client_id409404
  • No labels