menstruation

Details about one single menstrual cycle.

Details about one single menstrual cycle.

Purpose. To record details about one single menstrual cycle.

Source

ModelLegRole
openEHR-EHR-OBSERVATION.menstruation.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.
start_of_mensestimestamptzyesStart of menses/data[at0001]/events[at0002]/data[at0003]/items[at0004]
duration_of_mensesintervalyesDuration of menses/data[at0001]/events[at0002]/data[at0003]/items[at0005]
description_of_the_cycletextyesDescription of the cycle/data[at0001]/events[at0002]/data[at0003]/items[at0006]
relative_flow
relative_flow_code
relative_flow_system
relative_flow_valueset_id
coded text
text, text, text, text
yesRelative flow/data[at0001]/events[at0002]/data[at0003]/items[at0007]
blood_clots
blood_clots_code
blood_clots_system
blood_clots_valueset_id
coded text
text, text, text, text
yesBlood clots/data[at0001]/events[at0002]/data[at0003]/items[at0013]
commenttextyesComment/data[at0001]/events[at0002]/data[at0003]/items[at0032]
confounding_factorstextyesConfounding factors/data[at0001]/events[at0002]/state[at0020]/items[at0021]

Constraints

check ((relative_flow_code is null and relative_flow_system is null and relative_flow_valueset_id is null and relative_flow is null) or (relative_flow is not null and relative_flow_code is not null and relative_flow_system is not null and relative_flow_valueset_id is not null))
check ((blood_clots_code is null and blood_clots_system is null and blood_clots_valueset_id is null and blood_clots is null) or (blood_clots is not null and blood_clots_code is not null and blood_clots_system is not null and blood_clots_valueset_id is not null))

Unique

References

ColumnsTargetOn delete
form_idformcascade
form_id, form_block_idform_blockcascade
relative_flow_valueset_id, relative_flow_code, relative_flow_system, relative_flowvalueset_coderestrict
blood_clots_valueset_id, blood_clots_code, blood_clots_system, blood_clotsvalueset_coderestrict

Indexes

Value sets

Value setCodes
org.openehr::openEHR-EHR-OBSERVATION.menstruation.v1/blood_clots2
org.openehr::openEHR-EHR-OBSERVATION.menstruation.v1/relative_flow3