Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents
Specification


Apiary
JSON Schema response
SPECS

Purpose

This WS is designed to return Program brand medication detail.

WS Logic

Authorize

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

Validate PK Program Brands

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

    1. if invalid - return 404 error (message: "Brand Medication brand within the Medical program is not found")