health_risk

Assessment of the potential and likelihood of future adverse health effects as determined by identified risk factors.

Assessment of the potential and likelihood of future adverse health effects as determined by identified risk factors.

Purpose. To record known risk factors for an identified disease, condition, or other potentially adverse health issue, and/or an evaluation of the likelihood of the individual experiencing it in the future. This archetype has been deliberately left open and broad in scope.

Source

ModelLegRole
openEHR-EHR-EVALUATION.health_risk.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.
health_risk
health_risk_code
health_risk_system
health_risk_valueset_id
coded text
text, text, text, text
yesHealth risk/data[at0001]/items[at0002]
risk_assessment
risk_assessment_code
risk_assessment_system
risk_assessment_valueset_id
coded text
text, text, text, text
yesRisk assessment/data[at0001]/items[at0003]
assessment_type
assessment_type_code
assessment_type_system
assessment_type_valueset_id
coded text
text, text, text, text
yesAssessment type/data[at0001]/items[at0020]
time_periodintervalyesTime period/data[at0001]/items[at0023]
rationaletextyesRationale/data[at0001]/items[at0004]
commenttextyesComment/data[at0001]/items[at0015]
last_updatedtimestamptzyesLast updated/protocol[at0010]/items[at0024]
assessment_methodtextyesAssessment method/protocol[at0010]/items[at0025]

Constraints

check ((health_risk_code is null and health_risk_system is null and health_risk_valueset_id is null) or (health_risk is not null and health_risk_code is not null and health_risk_system is not null and health_risk_valueset_id is not null))
check ((risk_assessment_code is null and risk_assessment_system is null and risk_assessment_valueset_id is null) or (risk_assessment is not null and risk_assessment_code is not null and risk_assessment_system is not null and risk_assessment_valueset_id is not null))
check ((assessment_type_code is null and assessment_type_system is null and assessment_type_valueset_id is null and assessment_type is null) or (assessment_type is not null and assessment_type_code is not null and assessment_type_system is not null and assessment_type_valueset_id is not null))

Unique

References

ColumnsTargetOn delete
form_idformcascade
form_id, form_block_idform_blockcascade
health_risk_valueset_id, health_risk_code, health_risk_system, health_riskvalueset_coderestrict
risk_assessment_valueset_id, risk_assessment_code, risk_assessment_system, risk_assessmentvalueset_coderestrict
assessment_type_valueset_id, assessment_type_code, assessment_type_system, assessment_typevalueset_coderestrict

Referenced by

Indexes

Child tables

2 tables hang off health_risk, one row per repetition.

health_risk_risk_factors

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

ColumnTypeNullDescriptionSource
iduuid primary keynoPrimary key.
health_risk_iduuidhealth_riskno
positionintegernoOrder of this row within its parent, from zero.
risk_factor
risk_factor_code
risk_factor_system
risk_factor_valueset_id
coded text
text, text, text, text
yesRisk factor/data[at0001]/items[at0016]/items[at0013]
presence
presence_code
presence_system
presence_valueset_id
coded text
text, text, text, text
yesPresence/data[at0001]/items[at0016]/items[at0017]
descriptiontextyesDescription/data[at0001]/items[at0016]/items[at0014]
date_identifiedtimestamptzyesDate identified/data[at0001]/items[at0016]/items[at0029]
mitigatedbooleanyesMitigated/data[at0001]/items[at0016]/items[at0028]
link_to_evidencetextyesLink to evidence/data[at0001]/items[at0016]/items[at0012]
commenttextyesComment/data[at0001]/items[at0016]/items[at0030]

Constraints

check ((risk_factor_code is null and risk_factor_system is null and risk_factor_valueset_id is null) or (risk_factor is not null and risk_factor_code is not null and risk_factor_system is not null and risk_factor_valueset_id is not null))
check ((presence_code is null and presence_system is null and presence_valueset_id is null and presence is null) or (presence is not null and presence_code is not null and presence_system is not null and presence_valueset_id is not null))

Unique

References

ColumnsTargetOn delete
health_risk_idhealth_riskcascade
risk_factor_valueset_id, risk_factor_code, risk_factor_system, risk_factorvalueset_coderestrict
presence_valueset_id, presence_code, presence_system, presencevalueset_coderestrict

Referenced by

health_risk_risk_factors_detail

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

ColumnTypeNullDescriptionSource
iduuid primary keynoPrimary key.
health_risk_risk_factors_iduuidhealth_risk_risk_factorsno
positionintegernoOrder of this row within its parent, from zero.
family_prevalence_iduuidnoDetail/data[at0001]/items[at0016]/items[at0027]

Unique

References

ColumnsTargetOn delete
health_risk_risk_factors_idhealth_risk_risk_factorscascade
family_prevalence_idfamily_prevalenceno action

Indexes

Value sets

Value setCodes
org.openehr::openEHR-EHR-EVALUATION.health_risk.v1/assessment_type2
org.openehr::openEHR-EHR-EVALUATION.health_risk.v1/presence3