timing_daily

Structured information about the intended timing of a therapeutic or diagnostic activity within any 24 hour period.

Structured information about the intended timing of a therapeutic or diagnostic activity within any 24 hour period.

Purpose. To record structured information about the intended timing of a therapeutic or diagnostic activity within any 24 hour period.

Source

ModelLegRole
openEHR-EHR-CLUSTER.timing_daily.v1openEHRdefines this table

Columns

ColumnTypeNullDescriptionSource
iduuid primary keynoPrimary key.
frequency_magnitude
frequency_units
quantity
numeric, text
yesFrequency/items[at0003]
intervalintervalyesInterval/items[at0014]
timing_descriptiontextyesTiming description/items[at0027]
exact_timing_criticalbooleanyesExact timing critical?/items[at0023]
as_requiredbooleanyesAs required/items[at0024]
as_required_criteriontextyes'As required' criterion/items[at0025]

Constraints

check ((frequency_magnitude is null and frequency_units is null) or (frequency_magnitude is not null and frequency_units is not null))
check (frequency_magnitude is null or (frequency_units = '1/d' and frequency_magnitude >= 1) or (frequency_units = '1/min' and frequency_magnitude >= 1) or (frequency_units = '1/s' and frequency_magnitude >= 1) or (frequency_units = '1/h' and frequency_magnitude >= 1))

Referenced by

Child tables

3 tables hang off timing_daily, one row per repetition.

timing_daily_specific_time

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

ColumnTypeNullDescriptionSource
iduuid primary keynoPrimary key.
timing_daily_iduuidtiming_dailyno
positionintegernoOrder of this row within its parent, from zero.
specific_timetimetzyesSpecific time/items[at0004]

Unique

References

ColumnsTargetOn delete
timing_daily_idtiming_dailycascade

timing_daily_specific_event

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

ColumnTypeNullDescriptionSource
iduuid primary keynoPrimary key.
timing_daily_iduuidtiming_dailyno
positionintegernoOrder of this row within its parent, from zero.
event_name
event_name_code
event_name_system
event_name_valueset_id
coded text
text, text, text, text
yesEvent name/items[at0039]/items[at0026]
time_offsetintervalyesTime offset/items[at0039]/items[at0040]

Constraints

check ((event_name_code is null and event_name_system is null and event_name_valueset_id is null) or (event_name is not null and event_name_code is not null and event_name_system is not null and event_name_valueset_id is not null))

Unique

References

ColumnsTargetOn delete
timing_daily_idtiming_dailycascade
event_name_valueset_id, event_name_code, event_name_system, event_namevalueset_coderestrict

timing_daily_on_off_cycle

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

ColumnTypeNullDescriptionSource
iduuid primary keynoPrimary key.
timing_daily_iduuidtiming_dailyno
positionintegernoOrder of this row within its parent, from zero.
on_valueintervalyesOn/items[at0035]/items[at0036]
offintervalyesOff/items[at0035]/items[at0037]
repetitionsintegeryesRepetitions/items[at0035]/items[at0038]

Constraints

check (repetitions is null or repetitions >= 0)

Unique

References

ColumnsTargetOn delete
timing_daily_idtiming_dailycascade