imaging_exam_hip_joint
Findings on radiological examination of a hip joint.
Findings on radiological examination of a hip joint.
Purpose. To record the findings on radiological examination of a hip joint.
Source
| Model | Leg | Role |
|---|
openEHR-EHR-CLUSTER.imaging_exam-hip_joint.v1 | openEHR | defines this table |
Columns
| Column | Type | Null | Description | Source |
|---|
id | uuid primary key | no | Primary key. | — |
body_structure
body_structure_code
body_structure_system
body_structure_valueset_id | coded text
text, text, text, text | yes | Body structure | /items[at0001.1] |
body_site
body_site_code
body_site_system
body_site_valueset_id | coded text
text, text, text, text | yes | Body site | /items[at0002] |
imaging_findings | text | yes | Imaging findings | /items[at0004] |
impression
impression_code
impression_system
impression_valueset_id | coded text
text, text, text, text | yes | Impression | /items[at0006] |
comment | text | yes | Comment | /items[at0007] |
acetabular_roof_angle_magnitude
acetabular_roof_angle_units | quantity
numeric, text | yes | Acetabular roof angle | /items[at0.3] |
alpha_angle_ddh_magnitude
alpha_angle_ddh_units | quantity
numeric, text | yes | Alpha angle (DDH) | /items[at0.4] |
alpha_angle_cam_morphology_magnitude
alpha_angle_cam_morphology_units | quantity
numeric, text | yes | Alpha angle (cam morphology) | /items[at0.6] |
beta_angle_magnitude
beta_angle_units | quantity
numeric, text | yes | Beta angle | /items[at0.5] |
Constraints
check ((body_structure_code is null and body_structure_system is null and body_structure_valueset_id is null and body_structure is null) or (body_structure is not null and body_structure_code is not null and body_structure_system is not null and body_structure_valueset_id is not null))
check ((body_site_code is null and body_site_system is null and body_site_valueset_id is null) or (body_site is not null and body_site_code is not null and body_site_system is not null and body_site_valueset_id is not null))
check ((impression_code is null and impression_system is null and impression_valueset_id is null) or (impression is not null and impression_code is not null and impression_system is not null and impression_valueset_id is not null))
check ((acetabular_roof_angle_magnitude is null and acetabular_roof_angle_units is null) or (acetabular_roof_angle_magnitude is not null and acetabular_roof_angle_units is not null))
check (acetabular_roof_angle_magnitude is null or (acetabular_roof_angle_units = 'deg' and acetabular_roof_angle_magnitude between -360 and 360))
check ((alpha_angle_ddh_magnitude is null and alpha_angle_ddh_units is null) or (alpha_angle_ddh_magnitude is not null and alpha_angle_ddh_units is not null))
check (alpha_angle_ddh_magnitude is null or (alpha_angle_ddh_units = 'deg' and alpha_angle_ddh_magnitude between -360 and 360))
check ((alpha_angle_cam_morphology_magnitude is null and alpha_angle_cam_morphology_units is null) or (alpha_angle_cam_morphology_magnitude is not null and alpha_angle_cam_morphology_units is not null))
check (alpha_angle_cam_morphology_magnitude is null or (alpha_angle_cam_morphology_units = 'deg' and alpha_angle_cam_morphology_magnitude between -360 and 360))
check ((beta_angle_magnitude is null and beta_angle_units is null) or (beta_angle_magnitude is not null and beta_angle_units is not null))
check (beta_angle_magnitude is null or (beta_angle_units = 'deg' and beta_angle_magnitude between -360 and 360))
References
| Columns | Target | On delete |
|---|
body_structure_valueset_id, body_structure_code, body_structure_system, body_structure | valueset_code | restrict |
body_site_valueset_id, body_site_code, body_site_system, body_site | valueset_code | restrict |
impression_valueset_id, impression_code, impression_system, impression | valueset_code | restrict |
Referenced by
Child tables
2 tables hang off imaging_exam_hip_joint, one row per repetition.
imaging_exam_hip_joint_structured_body_site
Child table — one row per repetition, deleted with its parent.
| Column | Type | Null | Description | Source |
|---|
id | uuid primary key | no | Primary key. | — |
imaging_exam_hip_joint_id | uuid → imaging_exam_hip_joint | no | — | — |
position | integer | no | Order of this row within its parent, from zero. | — |
anatomical_location_id | uuid | yes | — | — |
anatomical_location_circle_id | uuid | yes | — | — |
anatomical_location_relative_id | uuid | yes | — | — |
Constraints
check (num_nonnulls(anatomical_location_id, anatomical_location_circle_id, anatomical_location_relative_id) = 1)
Unique
imaging_exam_hip_joint_id, position
References
Indexes
imaging_exam_hip_joint_structured_body_site_anatomical_l_b0d291 on anatomical_location_idimaging_exam_hip_joint_structured_body_site_anatomical_l_d9c738 on anatomical_location_circle_idimaging_exam_hip_joint_structured_body_site_anatomical_l_e9e766 on anatomical_location_relative_id
imaging_exam_hip_joint_additional_details
Child table — one row per repetition, deleted with its parent.
| Column | Type | Null | Description | Source |
|---|
id | uuid primary key | no | Primary key. | — |
imaging_exam_hip_joint_id | uuid → imaging_exam_hip_joint | no | — | — |
position | integer | no | Order of this row within its parent, from zero. | — |
imaging_exam_lesion_adnexal_mass_id | uuid | no | Additional details | /items[at0005] |
Unique
imaging_exam_hip_joint_id, positionimaging_exam_hip_joint_id, imaging_exam_lesion_adnexal_mass_id
References
Indexes
imaging_exam_hip_joint_additional_details_imaging_exam_l_901829 on imaging_exam_lesion_adnexal_mass_id
Value sets
| Value set | Codes |
|---|
org.openehr::openEHR-EHR-CLUSTER.imaging_exam-hip_joint.v1/body_structure | 2 |