problem_screening

Series of questions and associated answers used to screen for issues, problems or diagnoses.

Series of questions and associated answers used to screen for issues, problems or diagnoses.

Purpose. To create a framework for recording answers to pre-defined screening questions about issues, problems or diagnoses.

Source

ModelLegRole
openEHR-EHR-OBSERVATION.problem_screening.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[at0034]
any_problems_or_diagnosesbooleanyesAny problems or diagnoses?/data[at0001]/events[at0002]/data[at0003]/items[at0028]
descriptiontextyesDescription/data[at0001]/events[at0002]/data[at0003]/items[at0043]

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 problem_screening, one row per repetition.

problem_screening_specific_problem_or_diagnosis

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

ColumnTypeNullDescriptionSource
iduuid primary keynoPrimary key.
problem_screening_iduuidproblem_screeningno
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[at0022]/items[at0004]
presencebooleanyesPresence?/data[at0001]/events[at0002]/data[at0003]/items[at0022]/items[at0005]
timingtimestamptzyesTiming/data[at0001]/events[at0002]/data[at0003]/items[at0022]/items[at0040]
commenttextyesComment/data[at0001]/events[at0002]/data[at0003]/items[at0022]/items[at0025]

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
problem_screening_idproblem_screeningcascade
problem_diagnosis_name_valueset_id, problem_diagnosis_name_code, problem_diagnosis_name_system, problem_diagnosis_namevalueset_coderestrict

Referenced by

problem_screening_specific_problem_or_diagnosis_addition_3d2464

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

ColumnTypeNullDescriptionSource
iduuid primary keynoPrimary key.
problem_screening_specific_problem_or_diagnosis_iduuidproblem_screening_specific_problem_or_diagnosisno
positionintegernoOrder of this row within its parent, from zero.
organization_iduuidnoAdditional details/data[at0001]/events[at0002]/data[at0003]/items[at0022]/items[at0039]

Unique

References

ColumnsTargetOn delete
problem_screening_specific_problem_or_diagnosis_idproblem_screening_specific_problem_or_diagnosiscascade
organization_idorganizationno action

Indexes