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

RC_[NEW] Observations configuration

Inspired by https://e-health-ua.atlassian.net/wiki/spaces/emal/pages/18118967693/NEW+Composition+dictionaries+and+configurations

Config description

CATEGORY

A list of categories allowed for this observation code

Type: object

Attributes

Type

Comments

Attributes

Type

Comments

check

[Coding]

 

Example:

{ "check": [ { "system": "eHealth/observation_categories", "code": "survey" } ] }

COMPONENTS_UNIQUE

Specifies whether components within the observation must have unique codes. If enabled, duplicate components are not allowed

Type: object

Attributes

Type

Comments

Attributes

Type

Comments

check

boolean

 

{ "check": true }

COMPONENTS_REQUIRED

A list of required component codes that must be included in the observation

Type: object

Attributes

Type

Comments

Attributes

Type

Comments

check

[Coding]

 

Example:

{ "check": [ { "code": "83184-2", "system": "eHealth/LOINC/observation_codes" }, { "code": "83185-9", "system": "eHealth/LOINC/observation_codes" } ] }

COMPONENTS_ALLOWED

A list of all allowed component codes including those that are required

Type: object

Attributes

Type

Comments

Attributes

Type

Comments

check

[Coding]

 

Example:

{ "check": [ { "code": "43184-2", "system": "eHealth/LOINC/observation_codes" }, { "code": "43185-9", "system": "eHealth/LOINC/observation_codes" } ] }

COMPONENTS_TYPE

Defines the type of each component based on its code and system

Type: array

Attributes

Type

Comments

Attributes

Type

Comments

condition

{Component}

 

check

string

 

Example:

[ { "condition": { "component_code": { "code": "83184-2", "system": "eHealth/LOINC/observation_codes" } }, "check": "codeable_concept" } ]

COMPONENTS_BINDING

Dictionary mapping for components with the codeable_concept type, defining valid codes for each component

Type: array

Attributes

Type

Comments

Attributes

Type

Comments

condition

{Component}

 

check

[string]

 

Example:

[ { "condition": { "component_code": { "code": "83184-2", "system": "eHealth/LOINC/observation_codes" } }, "check": [ "eHealth/LOINC/LL5785-2" ] } ]

COMPONENTS_QUANTITY_CODES

A list of allowed unit codes for components with type quantity

Type: array

Attributes

Type

Comments

Attributes

Type

Comments

condition

{Component}

 

check

[Coding]

 

Example:

[ { "condition": { "component_code": { "code": "83184-2", "system": "eHealth/LOINC/observation_codes" } }, "check": [ { "code": "g", "system": "eHealth/ucum/units" }, { "code": "kg", "system": "eHealth/ucum/units" } ] } ]

COMPONENTS_QUANTITY_BOUNDARIES

Defines the valid range of values for components with type quantity depending on quantity code

Type: array

Attributes

Type

Comments

Attributes

Type

Comments

condition

{Component_quantity}

 

check

{Min_Max}

 

Example:

[ { "condition": { "component_code": { "code": "83184-2", "system": "eHealth/LOINC/observation_codes" }, "quantity_code": { "code": "kg", "system": "eHealth/ucum/units" }, }, "check": { "min": 0, "max": 30 } } ]

COMPONENTS_ALLOWED_EXTENSIONS

A list of extensions that are permitted for use within observation components

Type: array

Attributes

Type

Comments

Attributes

Type

Comments

check

[string]

 

Example:

[ { "check": [ "item_weight" ] } ]

COMPONENT_SCORE

Reference values for each component's score, used to validate the item_weight extension value for components with type codeable_concept

Type: array

Attributes

Type

Comments

Attributes

Type

Comments

condition

{Answer}

 

check

[integer]

 

Example:

[ { "condition": { "answer": { "code": "LA24937-7", "system": "eHealth/LOINC/LL5785-2" } }, "check": 0 }, { "condition": { "answer": { "code": "LA31630-9", "system": "eHealth/LOINC/LL5785-2" } }, "check": 5 } ]

RESULT_TYPE

Defines the type of observation result

Type: object

Attributes

Type

Comments

Attributes

Type

Comments

check

string

 

Example:

{ "check": "quantity" }

RESULT_BINDING

Dictionary mapping for observation result (in case when type is codeable_concept)

Type: object

Attributes

Type

Comments

Attributes

Type

Comments

check

[string]

 

Example:

{ "check": [ "eHealth/LOINC/Rancho_Los_Amigos" ] }

RESULT_QUANTITY_CODES

A list of allowed unit codes for observation result (in case when type is quantity)

Type: array

Attributes

Type

Comments

Attributes

Type

Comments

check

[Coding]

 

Example:

[ { "check": [ { "code": "g", "system": "eHealth/ucum/units" }, { "code": "kg", "system": "eHealth/ucum/units" } ] } ]

RESULT_BOUNDARIES

Defines the valid range of values for observation result depending on quantity code (in case when type is quantity)

Type: array

Attributes

Type

Comments

Attributes

Type

Comments

condition

{Result_quantity}

 

check

{Min_Max}

 

Example:

[ { "condition": { "quantity_code": { "code": "kg", "system": "eHealth/ucum/units" }, }, "check": { "min": 0, "max": 30 } } ]

RESULT_SCORE_CALCULATION

The method used to calculate an overall score for the observation result

Type: object

Attributes

Type

Comments

Attributes

Type

Comments

check

string

 

Example:

{ "check": "SUM" }

Config types

Component

Attributes

Type

Comments

Attributes

Type

Comments

component_code

{Coding}

 

Answer

Attributes

Type

Comments

Attributes

Type

Comments

answer

{Coding}

 

Component_quantity

Attributes

Type

Comments

Attributes

Type

Comments

component_code

{Coding}

 

quantity_code

{Coding}

 

Result_quantity

Attributes

Type

Comments

Attributes

Type

Comments

quantity_code

{Coding}

 

Examples

Configuration for Observation code 96761-2 (Total score Barthel Index)

{ "CATEGORY": { "check": [ { "system": "eHealth/observation_categories", "code": "survey" } ] }, "COMPONENTS_UNIQUE": { "check": true }, "COMPONENTS_REQUIRED": { "check": [ { "code": "83184-2", "system": "eHealth/LOINC/observation_components" }, { "code": "83185-9", "system": "eHealth/LOINC/observation_components" }, { "code": "96767-9", "system": "eHealth/LOINC/observation_components" }, { "code": "83183-4", "system": "eHealth/LOINC/observation_components" }, { "code": "83181-8", "system": "eHealth/LOINC/observation_components" }, { "code": "83186-7", "system": "eHealth/LOINC/observation_components" }, { "code": "96758-8", "system": "eHealth/LOINC/observation_components" }, { "code": "83182-6", "system": "eHealth/LOINC/observation_components" }, { "code": "96759-6", "system": "eHealth/LOINC/observation_components" }, { "code": "96760-4", "system": "eHealth/LOINC/observation_components" } ] }, "COMPONENTS_OPTIONAL": {}, "COMPONENTS_TYPE": [ { "condition": { "component_code": { "code": "83184-2", "system": "eHealth/LOINC/observation_codes" } }, "check": "codeable_concept" }, { "condition": { "component_code": { "code": "83185-9", "system": "eHealth/LOINC/observation_codes" } }, "check": "codeable_concept" }, { "condition": { "component_code": { "code": "96767-9", "system": "eHealth/LOINC/observation_codes" } }, "check": "codeable_concept" }, { "condition": { "component_code": { "code": "83183-4", "system": "eHealth/LOINC/observation_codes" } }, "check": "codeable_concept" }, { "condition": { "component_code": { "code": "83181-8", "system": "eHealth/LOINC/observation_codes" } }, "check": "codeable_concept" }, { "condition": { "component_code": { "code": "83186-7", "system": "eHealth/LOINC/observation_codes" } }, "check": "codeable_concept" }, { "condition": { "component_code": { "code": "96758-8", "system": "eHealth/LOINC/observation_codes" } }, "check": "codeable_concept" }, { "condition": { "component_code": { "code": "83182-6", "system": "eHealth/LOINC/observation_codes" } }, "check": "codeable_concept" }, { "condition": { "component_code": { "code": "96759-6", "system": "eHealth/LOINC/observation_codes" } }, "check": "codeable_concept" }, { "condition": { "component_code": { "code": "96760-4", "system": "eHealth/LOINC/observation_codes" } }, "check": "codeable_concept" } ], "COMPONENTS_BINDING": [ { "condition": { "component_code": { "code": "83184-2", "system": "eHealth/LOINC/observation_codes" } }, "check": [ "eHealth/LOINC/LL5785-2" ] }, { "condition": { "component_code": { "code": "83185-9", "system": "eHealth/LOINC/observation_codes" } }, "check": [ "eHealth/LOINC/LL5787-8" ] }, { "condition": { "component_code": { "code": "96767-9", "system": "eHealth/LOINC/observation_codes" } }, "check": [ "eHealth/LOINC/LL5777-9" ] }, { "condition": { "component_code": { "code": "83183-4", "system": "eHealth/LOINC/observation_codes" } }, "check": [ "eHealth/LOINC/LL5786-0" ] }, { "condition": { "component_code": { "code": "83181-8", "system": "eHealth/LOINC/observation_codes" } }, "check": [ "eHealth/LOINC/LL5788-6" ] }, { "condition": { "component_code": { "code": "83186-7", "system": "eHealth/LOINC/observation_codes" } }, "check": [ "eHealth/LOINC/LL5790-2" ] }, { "condition": { "component_code": { "code": "96758-8", "system": "eHealth/LOINC/observation_codes" } }, "check": [ "eHealth/LOINC/LL5783-7" ] }, { "condition": { "component_code": { "code": "83182-6", "system": "eHealth/LOINC/observation_codes" } }, "check": [ "eHealth/LOINC/LL5789-4" ] }, { "condition": { "component_code": { "code": "96759-6", "system": "eHealth/LOINC/observation_codes" } }, "check": [ "eHealth/LOINC/LL5766-2" ] }, { "condition": { "component_code": { "code": "96760-4", "system": "eHealth/LOINC/observation_codes" } }, "check": [ "eHealth/LOINC/LL5782-9" ] } ], "COMPONENT_SCORE": [ { "condition": { "answer": { "code": "LA24937-7", "system": "eHealth/LOINC/LL5785-2" } }, "check": 0 }, { "condition": { "answer": { "code": "LA31630-9", "system": "eHealth/LOINC/LL5785-2" } }, "check": 5 }, { "condition": { "answer": { "code": "LA12302-8", "system": "eHealth/LOINC/LL5785-2" } }, "check": 10 }, { "condition": { "answer": { "code": "LA31633-3", "system": "eHealth/LOINC/LL5787-8" } }, "check": 0 }, { "condition": { "answer": { "code": "LA31634-1", "system": "eHealth/LOINC/LL5787-8" } }, "check": 5 }, { "condition": { "answer": { "code": "LA31635-8", "system": "eHealth/LOINC/LL5787-8" } }, "check": 10 }, { "condition": { "answer": { "code": "LA12302-8", "system": "eHealth/LOINC/LL5787-8" } }, "check": 15 }, { "condition": { "answer": { "code": "LA31643-2", "system": "eHealth/LOINC/LL5777-9" } }, "check": 0 }, { "condition": { "answer": { "code": "LA31644-0", "system": "eHealth/LOINC/LL5777-9" } }, "check": 5 }, { "condition": { "answer": { "code": "LA12304-4", "system": "eHealth/LOINC/LL5786-0" } }, "check": 0 }, { "condition": { "answer": { "code": "LA31631-7", "system": "eHealth/LOINC/LL5786-0" } }, "check": 5 }, { "condition": { "answer": { "code": "LA31632-5", "system": "eHealth/LOINC/LL5786-0" } }, "check": 10 }, { "condition": { "answer": { "code": "LA12304-4", "system": "eHealth/LOINC/LL5788-6" } }, "check": 0 }, { "condition": { "answer": { "code": "LA31636-6", "system": "eHealth/LOINC/LL5788-6" } }, "check": 5 }, { "condition": { "answer": { "code": "LA31639-0", "system": "eHealth/LOINC/LL5790-2" } }, "check": 0 }, { "condition": { "answer": { "code": "LA31640-8", "system": "eHealth/LOINC/LL5790-2" } }, "check": 5 }, { "condition": { "answer": { "code": "LA31641-6", "system": "eHealth/LOINC/LL5790-2" } }, "check": 10 }, { "condition": { "answer": { "code": "LA31642-4", "system": "eHealth/LOINC/LL5790-2" } }, "check": 15 }, { "condition": { "answer": { "code": "LA24937-7", "system": "eHealth/LOINC/LL5783-7" } }, "check": 0 }, { "condition": { "answer": { "code": "LA31631-7", "system": "eHealth/LOINC/LL5783-7" } }, "check": 5 }, { "condition": { "answer": { "code": "LA12302-8", "system": "eHealth/LOINC/LL5783-7" } }, "check": 10 }, { "condition": { "answer": { "code": "LA12304-4", "system": "eHealth/LOINC/LL5789-4" } }, "check": 0 }, { "condition": { "answer": { "code": "LA31637-4", "system": "eHealth/LOINC/LL5789-4" } }, "check": 5 }, { "condition": { "answer": { "code": "LA31638-2", "system": "eHealth/LOINC/LL5789-4" } }, "check": 10 }, { "condition": { "answer": { "code": "LA31627-5", "system": "eHealth/LOINC/LL5766-2" } }, "check": 0 }, { "condition": { "answer": { "code": "LA31626-7", "system": "eHealth/LOINC/LL5766-2" } }, "check": 5 }, { "condition": { "answer": { "code": "LA31625-9", "system": "eHealth/LOINC/LL5766-2" } }, "check": 10 }, { "condition": { "answer": { "code": "LA31628-3", "system": "eHealth/LOINC/LL5782-9" } }, "check": 0 }, { "condition": { "answer": { "code": "LA31626-7", "system": "eHealth/LOINC/LL5782-9" } }, "check": 5 }, { "condition": { "answer": { "code": "LA31625-9", "system": "eHealth/LOINC/LL5782-9" } }, "check": 10 } ], "COMPONENTS_ALLOWED_EXTENSIONS": [ { "check": [ "item_weight" ] } ], "RESULT_TYPE": { "check": "quantity" }, "RESULT_BINDING": {}, "RESULT_QUANTITY_CODES": [ { "check": [ { "code": "ScoreOf", "system": "eHealth/ucum/units" } ] } ], "RESULT_BOUNDARIES": [ { "condition": { "quantity_code": { "code": "ScoreOf", "system": "eHealth/ucum/units" } }, "check": { "min": 0, "max": 100 } } ], "RESULT_SCORE_CALCULATION": { "check": "SUM" } }

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