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

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

Version 1 Current »

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.

  • No labels