...
- Verify the validity of access token
- In case of error - generate 401 response
- Check user scope (scope = 'program_brand:read') in order to perform this action
- In case of error - generate 403 response
Validate PK Program
...
Brands
Check the Medication brand within the Medical program ($.id) exists in PRM.program_brands
- if invalid - return 404 error (message: "Brand within the Medical program is not found")