therapeutic_item_order

An order for a therapeutic item, including a medical device, used by the individual or a carer as part of direct provision of healthcare or to mitigate a healthcare risk.

An order for a therapeutic item, including a medical device, used by the individual or a carer as part of direct provision of healthcare or to mitigate a healthcare risk.

Purpose. To record an order for a therapeutic item, including a medical device, used by the individual or a carer as part of direct provision of healthcare or to mitigate a healthcare risk.

Source

ModelLegRole
openEHR-EHR-INSTRUCTION.therapeutic_item_order.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.
item_name
item_name_code
item_name_system
item_name_valueset_id
coded text
text, text, text, text
yesItem name/activities[at0001]/description[at0002]/items[at0070]
body_site
body_site_code
body_site_system
body_site_valueset_id
coded text
text, text, text, text
yesBody site/activities[at0001]/description[at0002]/items[at0092]
structured_body_site_anatomical_locationuuidyes
structured_body_site_anatomical_location_circleuuidyes
structured_body_site_anatomical_location_relativeuuidyes
directionstextyesDirections/activities[at0001]/description[at0002]/items[at0009]
monitoring_instructiontextyesMonitoring instruction/activities[at0001]/description[at0002]/items[at0107]
clinical_indication
clinical_indication_code
clinical_indication_system
clinical_indication_valueset_id
coded text
text, text, text, text
yesClinical indication/activities[at0001]/description[at0002]/items[at0018]
therapeutic_intent
therapeutic_intent_code
therapeutic_intent_system
therapeutic_intent_valueset_id
coded text
text, text, text, text
yesTherapeutic intent/activities[at0001]/description[at0002]/items[at0148]
start_date_timetimestamptzyesStart date/time/activities[at0001]/description[at0002]/items[at0012]
stop_date_timetimestamptzyesStop date/time/activities[at0001]/description[at0002]/items[at0013]
start_criteriontextyesStart criterion/activities[at0001]/description[at0002]/items[at0011]
stop_criteriontextyesStop criterion/activities[at0001]/description[at0002]/items[at0016]
commenttextyesComment/activities[at0001]/description[at0002]/items[at0167]
order_identifiertextyesOrder identifier/protocol[at0005]/items[at0004]

Constraints

check ((item_name_code is null and item_name_system is null and item_name_valueset_id is null) or (item_name is not null and item_name_code is not null and item_name_system is not null and item_name_valueset_id is not null))
check ((body_site_code is null and body_site_system is null and body_site_valueset_id is null) or (body_site is not null and body_site_code is not null and body_site_system is not null and body_site_valueset_id is not null))
check (num_nonnulls(structured_body_site_anatomical_location, structured_body_site_anatomical_location_circle, structured_body_site_anatomical_location_relative) <= 1)
check ((clinical_indication_code is null and clinical_indication_system is null and clinical_indication_valueset_id is null) or (clinical_indication is not null and clinical_indication_code is not null and clinical_indication_system is not null and clinical_indication_valueset_id is not null))
check ((therapeutic_intent_code is null and therapeutic_intent_system is null and therapeutic_intent_valueset_id is null) or (therapeutic_intent is not null and therapeutic_intent_code is not null and therapeutic_intent_system is not null and therapeutic_intent_valueset_id is not null))

Unique

References

ColumnsTargetOn delete
form_idformcascade
form_id, form_block_idform_blockcascade
item_name_valueset_id, item_name_code, item_name_system, item_namevalueset_coderestrict
body_site_valueset_id, body_site_code, body_site_system, body_sitevalueset_coderestrict
clinical_indication_valueset_id, clinical_indication_code, clinical_indication_system, clinical_indicationvalueset_coderestrict
therapeutic_intent_valueset_id, therapeutic_intent_code, therapeutic_intent_system, therapeutic_intentvalueset_coderestrict
structured_body_site_anatomical_locationanatomical_locationno action
structured_body_site_anatomical_location_circleanatomical_location_circleno action
structured_body_site_anatomical_location_relativeanatomical_location_relativeno action

Referenced by

Indexes

Child tables

1 table hang off therapeutic_item_order, one row per repetition.

therapeutic_item_order_item_details

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

ColumnTypeNullDescriptionSource
iduuid primary keynoPrimary key.
therapeutic_item_order_iduuidtherapeutic_item_orderno
positionintegernoOrder of this row within its parent, from zero.
device_iduuidnoItem details/activities[at0001]/description[at0002]/items[at0143]

Unique

References

ColumnsTargetOn delete
therapeutic_item_order_idtherapeutic_item_ordercascade
device_iddeviceno action

Indexes