family_history_screening_questionnaire

Series of questions and associated answers used to screen for health-related problems found in genetic and non-genetic family members.

Series of questions and associated answers used to screen for health-related problems found in genetic and non-genetic family members.

Purpose. To create a framework for recording answers to pre-defined screening questions about health-related problems found in both genetic and non-genetic family members.

Source

ModelLegRole
openEHR-EHR-OBSERVATION.family_history_screening_questionnaire.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.
screening_purpose
screening_purpose_code
screening_purpose_system
screening_purpose_valueset_id
coded text
text, text, text, text
yesScreening purpose/data[at0001]/events[at0002]/data[at0003]/items[at0004]
descriptiontextyesDescription/data[at0001]/events[at0002]/data[at0003]/items[at0038]

Constraints

check ((screening_purpose_code is null and screening_purpose_system is null and screening_purpose_valueset_id is null) or (screening_purpose is not null and screening_purpose_code is not null and screening_purpose_system is not null and screening_purpose_valueset_id is not null))

Unique

References

ColumnsTargetOn delete
form_idformcascade
form_id, form_block_idform_blockcascade
screening_purpose_valueset_id, screening_purpose_code, screening_purpose_system, screening_purposevalueset_coderestrict

Referenced by

Indexes

Child tables

2 tables hang off family_history_screening_questionnaire, one row per repetition.

family_history_screening_questionnaire_any_family_member

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

ColumnTypeNullDescriptionSource
iduuid primary keynoPrimary key.
family_history_screening_questionnaire_iduuidfamily_history_screening_questionnaireno
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]/events[at0002]/data[at0003]/items[at0042]/items[at0043]
presencebooleanyesPresence?/data[at0001]/events[at0002]/data[at0003]/items[at0042]/items[at0044]
commenttextyesComment/data[at0001]/events[at0002]/data[at0003]/items[at0042]/items[at0050]

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))

Unique

References

ColumnsTargetOn delete
family_history_screening_questionnaire_idfamily_history_screening_questionnairecascade
problem_diagnosis_name_valueset_id, problem_diagnosis_name_code, problem_diagnosis_name_system, problem_diagnosis_namevalueset_coderestrict

family_history_screening_questionnaire_specific_relationship

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

ColumnTypeNullDescriptionSource
iduuid primary keynoPrimary key.
family_history_screening_questionnaire_iduuidfamily_history_screening_questionnaireno
positionintegernoOrder of this row within its parent, from zero.
relationship
relationship_code
relationship_system
relationship_valueset_id
coded text
text, text, text, text
yesRelationship/data[at0001]/events[at0002]/data[at0003]/items[at0009]/items[at0018]
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]/events[at0002]/data[at0003]/items[at0009]/items[at0035]
presencebooleanyesPresence?/data[at0001]/events[at0002]/data[at0003]/items[at0009]/items[at0010]
timingtimestamptzyesTiming/data[at0001]/events[at0002]/data[at0003]/items[at0009]/items[at0049]
commenttextyesComment/data[at0001]/events[at0002]/data[at0003]/items[at0009]/items[at0028]

Constraints

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 ((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))

Unique

References

ColumnsTargetOn delete
family_history_screening_questionnaire_idfamily_history_screening_questionnairecascade
relationship_valueset_id, relationship_code, relationship_system, relationshipvalueset_coderestrict
problem_diagnosis_name_valueset_id, problem_diagnosis_name_code, problem_diagnosis_name_system, problem_diagnosis_namevalueset_coderestrict