...
This method is designed to search for a composition by the specified parameters and get a list of results that match these parameters.
Specification
...
Request structure
See on SwaggerHub
Expand |
---|
|
Code Block |
---|
'/patients/searchComposition':
get:
description: Пошук мед висновків
operationId: searchCompositions
tags: ['main']
parameters:
- $ref: '#/components/parameters/offsetParam'
- $ref: '#/components/parameters/limitParam'
- name: subject
in: query
required: false
description: subject's MPI ID (пацієнт) (несумісний з focus)
schema:
type: string
format: uuid
- name: focus
in: query
required: false
description: focus MPI ID (фокус) (несумісний з subject)
schema:
type: string
format: uuid
- in: query
name: type
required: false
schema:
$ref: '#/components/schemas/compositionTypeEnum'
- in: query
name: episodeOfCare
required: false
schema:
type: string
format: uuid
- in: query
name: encounter
description: id ME-об'єкту Encounter
required: false
schema:
type: string
format: uuid
- in: query
name: status
description: статус медвисновку
required: false
schema:
$ref: '#/components/schemas/compositionStatusEnum' |
|
...
Content-Type: application/json
Authorization: Bearer {token}
api-key: {secret}
Response structure
See on SwaggerHub
Example:
Expand |
---|
|
Code Block |
---|
[
{
"identifier": {
"type": {
"coding": [
{
"system": "eHealth/resources",
"code": "person"
}
],
"text": "string"
},
"value": "52b504c7-0177-4078-834b-52d89154081c"
},
"status": "PRELIMINARY",
"title": "string",
"type": {
"coding": [
{
"system": "COMPOSITION_TYPES",
"code": "TEMP_DISABILITY"
}
]
},
"date": "string",
"encounter": {
"type": {
"coding": [
{
"system": "eHealth/resources",
"code": "person"
}
],
"text": "string"
},
"value": "52b504c7-0177-4078-834b-52d89154081c"
},
"episodeOfCare": {
"type": {
"coding": [
{
"system": "eHealth/resources",
"code": "person"
}
],
"text": "string"
},
"value": "52b504c7-0177-4078-834b-52d89154081c"
}
}
] |
|
...