anatomical_location

A physical site on or within the human body.

A physical site on or within the human body.

Purpose. To identify and record structured details about a single physical site on, or within, the human body using macroscopic anatomical terms.

Source

ModelLegRole
openEHR-EHR-CLUSTER.anatomical_location.v1openEHRdefines this table

Columns

ColumnTypeNullDescriptionSource
iduuid primary keynoPrimary key.
body_site_name
body_site_name_code
body_site_name_system
body_site_name_valueset_id
coded text
text, text, text, text
yesBody site name/items[at0001]
specific_sitetextyesSpecific site/items[at0065]
laterality
laterality_code
laterality_system
laterality_valueset_id
coded text
text, text, text, text
yesLaterality/items[at0002]
aspect
aspect_code
aspect_system
aspect_valueset_id
coded text
text, text, text, text
yesAspect/items[at0064]
anatomical_line
anatomical_line_code
anatomical_line_system
anatomical_line_valueset_id
coded text
text, text, text, text
yesAnatomical Line/items[at0055]
descriptiontextyesDescription/items[at0023]

Constraints

check ((body_site_name_code is null and body_site_name_system is null and body_site_name_valueset_id is null) or (body_site_name is not null and body_site_name_code is not null and body_site_name_system is not null and body_site_name_valueset_id is not null))
check ((laterality_code is null and laterality_system is null and laterality_valueset_id is null and laterality is null) or (laterality is not null and laterality_code is not null and laterality_system is not null and laterality_valueset_id is not null))
check ((aspect_code is null and aspect_system is null and aspect_valueset_id is null) or (aspect is not null and aspect_code is not null and aspect_system is not null and aspect_valueset_id is not null))
check ((anatomical_line_code is null and anatomical_line_system is null and anatomical_line_valueset_id is null) or (anatomical_line is not null and anatomical_line_code is not null and anatomical_line_system is not null and anatomical_line_valueset_id is not null))

References

ColumnsTargetOn delete
body_site_name_valueset_id, body_site_name_code, body_site_name_system, body_site_namevalueset_coderestrict
laterality_valueset_id, laterality_code, laterality_system, lateralityvalueset_coderestrict
aspect_valueset_id, aspect_code, aspect_system, aspectvalueset_coderestrict
anatomical_line_valueset_id, anatomical_line_code, anatomical_line_system, anatomical_linevalueset_coderestrict

Referenced by

31 tables reference anatomical_location, via anatomical_location_id. The first 15 alphabetically:

Child tables

2 tables hang off anatomical_location, one row per repetition.

anatomical_location_alternative_structure

Child table — one row per repetition, deleted with its parent.

ColumnTypeNullDescriptionSource
iduuid primary keynoPrimary key.
anatomical_location_iduuidanatomical_locationno
positionintegernoOrder of this row within its parent, from zero.
anatomical_location_circle_iduuidyes
anatomical_location_relative_iduuidyes

Constraints

check (num_nonnulls(anatomical_location_circle_id, anatomical_location_relative_id) = 1)

Unique

References

ColumnsTargetOn delete
anatomical_location_idanatomical_locationcascade
anatomical_location_circle_idanatomical_location_circleno action
anatomical_location_relative_idanatomical_location_relativeno action

Indexes

anatomical_location_multimedia_representation

Child table — one row per repetition, deleted with its parent.

ColumnTypeNullDescriptionSource
iduuid primary keynoPrimary key.
anatomical_location_iduuidanatomical_locationno
positionintegernoOrder of this row within its parent, from zero.
attachment_iduuidnoMultimedia representation/items[at0054]

Unique

References

ColumnsTargetOn delete
anatomical_location_idanatomical_locationcascade
attachment_idattachmentrestrict

Indexes

Value sets

Value setCodes
org.openehr::openEHR-EHR-CLUSTER.anatomical_location.v1/anatomical_line7
org.openehr::openEHR-EHR-CLUSTER.anatomical_location.v1/aspect16
org.openehr::openEHR-EHR-CLUSTER.anatomical_location.v1/laterality3