precaution

A condition or state of the individual that is clinically significant and unique or idiosyncratic for this individual, and is considered vital information when making treatment de…

A condition or state of the individual that is clinically significant and unique or idiosyncratic for this individual, and is considered vital information when making treatment decisions.

Purpose. To record a condition or state of the individual that is clinically significant and unique or idiosyncratic for this individual, and is considered vital information when making treatment decisions.

Source

ModelLegRole
openEHR-EHR-EVALUATION.precaution.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.
condition
condition_code
condition_system
condition_valueset_id
coded text
text, text, text, text
yesCondition/data[at0001]/items[at0002]
status
status_code
status_system
status_valueset_id
coded text
text, text, text, text
yesStatus/data[at0001]/items[at0014]
evidencetextyesEvidence/data[at0001]/items[at0003]
category
category_code
category_system
category_valueset_id
coded text
text, text, text, text
yesCategory/data[at0001]/items[at0013]
commenttextyesComment/data[at0001]/items[at0008]
valid_period_starttimestamptzyesValid period start/protocol[at0006]/items[at0022]
valid_period_endtimestamptzyesValid period end/protocol[at0006]/items[at0024]
review_datetimestamptzyesReview date/protocol[at0006]/items[at0009]
last_updatedtimestamptzyesLast updated/protocol[at0006]/items[at0004]

Constraints

check ((condition_code is null and condition_system is null and condition_valueset_id is null) or (condition is not null and condition_code is not null and condition_system is not null and condition_valueset_id is not null))
check ((status_code is null and status_system is null and status_valueset_id is null) or (status is not null and status_code is not null and status_system is not null and status_valueset_id is not null))
check ((category_code is null and category_system is null and category_valueset_id is null) or (category is not null and category_code is not null and category_system is not null and category_valueset_id is not null))

Unique

References

ColumnsTargetOn delete
form_idformcascade
form_id, form_block_idform_blockcascade
condition_valueset_id, condition_code, condition_system, conditionvalueset_coderestrict
status_valueset_id, status_code, status_system, statusvalueset_coderestrict
category_valueset_id, category_code, category_system, categoryvalueset_coderestrict

Referenced by

Indexes

Child tables

1 table hang off precaution, one row per repetition.

precaution_additional_details

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

ColumnTypeNullDescriptionSource
iduuid primary keynoPrimary key.
precaution_iduuidprecautionno
positionintegernoOrder of this row within its parent, from zero.
clinical_evidence_iduuidnoAdditional details/data[at0001]/items[at0025]

Unique

References

ColumnsTargetOn delete
precaution_idprecautioncascade
clinical_evidence_idclinical_evidenceno action

Indexes

Value sets

Value setCodes
org.openehr::openEHR-EHR-EVALUATION.precaution.v1/status3