Table of Contents |
---|
...
Method to get or search all active device definitions in the system.
Used to return device definitions with the old structure only.
Will be deprecated
Specification
Page Properties | |||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||
|
Filters
Filter | Values | Type | Description | Example |
---|---|---|---|---|
classification_type | String | Classification type. Dictionary |
| |
model_number | String | Model number for the device |
| |
name | String | Device name |
| |
name_type | Enum | Device name type. Dictionary |
| |
medical_program_id | String | medical program id |
| |
is_active | Boolean | device definition status |
| |
page | Number | Page number |
| |
page_size | Number | A limit on the number of objects to be returned, between 1 and 300. Default: 50 |
|
...
Get all device_definitions (PRM database) where device_definitions.classification_type is not empty.
Filter list by passed search parameters (according to spec.)
Search using like operation. Case insensitive
if
medical_program_id
is passed than get device definitions related to this program in program_devices tableis_active = true
start_date <= current date()
end_date >= current_date(), if not null
Render a response according to specification
...