Table of Contents | ||||
---|---|---|---|---|
|
Purpose
This method is designed to search for a composition by the specified parameters and get a list of results that match these parameters.
Specification
Link |
Resource | /patients/{patientId}/composition |
Scope | composition:search |
Components | |
Using Dictionaries |
COMPOSITION_STATUS COMPOSITION_TYPES | |
Using Microservices | API paragraph not found |
Protocol type |
REST | |
Request type | GET |
Sync/Async | Async |
Public/Private/Internal | Public |
Logic
API paragraph not found
Preconditions
API paragraph not found
Global and configuration parameters
None
...
View file | ||
---|---|---|
|
Input parameters
Input parameter | Values | Type | Description | Example |
---|
patientId
subject | string($uuid) | subject's MPI ID (patientID - incompatible with focus) | 89678f60-4cdc-4fe3-ae83-e8b3ebd35c59 | |
focus | string($uuid) | subject's MPI |
ID (patientID - incompatible with subject) | 89678f60-4cdc-4fe3-ae83-e8b3ebd35c59 |
Filters
Filter | Values | Type | Description | Example |
---|---|---|---|---|
offset | minimum: 0 | integer(query) | The number of items to skip before starting to collect the result set. | 2 |
limit | minimum: 1 |
integer(query) | The numbers of items to return. | 30 | |
type |
TEMP_DISABILITY NEWBORN | string(query) | COMPOSITION_TYPES dictionary value | TEMP_DISABILITY | |
episodeOfCare | string($uuid) | episodeOfCareId | 89678f60-4cdc-4fe3-ae83-e8b3ebd35c59 | |
encounter | string($uuid) | encounterId | 89678f60-4cdc-4fe3-ae83-e8b3ebd35c59 | |
status |
| string(query) | COMPOSITION_STATUS ictionary value | ENTERED_IN_ERROR |
Dictionaries
Request structure
See on Apiary
Authorize
API paragraph not found
Validate request (JSON schema)
API paragraph not found
Validation data request
API paragraph not found
Processing
API paragraph not found
Response structure
Expand | ||
---|---|---|
| ||
|
Authorize
Check user scopes in order to perform this action (scope = 'composition:search')
return 401 (Unauthorized) in case of invalid scope(s)
Headers
Content-Type: application/json
Authorization: Bearer {token}
api-key: {secret}
Response structure
Example:
Expand | ||
---|---|---|
| ||
|
...
None
HTTP status codes
HTTP status code | Message | What caused the error |
---|---|---|
200 |
Search results |
|
Backward compatibility
...