fluid_output

The measurement of fluid lost or excreted from the body via any mechanism.

The measurement of fluid lost or excreted from the body via any mechanism.

Purpose. To record details about measured fluids lost or excreted via any mechanism.

Source

ModelLegRole
openEHR-EHR-OBSERVATION.fluid_output.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.
fluid_name
fluid_name_code
fluid_name_system
fluid_name_valueset_id
coded text
text, text, text, text
yesFluid name/data[at0001]/events[at0002]/data[at0003]/items[at0036]
source
source_code
source_system
source_valueset_id
coded text
text, text, text, text
yesSource/data[at0001]/events[at0002]/data[at0003]/items[at0041]
volume_magnitude
volume_units
quantity
numeric, text
yesVolume/data[at0001]/events[at0002]/data[at0003]/items[at0035]
commenttextyesComment/data[at0001]/events[at0002]/data[at0003]/items[at0032]
method
method_code
method_system
method_valueset_id
coded text
text, text, text, text
yesMethod/protocol[at0008]/items[at0031]
output_deviceuuidyesOutput device/protocol[at0008]/items[at0033]
measurement_deviceuuidyesMeasurement device/protocol[at0008]/items[at0028]

Constraints

check ((fluid_name_code is null and fluid_name_system is null and fluid_name_valueset_id is null) or (fluid_name is not null and fluid_name_code is not null and fluid_name_system is not null and fluid_name_valueset_id is not null))
check ((source_code is null and source_system is null and source_valueset_id is null) or (source is not null and source_code is not null and source_system is not null and source_valueset_id is not null))
check ((volume_magnitude is null and volume_units is null) or (volume_magnitude is not null and volume_units is not null))
check (volume_magnitude is null or (volume_units = 'ml' and volume_magnitude >= 0) or (volume_units = 'l' and volume_magnitude >= 0) or (volume_units = '[foz_us]' and volume_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))

Unique

References

ColumnsTargetOn delete
form_idformcascade
form_id, form_block_idform_blockcascade
fluid_name_valueset_id, fluid_name_code, fluid_name_system, fluid_namevalueset_coderestrict
source_valueset_id, source_code, source_system, sourcevalueset_coderestrict
method_valueset_id, method_code, method_system, methodvalueset_coderestrict
output_devicedeviceno action
measurement_devicedeviceno action

Indexes

Value sets

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