Definitions API
Release1.0.2
1.0.2
StatusSTABLE
STABLE
Date24 Apr 2021
24 Apr 2021
API Endpoint{baseUrl}/v1/definition
{baseUrl}/v1/definition
© 2003 - 2021 The openEHR Foundation | |
---|---|
The openEHR Foundation is an independent, non-profit foundation, facilitating the sharing of health records by consumers and clinicians via open specifications, clinical models and open platform implementations. | |
Licence | Creative Commons Attribution-NoDerivs 3.0 Unported. https://creativecommons.org/licenses/by-nd/3.0/ |
Support | Issues: Problem Reports Web: specifications.openEHR.org |
Amendment Record
Issue | Details | Raiser, Implementer | Completed |
---|---|---|---|
Release-1.0.2 | |||
4.2 | SPECITS-59: Specify mimeType used by adl2 template | S Iancu | 26 Mar 2021 |
4.1 | SPECITS-42: Fix TEMPLATE_ID value format in examples | S Iancu | 21 Mar 2021 |
4.1 | SPECITS-41: Add double quotes to ETag and If-Match headers | S Iancu | 21 Mar 2021 |
4.0 | SPECITS-57: Updating request and response examples of GET adl1.4 template in relation with headers about simplified JSON formats | E Sundvall, S Iancu | 13 Mar 2021 |
Release-1.0.1 | |||
3.0 | SPECITS-32: Fix typos and minor documentary errors (fixes SPECPR-253, SPECPR-289) | J Smolka, P Pazos, E Sundvall, T Beale, S Iancu | 1 Sep 2019 |
2.2 | SPECITS-24: Added changelog | J Smolka, S Iancu | 12 May 2019 |
SPECITS-25, SPECITS-29: Change layout and structure | J Smolka, S Iancu | 12 May 2019 | |
2.1 | Update links to new openEHR specifications website | S Iancu | 16 Dec 2018 |
Release-1.0.0 |
Definitions ¶
This is a collection of resources to manage the clinical definitions and models (e.g. templates, queries) of an openEHR Server.
Actions upon resources of this group are also formally described in the Definition Package of the Abstract Service Model.
ADL 1.4 TEMPLATE ¶
Management of AOM and ADL 1.4 Operational Templates (OPTs). These templates can be created using modelling tools such as the Template Designer and the Archetype Designer.
Operational templates simplify the creation of openEHR-based input or storage implementations by, for a specific COMPOSITION template (use case), collecting all labels, requirements and constraints from all contained archetypes and sub-templates into a single easily parsed file. This file can be a basis for UI-generation/creation and for data validation.
Note that GET /definition/template/adl1.4/{template_id}
can return both the original (canonical) XML
based OPT format (if called with the Accept: application/xml
request header) as well as a simplified JSON
-based “web template” format (if called with the Accept: application/openehr.wt+json
request header). For more details see the data representation specification.
Headers
Content-Type: application/xml
Prefer: return={representation|minimal}
Body
<template xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.openehr.org/v1">
<language>
<terminology_id>
<value>ISO_639-1</value>
</terminology_id>
<code_string>en</code_string>
</language>
<description>
<original_author id="Original Author">Not Specified</original_author>
<lifecycle_state>Initial</lifecycle_state>
<other_details id="MetaDataSet:Sample Set ">Template metadata sample set</other_details>
<other_details id="Acknowledgements"></other_details>
<other_details id="Business Process Level"></other_details>
<other_details id="Care setting"></other_details>
<other_details id="Client group"></other_details>
<other_details id="Clinical Record Element"></other_details>
<other_details id="Copyright"></other_details>
<other_details id="Issues"></other_details>
<other_details id="Owner"></other_details>
<other_details id="Sign off"></other_details>
<other_details id="Speciality"></other_details>
<other_details id="User roles"></other_details>
<details>
<language>
<terminology_id>
<value>ISO_639-1</value>
</terminology_id>
<code_string>en</code_string>
</language>
<purpose>Not Specified</purpose>
</details>
</description>
<uid>
<value>b4d7f203-b329-4e89-a58a-c605b19e94de</value>
</uid>
<template_id>
<value>Vital Signs</value>
</template_id>
<concept>Vital Signs</concept>
<definition>
<rm_type_name>COMPOSITION</rm_type_name>
<occurrences>
<lower_included>true</lower_included>
<upper_included>true</upper_included>
<lower_unbounded>false</lower_unbounded>
<upper_unbounded>false</upper_unbounded>
<lower>1</lower>
<upper>1</upper>
</occurrences>
<node_id>at0000</node_id>
...
201 Created
is returned when the template has been successfully uploaded.
Server assigned template_id
SHOULD be returned as part of the Location
response header.
An ETag
response header MAY be present and contain the unique identifier of the operational template instance.
Depending on the header Prefer
either an empty body or a full representation body is returned.
Headers
Content-Type: application/xml
Location: {baseUrl}/definition/template/adl1.4/Vital Signs
ETag: "b4d7f203-b329-4e89-a58a-c605b19e94de"
Body
<template xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.openehr.org/v1">
<language>
<terminology_id>
<value>ISO_639-1</value>
</terminology_id>
<code_string>en</code_string>
</language>
<description>
<original_author id="Original Author">Not Specified</original_author>
<lifecycle_state>Initial</lifecycle_state>
<other_details id="MetaDataSet:Sample Set ">Template metadata sample set</other_details>
<other_details id="Acknowledgements"></other_details>
<other_details id="Business Process Level"></other_details>
<other_details id="Care setting"></other_details>
<other_details id="Client group"></other_details>
<other_details id="Clinical Record Element"></other_details>
<other_details id="Copyright"></other_details>
<other_details id="Issues"></other_details>
<other_details id="Owner"></other_details>
<other_details id="Sign off"></other_details>
<other_details id="Speciality"></other_details>
<other_details id="User roles"></other_details>
<details>
<language>
<terminology_id>
<value>ISO_639-1</value>
</terminology_id>
<code_string>en</code_string>
</language>
<purpose>Not Specified</purpose>
</details>
</description>
<uid>
<value>b4d7f203-b329-4e89-a58a-c605b19e94de</value>
</uid>
<template_id>
<value>Vital Signs</value>
</template_id>
<concept>Vital Signs</concept>
<definition>
<rm_type_name>COMPOSITION</rm_type_name>
<occurrences>
<lower_included>true</lower_included>
<upper_included>true</upper_included>
<lower_unbounded>false</lower_unbounded>
<upper_unbounded>false</upper_unbounded>
<lower>1</lower>
<upper>1</upper>
</occurrences>
<node_id>at0000</node_id>
...
400 Bad Request
is returned when unable to upload a template, because of invalid content.
409 Conflict
is returned when a template with same template_id
already exists.
Upload a templatePOST/definition/template/adl1.4
Upload a new ADL 1.4 operational template (OPT).
200 OK
is returned when the template list is successfully retrieved.
Headers
Content-Type: application/json
Body
[
{
"template_id": "Vital Signs",
"concept": "Vital Signs",
"archetype_id": "openEHR-EHR-COMPOSITION.encounter.v1",
"created_timestamp": "2017-08-14T19:24:56.639Z"
}
]
List templatesGET/definition/template/adl1.4
List the available ADL 1.4 operational templates (OPT) on the system.
Headers
Accept: application/xml
200 OK
is returned when the template is successfully retrieved.
Headers
Content-Type: application/xml
Body
<template xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.openehr.org/v1">
<language>
<terminology_id>
<value>ISO_639-1</value>
</terminology_id>
<code_string>en</code_string>
</language>
<description>
<original_author id="Original Author">Not Specified</original_author>
<lifecycle_state>Initial</lifecycle_state>
<other_details id="MetaDataSet:Sample Set ">Template metadata sample set</other_details>
<other_details id="Acknowledgements"></other_details>
<other_details id="Business Process Level"></other_details>
<other_details id="Care setting"></other_details>
<other_details id="Client group"></other_details>
<other_details id="Clinical Record Element"></other_details>
<other_details id="Copyright"></other_details>
<other_details id="Issues"></other_details>
<other_details id="Owner"></other_details>
<other_details id="Sign off"></other_details>
<other_details id="Speciality"></other_details>
<other_details id="User roles"></other_details>
<details>
<language>
<terminology_id>
<value>ISO_639-1</value>
</terminology_id>
<code_string>en</code_string>
</language>
<purpose>Not Specified</purpose>
</details>
</description>
<uid>
<value>b4d7f203-b329-4e89-a58a-c605b19e94de</value>
</uid>
<template_id>
<value>Vital Signs</value>
</template_id>
<concept>Vital Signs</concept>
<definition>
<rm_type_name>COMPOSITION</rm_type_name>
<occurrences>
<lower_included>true</lower_included>
<upper_included>true</upper_included>
<lower_unbounded>false</lower_unbounded>
<upper_unbounded>false</upper_unbounded>
<lower>1</lower>
<upper>1</upper>
</occurrences>
<node_id>at0000</node_id>
...
400 Bad Request
is returned when the request has invalid template_id
(i.e. an incorrectly formatted template_id
).
404 Not Found
is returned when a template with the specified template_id
does not exist.
Headers
Accept: application/openehr.wt+json
200 OK
is returned when the template is successfully retrieved as Web Template format.
Headers
Content-Type: application/openehr.wt+json
Body
{
"templateId": "Vital Signs",
"version": "2.3",
"defaultLanguage": "en",
"languages": [
"sl"
],
"tree": {
"id": "vital_signs",
"name": "Vital Signs",
"localizedName": "Vital Signs",
"rmType": "COMPOSITION",
"nodeId": "openEHR-EHR-COMPOSITION.encounter.v1",
"min": 1,
"max": 1,
"localizedNames": {
"en": "Vital Signs"
},
"localizedDescriptions": {
"sl": "Generic encounter or progress note composition"
},
"aqlPath": "",
"children": [
{
"id": "context",
"rmType": "EVENT_CONTEXT",
"nodeId": "",
"min": 1,
"max": 1,
"aqlPath": "/context",
"children": [
{
"id": "context_detail",
"name": "Context detail",
"localizedName": "Context detail",
"rmType": "CLUSTER",
"nodeId": "openEHR-EHR-CLUSTER.context_detail.v1",
"min": 0,
"max": -1,
"localizedNames": {
"sl": "Podrobnosti"
},
"localizedDescriptions": {
"sl": "Dodatni podatki o kontekstu"
},
"aqlPath": "/context/other_context[at0001]/items[openEHR-EHR-CLUSTER.context_detail.v1]",
"children": [
{
"id": "tags",
"name": "Tags",
"localizedName": "Tags",
"rmType": "DV_TEXT",
"nodeId": "at0008",
"min": 1,
"max": -1,
"localizedNames": {
"sl": "Tagi"
},
"localizedDescriptions": {
"sl": "*"
},
"annotations": {
"comment": "Tags applied to the composition. They can contain various ids, such as episode id, central case id or other types of information forming composition meta-data."
},
"aqlPath": "/context/other_context[at0001]/items[openEHR-EHR-CLUSTER.context_detail.v1]/items[at0008]/value",
"inputs": [
{
"type": "TEXT"
}
]
}
]
},
{
"id": "start_time",
"name": "Start_time",
"rmType": "DV_DATE_TIME",
"min": 0,
"max": 1,
"aqlPath": "/context/start_time",
"inputs": [
{
"type": "DATETIME"
}
],
"inContext": true
},
{
"id": "setting",
"name": "Setting",
"rmType": "DV_CODED_TEXT",
"min": 0,
"max": 1,
"aqlPath": "/context/setting",
"inputs": [
{
"suffix": "code",
"type": "TEXT"
},
{
"suffix": "value",
"type": "TEXT"
}
],
"inContext": true
}
]
},
{
"id": "body_temperature",
"name": "Body temperature",
"localizedName": "Body temperature",
"rmType": "OBSERVATION",
"nodeId": "openEHR-EHR-OBSERVATION.body_temperature.v1",
"min": 0,
"max": -1,
"localizedNames": {
"sl": "Telesna temperatura"
},
"localizedDescriptions": {
"sl": "*A measurement of the body temperature, which is a surrogate for the whole body temperature of the person.(en)"
},
"aqlPath": "/content[openEHR-EHR-OBSERVATION.body_temperature.v1]",
"children": [
{
"id": "any_event",
"name": "Any event",
"localizedName": "Any event",
"rmType": "EVENT",
"nodeId": "at0003",
"min": 0,
"max": -1,
"localizedNames": {
"sl": "Any event"
},
"localizedDescriptions": {
"sl": "*Any event(en)"
},
"aqlPath": "/content[openEHR-EHR-OBSERVATION.body_temperature.v1]/data[at0002]/events[at0003]",
"children": [
{
"id": "temperature",
"name": "Temperature",
"localizedName": "Temperature",
"rmType": "DV_QUANTITY",
"nodeId": "at0004",
"min": 1,
"max": 1,
"localizedNames": {
"sl": "Telesna temperatura"
},
"localizedDescriptions": {
"sl": "*The measured body temperature (as a surrogate for the whole body)(en)"
},
"aqlPath": "/content[openEHR-EHR-OBSERVATION.body_temperature.v1]/data[at0002]/events[at0003]/data[at0001]/items[at0004]/value",
"inputs": [
{
"suffix": "magnitude",
"type": "DECIMAL"
},
{
"suffix": "unit",
"type": "CODED_TEXT",
"list": [
{
"value": "°C",
"label": "°C",
"validation": {
"precision": {
"minOp": ">=",
"min": 1,
"maxOp": "<=",
"max": 1
}
}
},
{
"value": "°F",
"label": "°F",
"validation": {
"precision": {
"minOp": ">=",
"min": 1,
"maxOp": "<=",
"max": 1
}
}
}
]
}
]
},
{
"id": "body_exposure",
"name": "Body exposure",
"localizedName": "Body exposure",
"rmType": "DV_CODED_TEXT",
"nodeId": "at0030",
"min": 0,
"max": 1,
"dependsOn": [
"temperature"
],
"localizedNames": {
"sl": "Obleka"
},
"localizedDescriptions": {
"sl": "*The thermal situation of the person who is having the temperature taken(en)"
},
"aqlPath": "/content[openEHR-EHR-OBSERVATION.body_temperature.v1]/data[at0002]/events[at0003]/state[at0029]/items[at0030]/value",
"inputs": [
{
"suffix": "code",
"type": "CODED_TEXT",
"list": [
{
"value": "at0031",
"label": "Naked",
"localizedLabels": {
"sl": "Gol"
},
"localizedDescriptions": {
"sl": "*No clothing, bedding or covering(en)"
}
},
{
"value": "at0032",
"label": "Reduced clothing/bedding",
"localizedLabels": {
"sl": "Premalo oblečen (zavit)"
},
"localizedDescriptions": {
"sl": "*The person is covered by a lesser amount of clothing or bedding than deemed appropriate for the environmental circumstances(en)"
}
},
{
"value": "at0033",
"label": "Appropriate clothing/bedding",
"localizedLabels": {
"sl": "Primerno oblečen (zavit)"
},
"localizedDescriptions": {
"sl": "*The person is covered by an amount of clothing or bedding deemed appropriate for the environmental circumstances(en)"
}
},
{
"value": "at0034",
"label": "Increased clothing/bedding",
"localizedLabels": {
"sl": "Preveč oblečen (zavit)"
},
"localizedDescriptions": {
"sl": "*The person is covered by an increased amount of clothing or bedding than deemed appropriate for the environmental circumstances(en)"
}
}
],
"defaultValue": "at0033"
}
]
},
{
"id": "description_of_thermal_stress",
"name": "Description of thermal stress",
"localizedName": "Description of thermal stress",
"rmType": "DV_TEXT",
"nodeId": "at0041",
"min": 0,
"max": 1,
"dependsOn": [
"temperature"
],
"localizedNames": {
"sl": "Opis"
},
"localizedDescriptions": {
"sl": "*Description of the conditions applied to the subject that might influence their measured body temperature.(en)"
},
"aqlPath": "/content[openEHR-EHR-OBSERVATION.body_temperature.v1]/data[at0002]/events[at0003]/state[at0029]/items[at0041]/value",
"inputs": [
{
"type": "TEXT"
}
]
},
{
"id": "time",
"name": "Time",
"rmType": "DV_DATE_TIME",
"min": 0,
"max": 1,
"aqlPath": "/content[openEHR-EHR-OBSERVATION.body_temperature.v1]/data[at0002]/events[at0003]/time",
"inputs": [
{
"type": "DATETIME"
}
],
"inContext": true
}
]
},
{
"id": "site_of_measurement",
"name": "Site of measurement",
"localizedName": "Site of measurement",
"rmType": "DV_CODED_TEXT",
"nodeId": "at0021",
"min": 0,
"max": 1,
"dependsOn": [
"any_event"
],
"localizedNames": {
"sl": "Stran telesa"
},
"localizedDescriptions": {
"sl": "*The anatomical site of measurement of the temperature(en)"
},
"aqlPath": "/content[openEHR-EHR-OBSERVATION.body_temperature.v1]/protocol[at0020]/items[at0021]/value",
"inputs": [
{
"suffix": "code",
"type": "CODED_TEXT",
"list": [
{
"value": "at0022",
"label": "Mouth",
"localizedLabels": {
"sl": "Usta"
},
"localizedDescriptions": {
"sl": "*Temperature is measured within the mouth(en)"
}
},
{
"value": "at0023",
"label": "Ear canal",
"localizedLabels": {
"sl": "V ušesu"
},
"localizedDescriptions": {
"sl": "*Temperature is measured from within the external auditory canal(en)"
}
},
{
"value": "at0024",
"label": "Axilla",
"localizedLabels": {
"sl": "Pod pazduho"
},
"localizedDescriptions": {
"sl": "*Temperature is measured from the skin of the axilla with the arm positioned down by the side(en)"
}
},
{
"value": "at0025",
"label": "Rectum",
"localizedLabels": {
"sl": "Rektalno"
},
"localizedDescriptions": {
"sl": "*Temperature measured within the rectum(en)"
}
},
{
"value": "at0026",
"label": "Nasopharynx",
"localizedLabels": {
"sl": "Nazofarinks"
},
"localizedDescriptions": {
"sl": "*Temperature is measured within the nasopharynx(en)"
}
},
{
"value": "at0027",
"label": "Urinary bladder",
"localizedLabels": {
"sl": "Sečni mehur"
},
"localizedDescriptions": {
"sl": "*Temperature is measured in the urinary bladder(en)"
}
},
{
"value": "at0028",
"label": "Intravascular",
"localizedLabels": {
"sl": "Intravaskularno"
},
"localizedDescriptions": {
"sl": "*Temperature is measured within the vascular system(en)"
}
},
{
"value": "at0043",
"label": "Skin",
"localizedLabels": {
"sl": "Na koži"
},
"localizedDescriptions": {
"sl": "*Temperature is measured from exposed skin(en)"
}
},
{
"value": "at0051",
"label": "Vagina",
"localizedLabels": {
"sl": "Vaginalno"
},
"localizedDescriptions": {
"sl": "*Temperature is measured within the vagina(en)"
}
},
{
"value": "at0054",
"label": "Oesophagus",
"localizedLabels": {
"sl": "V požiralniku"
},
"localizedDescriptions": {
"sl": "*Temperatue is measured within the oesophagus(en)"
}
},
{
"value": "at0055",
"label": "Inguinal skin crease",
"localizedLabels": {
"sl": "V ustih"
},
"localizedDescriptions": {
"sl": "*Temperature is measured in the inguinal skin crease between the leg and abdominal wall(en)"
}
}
]
}
]
},
{
"id": "language",
"name": "Language",
"rmType": "CODE_PHRASE",
"min": 0,
"max": 1,
"aqlPath": "/content[openEHR-EHR-OBSERVATION.body_temperature.v1]/language",
"inContext": true
},
{
"id": "encoding",
"name": "Encoding",
"rmType": "CODE_PHRASE",
"min": 0,
"max": 1,
"aqlPath": "/content[openEHR-EHR-OBSERVATION.body_temperature.v1]/encoding",
"inContext": true
},
{
"id": "subject",
"name": "Subject",
"rmType": "PARTY_PROXY",
"min": 0,
"max": 1,
"aqlPath": "/content[openEHR-EHR-OBSERVATION.body_temperature.v1]/subject",
"inputs": [
{
"suffix": "id",
"type": "TEXT"
},
{
"suffix": "id_scheme",
"type": "TEXT"
},
{
"suffix": "id_namespace",
"type": "TEXT"
},
{
"suffix": "name",
"type": "TEXT"
}
],
"inContext": true
}
]
},
{
"id": "blood_pressure",
"name": "Blood Pressure",
"localizedName": "Blood Pressure",
"rmType": "OBSERVATION",
"nodeId": "openEHR-EHR-OBSERVATION.blood_pressure.v1",
"min": 0,
"max": -1,
"localizedNames": {
"sl": "*Blood Pressure(en)"
},
"localizedDescriptions": {
"sl": "*The local measurement of arterial blood pressure which is a surrogate for arterial. pressure in the systemic circulation. Most commonly, use of the term 'blood pressure' refers to measurement of brachial artery pressure in the upper arm.(en)"
},
"aqlPath": "/content[openEHR-EHR-OBSERVATION.blood_pressure.v1]",
"children": [
{
"id": "any_event",
"name": "any event",
"localizedName": "any event",
"rmType": "EVENT",
"nodeId": "at0006",
"min": 0,
"max": -1,
"localizedNames": {
"sl": "*any event(en)"
},
"localizedDescriptions": {
"sl": "*Default event(en)"
},
"aqlPath": "/content[openEHR-EHR-OBSERVATION.blood_pressure.v1]/data[at0001]/events[at0006]",
"children": [
{
"id": "systolic",
"name": "Systolic",
"localizedName": "Systolic",
"rmType": "DV_QUANTITY",
"nodeId": "at0004",
"min": 0,
"max": 1,
"localizedNames": {
"sl": "Sistolični"
},
"localizedDescriptions": {
"sl": "*Peak systemic arterial blood pressure - measured in systolic or contraction phase of the heart cycle.(en)"
},
"aqlPath": "/content[openEHR-EHR-OBSERVATION.blood_pressure.v1]/data[at0001]/events[at0006]/data[at0003]/items[at0004]/value",
"inputs": [
{
"suffix": "magnitude",
"type": "DECIMAL",
"validation": {
"range": {
"minOp": ">=",
"min": 0,
"maxOp": "<",
"max": 1000
},
"precision": {
"minOp": ">=",
"min": 0,
"maxOp": "<=",
"max": 0
}
}
},
{
"suffix": "unit",
"type": "CODED_TEXT",
"list": [
{
"value": "mm[Hg]",
"label": "mm[Hg]",
"validation": {
"range": {
"minOp": ">=",
"min": 0,
"maxOp": "<",
"max": 1000
},
"precision": {
"minOp": ">=",
"min": 0,
"maxOp": "<=",
"max": 0
}
}
}
]
}
],
"termBindings": {
"SNOMED-CT": {
"value": "163030003",
"terminologyId": "SNOMED-CT(2003)"
}
}
},
{
"id": "diastolic",
"name": "Diastolic",
"localizedName": "Diastolic",
"rmType": "DV_QUANTITY",
"nodeId": "at0005",
"min": 0,
"max": 1,
"localizedNames": {
"sl": "Diastolični"
},
"localizedDescriptions": {
"sl": "*Minimum systemic arterial blood pressure - measured in the diastolic or relaxation phase of the heart cycle.(en)"
},
"aqlPath": "/content[openEHR-EHR-OBSERVATION.blood_pressure.v1]/data[at0001]/events[at0006]/data[at0003]/items[at0005]/value",
"inputs": [
{
"suffix": "magnitude",
"type": "DECIMAL",
"validation": {
"range": {
"minOp": ">=",
"min": 0,
"maxOp": "<",
"max": 1000
},
"precision": {
"minOp": ">=",
"min": 0,
"maxOp": "<=",
"max": 0
}
}
},
{
"suffix": "unit",
"type": "CODED_TEXT",
"list": [
{
"value": "mm[Hg]",
"label": "mm[Hg]",
"validation": {
"range": {
"minOp": ">=",
"min": 0,
"maxOp": "<",
"max": 1000
},
"precision": {
"minOp": ">=",
"min": 0,
"maxOp": "<=",
"max": 0
}
}
}
]
}
],
"termBindings": {
"SNOMED-CT": {
"value": "163031004",
"terminologyId": "SNOMED-CT(2003)"
}
}
},
{
"id": "mean_arterial_pressure",
"name": "Mean Arterial Pressure",
"localizedName": "Mean Arterial Pressure",
"rmType": "DV_QUANTITY",
"nodeId": "at1006",
"min": 0,
"max": 1,
"localizedNames": {
"sl": "Srednja vrednost"
},
"localizedDescriptions": {
"sl": "*The average arterial pressure that occurs over the entire course of the heart contraction and relaxation cycle.(en)"
},
"aqlPath": "/content[openEHR-EHR-OBSERVATION.blood_pressure.v1]/data[at0001]/events[at0006]/data[at0003]/items[at1006]/value",
"inputs": [
{
"suffix": "magnitude",
"type": "DECIMAL",
"validation": {
"range": {
"minOp": ">=",
"min": 0,
"maxOp": "<",
"max": 1000
},
"precision": {
"minOp": ">=",
"min": 0,
"maxOp": "<=",
"max": 0
}
}
},
{
"suffix": "unit",
"type": "CODED_TEXT",
"list": [
{
"value": "mm[Hg]",
"label": "mm[Hg]",
"validation": {
"range": {
"minOp": ">=",
"min": 0,
"maxOp": "<",
"max": 1000
},
"precision": {
"minOp": ">=",
"min": 0,
"maxOp": "<=",
"max": 0
}
}
}
]
}
]
},
{
"id": "pulse_pressure",
"name": "Pulse Pressure",
"localizedName": "Pulse Pressure",
"rmType": "DV_QUANTITY",
"nodeId": "at1007",
"min": 0,
"max": 1,
"localizedNames": {
"sl": "Pulzni tlak"
},
"localizedDescriptions": {
"sl": "*The difference between the systolic and diastolic pressure.(en)"
},
"aqlPath": "/content[openEHR-EHR-OBSERVATION.blood_pressure.v1]/data[at0001]/events[at0006]/data[at0003]/items[at1007]/value",
"inputs": [
{
"suffix": "magnitude",
"type": "DECIMAL",
"validation": {
"range": {
"minOp": ">=",
"min": 0,
"maxOp": "<",
"max": 1000
},
"precision": {
"minOp": ">=",
"min": 0,
"maxOp": "<=",
"max": 0
}
}
},
{
"suffix": "unit",
"type": "CODED_TEXT",
"list": [
{
"value": "mm[Hg]",
"label": "mm[Hg]",
"validation": {
"range": {
"minOp": ">=",
"min": 0,
"maxOp": "<",
"max": 1000
},
"precision": {
"minOp": ">=",
"min": 0,
"maxOp": "<=",
"max": 0
}
}
}
]
}
]
},
{
"id": "comment",
"name": "Comment",
"localizedName": "Comment",
"rmType": "DV_TEXT",
"nodeId": "at0033",
"min": 0,
"max": 1,
"localizedNames": {
"sl": "Opombe"
},
"localizedDescriptions": {
"sl": "*Comment on blood pressure measurement.(en)"
},
"aqlPath": "/content[openEHR-EHR-OBSERVATION.blood_pressure.v1]/data[at0001]/events[at0006]/data[at0003]/items[at0033]/value",
"inputs": [
{
"type": "TEXT"
}
]
},
{
"id": "position",
"name": "Position",
"localizedName": "Position",
"rmType": "DV_CODED_TEXT",
"nodeId": "at0008",
"min": 0,
"max": 1,
"dependsOn": [
"systolic",
"diastolic",
"mean_arterial_pressure",
"comment",
"pulse_pressure"
],
"localizedNames": {
"sl": "Položaj"
},
"localizedDescriptions": {
"sl": "*The position of the subject at the time of measurement.(en)"
},
"aqlPath": "/content[openEHR-EHR-OBSERVATION.blood_pressure.v1]/data[at0001]/events[at0006]/state[at0007]/items[at0008]/value",
"inputs": [
{
"suffix": "code",
"type": "CODED_TEXT",
"list": [
{
"value": "at1000",
"label": "Standing",
"localizedLabels": {
"sl": "Stoje"
},
"localizedDescriptions": {
"sl": "*Standing at the time of blood pressure measurement.(en)"
}
},
{
"value": "at1001",
"label": "Sitting",
"localizedLabels": {
"sl": "Sede"
},
"localizedDescriptions": {
"sl": "*Sitting (for example on bed or chair) at the time of blood pressure measurement.(en)"
}
},
{
"value": "at1002",
"label": "Reclining",
"localizedLabels": {
"sl": "Kot 30%"
},
"localizedDescriptions": {
"sl": "*Reclining at the time of blood pressure measurement.(en)"
}
},
{
"value": "at1003",
"label": "Lying",
"localizedLabels": {
"sl": "Leže"
},
"localizedDescriptions": {
"sl": "*Lying flat at the time of blood pressure measurement.(en)"
}
},
{
"value": "at1014",
"label": "Lying with tilt to left",
"localizedLabels": {
"sl": "*Lying with tilt to left(en)"
},
"localizedDescriptions": {
"sl": "*Lying flat with some lateral tilt, usually angled towards the left side. Commonly required in the last trimester of pregnancy to relieve aortocaval compression.(en)"
}
}
],
"defaultValue": "at1001"
}
]
},
{
"id": "sleep_status",
"name": "Sleep status",
"localizedName": "Sleep status",
"rmType": "DV_CODED_TEXT",
"nodeId": "at1043",
"min": 0,
"max": 1,
"dependsOn": [
"systolic",
"diastolic",
"mean_arterial_pressure",
"comment",
"pulse_pressure"
],
"localizedNames": {
"sl": "*Sleep status(en)"
},
"localizedDescriptions": {
"sl": "*Sleep status - supports interpretation of 24 hour ambulatory blood pressure records. (en)"
},
"aqlPath": "/content[openEHR-EHR-OBSERVATION.blood_pressure.v1]/data[at0001]/events[at0006]/state[at0007]/items[at1043]/value",
"inputs": [
{
"suffix": "code",
"type": "CODED_TEXT",
"list": [
{
"value": "at1044",
"label": "Alert & awake",
"localizedLabels": {
"sl": "*Alert & awake(en)"
},
"localizedDescriptions": {
"sl": "*Subject is fully conscious.(en)"
}
},
{
"value": "at1045",
"label": "Sleeping",
"localizedLabels": {
"sl": "*Sleeping(en)"
},
"localizedDescriptions": {
"sl": "*Subject is in the natural state of bodily rest.(en)"
}
}
],
"defaultValue": "at1044"
}
]
},
{
"id": "tilt",
"name": "Tilt",
"localizedName": "Tilt",
"rmType": "DV_QUANTITY",
"nodeId": "at1005",
"min": 0,
"max": 1,
"dependsOn": [
"systolic",
"diastolic",
"mean_arterial_pressure",
"comment",
"pulse_pressure"
],
"localizedNames": {
"sl": "*Tilt(en)"
},
"localizedDescriptions": {
"sl": "*The craniocaudal tilt of the surface on which the person is lying at the time of measurement.(en)"
},
"aqlPath": "/content[openEHR-EHR-OBSERVATION.blood_pressure.v1]/data[at0001]/events[at0006]/state[at0007]/items[at1005]/value",
"inputs": [
{
"suffix": "magnitude",
"type": "DECIMAL",
"validation": {
"range": {
"minOp": ">=",
"min": -90,
"maxOp": "<=",
"max": 90
},
"precision": {
"minOp": ">=",
"min": 0,
"maxOp": "<=",
"max": 0
}
},
"defaultValue": 0
},
{
"suffix": "unit",
"type": "CODED_TEXT",
"list": [
{
"value": "°",
"label": "°",
"validation": {
"range": {
"minOp": ">=",
"min": -90,
"maxOp": "<=",
"max": 90
},
"precision": {
"minOp": ">=",
"min": 0,
"maxOp": "<=",
"max": 0
}
}
}
],
"defaultValue": "°"
}
]
},
{
"id": "time",
"name": "Time",
"rmType": "DV_DATE_TIME",
"min": 0,
"max": 1,
"aqlPath": "/content[openEHR-EHR-OBSERVATION.blood_pressure.v1]/data[at0001]/events[at0006]/time",
"inputs": [
{
"type": "DATETIME"
}
],
"inContext": true
}
]
},
{
"id": "cuff_size",
"name": "Cuff size",
"localizedName": "Cuff size",
"rmType": "DV_CODED_TEXT",
"nodeId": "at0013",
"min": 0,
"max": 1,
"dependsOn": [
"any_event"
],
"localizedNames": {
"sl": "Velikost manšete"
},
"localizedDescriptions": {
"sl": "*The size of the cuff used for blood pressure measurement. (en)"
},
"annotations": {
"comment": "Perloff D, Grim C, Flack J, Frohlich ED, Hill M, McDonald M, Morgenstern BZ. Human blood pressure determination by sphygmomanometry. Circulation 1993;88;2460-2470. "
},
"aqlPath": "/content[openEHR-EHR-OBSERVATION.blood_pressure.v1]/protocol[at0011]/items[at0013]/value",
"inputs": [
{
"suffix": "code",
"type": "CODED_TEXT",
"list": [
{
"value": "at0015",
"label": "Adult Thigh",
"localizedLabels": {
"sl": "*Adult Thigh(en)"
},
"localizedDescriptions": {
"sl": "*A cuff used for an adult thigh - bladder approx 20cm x 42cm.(en)"
}
},
{
"value": "at0016",
"label": "Large Adult",
"localizedLabels": {
"sl": "*Large Adult(en)"
},
"localizedDescriptions": {
"sl": "*A cuff for adults with larger arms - bladder approx 16cm x 38cm.(en)"
}
},
{
"value": "at0017",
"label": "Adult",
"localizedLabels": {
"sl": "Odrasli"
},
"localizedDescriptions": {
"sl": "*A cuff that is standard for an adult - bladder approx 13cm x 30cm.(en)"
}
},
{
"value": "at1008",
"label": "Small Adult",
"localizedLabels": {
"sl": "*Small Adult(en)"
},
"localizedDescriptions": {
"sl": "*A cuff used for a small adult - bladder approx 10cm x 24cm.(en)"
}
},
{
"value": "at1009",
"label": "Paediatric/Child",
"localizedLabels": {
"sl": "*Paediatric/Child(en)"
},
"localizedDescriptions": {
"sl": "*A cuff that is appropriate for a child or adult with a thin arm - bladder approx 8cm x 21cm.(en)"
}
},
{
"value": "at1018",
"label": "Infant",
"localizedLabels": {
"sl": "*Infant(en)"
},
"localizedDescriptions": {
"sl": "*A cuff used for infants - bladder approx 5cm x 15cm.(en)"
}
},
{
"value": "at1019",
"label": "Neonatal",
"localizedLabels": {
"sl": "*Neonatal(en)"
},
"localizedDescriptions": {
"sl": "*A cuff used for a neonate, assuming cuff is the appropriate size for maturity and birthweight of the neonate.(en)"
}
}
]
}
],
"termBindings": {
"SNOMED-CT": {
"value": "246153002",
"terminologyId": "SNOMED-CT(2003)"
}
}
},
{
"id": "location",
"name": "Location",
"localizedName": "Location",
"rmType": "CLUSTER",
"nodeId": "at1033",
"min": 0,
"max": 1,
"dependsOn": [
"any_event"
],
"localizedNames": {
"sl": "*Location(en)"
},
"localizedDescriptions": {
"sl": "*Body location where blood pressure is measured. Use 'Location of measurement' to select from common sites. Use 'Specific location' to record more specific details or a site that is not in the common set or to refer to an external terminology.(en)"
},
"aqlPath": "/content[openEHR-EHR-OBSERVATION.blood_pressure.v1]/protocol[at0011]/items[at1033]",
"children": [
{
"id": "location_of_measurement",
"name": "Location of measurement",
"localizedName": "Location of measurement",
"rmType": "DV_CODED_TEXT",
"nodeId": "at0014",
"min": 0,
"max": 1,
"localizedNames": {
"sl": "Lokacija meritve"
},
"localizedDescriptions": {
"sl": "*Common body sites where blood pressure is recorded.(en)"
},
"aqlPath": "/content[openEHR-EHR-OBSERVATION.blood_pressure.v1]/protocol[at0011]/items[at1033]/items[at0014]/value",
"inputs": [
{
"suffix": "code",
"type": "CODED_TEXT",
"list": [
{
"value": "at0025",
"label": "Right arm",
"localizedLabels": {
"sl": "Desna roka"
},
"localizedDescriptions": {
"sl": "*The right arm of the person.(en)"
}
},
{
"value": "at0026",
"label": "Left arm",
"localizedLabels": {
"sl": "Leva roka"
},
"localizedDescriptions": {
"sl": "*The left arm of the person.(en)"
}
},
{
"value": "at0027",
"label": "Right thigh",
"localizedLabels": {
"sl": "Desno stegno"
},
"localizedDescriptions": {
"sl": "*The right thigh of the person.(en)"
}
},
{
"value": "at0028",
"label": "Left thigh",
"localizedLabels": {
"sl": "Levo stegno"
},
"localizedDescriptions": {
"sl": "*The left thigh of the person.(en)"
}
},
{
"value": "at1020",
"label": "Right wrist",
"localizedLabels": {
"sl": "*Right wrist(en)"
},
"localizedDescriptions": {
"sl": "*The right wrist of the subject.(en)"
}
},
{
"value": "at1021",
"label": "Left wrist",
"localizedLabels": {
"sl": "*Left wrist(en)"
},
"localizedDescriptions": {
"sl": "*The left wrist of the subject.(en)"
}
},
{
"value": "at1026",
"label": "Right ankle",
"localizedLabels": {
"sl": "*Right ankle(en)"
},
"localizedDescriptions": {
"sl": "*The right ankle of the subject.(en)"
}
},
{
"value": "at1031",
"label": "Left ankle",
"localizedLabels": {
"sl": "*Left ankle(en)"
},
"localizedDescriptions": {
"sl": "*The left ankle of the subject.(en)"
}
},
{
"value": "at1032",
"label": "Finger",
"localizedLabels": {
"sl": "*Finger(en)"
},
"localizedDescriptions": {
"sl": "*A finger of the subject. Identification of the finger can be recorded in 'Specific Location' data element, if required.(en)"
}
},
{
"value": "at1051",
"label": "Toe",
"localizedLabels": {
"sl": "*Toe(en)"
},
"localizedDescriptions": {
"sl": "*A toe of the subject. Identification of the toe can be recorded in 'Specific Location' data element, if required.(en)"
}
},
{
"value": "at1053",
"label": "Intra-arterial",
"localizedLabels": {
"sl": "*Intra-arterial(en)"
},
"localizedDescriptions": {
"sl": "*Invasive measurement via transducer access line within an artery. Location of the transducer can be recorded in 'Specific Location' data element, if required.(en)"
}
}
]
}
]
}
]
},
{
"id": "method",
"name": "Method",
"localizedName": "Method",
"rmType": "DV_CODED_TEXT",
"nodeId": "at1035",
"min": 0,
"max": 1,
"dependsOn": [
"any_event"
],
"localizedNames": {
"sl": "*Method(en)"
},
"localizedDescriptions": {
"sl": "*Method of measurement of blood pressure.(en)"
},
"aqlPath": "/content[openEHR-EHR-OBSERVATION.blood_pressure.v1]/protocol[at0011]/items[at1035]/value",
"inputs": [
{
"suffix": "code",
"type": "CODED_TEXT",
"list": [
{
"value": "at1036",
"label": "Auscultation",
"localizedLabels": {
"sl": "*Auscultation(en)"
},
"localizedDescriptions": {
"sl": "*Method of measuring blood pressure externally, using a stethoscope and Korotkoff sounds.(en)"
}
},
{
"value": "at1037",
"label": "Palpation",
"localizedLabels": {
"sl": "*Palpation(en)"
},
"localizedDescriptions": {
"sl": "*Method of measuring blood pressure externally, using palpation (usually of the brachial or radial arteries).(en)"
}
},
{
"value": "at1039",
"label": "Machine",
"localizedLabels": {
"sl": "*Machine(en)"
},
"localizedDescriptions": {
"sl": "*Method of measuring blood pressure externally, using a blood pressure machine.(en)"
}
},
{
"value": "at1040",
"label": "Invasive",
"localizedLabels": {
"sl": "*Invasive(en)"
},
"localizedDescriptions": {
"sl": "*Method of measuring blood pressure internally ie involving penetration of the skin and measuring inside blood vessels.(en)"
}
}
]
}
]
},
{
"id": "diastolic_endpoint",
"name": "Diastolic endpoint",
"localizedName": "Diastolic endpoint",
"rmType": "DV_CODED_TEXT",
"nodeId": "at1010",
"min": 0,
"max": 1,
"dependsOn": [
"any_event"
],
"localizedNames": {
"sl": "*Diastolic endpoint(en)"
},
"localizedDescriptions": {
"sl": "*Record which Korotkoff sound is used for determining diastolic pressure using auscultative method.(en)"
},
"aqlPath": "/content[openEHR-EHR-OBSERVATION.blood_pressure.v1]/protocol[at0011]/items[at1010]/value",
"inputs": [
{
"suffix": "code",
"type": "CODED_TEXT",
"list": [
{
"value": "at1011",
"label": "Phase IV",
"localizedLabels": {
"sl": "*Phase IV(en)"
},
"localizedDescriptions": {
"sl": "*The fourth Korotkoff sound is identified as an abrupt muffling of sounds.(en)"
}
},
{
"value": "at1012",
"label": "Phase V",
"localizedLabels": {
"sl": "*Phase V(en)"
},
"localizedDescriptions": {
"sl": "*The fifth Korotkoff sound is identified by absence of sounds as the cuff pressure drops below the diastolic blood pressure.(en)"
}
}
]
}
]
},
{
"id": "device",
"name": "Device",
"localizedName": "Device",
"rmType": "CLUSTER",
"nodeId": "openEHR-EHR-CLUSTER.device.v1",
"min": 0,
"max": 1,
"dependsOn": [
"any_event"
],
"localizedNames": {
"sl": "Naprava"
},
"localizedDescriptions": {
"sl": "Uporablja se za zapisovanje podatkov o napravi, ki se lahko uporablja neposredno v terapevtske ali diagnostične namene; ali neposredno v zagotavljanju zdravstvene oskrbe."
},
"aqlPath": "/content[openEHR-EHR-OBSERVATION.blood_pressure.v1]/protocol[at0011]/items[openEHR-EHR-CLUSTER.device.v1]",
"children": [
{
"id": "device_name",
"name": "Device name",
"localizedName": "Device name",
"rmType": "DV_TEXT",
"nodeId": "at0001",
"min": 0,
"max": 1,
"localizedNames": {
"sl": "ID"
},
"localizedDescriptions": {
"sl": "ID naprave "
},
"annotations": {
"default": "ISPEK - OTS MZN-SIF-RR-Aparat"
},
"aqlPath": "/content[openEHR-EHR-OBSERVATION.blood_pressure.v1]/protocol[at0011]/items[openEHR-EHR-CLUSTER.device.v1]/items[at0001]/value",
"inputs": [
{
"type": "TEXT"
}
]
},
{
"id": "description",
"name": "Description",
"localizedName": "Description",
"rmType": "DV_TEXT",
"nodeId": "at0002",
"min": 0,
"max": 1,
"localizedNames": {
"sl": "Opis"
},
"localizedDescriptions": {
"sl": "Opis naprave"
},
"aqlPath": "/content[openEHR-EHR-OBSERVATION.blood_pressure.v1]/protocol[at0011]/items[openEHR-EHR-CLUSTER.device.v1]/items[at0002]/value",
"inputs": [
{
"type": "TEXT"
}
]
},
{
"id": "type",
"name": "Type",
"localizedName": "Type",
"rmType": "DV_TEXT",
"nodeId": "at0003",
"min": 0,
"max": 1,
"localizedNames": {
"sl": "Tip"
},
"localizedDescriptions": {
"sl": "Tip naprave"
},
"aqlPath": "/content[openEHR-EHR-OBSERVATION.blood_pressure.v1]/protocol[at0011]/items[openEHR-EHR-CLUSTER.device.v1]/items[at0003]/value",
"inputs": [
{
"type": "TEXT"
}
]
},
{
"id": "size",
"name": "Size",
"localizedName": "Size",
"rmType": "ELEMENT",
"nodeId": "at0016",
"min": 0,
"max": -1,
"localizedNames": {
"sl": "Velikost"
},
"localizedDescriptions": {
"sl": "Velikost naprave"
},
"aqlPath": "/content[openEHR-EHR-OBSERVATION.blood_pressure.v1]/protocol[at0011]/items[openEHR-EHR-CLUSTER.device.v1]/items[at0016]",
"children": [
{
"id": "count_value",
"localizedName": "Size",
"rmType": "DV_COUNT",
"nodeId": "",
"min": 0,
"max": 1,
"localizedNames": {
"sl": "Velikost"
},
"localizedDescriptions": {
"sl": "Velikost naprave"
},
"aqlPath": "/content[openEHR-EHR-OBSERVATION.blood_pressure.v1]/protocol[at0011]/items[openEHR-EHR-CLUSTER.device.v1]/items[at0016]/value",
"inputs": [
{
"type": "INTEGER"
}
]
},
{
"id": "quantity_value",
"localizedName": "Size",
"rmType": "DV_QUANTITY",
"nodeId": "",
"min": 0,
"max": 1,
"localizedNames": {
"sl": "Velikost"
},
"localizedDescriptions": {
"sl": "Velikost naprave"
},
"aqlPath": "/content[openEHR-EHR-OBSERVATION.blood_pressure.v1]/protocol[at0011]/items[openEHR-EHR-CLUSTER.device.v1]/items[at0016]/value",
"inputs": [
{
"suffix": "magnitude",
"type": "DECIMAL"
},
{
"suffix": "unit",
"type": "CODED_TEXT"
}
]
},
{
"id": "text_value",
"localizedName": "Size",
"rmType": "DV_TEXT",
"nodeId": "",
"min": 0,
"max": 1,
"localizedNames": {
"sl": "Velikost"
},
"localizedDescriptions": {
"sl": "Velikost naprave"
},
"aqlPath": "/content[openEHR-EHR-OBSERVATION.blood_pressure.v1]/protocol[at0011]/items[openEHR-EHR-CLUSTER.device.v1]/items[at0016]/value",
"inputs": [
{
"type": "TEXT"
}
]
}
]
},
{
"id": "manufacturer",
"name": "Manufacturer",
"localizedName": "Manufacturer",
"rmType": "DV_TEXT",
"nodeId": "at0004",
"min": 0,
"max": 1,
"localizedNames": {
"sl": "Proizvajalec"
},
"localizedDescriptions": {
"sl": "Proizvajalec naprave"
},
"aqlPath": "/content[openEHR-EHR-OBSERVATION.blood_pressure.v1]/protocol[at0011]/items[openEHR-EHR-CLUSTER.device.v1]/items[at0004]/value",
"inputs": [
{
"type": "TEXT"
}
],
"termBindings": {
"SNOMED-CT": {
"value": "163030003",
"terminologyId": "SNOMED-CT(2003)"
}
}
},
{
"id": "date_of_manufacture",
"name": "Date of manufacture",
"localizedName": "Date of manufacture",
"rmType": "DV_DATE_TIME",
"nodeId": "at0005",
"min": 0,
"max": 1,
"localizedNames": {
"sl": "Datum proizvodnje"
},
"localizedDescriptions": {
"sl": "Datum proizvodnje"
},
"aqlPath": "/content[openEHR-EHR-OBSERVATION.blood_pressure.v1]/protocol[at0011]/items[openEHR-EHR-CLUSTER.device.v1]/items[at0005]/value",
"inputs": [
{
"type": "DATETIME"
}
],
"termBindings": {
"SNOMED-CT": {
"value": "163031004",
"terminologyId": "SNOMED-CT(2003)"
}
}
},
{
"id": "batch_number",
"name": "Batch number",
"localizedName": "Batch number",
"rmType": "DV_TEXT",
"nodeId": "at0006",
"min": 0,
"max": 1,
"localizedNames": {
"sl": "Serijska številka"
},
"localizedDescriptions": {
"sl": "Serijska številka naprave"
},
"aqlPath": "/content[openEHR-EHR-OBSERVATION.blood_pressure.v1]/protocol[at0011]/items[openEHR-EHR-CLUSTER.device.v1]/items[at0006]/value",
"inputs": [
{
"type": "TEXT"
}
]
},
{
"id": "date_of_expiry",
"name": "Date of expiry",
"localizedName": "Date of expiry",
"rmType": "DV_DATE_TIME",
"nodeId": "at0007",
"min": 0,
"max": 1,
"localizedNames": {
"sl": "Rok trajanja"
},
"localizedDescriptions": {
"sl": "Rok trajanja naprave / izdelka"
},
"aqlPath": "/content[openEHR-EHR-OBSERVATION.blood_pressure.v1]/protocol[at0011]/items[openEHR-EHR-CLUSTER.device.v1]/items[at0007]/value",
"inputs": [
{
"type": "DATETIME"
}
]
},
{
"id": "safety_feature",
"name": "Safety feature",
"localizedName": "Safety feature",
"rmType": "CLUSTER",
"nodeId": "at0013",
"min": 0,
"max": -1,
"localizedNames": {
"sl": "Varnostna navodila"
},
"localizedDescriptions": {
"sl": "Varnostna navodila "
},
"aqlPath": "/content[openEHR-EHR-OBSERVATION.blood_pressure.v1]/protocol[at0011]/items[openEHR-EHR-CLUSTER.device.v1]/items[at0013]",
"children": [
{
"id": "type_of_feature",
"name": "Type of feature",
"localizedName": "Type of feature",
"rmType": "DV_TEXT",
"nodeId": "at0014",
"min": 0,
"max": 1,
"localizedNames": {
"sl": "Tip navodil"
},
"localizedDescriptions": {
"sl": "Tip varnostnih navodil"
},
"aqlPath": "/content[openEHR-EHR-OBSERVATION.blood_pressure.v1]/protocol[at0011]/items[openEHR-EHR-CLUSTER.device.v1]/items[at0013]/items[at0014]/value",
"inputs": [
{
"type": "TEXT"
}
]
},
{
"id": "description",
"name": "Description",
"localizedName": "Description",
"rmType": "DV_TEXT",
"nodeId": "at0015",
"min": 0,
"max": 1,
"localizedNames": {
"sl": "Opis"
},
"localizedDescriptions": {
"sl": "Opis varnostnih navodil"
},
"aqlPath": "/content[openEHR-EHR-OBSERVATION.blood_pressure.v1]/protocol[at0011]/items[openEHR-EHR-CLUSTER.device.v1]/items[at0013]/items[at0015]/value",
"inputs": [
{
"type": "TEXT"
}
]
}
],
"termBindings": {
"SNOMED-CT": {
"value": "246153002",
"terminologyId": "SNOMED-CT(2003)"
}
}
},
{
"id": "comment",
"name": "Comment",
"localizedName": "Comment",
"rmType": "DV_TEXT",
"nodeId": "at0008",
"min": 0,
"max": 1,
"localizedNames": {
"sl": "Opomba"
},
"localizedDescriptions": {
"sl": "Opombe glede naprave"
},
"aqlPath": "/content[openEHR-EHR-OBSERVATION.blood_pressure.v1]/protocol[at0011]/items[openEHR-EHR-CLUSTER.device.v1]/items[at0008]/value",
"inputs": [
{
"type": "TEXT"
}
]
}
],
"termBindings": {
"SNOMED-CT": {
"value": "163020007",
"terminologyId": "SNOMED-CT(2003)"
}
}
},
{
"id": "language",
"name": "Language",
"rmType": "CODE_PHRASE",
"min": 0,
"max": 1,
"aqlPath": "/content[openEHR-EHR-OBSERVATION.blood_pressure.v1]/language",
"inContext": true
},
{
"id": "encoding",
"name": "Encoding",
"rmType": "CODE_PHRASE",
"min": 0,
"max": 1,
"aqlPath": "/content[openEHR-EHR-OBSERVATION.blood_pressure.v1]/encoding",
"inContext": true
},
{
"id": "subject",
"name": "Subject",
"rmType": "PARTY_PROXY",
"min": 0,
"max": 1,
"aqlPath": "/content[openEHR-EHR-OBSERVATION.blood_pressure.v1]/subject",
"inputs": [
{
"suffix": "id",
"type": "TEXT"
},
{
"suffix": "id_scheme",
"type": "TEXT"
},
{
"suffix": "id_namespace",
"type": "TEXT"
},
{
"suffix": "name",
"type": "TEXT"
}
],
"inContext": true
}
],
"termBindings": {
"SNOMED-CT": {
"value": "163020007",
"terminologyId": "SNOMED-CT(2003)"
}
}
},
{
"id": "body_mass_index",
"name": "Body mass index",
"localizedName": "Body mass index",
"rmType": "OBSERVATION",
"nodeId": "openEHR-EHR-OBSERVATION.body_mass_index.v1",
"min": 0,
"max": -1,
"localizedNames": {
"sl": "Indeks telesne mase (ITM)"
},
"localizedDescriptions": {
"sl": "Indeks telesne mase (ITM)"
},
"aqlPath": "/content[openEHR-EHR-OBSERVATION.body_mass_index.v1]",
"children": [
{
"id": "any_event",
"name": "Any event",
"localizedName": "Any event",
"rmType": "EVENT",
"nodeId": "at0002",
"min": 1,
"max": -1,
"localizedNames": {
"sl": "*Any event(en)"
},
"localizedDescriptions": {
"sl": "*Any timed recording of Body Mass Index.(en)"
},
"annotations": {
"view:pass_through": "true"
},
"aqlPath": "/content[openEHR-EHR-OBSERVATION.body_mass_index.v1]/data[at0001]/events[at0002]",
"children": [
{
"id": "body_mass_index",
"name": "Body Mass Index",
"localizedName": "Body Mass Index",
"rmType": "DV_QUANTITY",
"nodeId": "at0004",
"min": 0,
"max": 1,
"localizedNames": {
"sl": "ITM"
},
"localizedDescriptions": {
"sl": "Indeks telesne mase"
},
"aqlPath": "/content[openEHR-EHR-OBSERVATION.body_mass_index.v1]/data[at0001]/events[at0002]/data[at0003]/items[at0004]/value",
"inputs": [
{
"suffix": "magnitude",
"type": "DECIMAL",
"validation": {
"range": {
"minOp": ">=",
"min": 0,
"maxOp": "<",
"max": 1000
},
"precision": {
"minOp": ">=",
"min": 1,
"maxOp": "<=",
"max": 1
}
}
},
{
"suffix": "unit",
"type": "CODED_TEXT",
"list": [
{
"value": "kg/m2",
"label": "kg/m2",
"validation": {
"range": {
"minOp": ">=",
"min": 0,
"maxOp": "<",
"max": 1000
},
"precision": {
"minOp": ">=",
"min": 1,
"maxOp": "<=",
"max": 1
}
}
}
]
}
]
},
{
"id": "time",
"name": "Time",
"rmType": "DV_DATE_TIME",
"min": 0,
"max": 1,
"aqlPath": "/content[openEHR-EHR-OBSERVATION.body_mass_index.v1]/data[at0001]/events[at0002]/time",
"inputs": [
{
"type": "DATETIME"
}
],
"inContext": true
}
]
},
{
"id": "method",
"name": "Method",
"localizedName": "Method",
"rmType": "DV_CODED_TEXT",
"nodeId": "at0006",
"min": 0,
"max": 1,
"dependsOn": [
"any_event"
],
"localizedNames": {
"sl": "Metoda"
},
"localizedDescriptions": {
"sl": "Metoda"
},
"aqlPath": "/content[openEHR-EHR-OBSERVATION.body_mass_index.v1]/protocol[at0005]/items[at0006]/value",
"inputs": [
{
"suffix": "code",
"type": "CODED_TEXT",
"list": [
{
"value": "at0007",
"label": "Automatic entry",
"localizedLabels": {
"sl": "Atvmatska"
},
"localizedDescriptions": {
"sl": "Atvmatska"
}
},
{
"value": "at0008",
"label": "Direct entry",
"localizedLabels": {
"sl": "Od pacienta"
},
"localizedDescriptions": {
"sl": "Od pacienta"
}
}
]
}
]
},
{
"id": "formula",
"name": "Formula",
"localizedName": "Formula",
"rmType": "DV_TEXT",
"nodeId": "at0010",
"min": 0,
"max": 1,
"dependsOn": [
"any_event"
],
"localizedNames": {
"sl": "Formula"
},
"localizedDescriptions": {
"sl": "Formula"
},
"aqlPath": "/content[openEHR-EHR-OBSERVATION.body_mass_index.v1]/protocol[at0005]/items[at0010]/value",
"inputs": [
{
"type": "TEXT"
}
]
},
{
"id": "comment",
"name": "Comment",
"localizedName": "Comment",
"rmType": "DV_TEXT",
"nodeId": "at0011",
"min": 0,
"max": 1,
"dependsOn": [
"any_event"
],
"localizedNames": {
"sl": "Opombe"
},
"localizedDescriptions": {
"sl": "Opombe"
},
"aqlPath": "/content[openEHR-EHR-OBSERVATION.body_mass_index.v1]/protocol[at0005]/items[at0011]/value",
"inputs": [
{
"type": "TEXT"
}
]
},
{
"id": "language",
"name": "Language",
"rmType": "CODE_PHRASE",
"min": 0,
"max": 1,
"aqlPath": "/content[openEHR-EHR-OBSERVATION.body_mass_index.v1]/language",
"inContext": true
},
{
"id": "encoding",
"name": "Encoding",
"rmType": "CODE_PHRASE",
"min": 0,
"max": 1,
"aqlPath": "/content[openEHR-EHR-OBSERVATION.body_mass_index.v1]/encoding",
"inContext": true
},
{
"id": "subject",
"name": "Subject",
"rmType": "PARTY_PROXY",
"min": 0,
"max": 1,
"aqlPath": "/content[openEHR-EHR-OBSERVATION.body_mass_index.v1]/subject",
"inputs": [
{
"suffix": "id",
"type": "TEXT"
},
{
"suffix": "id_scheme",
"type": "TEXT"
},
{
"suffix": "id_namespace",
"type": "TEXT"
},
{
"suffix": "name",
"type": "TEXT"
}
],
"inContext": true
}
]
},
{
"id": "height_length",
"name": "Height/Length",
"localizedName": "Height/Length",
"rmType": "OBSERVATION",
"nodeId": "openEHR-EHR-OBSERVATION.height.v1",
"min": 0,
"max": -1,
"localizedNames": {
"sl": "Višina/dolžina"
},
"localizedDescriptions": {
"sl": "Višina/dolžina pacienta, izmerjena od vrha glave do podplatov na nogah"
},
"aqlPath": "/content[openEHR-EHR-OBSERVATION.height.v1]",
"children": [
{
"id": "any_event",
"name": "Any event",
"localizedName": "Any event",
"rmType": "EVENT",
"nodeId": "at0002",
"min": 1,
"max": -1,
"localizedNames": {
"sl": "*Any event(en)"
},
"localizedDescriptions": {
"sl": "*Any timed measurement of height or body length.(en)"
},
"annotations": {
"view:pass_through": "true"
},
"aqlPath": "/content[openEHR-EHR-OBSERVATION.height.v1]/data[at0001]/events[at0002]",
"children": [
{
"id": "body_height_length",
"name": "Body Height/Length",
"localizedName": "Body Height/Length",
"rmType": "DV_QUANTITY",
"nodeId": "at0004",
"min": 1,
"max": 1,
"localizedNames": {
"en": "Body Height/Length"
},
"localizedDescriptions": {
"sl": "Višina/dolžina pacienta, izmerjena od vrha glave do podplatov na nogah"
},
"aqlPath": "/content[openEHR-EHR-OBSERVATION.height.v1]/data[at0001]/events[at0002]/data[at0003]/items[at0004,'Body Height/Length']/value",
"inputs": [
{
"suffix": "magnitude",
"type": "DECIMAL",
"validation": {
"range": {
"minOp": ">=",
"min": 0,
"maxOp": "<=",
"max": 1000
}
}
},
{
"suffix": "unit",
"type": "CODED_TEXT",
"list": [
{
"value": "cm",
"label": "cm",
"validation": {
"range": {
"minOp": ">=",
"min": 0,
"maxOp": "<=",
"max": 1000
}
}
}
]
}
]
},
{
"id": "comment",
"name": "Comment",
"localizedName": "Comment",
"rmType": "DV_TEXT",
"nodeId": "at0018",
"min": 0,
"max": 1,
"localizedNames": {
"sl": "Opombe"
},
"localizedDescriptions": {
"sl": "Opombe"
},
"aqlPath": "/content[openEHR-EHR-OBSERVATION.height.v1]/data[at0001]/events[at0002]/data[at0003]/items[at0018]/value",
"inputs": [
{
"type": "TEXT"
}
]
},
{
"id": "position",
"name": "Position",
"localizedName": "Position",
"rmType": "DV_CODED_TEXT",
"nodeId": "at0014",
"min": 0,
"max": 1,
"dependsOn": [
"body_height_length",
"comment"
],
"localizedNames": {
"sl": "Pozicija"
},
"localizedDescriptions": {
"sl": "Pozicija pacienta, ko se izvaja meritev"
},
"aqlPath": "/content[openEHR-EHR-OBSERVATION.height.v1]/data[at0001]/events[at0002]/state[at0013]/items[at0014]/value",
"inputs": [
{
"suffix": "code",
"type": "CODED_TEXT",
"list": [
{
"value": "at0016",
"label": "Standing",
"localizedLabels": {
"sl": "Stoje"
},
"localizedDescriptions": {
"sl": "Stoje"
}
},
{
"value": "at0020",
"label": "Lying",
"localizedLabels": {
"sl": "Leže"
},
"localizedDescriptions": {
"sl": "Leže"
}
}
],
"defaultValue": "at0016"
}
]
},
{
"id": "time",
"name": "Time",
"rmType": "DV_DATE_TIME",
"min": 0,
"max": 1,
"aqlPath": "/content[openEHR-EHR-OBSERVATION.height.v1]/data[at0001]/events[at0002]/time",
"inputs": [
{
"type": "DATETIME"
}
],
"inContext": true
}
]
},
{
"id": "language",
"name": "Language",
"rmType": "CODE_PHRASE",
"min": 0,
"max": 1,
"aqlPath": "/content[openEHR-EHR-OBSERVATION.height.v1]/language",
"inContext": true
},
{
"id": "encoding",
"name": "Encoding",
"rmType": "CODE_PHRASE",
"min": 0,
"max": 1,
"aqlPath": "/content[openEHR-EHR-OBSERVATION.height.v1]/encoding",
"inContext": true
},
{
"id": "subject",
"name": "Subject",
"rmType": "PARTY_PROXY",
"min": 0,
"max": 1,
"aqlPath": "/content[openEHR-EHR-OBSERVATION.height.v1]/subject",
"inputs": [
{
"suffix": "id",
"type": "TEXT"
},
{
"suffix": "id_scheme",
"type": "TEXT"
},
{
"suffix": "id_namespace",
"type": "TEXT"
},
{
"suffix": "name",
"type": "TEXT"
}
],
"inContext": true
}
]
},
{
"id": "body_weight",
"name": "Body weight",
"localizedName": "Body weight",
"rmType": "OBSERVATION",
"nodeId": "openEHR-EHR-OBSERVATION.body_weight.v1",
"min": 0,
"max": -1,
"localizedNames": {
"sl": "Telesna teža"
},
"localizedDescriptions": {
"sl": "Merjenje telesne teže posameznega pacienta"
},
"aqlPath": "/content[openEHR-EHR-OBSERVATION.body_weight.v1]",
"children": [
{
"id": "any_event",
"name": "Any event",
"localizedName": "Any event",
"rmType": "EVENT",
"nodeId": "at0003",
"min": 0,
"max": -1,
"localizedNames": {
"sl": "*Any event(en)"
},
"localizedDescriptions": {
"sl": "*Any event(en)"
},
"annotations": {
"view:pass_through": "true"
},
"aqlPath": "/content[openEHR-EHR-OBSERVATION.body_weight.v1]/data[at0002]/events[at0003]",
"children": [
{
"id": "body_weight",
"name": "Body weight",
"localizedName": "Body weight",
"rmType": "DV_QUANTITY",
"nodeId": "at0004",
"min": 1,
"max": 1,
"localizedNames": {
"en": "Body weight"
},
"localizedDescriptions": {
"sl": "Teža pacienta"
},
"aqlPath": "/content[openEHR-EHR-OBSERVATION.body_weight.v1]/data[at0002]/events[at0003]/data[at0001]/items[at0004,'Body weight']/value",
"inputs": [
{
"suffix": "magnitude",
"type": "DECIMAL",
"validation": {
"range": {
"minOp": ">=",
"min": 0,
"maxOp": "<=",
"max": 1000
}
}
},
{
"suffix": "unit",
"type": "CODED_TEXT",
"list": [
{
"value": "kg",
"label": "kg",
"validation": {
"range": {
"minOp": ">=",
"min": 0,
"maxOp": "<=",
"max": 1000
}
}
}
]
}
]
},
{
"id": "comment",
"name": "Comment",
"localizedName": "Comment",
"rmType": "DV_TEXT",
"nodeId": "at0024",
"min": 0,
"max": 1,
"localizedNames": {
"sl": "Opombe"
},
"localizedDescriptions": {
"sl": "Opombe"
},
"aqlPath": "/content[openEHR-EHR-OBSERVATION.body_weight.v1]/data[at0002]/events[at0003]/data[at0001]/items[at0024]/value",
"inputs": [
{
"type": "TEXT"
}
]
},
{
"id": "state_of_dress",
"name": "State of Dress",
"localizedName": "State of Dress",
"rmType": "DV_CODED_TEXT",
"nodeId": "at0009",
"min": 0,
"max": 1,
"dependsOn": [
"body_weight",
"comment"
],
"localizedNames": {
"sl": "Oblečen"
},
"localizedDescriptions": {
"sl": "Ali je pacient oblečen?"
},
"aqlPath": "/content[openEHR-EHR-OBSERVATION.body_weight.v1]/data[at0002]/events[at0003]/state[at0008]/items[at0009]/value",
"inputs": [
{
"suffix": "code",
"type": "CODED_TEXT",
"list": [
{
"value": "at0011",
"label": "Lightly clothed/underwear",
"localizedLabels": {
"sl": "Lahko oblečen / spodnje perilo"
},
"localizedDescriptions": {
"sl": "Lahko oblečen / spodnje perilo"
}
},
{
"value": "at0013",
"label": "Naked",
"localizedLabels": {
"sl": "Nag"
},
"localizedDescriptions": {
"sl": "Nag"
}
},
{
"value": "at0010",
"label": "Fully clothed, including shoes",
"localizedLabels": {
"sl": "Popolnoma oblečen, vključujoč čevlje"
},
"localizedDescriptions": {
"sl": "Popolnoma oblečen, vključujoč čevlje"
}
},
{
"value": "at0017",
"label": "Nappy/diaper",
"localizedLabels": {
"sl": "Plenice"
},
"localizedDescriptions": {
"sl": "Pacient nosi plenice"
}
}
],
"defaultValue": "at0011"
}
]
},
{
"id": "time",
"name": "Time",
"rmType": "DV_DATE_TIME",
"min": 0,
"max": 1,
"aqlPath": "/content[openEHR-EHR-OBSERVATION.body_weight.v1]/data[at0002]/events[at0003]/time",
"inputs": [
{
"type": "DATETIME"
}
],
"inContext": true
}
]
},
{
"id": "language",
"name": "Language",
"rmType": "CODE_PHRASE",
"min": 0,
"max": 1,
"aqlPath": "/content[openEHR-EHR-OBSERVATION.body_weight.v1]/language",
"inContext": true
},
{
"id": "encoding",
"name": "Encoding",
"rmType": "CODE_PHRASE",
"min": 0,
"max": 1,
"aqlPath": "/content[openEHR-EHR-OBSERVATION.body_weight.v1]/encoding",
"inContext": true
},
{
"id": "subject",
"name": "Subject",
"rmType": "PARTY_PROXY",
"min": 0,
"max": 1,
"aqlPath": "/content[openEHR-EHR-OBSERVATION.body_weight.v1]/subject",
"inputs": [
{
"suffix": "id",
"type": "TEXT"
},
{
"suffix": "id_scheme",
"type": "TEXT"
},
{
"suffix": "id_namespace",
"type": "TEXT"
},
{
"suffix": "name",
"type": "TEXT"
}
],
"inContext": true
}
]
},
{
"id": "pulse",
"name": "Pulse",
"localizedName": "Pulse",
"rmType": "OBSERVATION",
"nodeId": "openEHR-EHR-OBSERVATION.heart_rate-pulse.v1",
"min": 0,
"max": -1,
"localizedNames": {
"sl": "*Pulse(en)"
},
"localizedDescriptions": {
"sl": "*The mechanical heart rate - usually measured by palpation(en)"
},
"aqlPath": "/content[openEHR-EHR-OBSERVATION.heart_rate-pulse.v1]",
"children": [
{
"id": "any_event",
"name": "Any event",
"localizedName": "Any event",
"rmType": "EVENT",
"nodeId": "at0003",
"min": 0,
"max": -1,
"localizedNames": {
"sl": "*Any event(en)"
},
"localizedDescriptions": {
"sl": "*Default unspecified event.(en)"
},
"aqlPath": "/content[openEHR-EHR-OBSERVATION.heart_rate-pulse.v1]/data[at0002]/events[at0003]",
"children": [
{
"id": "rate",
"name": "Rate",
"localizedName": "Rate",
"rmType": "DV_QUANTITY",
"nodeId": "at0004",
"min": 0,
"max": 1,
"localizedNames": {
"sl": "Utrip"
},
"localizedDescriptions": {
"sl": "*The rate of the heart in beats per minute.(en)"
},
"aqlPath": "/content[openEHR-EHR-OBSERVATION.heart_rate-pulse.v1]/data[at0002]/events[at0003]/data[at0001]/items[at0004]/value",
"inputs": [
{
"suffix": "magnitude",
"type": "DECIMAL",
"validation": {
"range": {
"minOp": ">=",
"min": 0
},
"precision": {
"minOp": ">=",
"min": 0,
"maxOp": "<=",
"max": 0
}
}
},
{
"suffix": "unit",
"type": "CODED_TEXT",
"list": [
{
"value": "/min",
"label": "/min",
"validation": {
"range": {
"minOp": ">=",
"min": 0
},
"precision": {
"minOp": ">=",
"min": 0,
"maxOp": "<=",
"max": 0
}
}
}
]
}
],
"termBindings": {
"SNOMED-CT": {
"value": "78564009",
"terminologyId": "SNOMED-CT(2009)"
}
}
},
{
"id": "comment",
"name": "Comment",
"localizedName": "Comment",
"rmType": "DV_TEXT",
"nodeId": "at0009",
"min": 0,
"max": 1,
"localizedNames": {
"sl": "Opombe"
},
"localizedDescriptions": {
"sl": "*Comment about the heart rate and rhythm.(en)"
},
"aqlPath": "/content[openEHR-EHR-OBSERVATION.heart_rate-pulse.v1]/data[at0002]/events[at0003]/data[at0001]/items[at0009]/value",
"inputs": [
{
"type": "TEXT"
}
]
},
{
"id": "position",
"name": "Position",
"localizedName": "Position",
"rmType": "DV_CODED_TEXT",
"nodeId": "at0013",
"min": 0,
"max": 1,
"dependsOn": [
"rate",
"comment"
],
"localizedNames": {
"sl": "Položaj pacienta"
},
"localizedDescriptions": {
"sl": "*The position of the patient when the heartbeat was recorded.(en)"
},
"aqlPath": "/content[openEHR-EHR-OBSERVATION.heart_rate-pulse.v1]/data[at0002]/events[at0003]/state[at0012]/items[at0013]/value",
"inputs": [
{
"suffix": "code",
"type": "CODED_TEXT",
"list": [
{
"value": "at1000",
"label": "Lying",
"localizedLabels": {
"sl": "Leži"
},
"localizedDescriptions": {
"sl": "*Lying supine.(en)"
}
},
{
"value": "at1001",
"label": "Sitting",
"localizedLabels": {
"sl": "Sedi"
},
"localizedDescriptions": {
"sl": "*Sitting on bed or chair.(en)"
}
},
{
"value": "at1002",
"label": "Reclining",
"localizedLabels": {
"sl": "Kot 30%"
},
"localizedDescriptions": {
"sl": "*Person reclining at 45 degrees with legs raised.(en)"
}
},
{
"value": "at1003",
"label": "Standing",
"localizedLabels": {
"sl": "Stoji"
},
"localizedDescriptions": {
"sl": "*Standing upright.(en)"
}
}
],
"defaultValue": "at1001"
}
]
},
{
"id": "time",
"name": "Time",
"rmType": "DV_DATE_TIME",
"min": 0,
"max": 1,
"aqlPath": "/content[openEHR-EHR-OBSERVATION.heart_rate-pulse.v1]/data[at0002]/events[at0003]/time",
"inputs": [
{
"type": "DATETIME"
}
],
"inContext": true
}
]
},
{
"id": "method",
"name": "Method",
"localizedName": "Method",
"rmType": "DV_CODED_TEXT",
"nodeId": "at1019",
"min": 0,
"max": 1,
"dependsOn": [
"any_event"
],
"localizedNames": {
"sl": "Metoda"
},
"localizedDescriptions": {
"sl": "*Source of heart rate and rhythm record.(en)"
},
"aqlPath": "/content[openEHR-EHR-OBSERVATION.heart_rate-pulse.v1]/protocol[at0010]/items[at1019]/value",
"inputs": [
{
"suffix": "code",
"type": "CODED_TEXT",
"list": [
{
"value": "at1020",
"label": "Auscultation",
"localizedLabels": {
"sl": "Osluškovanje"
},
"localizedDescriptions": {
"sl": "*Direct auscultation of the heart.(en)"
}
},
{
"value": "at1021",
"label": "Device",
"localizedLabels": {
"sl": "Naprava"
},
"localizedDescriptions": {
"sl": "*Derived from the electrical activity of the heart, commonly via an electrocardiograph.(en)"
}
}
]
}
]
},
{
"id": "description",
"name": "Description",
"localizedName": "Description",
"rmType": "DV_TEXT",
"nodeId": "at1014",
"min": 0,
"max": 1,
"dependsOn": [
"any_event"
],
"localizedNames": {
"sl": "Opis"
},
"localizedDescriptions": {
"sl": "*Details about the method or machine used to record the heart rate and rhythm.(en)"
},
"aqlPath": "/content[openEHR-EHR-OBSERVATION.heart_rate-pulse.v1]/protocol[at0010]/items[at1014]/value",
"inputs": [
{
"type": "TEXT"
}
]
},
{
"id": "location_of_measurement",
"name": "Location of measurement",
"localizedName": "Location of measurement",
"rmType": "DV_CODED_TEXT",
"nodeId": "at0.2",
"min": 0,
"max": 1,
"dependsOn": [
"any_event"
],
"localizedNames": {
"sl": "Lokacija meritve"
},
"localizedDescriptions": {
"sl": "*The body site where the pulse was measured(en)"
},
"aqlPath": "/content[openEHR-EHR-OBSERVATION.heart_rate-pulse.v1]/protocol[at0010]/items[at0.2]/value",
"inputs": [
{
"suffix": "code",
"type": "CODED_TEXT",
"list": [
{
"value": "at0.3",
"label": "Radial artery",
"localizedLabels": {
"sl": "*Radial artery(en)"
},
"localizedDescriptions": {
"sl": "*The radial artery(en)"
}
},
{
"value": "at0.4",
"label": "Apex of heart",
"localizedLabels": {
"sl": "*Apex of heart(en)"
},
"localizedDescriptions": {
"sl": "*The apex beat of the heart (left 5th intercostal space, mid-clavicular line)(en)"
}
},
{
"value": "at0.5",
"label": "Carotid artery",
"localizedLabels": {
"sl": "*Carotid artery(en)"
},
"localizedDescriptions": {
"sl": "*The carotid artery in the neck(en)"
}
},
{
"value": "at0.6",
"label": "Femoral artery",
"localizedLabels": {
"sl": "*Femoral artery(en)"
},
"localizedDescriptions": {
"sl": "*The femoral artery(en)"
}
},
{
"value": "at0.15",
"label": "Ulnar artery",
"localizedLabels": {
"sl": "Ulnarna arterija"
},
"localizedDescriptions": {
"sl": "*The ulnar artery(en)"
}
},
{
"value": "at0.17",
"label": "Brachial artery",
"localizedLabels": {
"sl": "Brahialna arterija"
},
"localizedDescriptions": {
"sl": "*The brachial artery(en)"
}
},
{
"value": "at0.19",
"label": "Popliteal",
"localizedLabels": {
"sl": "Poplitealena arterija"
},
"localizedDescriptions": {
"sl": "*The popliteal artery(en)"
}
},
{
"value": "at0.20",
"label": "Dorsalis Pedis",
"localizedLabels": {
"sl": "*Dorsalis Pedis(en)"
},
"localizedDescriptions": {
"sl": "*The dorsalis pedis artery(en)"
}
},
{
"value": "at0.21",
"label": "Tibialis Posterior",
"localizedLabels": {
"sl": "*Tibialis Posterior(en)"
},
"localizedDescriptions": {
"sl": "*The tibialis posterior artery(en)"
}
},
{
"value": "at0.22",
"label": "temporal",
"localizedLabels": {
"sl": "Temporalno"
},
"localizedDescriptions": {
"sl": "**(en)"
}
}
]
}
]
},
{
"id": "language",
"name": "Language",
"rmType": "CODE_PHRASE",
"min": 0,
"max": 1,
"aqlPath": "/content[openEHR-EHR-OBSERVATION.heart_rate-pulse.v1]/language",
"inContext": true
},
{
"id": "encoding",
"name": "Encoding",
"rmType": "CODE_PHRASE",
"min": 0,
"max": 1,
"aqlPath": "/content[openEHR-EHR-OBSERVATION.heart_rate-pulse.v1]/encoding",
"inContext": true
},
{
"id": "subject",
"name": "Subject",
"rmType": "PARTY_PROXY",
"min": 0,
"max": 1,
"aqlPath": "/content[openEHR-EHR-OBSERVATION.heart_rate-pulse.v1]/subject",
"inputs": [
{
"suffix": "id",
"type": "TEXT"
},
{
"suffix": "id_scheme",
"type": "TEXT"
},
{
"suffix": "id_namespace",
"type": "TEXT"
},
{
"suffix": "name",
"type": "TEXT"
}
],
"inContext": true
}
],
"termBindings": {
"SNOMED-CT": {
"value": "248627000",
"terminologyId": "SNOMED-CT"
}
}
},
{
"id": "respirations",
"name": "Respirations",
"localizedName": "Respirations",
"rmType": "OBSERVATION",
"nodeId": "openEHR-EHR-OBSERVATION.respiration.v1",
"min": 0,
"max": -1,
"localizedNames": {
"sl": "Dihanje"
},
"localizedDescriptions": {
"sl": "Opazovanje spontanega dihanja pacienta"
},
"aqlPath": "/content[openEHR-EHR-OBSERVATION.respiration.v1]",
"children": [
{
"id": "any_event",
"name": "Any event",
"localizedName": "Any event",
"rmType": "EVENT",
"nodeId": "at0002",
"min": 0,
"max": -1,
"localizedNames": {
"sl": "*Any event(en)"
},
"localizedDescriptions": {
"sl": "*Generic event(en)"
},
"aqlPath": "/content[openEHR-EHR-OBSERVATION.respiration.v1]/data[at0001]/events[at0002]",
"children": [
{
"id": "rate",
"name": "Rate",
"localizedName": "Rate",
"rmType": "DV_QUANTITY",
"nodeId": "at0004",
"min": 0,
"max": 1,
"localizedNames": {
"sl": "Frekvenca dihanja"
},
"localizedDescriptions": {
"sl": "Frekvenca dihanja"
},
"aqlPath": "/content[openEHR-EHR-OBSERVATION.respiration.v1]/data[at0001]/events[at0002]/data[at0003]/items[at0004]/value",
"inputs": [
{
"suffix": "magnitude",
"type": "DECIMAL",
"validation": {
"range": {
"minOp": ">=",
"min": 0,
"maxOp": "<=",
"max": 200
},
"precision": {
"minOp": ">=",
"min": 0,
"maxOp": "<=",
"max": 0
}
}
},
{
"suffix": "unit",
"type": "CODED_TEXT",
"list": [
{
"value": "/min",
"label": "/min",
"validation": {
"range": {
"minOp": ">=",
"min": 0,
"maxOp": "<=",
"max": 200
},
"precision": {
"minOp": ">=",
"min": 0,
"maxOp": "<=",
"max": 0
}
}
}
]
}
]
},
{
"id": "rhythm",
"name": "Rhythm",
"localizedName": "Rhythm",
"rmType": "DV_CODED_TEXT",
"nodeId": "at0005",
"min": 0,
"max": 1,
"localizedNames": {
"sl": "Ritem"
},
"localizedDescriptions": {
"sl": "Ritem dihanja"
},
"aqlPath": "/content[openEHR-EHR-OBSERVATION.respiration.v1]/data[at0001]/events[at0002]/data[at0003]/items[at0005]/value",
"inputs": [
{
"suffix": "code",
"type": "CODED_TEXT",
"list": [
{
"value": "at0006",
"label": "Regular",
"localizedLabels": {
"sl": "Enakomeren"
},
"localizedDescriptions": {
"sl": "*"
}
},
{
"value": "at0007",
"label": "Irregular",
"localizedLabels": {
"sl": "Neenakomeren"
},
"localizedDescriptions": {
"sl": "*"
}
}
]
}
]
},
{
"id": "depth",
"name": "Depth",
"localizedName": "Depth",
"rmType": "DV_CODED_TEXT",
"nodeId": "at0016",
"min": 0,
"max": 1,
"localizedNames": {
"sl": "Globina"
},
"localizedDescriptions": {
"sl": "Globina dihanja"
},
"aqlPath": "/content[openEHR-EHR-OBSERVATION.respiration.v1]/data[at0001]/events[at0002]/data[at0003]/items[at0016]/value",
"inputs": [
{
"suffix": "code",
"type": "CODED_TEXT",
"list": [
{
"value": "at0017",
"label": "Normal",
"localizedLabels": {
"sl": "Normalno"
},
"localizedDescriptions": {
"sl": "Normalna globina dihanja"
}
},
{
"value": "at0018",
"label": "Shallow",
"localizedLabels": {
"sl": "Plitvo"
},
"localizedDescriptions": {
"sl": "Plitvo dihanje"
}
},
{
"value": "at0019",
"label": "Deep",
"localizedLabels": {
"sl": "Globoko"
},
"localizedDescriptions": {
"sl": "Globoko dihanje"
}
},
{
"value": "at0025",
"label": "Variable",
"localizedLabels": {
"sl": "Spremenljivo"
},
"localizedDescriptions": {
"sl": "Spremenljive globine"
}
}
]
}
]
},
{
"id": "description",
"name": "Description",
"localizedName": "Description",
"rmType": "DV_TEXT",
"nodeId": "at0024",
"min": 0,
"max": 1,
"localizedNames": {
"sl": "Opis"
},
"localizedDescriptions": {
"sl": "Opis dihanja"
},
"aqlPath": "/content[openEHR-EHR-OBSERVATION.respiration.v1]/data[at0001]/events[at0002]/data[at0003]/items[at0024]/value",
"inputs": [
{
"type": "TEXT"
}
]
},
{
"id": "time",
"name": "Time",
"rmType": "DV_DATE_TIME",
"min": 0,
"max": 1,
"aqlPath": "/content[openEHR-EHR-OBSERVATION.respiration.v1]/data[at0001]/events[at0002]/time",
"inputs": [
{
"type": "DATETIME"
}
],
"inContext": true
}
]
},
{
"id": "language",
"name": "Language",
"rmType": "CODE_PHRASE",
"min": 0,
"max": 1,
"aqlPath": "/content[openEHR-EHR-OBSERVATION.respiration.v1]/language",
"inContext": true
},
{
"id": "encoding",
"name": "Encoding",
"rmType": "CODE_PHRASE",
"min": 0,
"max": 1,
"aqlPath": "/content[openEHR-EHR-OBSERVATION.respiration.v1]/encoding",
"inContext": true
},
{
"id": "subject",
"name": "Subject",
"rmType": "PARTY_PROXY",
"min": 0,
"max": 1,
"aqlPath": "/content[openEHR-EHR-OBSERVATION.respiration.v1]/subject",
"inputs": [
{
"suffix": "id",
"type": "TEXT"
},
{
"suffix": "id_scheme",
"type": "TEXT"
},
{
"suffix": "id_namespace",
"type": "TEXT"
},
{
"suffix": "name",
"type": "TEXT"
}
],
"inContext": true
}
]
},
{
"id": "indirect_oximetry",
"name": "Indirect oximetry",
"localizedName": "Indirect oximetry",
"rmType": "OBSERVATION",
"nodeId": "openEHR-EHR-OBSERVATION.indirect_oximetry.v1",
"min": 0,
"max": -1,
"localizedNames": {
"sl": "Posredna oksimetrija"
},
"localizedDescriptions": {
"sl": "Metoda merjenja prisotnosti plnov kot so Spo2 in TCO2 na indirekten, posreden n-invazivni način"
},
"aqlPath": "/content[openEHR-EHR-OBSERVATION.indirect_oximetry.v1]",
"children": [
{
"id": "spo2",
"name": "spO2",
"localizedName": "spO2",
"rmType": "DV_PROPORTION",
"nodeId": "at0006",
"min": 0,
"max": 1,
"localizedNames": {
"sl": "SpO2"
},
"localizedDescriptions": {
"sl": "Saturacija kisika v krvi izmerjena s pulzno oksimetrijo."
},
"annotations": {
"comment": "SpO2 is defined as the ratio of oxyhaemoglobin (HbO2) to the total concentration of haemoglobin (HbO2 + deoxyhaemoglobin)."
},
"aqlPath": "/content[openEHR-EHR-OBSERVATION.indirect_oximetry.v1]/data[at0001]/events[at0002]/data[at0003]/items[at0006]/value",
"proportionTypes": [
"integer_fraction",
"unitary",
"percent",
"ratio",
"fraction"
],
"inputs": [
{
"suffix": "numerator",
"type": "DECIMAL"
},
{
"suffix": "denominator",
"type": "DECIMAL"
}
]
},
{
"id": "location_of_measurement_sao2",
"name": "Location of measurement SaO2",
"localizedName": "Location of measurement SaO2",
"rmType": "DV_CODED_TEXT",
"nodeId": "at0058",
"min": 0,
"max": -1,
"localizedNames": {
"sl": "Lokacija meritve SaO2"
},
"localizedDescriptions": {
"sl": "Lokacija meritve SaO2"
},
"aqlPath": "/content[openEHR-EHR-OBSERVATION.indirect_oximetry.v1]/data[at0001]/events[at0002]/data[at0003]/items[at0058]/value",
"inputs": [
{
"suffix": "code",
"type": "CODED_TEXT",
"list": [
{
"value": "at0059",
"label": "Fingers of left arm",
"localizedLabels": {
"sl": "Prst leve roke"
},
"localizedDescriptions": {
"sl": "SaO2 je izmerjen na prstih leve roke"
}
},
{
"value": "at0060",
"label": "Fingers of right arm",
"localizedLabels": {
"sl": "Prst desne roke"
},
"localizedDescriptions": {
"sl": "SaO2 je izmerjen na prstih desne roke"
}
},
{
"value": "at0061",
"label": "Toes of left leg",
"localizedLabels": {
"sl": "Prst leve noge"
},
"localizedDescriptions": {
"sl": "SaO2 je izmerjen na prstih leve noge"
}
},
{
"value": "at0062",
"label": "Toes of right leg",
"localizedLabels": {
"sl": "Prst desne noge"
},
"localizedDescriptions": {
"sl": "SaO2 je izmerjen na prstih desne noge"
}
},
{
"value": "at0063",
"label": "Palm of left arm",
"localizedLabels": {
"sl": "Dlan leve roke"
},
"localizedDescriptions": {
"sl": "SaO2 je izmerjen na dlani leve roke"
}
},
{
"value": "at0064",
"label": "Palm of right arm",
"localizedLabels": {
"sl": "Dlan desne roke"
},
"localizedDescriptions": {
"sl": "SaO2 je izmerjen na dlani desne roke"
}
},
{
"value": "at0065",
"label": "Left leg",
"localizedLabels": {
"sl": "Leva noga"
},
"localizedDescriptions": {
"sl": "SaO2 je izmerjen na levi nogi"
}
},
{
"value": "at0066",
"label": "Right leg",
"localizedLabels": {
"sl": "Desna noga"
},
"localizedDescriptions": {
"sl": "SaO2 je izmerjen na desni nogi"
}
},
{
"value": "at0067",
"label": "Left pinna",
"localizedLabels": {
"sl": "Levi uhelj"
},
"localizedDescriptions": {
"sl": "SaO2 je izmerjen na levem uhlju"
}
},
{
"value": "at0068",
"label": "Right pinna",
"localizedLabels": {
"sl": "Desni uhelj"
},
"localizedDescriptions": {
"sl": "SaO2 je izmerjen na desnem uhlju"
}
},
{
"value": "at0069",
"label": "Forehead",
"localizedLabels": {
"sl": "Čelo"
},
"localizedDescriptions": {
"sl": "SaO2 je izmerjen na čelu"
}
}
]
}
]
},
{
"id": "comment",
"name": "Comment",
"localizedName": "Comment",
"rmType": "DV_TEXT",
"nodeId": "at0036",
"min": 0,
"max": 1,
"localizedNames": {
"sl": "Opombe"
},
"localizedDescriptions": {
"sl": "*A text comment about the indirect oximetry result.(en)"
},
"aqlPath": "/content[openEHR-EHR-OBSERVATION.indirect_oximetry.v1]/data[at0001]/events[at0002]/data[at0003]/items[at0036]/value",
"inputs": [
{
"type": "TEXT"
}
]
},
{
"id": "time",
"name": "Time",
"rmType": "DV_DATE_TIME",
"min": 0,
"max": 1,
"aqlPath": "/content[openEHR-EHR-OBSERVATION.indirect_oximetry.v1]/data[at0001]/events[at0002]/time",
"inputs": [
{
"type": "DATETIME"
}
],
"inContext": true
},
{
"id": "language",
"name": "Language",
"rmType": "CODE_PHRASE",
"min": 0,
"max": 1,
"aqlPath": "/content[openEHR-EHR-OBSERVATION.indirect_oximetry.v1]/language",
"inContext": true
},
{
"id": "encoding",
"name": "Encoding",
"rmType": "CODE_PHRASE",
"min": 0,
"max": 1,
"aqlPath": "/content[openEHR-EHR-OBSERVATION.indirect_oximetry.v1]/encoding",
"inContext": true
},
{
"id": "subject",
"name": "Subject",
"rmType": "PARTY_PROXY",
"min": 0,
"max": 1,
"aqlPath": "/content[openEHR-EHR-OBSERVATION.indirect_oximetry.v1]/subject",
"inputs": [
{
"suffix": "id",
"type": "TEXT"
},
{
"suffix": "id_scheme",
"type": "TEXT"
},
{
"suffix": "id_namespace",
"type": "TEXT"
},
{
"suffix": "name",
"type": "TEXT"
}
],
"inContext": true
}
]
},
{
"id": "category",
"rmType": "DV_CODED_TEXT",
"nodeId": "",
"min": 1,
"max": 1,
"aqlPath": "/category",
"inputs": [
{
"suffix": "code",
"type": "CODED_TEXT",
"list": [
{
"value": "433",
"label": "event",
"localizedLabels": {
"sl": ""
}
}
],
"terminology": "openehr"
}
],
"inContext": true
},
{
"id": "language",
"name": "Language",
"rmType": "CODE_PHRASE",
"min": 0,
"max": 1,
"aqlPath": "/language",
"inContext": true
},
{
"id": "territory",
"name": "Territory",
"rmType": "CODE_PHRASE",
"min": 0,
"max": 1,
"aqlPath": "/territory",
"inContext": true
},
{
"id": "composer",
"name": "Composer",
"rmType": "PARTY_PROXY",
"min": 0,
"max": 1,
"aqlPath": "/composer",
"inputs": [
{
"suffix": "id",
"type": "TEXT"
},
{
"suffix": "id_scheme",
"type": "TEXT"
},
{
"suffix": "id_namespace",
"type": "TEXT"
},
{
"suffix": "name",
"type": "TEXT"
}
],
"inContext": true
}
]
}
}
400 Bad Request
is returned when the request has invalid template_id
(i.e. an incorrectly formatted template_id
).
404 Not Found
is returned when a template with the specified template_id
does not exist.
406 Not Acceptable
is returned when the service cannot produce a response matching Accept
request header, i.e. the Web Template format is not supported.
Get templateGET/definition/template/adl1.4/{template_id}
Retrieves the ADL 1.4 operational template (OPT) identified by template_id
identifier.
- template_id
string
(required) Example: Vital Signstemplate identifier
ADL 2 TEMPLATE ¶
Management of AOM2 templates. See also ADL2 Template specifications.
Headers
Content-Type: text/plain
Prefer: return={representation|minimal}
Body
operational_template (adl_version=2.0.6; rm_release=1.0.2; generated)
openEHR-EHR-COMPOSITION.t_clinical_info_ds_sf.v1.0.0
specialize
openEHR-EHR-COMPOSITION.discharge.v1
language
original_language = <[ISO_639-1::en]>
description
lifecycle_state = <"unmanaged">
original_author = <
["name"] = <"Ian McNicoll">
["organisation"] = <"openEHR Foundation">
["email"] = <"ian.mcnicoll@openehr.org">
...
201 Created
is returned when the template has been successfully uploaded.
Depending on the header Prefer
either an empty body or a full representation body is returned.
The version
in the Location
header is optional.
An ETag
response header MAY be present and contain the unique identifier of the template instance.
Headers
Content-Type: text/plain
Location: {baseUrl}/definition/template/adl2/openEHR-EHR-COMPOSITION.t_clinical_info_ds_sf.v1.0.0/1.0.1
ETag: "d8d643db-1cee-48ce-b609-12053077758f"
Body
operational_template (adl_version=2.0.6; rm_release=1.0.2; generated)
openEHR-EHR-COMPOSITION.t_clinical_info_ds_sf.v1.0.0
specialize
openEHR-EHR-COMPOSITION.discharge.v1
language
original_language = <[ISO_639-1::en]>
description
lifecycle_state = <"unmanaged">
original_author = <
["name"] = <"Ian McNicoll">
["organisation"] = <"openEHR Foundation">
["email"] = <"ian.mcnicoll@openehr.org">
...
400 Bad Request
is returned when unable to upload a template, because of invalid content.
409 Conflict
is returned when a template with given template_id
and version
already exists.
Upload a templatePOST/definition/template/adl2/{?version}
Upload a new ADL2 operational template.
- version
string
(optional) Example: 1.0.1a SEMVER version format
200 OK
is returned when the template list is successfully retrieved.
Headers
Content-Type: application/json
Body
[
{
"template_id": "openEHR-EHR-COMPOSITION.t_clinical_info_ds_sf.v1.0.0",
"version": "1.0.1",
"concept": "Clinical detail",
"archetype_id": "openEHR-EHR-COMPOSITION.discharge.v1",
"created_timestamp": "2017-08-14T19:24:56.639Z"
}
]
List templatesGET/definition/template/adl2
List the available ADL2 operational templates on the system.
200 OK
is returned when the template is successfully retrieved.
Headers
Content-Type: text/plain
Body
operational_template (adl_version=2.0.6; rm_release=1.0.2; generated)
openEHR-EHR-COMPOSITION.t_clinical_info_ds_sf.v1.0.0
specialize
openEHR-EHR-COMPOSITION.discharge.v1
language
original_language = <[ISO_639-1::en]>
description
lifecycle_state = <"unmanaged">
original_author = <
["name"] = <"Ian McNicoll">
["organisation"] = <"openEHR Foundation">
["email"] = <"ian.mcnicoll@openehr.org">
...
400 Bad Request
is returned when the request has invalid template_id
(i.e. an incorrectly formatted template_id
).
404 Not Found
is returned when a template with the specified template_id
and version_pattern
does not exist.
Get templateGET/definition/template/adl2/{template_id}/{version_pattern}
Retrieves the ADL2 operational template identified by template_id
identifier.
If version_pattern
is specified then the latest template version with given prefix pattern is returned.
If version_pattern
is omitted, then the latest version of the operational template is returned.
- template_id
string
(required) Example: openEHR-EHR-COMPOSITION.t_clinical_info_ds_sf.v1.0.0template identifier
- version_pattern
string
(optional) Example: 1.0SEMVER version pattern; this can be a complete version (i.e. 1.7.1) or partial prefix (i.e. 1.0)
STORED QUERY ¶
Management of stored (registered) queries in the system.
Stored queries must have a name (qualified_query_name
) and an optional version
number.
Implementers can choose a schema for query names, such as <namespace>::<query-name>
,
this way queries can be separated by domain, etc.
Namespace (if used) should be reverse domain name, which allows for separation of
stored queries by teams, companies, etc.
Example of a qualified query name: org.openehr::compositions
.
In the future several standard openEHR stored queries might be developed, those will
use namespace org.openehr
.
Version numbers, if used must be in SEMVER style (i.e. major.minor.patch
).
If only a partial version
is supplied or version
is not supplied at all, the
system must use the latest version
with the supplied prefix - i.e. if only major
or major.minor
is used, then the latest query version with supplied prefix will be used.
Queries can be executed using the query endpoint.
200 OK
is returned when the query resources are successfully retrieved.
Headers
Content-Type: application/json
Body
[
{
"name": "org.openehr::compositions",
"type": "aql",
"version": "1.0.1",
"saved": "2017-07-16T19:20:30.450+01:00",
"q": "SELECT c FROM EHR e[ehr_id/value=$ehr_id] CONTAINS COMPOSITION c[$compositionid] WHERE c/name/value = 'Vitals'"
},
{
"name": "org.openehr::compositions",
"type": "aql",
"version": "3.1.7",
"saved": "2018-06-13T09:37:20.530+01:00",
"q": "SELECT c FROM EHR e[ehr_id/value=$ehr_id] CONTAINS COMPOSITION c[$uid] WHERE c/name/value = 'Vitals'"
}
]
List stored queriesGET/definition/query/{qualified_query_name}
Parameter qualified_query_name
is optional. If omitted they are treated as “wildcards” in the search.
Examples:
-
GET {baseUrl}/definition/query/org.openehr
will list all versions of all queries with names starting withorg.openehr
-
GET {baseUrl}/definition/query/org.openehr::compositions
will list all versions of the query namedorg.openehr::compositions
- qualified_query_name
string
(optional) Example: org.openehr::compositionsquery name
Headers
Content-Type: text/plain
Body
SELECT c
FROM EHR e[ehr_id/value=$ehr_id]
CONTAINS COMPOSITION c[openEHR-EHR-COMPOSITION.encounter.v1]
CONTAINS OBSERVATION obs[openEHR-EHR-OBSERVATION.blood_pressure.v1]
WHERE obs/data[at0001]/events[at0006]/data[at0003]/items[at0004]/value/magnitude >= $systolic_bp
200 OK
is returned when the query was successfully stored.
Headers
Content-Type: application/json
Location: {baseUrl}/definition/query/org.openehr::compositions/1.0.1
400 Bad Request
is returned when the server was unable to store the query.
Could be due to incorrect request body (could not be parsed, etc), unknown query type, etc.
409 Conflict
is returned when a query with the given qualified_query_name
and version
already exists on the server.
Store a queryPUT/definition/query/{qualified_query_name}/{version}{?type}
Store a new query on the system.
- qualified_query_name
string
(required) Example: org.openehr::compositionsquery name
- version
string
(optional) Example: 1.0.1query SEMVER version number
- type
string
(optional) Example: AQLindicating the query language/type
200 OK
is returned when the stored AQL is successfully retrieved.
Headers
Content-Type: application/json
Body
{
"name": "org.openehr::compositions",
"type": "aql",
"version": "1.0.1",
"saved": "2017-07-16T19:20:30.450+01:00",
"q": "SELECT c FROM EHR e[ehr_id/value=$ehr_id] CONTAINS COMPOSITION c[$compositionid] WHERE c/name/value = 'Vitals'"
}
404 Not Found
is returned when the stored AQL with supplied qualified_query_name
and version
does not exist.
Get stored query and info/metadataGET/definition/query/{qualified_query_name}/{version}
- qualified_query_name
string
(required) Example: org.openehr::compositionsquery name
- version
string
(optional) Example: 1.0.1query SEMVER version number
Generated with aglio on 24 Apr 2021