Purpose
This WS is designed to return Group of Diagnoses details.
Key points
This is a REST method used by MIS.
Authorization is not needed to get Group of Diagnoses details.
Specification
Validate Group of Diagnoses
Check that Group of Diagnoses with such ID exists in the system (is_active = true)
In case of error - return 404 "Group of Diagnoses not found"
Search params
Group of Diagnoses id
Service logic
Get data from prm DB:
diagnoses_groups by id
diagnoses_group_codes by diagnoses_group_id
Render a response according to specification.