...
Validate request using JSON schema (link)
Authorize
- Verify the validity of access token
- Check user scope medication_request:create (!!! TBD) in order to perform this action
Validate active declaration
- Get active declaration by person. if not found - return 409 error
Validate crossing with other medication requests
...
- Get medication requests crossing with term in payload + innm