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

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

Overview

Devices configuration specifies device parameters, that are required for a particular device code.

Data Model

Name

Type

M/O

Description and constraints

1

id

uuid

M

Configuration id

2

device_code

string

M

device code

example: 06_12_03

3

device_code_system

string

M

dictionary for the code

example: assistive_devices

4

config

json

M

JSON that contains config parameters

5

inserted_at

datetime

M

6

updated_at

datetime

M

7

inserted_by

uuid

M

8

updated_by

uuid

M

Configuration structure

Element

Type

M/O

Description and constraints

1

DEVICE_REQUIRED_PARAMETERS

object

M

This configuration parameter contains information about device parameters that are required for the device code

2

DEVICE_REQUIRED_PARAMETERS.check

[coding]

M

Example: [{ "code": "shoe_model", "system": "device_request_code_parameter" }]

3

DEVICE_PARAMETER_ALLOWED_VALUES

object

O

This configuration parameter contains device parameters values that are allowed for this device code

4

DDEVICE_PARAMETER_ALLOWED_VALUES.condition

coding

M

Example: { "code": "height", "system": "device_request_code_parameter" }

5

DDEVICE_PARAMETER_ALLOWED_VALUES.check

[string]

M

Example:
"up_to_180", "more_than_180"

Example:

{
    "DEVICE_REQUIRED_PARAMETERS": [
        {
            "check": [
                {
                    "code": "ability_to_lock",
                    "system": "device_request_code_parameter"
                },
                {
                    "code": "height",
                    "system": "device_request_code_parameter"
                }
            ]
        }
    ],
    "DEVICE_PARAMETER_ALLOWED_VALUES": [
        {
            "condition": {
                "code": "height",
                "system": "device_request_code_parameter"
            },
            "check": [
                
                     "up_to_180", "more_than_180"
                
            ]
        }
    ]
}

  • No labels