...
Specification
WS Logic
Authorize
- Verify the validity of access token
- In case of error - generate 401 response
- Check user scope (scope = 'program_medication:read') in order to perform this action
- In case of error - generate 403 response
Validate PK Program Medications
Check the Medication within the Medical program ($.id) exists in PRM.program_medications
- if invalid - return 404 error (message: "Medication within the Medical program is not found!")