/
REST API Private. Get Medication Dispense List []
Published Feb 24, 2025

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

REST API Private. Get Medication Dispense List []

Properties of a REST API method document

Document type

Метод REST API

Document title

REST API Private. Get Medication Dispense List []

Guideline ID

GUI-0011

Author

@Iryna Lishtaba (SoE eHealth)

Document version

1

Document status

DRAFT

Date of creation

ХХ.ХХ.ХХХХ (дата фінальної версії документа – RC або PROD)

Date of update

ХХ.ХХ.ХХХХ (дата зміни версії)

Method API ID

Microservices (namespace)

API paragraph not found

Component

ePrescription

Component ID

COM-005-008

Link на API-специфікацію

https://uaehealthapi.docs.apiary.io/#reference/private.-reimbursement/private-medication-request/private.-get-medication-dispenses-list

Resource

{{host}}/api/admin/medication_dispenseses

Scope

medication_dispense_admin:read

Protocol type

REST

Request type

GET

Sync/Async

Sync

Public/Private

Private

Purpose

This method is designed to get all Medication Dispense for NHS_ADMIN. In the response of these endpoint person_id is return in hashed form. 

Status Charts (reimbursement)

Logic

  1. Verify the validity of access token

    1. Return 401 in case validation fails

  2. Check user scopes in order to perform this action (scope = 'medication_dispense_admin:read')

    1. Return 403 in case invalid scope(s)

Configuration parameters

N/A

Dictionaries

N/A

Input parameters

 

Input parameter

Mandatory

Type

Description

Example

 

Input parameter

Mandatory

Type

Description

Example

1

id

O

String

Medication dispense ID

a89f6a26-4221-4597-a1d2-542d5e40b565

2

medication_request_id

O

String

Medication request ID

a89f6a26-4221-4597-a1d2-542d5e40b565

3

legal_entity_id

O

String

Legal entity ID

a89f6a26-4221-4597-a1d2-542d5e40b565

4

division_id

O

String

Division ID

a89f6a26-4221-4597-a1d2-542d5e40b565

5

status

O

String

Status

PROCESSED

6

dispensed_from

O

String

date of dispense

2017-09-01

7

dispensed_to

O

String

date of dispense

2017-10-01

8

care_plan_id

O

String

care plan identifier

8838982b-6a77-4cb5-87cd-cdb82eb55364

9

page

O

Number

Page number

2

10

 page_size

 Number

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

50 

Description of input parameters

Filters

Query data

  1. Get all records from medication_dispenses filtered by:

    1. only active records: is_active = true

Request structure

N/A

Headers

 

Request data validation

N/A

Processing

N/A

Response structure examples

N/A

 

HTTP status codes

Post-processing processes

N/A

Technical modules where the method is used

List of pages describing technical modules where the method is used

 

Related content

REST API Get Medication Dispense by ID [API-005-008-001-0139]
REST API Get Medication Dispense by ID [API-005-008-001-0139]
More like this
REST API Get Medication dispenses by search params by Pharmacy User [API-005-008-001-0138]
REST API Get Medication dispenses by search params by Pharmacy User [API-005-008-001-0138]
More like this
REST API Get Medication dispense details by Pharmacy User [API-005-008-001-0139]
REST API Get Medication dispense details by Pharmacy User [API-005-008-001-0139]
More like this
REST API PRIVATE SPACE [AR] Private. Get Medication request by ID [API-005-008-002-0159]
REST API PRIVATE SPACE [AR] Private. Get Medication request by ID [API-005-008-002-0159]
More like this
REST API Get Medication dispense details in person context [API-005-008-001-0129]
REST API Get Medication dispense details in person context [API-005-008-001-0129]
More like this

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