Required parameters are marked with "*"
Якщо інформації по відповідному параметру немає, потрібно зазначити: “API paragraph not found”.
Purpose*
This WS allows to register the patient into the system.
Specification*
Logic*
This WS allows to register the patient into the system. This process is done through next steps:
- Create/Update mpi.persons (based on birth_date and tax_id) - Create/Update mithril.users (based on email) - Create/Update authentication_factors (based on user_id) - Create/Update user_roles (based on user_id)
JWT_token:
{ "email": "example@gmail.com", "timestamp": "2018-02-28 10:38:00" }
Request structure*
See on Apiary
Example:
Authorize*
API paragraph not found
Headers*
Наприклад:
Content-Type:application/json
Authorization:Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InNwLnZpcm55QGdtYWlsLmNvbSIsInRpbWVzdGFtcCI6IjIwMTgtMDItMjggMTA6Mzg6MDAifQ.LJRLTqK-zf9gxDNMONcI8cMCSYosDtmAIZqhzZUdhz4
Validate request*
API paragraph not found
Request data validation*
API paragraph not found
Processing*
API paragraph not found
Response structure*
See on Apiary
Example:
Post-processing processes*
API paragraph not found