testicular_volume

The estimated or calculated volume of a testicle.

The estimated or calculated volume of a testicle.

Purpose. To record the volume of an individual's testicle.

Source

ModelLegRole
openEHR-EHR-OBSERVATION.testicular_volume.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.
testicle_examined
testicle_examined_code
testicle_examined_system
testicle_examined_valueset_id
coded text
text, text, text, text
yesTesticle examined/data[at0001]/events[at0002]/data[at0003]/items[at0020]
testicular_volume_magnitude
testicular_volume_units
quantity
numeric, text
yesTesticular volume/data[at0001]/events[at0002]/data[at0003]/items[at0010]
commenttextyesComment/data[at0001]/events[at0002]/data[at0003]/items[at0005]
confounding_factorstextyesConfounding factors/data[at0001]/events[at0002]/state[at0011]/items[at0012]
method
method_code
method_system
method_valueset_id
coded text
text, text, text, text
yesMethod/protocol[at0006]/items[at0013]
formulatextyesFormula/protocol[at0006]/items[at0008]

Constraints

check ((testicle_examined_code is null and testicle_examined_system is null and testicle_examined_valueset_id is null) or (testicle_examined is not null and testicle_examined_code is not null and testicle_examined_system is not null and testicle_examined_valueset_id is not null))
check ((testicular_volume_magnitude is null and testicular_volume_units is null) or (testicular_volume_magnitude is not null and testicular_volume_units is not null))
check (testicular_volume_magnitude is null or (testicular_volume_units = 'ml' and testicular_volume_magnitude >= 0) or (testicular_volume_units = 'cm3' and testicular_volume_magnitude >= 0))
check ((method_code is null and method_system is null and method_valueset_id 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
testicle_examined_valueset_id, testicle_examined_code, testicle_examined_system, testicle_examinedvalueset_coderestrict
method_valueset_id, method_code, method_system, methodvalueset_coderestrict

Referenced by

Indexes

Child tables

1 table hang off testicular_volume, one row per repetition.

testicular_volume_device

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

ColumnTypeNullDescriptionSource
iduuid primary keynoPrimary key.
testicular_volume_iduuidtesticular_volumeno
positionintegernoOrder of this row within its parent, from zero.
device_iduuidnoDevice/protocol[at0006]/items[at0007]

Unique

References

ColumnsTargetOn delete
testicular_volume_idtesticular_volumecascade
device_iddeviceno action

Indexes

Value sets

Value setCodes
org.openehr::openEHR-EHR-OBSERVATION.testicular_volume.v1/testicle_examined2