Schema reference / Tables / view MDX source
blood_pressure
The local measurement of arterial blood pressure which is a surrogate for arterial pressure in the systemic circulation.
The local measurement of arterial blood pressure which is a surrogate for arterial pressure in the systemic circulation.
Purpose. To record the systemic arterial blood pressure of an individual.
Source
| Model | Leg | Role |
|---|---|---|
openEHR-EHR-OBSERVATION.blood_pressure.v2 | openEHR | defines this table |
Columns
| Column | Type | Null | Description | Source |
|---|---|---|---|---|
id | uuid primary key | no | Primary key. | — |
form_id | uuid → form | no | The form this entry was recorded on. | — |
form_block_id | uuid | yes | The block within the form, when the entry is bound to one. | — |
event_type | text | yes | null represents any_event | — |
systolic_magnitudesystolic_units | quantitynumeric, text | yes | Systolic | /data[at0001]/events[at0006]/data[at0003]/items[at0004] |
diastolic_magnitudediastolic_units | quantitynumeric, text | yes | Diastolic | /data[at0001]/events[at0006]/data[at0003]/items[at0005] |
mean_arterial_pressure_magnitudemean_arterial_pressure_units | quantitynumeric, text | yes | Mean arterial pressure | /data[at0001]/events[at0006]/data[at0003]/items[at1006] |
pulse_pressure_magnitudepulse_pressure_units | quantitynumeric, text | yes | Pulse pressure | /data[at0001]/events[at0006]/data[at0003]/items[at1007] |
clinical_interpretationclinical_interpretation_codeclinical_interpretation_systemclinical_interpretation_valueset_id | coded texttext, text, text, text | yes | Clinical interpretation | /data[at0001]/events[at0006]/data[at0003]/items[at1059] |
comment | text | yes | Comment | /data[at0001]/events[at0006]/data[at0003]/items[at0033] |
positionposition_codeposition_systemposition_valueset_id | coded texttext, text, text, text | yes | Position | /data[at0001]/events[at0006]/state[at0007]/items[at0008] |
confounding_factors | text | yes | Confounding factors | /data[at0001]/events[at0006]/state[at0007]/items[at1052] |
sleep_statussleep_status_codesleep_status_systemsleep_status_valueset_id | coded texttext, text, text, text | yes | Sleep status | /data[at0001]/events[at0006]/state[at0007]/items[at1043] |
tilt_magnitudetilt_units | quantitynumeric, text | yes | Tilt | /data[at0001]/events[at0006]/state[at0007]/items[at1005] |
cuff_sizecuff_size_codecuff_size_systemcuff_size_valueset_id | coded texttext, text, text, text | yes | Cuff size | /protocol[at0011]/items[at0013] |
location_of_measurementlocation_of_measurement_codelocation_of_measurement_systemlocation_of_measurement_valueset_id | coded texttext, text, text, text | yes | Location of measurement | /protocol[at0011]/items[at0014] |
methodmethod_codemethod_systemmethod_valueset_id | coded texttext, text, text, text | yes | Method | /protocol[at0011]/items[at1035] |
mean_arterial_pressure_formula | text | yes | Mean arterial pressure formula | /protocol[at0011]/items[at1038] |
systolic_pressure_formula | text | yes | Systolic pressure formula | /protocol[at0011]/items[at1054] |
diastolic_pressure_formula | text | yes | Diastolic pressure formula | /protocol[at0011]/items[at1055] |
diastolic_endpointdiastolic_endpoint_codediastolic_endpoint_systemdiastolic_endpoint_valueset_id | coded texttext, text, text, text | yes | Diastolic endpoint | /protocol[at0011]/items[at1010] |
device | uuid | yes | Device | /protocol[at0011]/items[at1025] |
Constraints
check ((systolic_magnitude is null and systolic_units is null) or (systolic_magnitude is not null and systolic_units is not null))
check (systolic_magnitude is null or (systolic_units = 'mm[Hg]' and systolic_magnitude between 0 and 1000))
check ((diastolic_magnitude is null and diastolic_units is null) or (diastolic_magnitude is not null and diastolic_units is not null))
check (diastolic_magnitude is null or (diastolic_units = 'mm[Hg]' and diastolic_magnitude between 0 and 1000))
check ((mean_arterial_pressure_magnitude is null and mean_arterial_pressure_units is null) or (mean_arterial_pressure_magnitude is not null and mean_arterial_pressure_units is not null))
check (mean_arterial_pressure_magnitude is null or (mean_arterial_pressure_units = 'mm[Hg]' and mean_arterial_pressure_magnitude between 0 and 1000))
check ((pulse_pressure_magnitude is null and pulse_pressure_units is null) or (pulse_pressure_magnitude is not null and pulse_pressure_units is not null))
check (pulse_pressure_magnitude is null or (pulse_pressure_units = 'mm[Hg]' and pulse_pressure_magnitude between 0 and 1000))
check ((clinical_interpretation_code is null and clinical_interpretation_system is null and clinical_interpretation_valueset_id is null) or (clinical_interpretation is not null and clinical_interpretation_code is not null and clinical_interpretation_system is not null and clinical_interpretation_valueset_id is not null))
check ((position_code is null and position_system is null and position_valueset_id is null and position is null) or (position is not null and position_code is not null and position_system is not null and position_valueset_id is not null))
check ((sleep_status_code is null and sleep_status_system is null and sleep_status_valueset_id is null and sleep_status is null) or (sleep_status is not null and sleep_status_code is not null and sleep_status_system is not null and sleep_status_valueset_id is not null))
check ((tilt_magnitude is null and tilt_units is null) or (tilt_magnitude is not null and tilt_units is not null))
check (tilt_magnitude is null or (tilt_units = 'deg' and tilt_magnitude between -90 and 90))
check ((cuff_size_code is null and cuff_size_system is null and cuff_size_valueset_id is null and cuff_size is null) or (cuff_size is not null and cuff_size_code is not null and cuff_size_system is not null and cuff_size_valueset_id is not null))
check ((location_of_measurement_code is null and location_of_measurement_system is null and location_of_measurement_valueset_id is null) or (location_of_measurement is not null and location_of_measurement_code is not null and location_of_measurement_system is not null and location_of_measurement_valueset_id is not null))
check ((method_code is null and method_system is null and method_valueset_id is null and method is null) or (method is not null and method_code is not null and method_system is not null and method_valueset_id is not null))
check ((diastolic_endpoint_code is null and diastolic_endpoint_system is null and diastolic_endpoint_valueset_id is null and diastolic_endpoint is null) or (diastolic_endpoint is not null and diastolic_endpoint_code is not null and diastolic_endpoint_system is not null and diastolic_endpoint_valueset_id is not null))Unique
form_block_id
References
| Columns | Target | On delete |
|---|---|---|
form_id | form | cascade |
form_id, form_block_id | form_block | cascade |
clinical_interpretation_valueset_id, clinical_interpretation_code, clinical_interpretation_system, clinical_interpretation | valueset_code | restrict |
position_valueset_id, position_code, position_system, position | valueset_code | restrict |
sleep_status_valueset_id, sleep_status_code, sleep_status_system, sleep_status | valueset_code | restrict |
cuff_size_valueset_id, cuff_size_code, cuff_size_system, cuff_size | valueset_code | restrict |
location_of_measurement_valueset_id, location_of_measurement_code, location_of_measurement_system, location_of_measurement | valueset_code | restrict |
method_valueset_id, method_code, method_system, method | valueset_code | restrict |
diastolic_endpoint_valueset_id, diastolic_endpoint_code, diastolic_endpoint_system, diastolic_endpoint | valueset_code | restrict |
device | device | no action |
Referenced by
blood_pressure_structured_measurement_locationviablood_pressure_id
Indexes
blood_pressure_form_id_idxonform_idblood_pressure_device_idxondevice
Child tables
1 table hang off blood_pressure, one row per repetition.
blood_pressure_structured_measurement_location
Child table — one row per repetition, deleted with its parent.
| Column | Type | Null | Description | Source |
|---|---|---|---|---|
id | uuid primary key | no | Primary key. | — |
blood_pressure_id | uuid → blood_pressure | no | — | — |
position | integer | no | Order of this row within its parent, from zero. | — |
anatomical_location_id | uuid | no | Structured measurement location | /protocol[at0011]/items[at1057] |
Unique
blood_pressure_id, positionblood_pressure_id, anatomical_location_id
References
| Columns | Target | On delete |
|---|---|---|
blood_pressure_id | blood_pressure | cascade |
anatomical_location_id | anatomical_location | no action |
Indexes
blood_pressure_structured_measurement_location_anatomica_253b08onanatomical_location_id
Value sets
| Value set | Codes |
|---|---|
org.openehr::openEHR-EHR-OBSERVATION.blood_pressure.v2/cuff_size | 7 |
org.openehr::openEHR-EHR-OBSERVATION.blood_pressure.v2/diastolic_endpoint | 2 |
org.openehr::openEHR-EHR-OBSERVATION.blood_pressure.v2/location_of_measurement | 12 |
org.openehr::openEHR-EHR-OBSERVATION.blood_pressure.v2/method | 4 |
org.openehr::openEHR-EHR-OBSERVATION.blood_pressure.v2/position | 5 |
org.openehr::openEHR-EHR-OBSERVATION.blood_pressure.v2/sleep_status | 2 |