exposure_screening

Series of questions and associated answers used to screen for potential exposure to a chemical, physical or biological agent which has caused or may cause harm to an individual.

Series of questions and associated answers used to screen for potential exposure to a chemical, physical or biological agent which has caused or may cause harm to an individual.

Purpose. To create a framework for recording answers to pre-defined screening questions about situations or events where the individual has been, or may have been, exposed to a harmful agent.

Source

ModelLegRole
openEHR-EHR-OBSERVATION.exposure_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[at0004]
agent_name
agent_name_code
agent_name_system
agent_name_valueset_id
coded text
text, text, text, text
yesAgent name/data[at0001]/events[at0002]/data[at0003]/items[at0020]
any_exposurebooleanyesAny exposure?/data[at0001]/events[at0002]/data[at0003]/items[at0005]
descriptiontextyesDescription/data[at0001]/events[at0002]/data[at0003]/items[at0022]

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))
check ((agent_name_code is null and agent_name_system is null and agent_name_valueset_id is null) or (agent_name is not null and agent_name_code is not null and agent_name_system is not null and agent_name_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
agent_name_valueset_id, agent_name_code, agent_name_system, agent_namevalueset_coderestrict

Referenced by

Indexes

Child tables

2 tables hang off exposure_screening, one row per repetition.

exposure_screening_specific_exposure

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

ColumnTypeNullDescriptionSource
iduuid primary keynoPrimary key.
exposure_screening_iduuidexposure_screeningno
positionintegernoOrder of this row within its parent, from zero.
situation
situation_code
situation_system
situation_valueset_id
coded text
text, text, text, text
yesSituation/data[at0001]/events[at0002]/data[at0003]/items[at0009]/items[at0010]
presencebooleanyesPresence?/data[at0001]/events[at0002]/data[at0003]/items[at0009]/items[at0011]
timingtimestamptzyesTiming/data[at0001]/events[at0002]/data[at0003]/items[at0009]/items[at0015]
commenttextyesComment/data[at0001]/events[at0002]/data[at0003]/items[at0009]/items[at0017]

Constraints

check ((situation_code is null and situation_system is null and situation_valueset_id is null) or (situation is not null and situation_code is not null and situation_system is not null and situation_valueset_id is not null))

Unique

References

ColumnsTargetOn delete
exposure_screening_idexposure_screeningcascade
situation_valueset_id, situation_code, situation_system, situationvalueset_coderestrict

Referenced by

exposure_screening_specific_exposure_additional_details

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

ColumnTypeNullDescriptionSource
iduuid primary keynoPrimary key.
exposure_screening_specific_exposure_iduuidexposure_screening_specific_exposureno
positionintegernoOrder of this row within its parent, from zero.
anatomical_location_iduuidyes
anatomical_location_circle_iduuidyes
anatomical_location_relative_iduuidyes
organization_iduuidyes
person_iduuidyes

Constraints

check (num_nonnulls(anatomical_location_id, anatomical_location_circle_id, anatomical_location_relative_id, organization_id, person_id) = 1)

Unique

References

ColumnsTargetOn delete
exposure_screening_specific_exposure_idexposure_screening_specific_exposurecascade
anatomical_location_idanatomical_locationno action
anatomical_location_circle_idanatomical_location_circleno action
anatomical_location_relative_idanatomical_location_relativeno action
organization_idorganizationno action
person_idpersonno action

Indexes