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

RC [WP] Get Group of Diagnoses details_EN

Purpose

This WS is designed to return Group of Diagnoses details.

Key points

  1. This is a REST method used by MIS.

  2. Authorization is not needed to get Group of Diagnoses details.

Specification

Apiary

Validate Group of Diagnoses

  1. Check that Group of Diagnoses with such ID exists in the system (is_active = true)

    1. In case of error - return 404 "Group of Diagnoses not found"

Search params

  • Group of Diagnoses id

Service logic

  1. Get data from prm DB:

    1. diagnoses_groups by id

    2. diagnoses_group_codes by diagnoses_group_id

  2. Render a response according to specification.

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