investigation_screening

Series of questions and associated answers used to screen whether diagnostic investigations have been carried out.

Series of questions and associated answers used to screen whether diagnostic investigations have been carried out.

Purpose. To create a framework for recording answers to pre-defined screening questions about diagnostic investigations or group of investigations, including but not limited to imaging examinations and laboratory tests.

Source

ModelLegRole
openEHR-EHR-OBSERVATION.investigation_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[at0022]/events[at0023]/data[at0001]/items[at0040]
any_investigationsbooleanyesAny investigations?/data[at0022]/events[at0023]/data[at0001]/items[at0027]
descriptiontextyesDescription/data[at0022]/events[at0023]/data[at0001]/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 investigation_screening, one row per repetition.

investigation_screening_specific_investigation

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

ColumnTypeNullDescriptionSource
iduuid primary keynoPrimary key.
investigation_screening_iduuidinvestigation_screeningno
positionintegernoOrder of this row within its parent, from zero.
investigation_name
investigation_name_code
investigation_name_system
investigation_name_valueset_id
coded text
text, text, text, text
yesInvestigation name/data[at0022]/events[at0023]/data[at0001]/items[at0026]/items[at0021]
donebooleanyesDone?/data[at0022]/events[at0023]/data[at0001]/items[at0026]/items[at0024]
typetextyesType/data[at0022]/events[at0023]/data[at0001]/items[at0026]/items[at0047]
timingtimestamptzyesTiming/data[at0022]/events[at0023]/data[at0001]/items[at0026]/items[at0003]
conclusiontextyesConclusion/data[at0022]/events[at0023]/data[at0001]/items[at0026]/items[at0002]
commenttextyesComment/data[at0022]/events[at0023]/data[at0001]/items[at0026]/items[at0025]

Constraints

check ((investigation_name_code is null and investigation_name_system is null and investigation_name_valueset_id is null) or (investigation_name is not null and investigation_name_code is not null and investigation_name_system is not null and investigation_name_valueset_id is not null))

Unique

References

ColumnsTargetOn delete
investigation_screening_idinvestigation_screeningcascade
investigation_name_valueset_id, investigation_name_code, investigation_name_system, investigation_namevalueset_coderestrict

Referenced by

investigation_screening_specific_investigation_additiona_45e74e

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

ColumnTypeNullDescriptionSource
iduuid primary keynoPrimary key.
investigation_screening_specific_investigation_iduuidinvestigation_screening_specific_investigationno
positionintegernoOrder of this row within its parent, from zero.
imaging_exam_iduuidyes
imaging_exam_cervix_iduuidyes
imaging_exam_fallopian_tube_iduuidyes
imaging_exam_foetus_iduuidyes
imaging_exam_gestational_sac_iduuidyes
imaging_exam_hip_joint_iduuidyes
imaging_exam_ovary_iduuidyes
imaging_exam_rectouterine_pouch_iduuidyes
laboratory_test_analyte_iduuidyes
organization_iduuidyes
specimen_iduuidyes

Constraints

check (num_nonnulls(imaging_exam_id, imaging_exam_cervix_id, imaging_exam_fallopian_tube_id, imaging_exam_foetus_id, imaging_exam_gestational_sac_id, imaging_exam_hip_joint_id, imaging_exam_ovary_id, imaging_exam_rectouterine_pouch_id, laboratory_test_analyte_id, organization_id, specimen_id) = 1)

Unique

References

ColumnsTargetOn delete
investigation_screening_specific_investigation_idinvestigation_screening_specific_investigationcascade
imaging_exam_idimaging_examno action
imaging_exam_cervix_idimaging_exam_cervixno action
imaging_exam_fallopian_tube_idimaging_exam_fallopian_tubeno action
imaging_exam_foetus_idimaging_exam_foetusno action
imaging_exam_gestational_sac_idimaging_exam_gestational_sacno action
imaging_exam_hip_joint_idimaging_exam_hip_jointno action
imaging_exam_ovary_idimaging_exam_ovaryno action
imaging_exam_rectouterine_pouch_idimaging_exam_rectouterine_pouchno action
laboratory_test_analyte_idlaboratory_test_analyteno action
organization_idorganizationno action
specimen_idspecimenno action

Indexes