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

Get Drugs Tests

n/nDescriptionTest Case inputsExpected ResultStep by step ScriptActual Result
GDT1Get Drugs
Response 200

Log in as Doctor

Get drugs

  •  
GDT2Get drugs without scopes
Response 403

Log in not as Doctor

Get drugs without scopes

  •  
GDT3Get drugs by innm idinnm_id = valid, existsResponse 200

Log in as Doctor

Get drugs by innm_id

  •  
GDT4Get drugs by innm dosage idinnm_dosage_id = valid, existsResponse 200

Log in as Doctor

Get drugs by innm_dosage_id

  •  
GDT5Get drugs by innm nameinnm_name = valid, exists (ex. Будесонід)Response 200

Log in as Doctor

Get drugs by innm_name

  •  
GDT6Get drugs by innm dosage forminnm_dosage_form = valid, from dictionary (ex.TABLET)Response 200

Log in as Doctor

Get drugs by innm_dosage_form

  •  
GDT7Get drugs by innm dosage nameinnm_dosage_name = valid, exists (ex. Карведилол 6.25 MG таблетки)Response 200

Log in as Doctor

Get drugs by innm_dosage_name

  •  
GDT8Get drugs by medication code atcmedication_code_atc = valid, exists (ex.C01DA08)Response 200

Log in as Doctor

Get drugs by medication_code_atc

  •  
GDT9Get drugs by not valid innm idinnm_id = not valid

Response 422

message: Elixir.Ecto.UUID is invalid

Log in as Doctor

Get drugs by innm_id not valid

  •  


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