ЕСОЗ - публічна документація
Get Drugs Tests
n/n | Description | Test Case inputs | Expected Result | Step by step Script | Actual Result |
---|---|---|---|---|---|
GDT1 | Get Drugs | Response 200 | Log in as Doctor Get drugs | ||
GDT2 | Get drugs without scopes | Response 403 | Log in not as Doctor Get drugs without scopes | ||
GDT3 | Get drugs by innm id | innm_id = valid, exists | Response 200 | Log in as Doctor Get drugs by innm_id | |
GDT4 | Get drugs by innm dosage id | innm_dosage_id = valid, exists | Response 200 | Log in as Doctor Get drugs by innm_dosage_id | |
GDT5 | Get drugs by innm name | innm_name = valid, exists (ex. Будесонід) | Response 200 | Log in as Doctor Get drugs by innm_name | |
GDT6 | Get drugs by innm dosage form | innm_dosage_form = valid, from dictionary (ex.TABLET) | Response 200 | Log in as Doctor Get drugs by innm_dosage_form | |
GDT7 | Get drugs by innm dosage name | innm_dosage_name = valid, exists (ex. Карведилол 6.25 MG таблетки) | Response 200 | Log in as Doctor Get drugs by innm_dosage_name | |
GDT8 | Get drugs by medication code atc | medication_code_atc = valid, exists (ex.C01DA08) | Response 200 | Log in as Doctor Get drugs by medication_code_atc | |
GDT9 | Get drugs by not valid innm id | innm_id = not valid | Response 422 message: Elixir.Ecto.UUID is invalid | Log in as Doctor Get drugs by innm_id not valid |
ЕСОЗ - публічна документація