--- title: "intraocular_pressure" description: "The measurement of intraocular pressure, most commonly using a tonometry device." --- The measurement of intraocular pressure, most commonly using a tonometry device. **Purpose.** To record one or more intraocular pressure measurements as part of a single assessment. ## Source | Model | Leg | Role | |---|---|---| | `openEHR-EHR-OBSERVATION.intraocular_pressure.v0` | openEHR | defines this table | ## Columns | Column | Type | Null | Description | Source | |---|---|---|---|---| | `id` | `uuid primary key` | no | Primary key. | — | | `form_id` | `uuid` → [`form`](/docs/tables/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. | — | | `eye_examined`
`eye_examined_code`
`eye_examined_system`
`eye_examined_valueset_id` | coded text
`text`, `text`, `text`, `text` | yes | Eye examined | `/data[at0001]/events[at0002]/data[at0003]/items[at0057]` | | `pressure_magnitude`
`pressure_units` | quantity
`numeric`, `text` | yes | Pressure | `/data[at0001]/events[at0002]/data[at0003]/items[at0042]` | | `tonometry_type`
`tonometry_type_code`
`tonometry_type_system`
`tonometry_type_valueset_id` | coded text
`text`, `text`, `text`, `text` | yes | Tonometry type | `/data[at0001]/events[at0002]/data[at0003]/items[at0046]` | | `tonometer_details` | `uuid` | yes | Tonometer details | `/data[at0001]/events[at0002]/data[at0003]/items[at0055]` | | `corrected_pressure_magnitude`
`corrected_pressure_units` | quantity
`numeric`, `text` | yes | Corrected pressure | `/data[at0001]/events[at0002]/data[at0003]/items[at0081]` | | `correction_type`
`correction_type_code`
`correction_type_system`
`correction_type_valueset_id` | coded text
`text`, `text`, `text`, `text` | yes | Correction type | `/data[at0001]/events[at0002]/data[at0003]/items[at0082]` | | `palpation_finding`
`palpation_finding_code`
`palpation_finding_system`
`palpation_finding_valueset_id` | coded text
`text`, `text`, `text`, `text` | yes | Palpation finding | `/data[at0001]/events[at0002]/data[at0003]/items[at0083]` | | `inspection_finding`
`inspection_finding_code`
`inspection_finding_system`
`inspection_finding_valueset_id` | coded text
`text`, `text`, `text`, `text` | yes | Inspection finding | `/data[at0001]/events[at0002]/data[at0003]/items[at0123]` | | `clinical_interpretation` | `text` | yes | Clinical interpretation | `/data[at0001]/events[at0002]/data[at0003]/items[at0061]` | | `comment` | `text` | yes | Comment | `/data[at0001]/events[at0002]/data[at0003]/items[at0063]` | | `pupil_state`
`pupil_state_code`
`pupil_state_system`
`pupil_state_valueset_id` | coded text
`text`, `text`, `text`, `text` | yes | Pupil state | `/data[at0001]/events[at0002]/state[at0007]/items[at0117]` | | `body_position`
`body_position_code`
`body_position_system`
`body_position_valueset_id` | coded text
`text`, `text`, `text`, `text` | yes | Body position | `/data[at0001]/events[at0002]/state[at0007]/items[at0109]` | | `anaesthesia_state`
`anaesthesia_state_code`
`anaesthesia_state_system`
`anaesthesia_state_valueset_id` | coded text
`text`, `text`, `text`, `text` | yes | Anaesthesia state | `/data[at0001]/events[at0002]/state[at0007]/items[at0127]` | | `confounding_factors` | `text` | yes | Confounding factors | `/data[at0001]/events[at0002]/state[at0007]/items[at0074]` | ## Constraints ```sql check ((eye_examined_code is null and eye_examined_system is null and eye_examined_valueset_id is null and eye_examined is null) or (eye_examined is not null and eye_examined_code is not null and eye_examined_system is not null and eye_examined_valueset_id is not null)) check ((pressure_magnitude is null and pressure_units is null) or (pressure_magnitude is not null and pressure_units is not null)) check (pressure_magnitude is null or (pressure_units = 'mm[Hg]' and pressure_magnitude between 0 and 1000)) check ((tonometry_type_code is null and tonometry_type_system is null and tonometry_type_valueset_id is null) or (tonometry_type is not null and tonometry_type_code is not null and tonometry_type_system is not null and tonometry_type_valueset_id is not null)) check ((corrected_pressure_magnitude is null and corrected_pressure_units is null) or (corrected_pressure_magnitude is not null and corrected_pressure_units is not null)) check (corrected_pressure_magnitude is null or (corrected_pressure_units = 'mm[Hg]' and corrected_pressure_magnitude between 0 and 1000)) check ((correction_type_code is null and correction_type_system is null and correction_type_valueset_id is null) or (correction_type is not null and correction_type_code is not null and correction_type_system is not null and correction_type_valueset_id is not null)) check ((palpation_finding_code is null and palpation_finding_system is null and palpation_finding_valueset_id is null) or (palpation_finding is not null and palpation_finding_code is not null and palpation_finding_system is not null and palpation_finding_valueset_id is not null)) check ((inspection_finding_code is null and inspection_finding_system is null and inspection_finding_valueset_id is null) or (inspection_finding is not null and inspection_finding_code is not null and inspection_finding_system is not null and inspection_finding_valueset_id is not null)) check ((pupil_state_code is null and pupil_state_system is null and pupil_state_valueset_id is null) or (pupil_state is not null and pupil_state_code is not null and pupil_state_system is not null and pupil_state_valueset_id is not null)) check ((body_position_code is null and body_position_system is null and body_position_valueset_id is null) or (body_position is not null and body_position_code is not null and body_position_system is not null and body_position_valueset_id is not null)) check ((anaesthesia_state_code is null and anaesthesia_state_system is null and anaesthesia_state_valueset_id is null) or (anaesthesia_state is not null and anaesthesia_state_code is not null and anaesthesia_state_system is not null and anaesthesia_state_valueset_id is not null)) ``` ## Unique - `form_block_id` ## References | Columns | Target | On delete | |---|---|---| | `form_id` | [`form`](/docs/tables/form) | cascade | | `form_id, form_block_id` | [`form_block`](/docs/tables/form_block) | cascade | | `eye_examined_valueset_id, eye_examined_code, eye_examined_system, eye_examined` | [`valueset_code`](/docs/tables/valueset_code) | restrict | | `tonometry_type_valueset_id, tonometry_type_code, tonometry_type_system, tonometry_type` | [`valueset_code`](/docs/tables/valueset_code) | restrict | | `correction_type_valueset_id, correction_type_code, correction_type_system, correction_type` | [`valueset_code`](/docs/tables/valueset_code) | restrict | | `palpation_finding_valueset_id, palpation_finding_code, palpation_finding_system, palpation_finding` | [`valueset_code`](/docs/tables/valueset_code) | restrict | | `inspection_finding_valueset_id, inspection_finding_code, inspection_finding_system, inspection_finding` | [`valueset_code`](/docs/tables/valueset_code) | restrict | | `pupil_state_valueset_id, pupil_state_code, pupil_state_system, pupil_state` | [`valueset_code`](/docs/tables/valueset_code) | restrict | | `body_position_valueset_id, body_position_code, body_position_system, body_position` | [`valueset_code`](/docs/tables/valueset_code) | restrict | | `anaesthesia_state_valueset_id, anaesthesia_state_code, anaesthesia_state_system, anaesthesia_state` | [`valueset_code`](/docs/tables/valueset_code) | restrict | | `tonometer_details` | [`device`](/docs/tables/device) | no action | ## Referenced by - [`intraocular_pressure_test_not_done`](/docs/tables/intraocular_pressure_test_not_done) via `intraocular_pressure_id` - [`intraocular_pressure_additional_details`](/docs/tables/intraocular_pressure_additional_details) via `intraocular_pressure_id` ## Indexes - `intraocular_pressure_form_id_idx` on `form_id` - `intraocular_pressure_tonometer_details_idx` on `tonometer_details` ## Child tables 2 tables hang off `intraocular_pressure`, one row per repetition. ### `intraocular_pressure_test_not_done` Child table — one row per repetition, deleted with its parent. | Column | Type | Null | Description | Source | |---|---|---|---|---| | `id` | `uuid primary key` | no | Primary key. | — | | `intraocular_pressure_id` | `uuid` → [`intraocular_pressure`](/docs/tables/intraocular_pressure) | no | — | — | | `position` | `integer` | no | Order of this row within its parent, from zero. | — | | `exclusion_exam_id` | `uuid` | no | Test not done | `/data[at0001]/events[at0002]/data[at0003]/items[at0078]` | #### Unique - `intraocular_pressure_id, position` - `intraocular_pressure_id, exclusion_exam_id` #### References | Columns | Target | On delete | |---|---|---| | `intraocular_pressure_id` | [`intraocular_pressure`](/docs/tables/intraocular_pressure) | cascade | | `exclusion_exam_id` | [`exclusion_exam`](/docs/tables/exclusion_exam) | no action | #### Indexes - `intraocular_pressure_test_not_done_exclusion_exam_id_idx` on `exclusion_exam_id` ### `intraocular_pressure_additional_details` Child table — one row per repetition, deleted with its parent. | Column | Type | Null | Description | Source | |---|---|---|---|---| | `id` | `uuid primary key` | no | Primary key. | — | | `intraocular_pressure_id` | `uuid` → [`intraocular_pressure`](/docs/tables/intraocular_pressure) | no | — | — | | `position` | `integer` | no | Order of this row within its parent, from zero. | — | | `clinical_evidence_id` | `uuid` | no | Additional details | `/data[at0001]/events[at0002]/state[at0007]/items[at0139]` | #### Unique - `intraocular_pressure_id, position` - `intraocular_pressure_id, clinical_evidence_id` #### References | Columns | Target | On delete | |---|---|---| | `intraocular_pressure_id` | [`intraocular_pressure`](/docs/tables/intraocular_pressure) | cascade | | `clinical_evidence_id` | [`clinical_evidence`](/docs/tables/clinical_evidence) | no action | #### Indexes - `intraocular_pressure_additional_details_clinical_evidenc_ff54ed` on `clinical_evidence_id` ## Value sets | Value set | Codes | |---|---| | `org.openehr::openEHR-EHR-OBSERVATION.intraocular_pressure.v0/anaesthesia_state` | 5 | | `org.openehr::openEHR-EHR-OBSERVATION.intraocular_pressure.v0/body_position` | 6 | | `org.openehr::openEHR-EHR-OBSERVATION.intraocular_pressure.v0/correction_type` | 3 | | `org.openehr::openEHR-EHR-OBSERVATION.intraocular_pressure.v0/eye_examined` | 2 | | `org.openehr::openEHR-EHR-OBSERVATION.intraocular_pressure.v0/inspection_finding` | 3 | | `org.openehr::openEHR-EHR-OBSERVATION.intraocular_pressure.v0/palpation_finding` | 5 | | `org.openehr::openEHR-EHR-OBSERVATION.intraocular_pressure.v0/pupil_state` | 4 | | `org.openehr::openEHR-EHR-OBSERVATION.intraocular_pressure.v0/tonometry_type` | 11 |