/
RC_REHAB_ Get dictionaries v2+

Π•Π‘ΠžΠ— - ΠΏΡƒΠ±Π»Ρ–Ρ‡Π½Π° докумСнтація

RC_REHAB_ Get dictionaries v2+

Purpose

This method is designed to retrieve a catalog of dictionaries that can be used in eHealth. This WS can represent hierarchical dictionaries with subordinate (child) values. Each value can be managed by β€˜is_active’ flag.

Specification

Link

eHealth API Β· Apiary

Посилання на Apiary або Swagger

Resource

/api/v2/dictionaries

Посилання Π½Π° рСсурс, Π½Π°ΠΏΡ€ΠΈΠΊΠ»Π°Π΄: /api/persons/create

Scope

dictionary:read

Scope для доступу

Components

Dictionaries

Π—Π°Π·Π½Π°Ρ‡Π°Ρ”Ρ‚ΡŒΡΡ ΠΏΠ΅Ρ€Π΅Π»Ρ–ΠΊ бізнСс ΠΊΠΎΠΌΠΏΠΎΠ½Π΅Π½Ρ‚Ρ–Π², які Π²ΠΈΠΊΠΎΡ€ΠΈΡΡ‚ΠΎΠ²ΡƒΡŽΡ‚ΡŒ Ρ†Π΅ΠΉ ΠΌΠ΅Ρ‚ΠΎΠ΄, Π½Π°ΠΏΡ€ΠΈΠΊΠ»Π°Π΄: ePrescription

Microservices

API paragraph not found

ΠŸΠ΅Ρ€Π΅Π»Ρ–ΠΊ мікросСрвісів, які використовує ΠΌΠ΅Ρ‚ΠΎΠ΄ API, Π½Π°ΠΏΡ€ΠΈΠΊΠ»Π°Π΄: Auth, ABAC

Protocol type

REST

Π’ΠΈΠΏ ΠΏΡ€ΠΎΡ‚ΠΎΠΊΠΎΠ»Ρƒ, який Π²ΠΈΠΊΠΎΡ€ΠΈΡΡ‚ΠΎΠ²ΡƒΡ”Ρ‚ΡŒΡΡ Π·Π°ΠΏΠΈΡ‚ΠΎΠΌ, Π½Π°ΠΏΡ€ΠΈΠΊΠ»Π°Π΄: SOAP | REST

Request type

GET

Π’ΠΈΠΏ Π·Π°ΠΏΠΈΡ‚Ρƒ API, Π½Π°ΠΏΡ€ΠΈΠΊΠ»Π°Π΄: GET, POST, PATCH…

Sync/Async

Sync

ΠœΠ΅Ρ‚ΠΎΠ΄ Ρ” синхронним Ρ‡ΠΈ асинхронним?

Public/Private/Internal

Public

ΠŸΠΎΡ‚Ρ€Ρ–Π±Π½ΠΎ Π·Π°Π·Π½Π°Ρ‡ΠΈΡ‚ΠΈ Ρ‚ΠΈΠΏ ΠΌΠ΅Ρ‚ΠΎΠ΄Ρƒ Π·Π° ступСнСм доступності

Logic

  1. Filter dictionaries by search params.

  2. Render found dictionaries with all fields from PRM DB.

Input parameters

  • name - dictionary name

  • is_active - dictionary status

  • value_code - code of the dictionary value

  • value_description - description of the dictionary value

  • value_is_active - status of the dictionary value

Filters

No

Authorize

API paragraph not found

Headers

API paragraph not found

Validation data request

API paragraph not found

Processing

API paragraph not found

Response structure

Each dictionary is an object that contains code, description and status of the value. It can be represented by a hierarchical structure with subordinate (child) values. Each dictionary has a definite dictionary’s labels and flag β€˜is_active’ that define a dictionary status

See on Apiary

Example:

{ "meta": { "code": 200, "url": "https://example.com/resource", "type": "object", "request_id": "6617aeec-15e2-4d6f-b9bd-53559c358f97#17810" }, "data": [ { "name": "eHealth/ICF/classifiers", "description": "ΠšΠ»Π°ΡΠΈΡ„Ρ–ΠΊΠ°Ρ‚ΠΎΡ€ΠΈ МКЀ", "values": [ { "code": "b1142", "description": "ΠžΡ€Ρ–Ρ”Π½Ρ‚Π°Ρ†Ρ–Ρ Π² особі", "is_active": true, "child_values": [ { "code": "b11429", "description": "ΠžΡ€Ρ–Ρ”Π½Ρ‚Π°Ρ†Ρ–Ρ Π² особі Π½Π΅ΡƒΡ‚ΠΎΡ‡Π½Π΅Π½Π°", "is_active": true, "child_values": [] } ] } ], "labels": [ "SYSTEM", "EXTERNAL" ], "is_active": true }, { "name": "eHealth/ICPC2/condition_codes", "description": "Коди станів Π·Π° ICPC2", "values": [ { "code": "D88", "description": "АпСндицит", "is_active": true, "child_values": [] } ], "labels": [ "SYSTEM", "EXTERNAL" ], "is_active": true } ] }

Post-processing processes

API paragraph not found

HTTP status codes

HTTP status code

Message

What caused the error

HTTP status code

Message

What caused the error

200

Response

Β 

Backward compatibility

API paragraph not found

Β 

Π•Π‘ΠžΠ— - ΠΏΡƒΠ±Π»Ρ–Ρ‡Π½Π° докумСнтація