body_temperature

A measurement of the body temperature, which is a surrogate for the core body temperature of the individual.

A measurement of the body temperature, which is a surrogate for the core body temperature of the individual.

Purpose. To record the measured temperature of a person - as a surrogate for the core body temperature.

Source

ModelLegRole
openEHR-EHR-OBSERVATION.body_temperature.v2openEHRdefines 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.
temperature_magnitude
temperature_units
quantity
numeric, text
yesTemperature/data[at0002]/events[at0003]/data[at0001]/items[at0004]
commenttextyesComment/data[at0002]/events[at0003]/data[at0001]/items[at0063]
body_exposure
body_exposure_code
body_exposure_system
body_exposure_valueset_id
coded text
text, text, text, text
yesBody exposure/data[at0002]/events[at0003]/state[at0029]/items[at0030]
description_of_thermal_stresstextyesDescription of thermal stress/data[at0002]/events[at0003]/state[at0029]/items[at0041]
day_of_menstrual_cycleintegeryesDay of menstrual cycle/data[at0002]/events[at0003]/state[at0029]/items[at0065]
confounding_factorstextyesConfounding factors/data[at0002]/events[at0003]/state[at0029]/items[at0066]
location_of_measurement
location_of_measurement_code
location_of_measurement_system
location_of_measurement_valueset_id
coded text
text, text, text, text
yesLocation of measurement/protocol[at0020]/items[at0021]
deviceuuidyesDevice/protocol[at0020]/items[at0059]

Constraints

check ((temperature_magnitude is null and temperature_units is null) or (temperature_magnitude is not null and temperature_units is not null))
check (temperature_magnitude is null or (temperature_units = 'Cel' and temperature_magnitude between 0 and 100) or (temperature_units = '[degF]' and temperature_magnitude between 30 and 200))
check ((body_exposure_code is null and body_exposure_system is null and body_exposure_valueset_id is null) or (body_exposure is not null and body_exposure_code is not null and body_exposure_system is not null and body_exposure_valueset_id is not null))
check (day_of_menstrual_cycle is null or day_of_menstrual_cycle >= 1)
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))

Unique

References

ColumnsTargetOn delete
form_idformcascade
form_id, form_block_idform_blockcascade
body_exposure_valueset_id, body_exposure_code, body_exposure_system, body_exposurevalueset_coderestrict
location_of_measurement_valueset_id, location_of_measurement_code, location_of_measurement_system, location_of_measurementvalueset_coderestrict
devicedeviceno action

Referenced by

Indexes

Child tables

1 table hang off body_temperature, one row per repetition.

body_temperature_structured_measurement_location

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

ColumnTypeNullDescriptionSource
iduuid primary keynoPrimary key.
body_temperature_iduuidbody_temperatureno
positionintegernoOrder of this row within its parent, from zero.
anatomical_location_iduuidnoStructured measurement location/protocol[at0020]/items[at0064]

Unique

References

ColumnsTargetOn delete
body_temperature_idbody_temperaturecascade
anatomical_location_idanatomical_locationno action

Indexes

Value sets

Value setCodes
org.openehr::openEHR-EHR-OBSERVATION.body_temperature.v2/body_exposure4
org.openehr::openEHR-EHR-OBSERVATION.body_temperature.v2/location_of_measurement13