Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents
minLevel1
maxLevel3

Required parameters are marked with "*"

...

Purpose*

...

Table of Contents
minLevel1
maxLevel3

Required parameters are marked with "*"

Якщо інформації по відповідному параметру немає, потрібно зазначити: “APIparagraph not found”.

Purpose*

Ендпоїнти розроблені для повернення даних діагностичних звітів пацієнтів співробітникам, що мають заключену декларацію з цим пацієнтом, або працюють в тому ж закладі, де був створений даний діагностичний звіт.

Specification*

Page Properties

Link

https://ehealthmedicaleventsapi.docs.apiary.io/#reference/medical-events/diagnostic-report/get-diagnostic-report-by-search-params

Resource

/api/patients/{{patient_id}}/diagnostic_reports

Scope

diagnostic_report:read

Components

Episode, Encounter, Diagnostic report

Microservices

API paragraph not found

Protocol type

REST

Request type

GET 

Sync/Async

Async

...

Filter

Values

Type

Description

Example

page

Number

Page number

2

page_size

Number

A limit on the number of objects to be returned, between 1 and 100. Default: 50

50

code

String

12345

encounter_id

String

09dc3ed7-2169-45d8-8fa3-d918c6839bf9

context_episode_id

String

09dc3ed7-2169-45d8-8fa3-d918c6839bf9

origin_episode_id

String

09dc3ed7-2169-45d8-8fa3-d918c6839bf9

issued_from

String

1990-01-01

issued_to

String

2000-01-01

based_on

String

09dc3ed7-2169-45d8-8fa3-d918c6839bf9

managing_organization_id

String

09dc3ed7-2169-45d8-8fa3-d918c6839bf9

Request structure*

API paragraph not found

Authorize*

Request to process the request using a token in the headers

Headers*

Наприклад:

  • Content-Type:application/json

  • Authorization:Bearer mF_9.B5f-4.1JqM

Request data validation*

...

-d918c6839bf9

Request structure*

API paragraph not found

Authorize*

Request to process the request using a token in the headers

Headers*

Наприклад:

  • Content-Type:application/json

  • Authorization:Bearer mF_9.B5f-4.1JqM

Request data validation*

Validate token

  • Verify the validity of access token

    • Return 401 in case validation fails

  • Verify token is not expired

    • in case error return 401 

Validate scopes

  • Check user scopes in order to perform this action (scope = 'diagnostic_report:read')

    1. Return 403 in case invalid scope(s)

Access to the resource is also managed by ABAC module.

Processing*

API paragraph not found

...