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

RC_REHAB_ Get dictionaries+

Purpose

This method is designed to retrieve eHealth dictionaries. Each value can be managed by β€˜is_active’ flag.

Specification

Link

https://uaehealthapi.docs.apiary.io/#reference/public.-medical-service-provider-integration-layer/dictionaries/get-dictionaries

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

Resource

/api/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

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 {key}:{value} pairs where:

  • {key} is a dictionary record

  • {value} is a dictionary record description

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": "DOCUMENT_TYPE", "values": { "key": "value" }, "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

Β 

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