family_history

Summary information about the significant health-related problems found in genetic and non-genetic family members.

Summary information about the significant health-related problems found in genetic and non-genetic family members.

Purpose. To record information about the occurrence of significant health-related problems in genetic and non-genetic family members - both alive and deceased.

Source

ModelLegRole
openEHR-EHR-EVALUATION.family_history.v2openEHRdefines 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.
summarytextyesSummary/data[at0001]/items[at0002]
last_updatedtimestamptzyesLast Updated/protocol[at0025]/items[at0026]

Unique

References

ColumnsTargetOn delete
form_idformcascade
form_id, form_block_idform_blockcascade

Referenced by

Indexes

Child tables

6 tables hang off family_history, one row per repetition.

family_history_per_problem

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

ColumnTypeNullDescriptionSource
iduuid primary keynoPrimary key.
family_history_iduuidfamily_historyno
positionintegernoOrder of this row within its parent, from zero.
problem_diagnosis_name
problem_diagnosis_name_code
problem_diagnosis_name_system
problem_diagnosis_name_valueset_id
coded text
text, text, text, text
yesProblem/diagnosis name/data[at0001]/items[at0028]/items[at0029]
descriptiontextyesDescription/data[at0001]/items[at0028]/items[at0030]
impact
impact_code
impact_system
impact_valueset_id
coded text
text, text, text, text
yesImpact/data[at0001]/items[at0028]/items[at0071]

Constraints

check ((problem_diagnosis_name_code is null and problem_diagnosis_name_system is null and problem_diagnosis_name_valueset_id is null) or (problem_diagnosis_name is not null and problem_diagnosis_name_code is not null and problem_diagnosis_name_system is not null and problem_diagnosis_name_valueset_id is not null))
check ((impact_code is null and impact_system is null and impact_valueset_id is null) or (impact is not null and impact_code is not null and impact_system is not null and impact_valueset_id is not null))

Unique

References

ColumnsTargetOn delete
family_history_idfamily_historycascade
problem_diagnosis_name_valueset_id, problem_diagnosis_name_code, problem_diagnosis_name_system, problem_diagnosis_namevalueset_coderestrict
impact_valueset_id, impact_code, impact_system, impactvalueset_coderestrict

Referenced by

family_history_per_problem_problem_details

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

ColumnTypeNullDescriptionSource
iduuid primary keynoPrimary key.
family_history_per_problem_iduuidfamily_history_per_problemno
positionintegernoOrder of this row within its parent, from zero.
family_prevalence_iduuidnoProblem details/data[at0001]/items[at0028]/items[at0059]

Unique

References

ColumnsTargetOn delete
family_history_per_problem_idfamily_history_per_problemcascade
family_prevalence_idfamily_prevalenceno action

Indexes

family_history_per_family_member

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

ColumnTypeNullDescriptionSource
iduuid primary keynoPrimary key.
family_history_iduuidfamily_historyno
positionintegernoOrder of this row within its parent, from zero.
family_member_nametextyesFamily member name/data[at0001]/items[at0003]/items[at0004]
aliastextyesAlias/data[at0001]/items[at0003]/items[at0020]
biological_sex
biological_sex_code
biological_sex_system
biological_sex_valueset_id
coded text
text, text, text, text
yesBiological sex/data[at0001]/items[at0003]/items[at0060]
relationship
relationship_code
relationship_system
relationship_valueset_id
coded text
text, text, text, text
yesRelationship/data[at0001]/items[at0003]/items[at0016]
relationship_degree
relationship_degree_code
relationship_degree_system
relationship_degree_valueset_id
coded text
text, text, text, text
yesRelationship degree/data[at0001]/items[at0003]/items[at0064]
family_line
family_line_code
family_line_system
family_line_valueset_id
coded text
text, text, text, text
yesFamily line/data[at0001]/items[at0003]/items[at0068]
date_of_birthtimestamptzyesDate of birth/data[at0001]/items[at0003]/items[at0005]
deceasedbooleanyesDeceased?/data[at0001]/items[at0003]/items[at0023]
age_at_deathintervalyesAge at death/data[at0001]/items[at0003]/items[at0011]
date_of_deathtimestamptzyesDate of death/data[at0001]/items[at0003]/items[at0058]
commenttextyesComment/data[at0001]/items[at0003]/items[at0046]
biomarkers_biomarker_descriptiontextyesBiomarker description/data[at0001]/items[at0003]/items[at0024]/items[at0022]

Constraints

check ((biological_sex_code is null and biological_sex_system is null and biological_sex_valueset_id is null) or (biological_sex is not null and biological_sex_code is not null and biological_sex_system is not null and biological_sex_valueset_id is not null))
check ((relationship_code is null and relationship_system is null and relationship_valueset_id is null) or (relationship is not null and relationship_code is not null and relationship_system is not null and relationship_valueset_id is not null))
check ((relationship_degree_code is null and relationship_degree_system is null and relationship_degree_valueset_id is null and relationship_degree is null) or (relationship_degree is not null and relationship_degree_code is not null and relationship_degree_system is not null and relationship_degree_valueset_id is not null))
check ((family_line_code is null and family_line_system is null and family_line_valueset_id is null and family_line is null) or (family_line is not null and family_line_code is not null and family_line_system is not null and family_line_valueset_id is not null))

Unique

References

ColumnsTargetOn delete
family_history_idfamily_historycascade
biological_sex_valueset_id, biological_sex_code, biological_sex_system, biological_sexvalueset_coderestrict
relationship_valueset_id, relationship_code, relationship_system, relationshipvalueset_coderestrict
relationship_degree_valueset_id, relationship_degree_code, relationship_degree_system, relationship_degreevalueset_coderestrict
family_line_valueset_id, family_line_code, family_line_system, family_linevalueset_coderestrict

Referenced by

family_history_per_family_member_family_member_details

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

ColumnTypeNullDescriptionSource
iduuid primary keynoPrimary key.
family_history_per_family_member_iduuidfamily_history_per_family_memberno
positionintegernoOrder of this row within its parent, from zero.
person_iduuidnoFamily member details/data[at0001]/items[at0003]/items[at0048]

Unique

References

ColumnsTargetOn delete
family_history_per_family_member_idfamily_history_per_family_membercascade
person_idpersonno action

Indexes

family_history_per_family_member_clinical_history

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

ColumnTypeNullDescriptionSource
iduuid primary keynoPrimary key.
family_history_per_family_member_iduuidfamily_history_per_family_memberno
positionintegernoOrder of this row within its parent, from zero.
problem_diagnosis_name
problem_diagnosis_name_code
problem_diagnosis_name_system
problem_diagnosis_name_valueset_id
coded text
text, text, text, text
yesProblem/diagnosis name/data[at0001]/items[at0003]/items[at0008]/items[at0009]
clinical_descriptiontextyesClinical description/data[at0001]/items[at0003]/items[at0008]/items[at0012]
age_at_onsetintervalyesAge at onset/data[at0001]/items[at0003]/items[at0008]/items[at0010]
cause_of_death
cause_of_death_code
cause_of_death_system
cause_of_death_valueset_id
coded text
text, text, text, text
yesCause of death?/data[at0001]/items[at0003]/items[at0008]/items[at0014]

Constraints

check ((problem_diagnosis_name_code is null and problem_diagnosis_name_system is null and problem_diagnosis_name_valueset_id is null) or (problem_diagnosis_name is not null and problem_diagnosis_name_code is not null and problem_diagnosis_name_system is not null and problem_diagnosis_name_valueset_id is not null))
check ((cause_of_death_code is null and cause_of_death_system is null and cause_of_death_valueset_id is null) or (cause_of_death is not null and cause_of_death_code is not null and cause_of_death_system is not null and cause_of_death_valueset_id is not null))

Unique

References

ColumnsTargetOn delete
family_history_per_family_member_idfamily_history_per_family_membercascade
problem_diagnosis_name_valueset_id, problem_diagnosis_name_code, problem_diagnosis_name_system, problem_diagnosis_namevalueset_coderestrict
cause_of_death_valueset_id, cause_of_death_code, cause_of_death_system, cause_of_deathvalueset_coderestrict

family_history_multimedia

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

ColumnTypeNullDescriptionSource
iduuid primary keynoPrimary key.
family_history_iduuidfamily_historyno
positionintegernoOrder of this row within its parent, from zero.
attachment_iduuidnoMultimedia/data[at0001]/items[at0053]

Unique

References

ColumnsTargetOn delete
family_history_idfamily_historycascade
attachment_idattachmentrestrict

Indexes

Value sets

Value setCodes
org.openehr::openEHR-EHR-EVALUATION.family_history.v2/cause_of_death3
org.openehr::openEHR-EHR-EVALUATION.family_history.v2/family_line2
org.openehr::openEHR-EHR-EVALUATION.family_history.v2/relationship_degree3