This WS is designed to return Program_brands medications list by filters.
WS Logic
Authorize
- Verify the validity of access token
- In case error - generate 401 response
- Check user scope (scope = 'program_brandmedication:write') in order to perform this action
- In case error - generate 403 response
Parameters available to filter
- id (optional)
- medical_program_id (optional)
- medical_program_name (optional, as `LIKE *`)
- innm_dosage_id (optional)
- innm_dosage_name (optional, as `LIKE *`)
- brandmedication_id (optional)
- brandmedication_name (optional, as `LIKE *`)
- is_active
When filter by innm_dosage (name or id) we show only medication brands where this innm_dosage in medication{type=brand}.dosage has is_active_substanceprimary=true.
Fields to show
id (program_brands_id) medical_program_name brandmedication_name form manufacturer reimbursement_amount brandinnm_dosage_name is_active |