body_surface_area

The measured or calculated surface area of a human body.

The measured or calculated surface area of a human body.

Purpose. To record the measured or calculated surface area of a human body.

Source

ModelLegRole
openEHR-EHR-OBSERVATION.body_surface_area.v1openEHRdefines this table

Columns

ColumnTypeNullDescriptionSource
iduuid primary keynoPrimary key.
form_iduuidformnoThe form this entry was recorded on.
form_block_iduuidyesThe block within the form, when the entry is bound to one.
body_surface_area_magnitude
body_surface_area_units
quantity
numeric, text
yesBody Surface Area/data[at0001]/events[at0002]/data[at0003]/items[at0004]
commenttextyesComment/data[at0001]/events[at0002]/data[at0003]/items[at0019]
confounding_factorstextyesConfounding factors/data[at0001]/events[at0002]/state[at0020]/items[at0021]
method
method_code
method_system
method_valueset_id
coded text
text, text, text, text
yesMethod/protocol[at0005]/items[at0009]
formula
formula_code
formula_system
formula_valueset_id
coded text
text, text, text, text
yesFormula/protocol[at0005]/items[at0006]

Constraints

check ((body_surface_area_magnitude is null and body_surface_area_units is null) or (body_surface_area_magnitude is not null and body_surface_area_units is not null))
check (body_surface_area_magnitude is null or (body_surface_area_units = 'm2' and body_surface_area_magnitude >= 0))
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 ((formula_code is null and formula_system is null and formula_valueset_id is null) or (formula is not null and formula_code is not null and formula_system is not null and formula_valueset_id is not null))

Unique

References

ColumnsTargetOn delete
form_idformcascade
form_id, form_block_idform_blockcascade
method_valueset_id, method_code, method_system, methodvalueset_coderestrict
formula_valueset_id, formula_code, formula_system, formulavalueset_coderestrict

Referenced by

Indexes

Child tables

1 table hang off body_surface_area, one row per repetition.

body_surface_area_device

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

ColumnTypeNullDescriptionSource
iduuid primary keynoPrimary key.
body_surface_area_iduuidbody_surface_areano
positionintegernoOrder of this row within its parent, from zero.
device_iduuidnoDevice/protocol[at0005]/items[at0008]

Unique

References

ColumnsTargetOn delete
body_surface_area_idbody_surface_areacascade
device_iddeviceno action

Indexes

Value sets

Value setCodes
org.openehr::openEHR-EHR-OBSERVATION.body_surface_area.v1/formula7
org.openehr::openEHR-EHR-OBSERVATION.body_surface_area.v1/method2