ЕСОЗ - публічна документація

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 7 Next »

Status

Specification

DONE

Apiary

DONE

JSON Schema request

ABSENT

JSON Schema response
SPECS

Purpose

This WS is designed to return Program_medications list by filters.

Specification

Apiary                                           

WS Logic

Authorize

  1. Verify the validity of access token
    1. In case error - generate 401 response
  2. Check user scope (scope = 'program_medication:write') in order to perform this action
    1. In case error - generate 403 response

Parameters available to filter

  • id (optional)
  • medical_program_id (optional)
  • medical_program_name (optional, as `LIKE *`)
  • innm_id (optional)
  • innm_name (optional, as `LIKE *`)
  • medication_id (optional)
  • medication_name (optional, as `LIKE *`)

When filter by innm (name or id)  we show only medication where this innm in medication.dosage has is_active_substance=true.

Fields to show 

id (program_medications_id)

medical_program_name

medication_name
form
manufacturer 
reimbursement_amount
innm_name


  • No labels