social_context_screening

Series of questions and associated answers used to screen about the social environment and social situation which may impact the health and well-being of the individual, especiall…

Series of questions and associated answers used to screen about the social environment and social situation which may impact the health and well-being of the individual, especially to identify potential issues or risks.

Purpose. To create a framework for recording answers to pre-defined screening questions about the social context.

Source

ModelLegRole
openEHR-EHR-OBSERVATION.social_context_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]
overall_commenttextyesOverall comment/data[at0001]/events[at0002]/data[at0003]/items[at0052]

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

1 table hang off social_context_screening, one row per repetition.

social_context_screening_specific_social_context

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

ColumnTypeNullDescriptionSource
iduuid primary keynoPrimary key.
social_context_screening_iduuidsocial_context_screeningno
positionintegernoOrder of this row within its parent, from zero.
context
context_code
context_system
context_valueset_id
coded text
text, text, text, text
yesContext/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[at0051]
commenttextyesComment/data[at0001]/events[at0002]/data[at0003]/items[at0022]/items[at0025]

Constraints

check ((context_code is null and context_system is null and context_valueset_id is null) or (context is not null and context_code is not null and context_system is not null and context_valueset_id is not null))

Unique

References

ColumnsTargetOn delete
social_context_screening_idsocial_context_screeningcascade
context_valueset_id, context_code, context_system, contextvalueset_coderestrict

Value sets

Value setCodes
org.openehr::openEHR-EHR-OBSERVATION.social_context_screening.v1/context2