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

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 11 Next »

Status

Specification

DONE

Apiary

DONE

JSON Schema request

ABSENT

JSON Schema response
SPECS

Purpose

This WS is designed to return Program medication detail.

Specification

Apiary

WS Logic

Authorize

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

Validate PK Program Medications

  1. Check the Medication within the Medical program ($.id) exists in PRM.program_medications

    1. if invalid - return 404 error (message: "Medication within the Medical program is not found!")
  • No labels