substance_use_screening

Series of questions and associated answers to screen for use of any substances or a specific grouping, class or individual substance/s that may harm an individual's health or soci…

Series of questions and associated answers to screen for use of any substances or a specific grouping, class or individual substance/s that may harm an individual's health or social well-being.

Purpose. To record a framework for documenting answers to pre-defined screening questions about the use of any substances or a specific grouping, class or individual substance/s that may harm an individual's health or social well-being.

Source

ModelLegRole
openEHR-EHR-OBSERVATION.substance_use_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_substance_usebooleanyesAny substance use?/data[at0022]/events[at0023]/data[at0001]/items[at0052]
descriptiontextyesDescription/data[at0022]/events[at0023]/data[at0001]/items[at0042]
overall_commenttextyesOverall comment/data[at0022]/events[at0023]/data[at0001]/items[at0056]

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

substance_use_screening_specific_substance

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

ColumnTypeNullDescriptionSource
iduuid primary keynoPrimary key.
substance_use_screening_iduuidsubstance_use_screeningno
positionintegernoOrder of this row within its parent, from zero.
substance_name
substance_name_code
substance_name_system
substance_name_valueset_id
coded text
text, text, text, text
yesSubstance name/data[at0022]/events[at0023]/data[at0001]/items[at0026]/items[at0021]
usedbooleanyesUsed?/data[at0022]/events[at0023]/data[at0001]/items[at0026]/items[at0024]
last_usedtimestamptzyesLast used/data[at0022]/events[at0023]/data[at0001]/items[at0026]/items[at0003]
timingtimestamptzyesTiming/data[at0022]/events[at0023]/data[at0001]/items[at0026]/items[at0002]
commenttextyesComment/data[at0022]/events[at0023]/data[at0001]/items[at0026]/items[at0025]

Constraints

check ((substance_name_code is null and substance_name_system is null and substance_name_valueset_id is null) or (substance_name is not null and substance_name_code is not null and substance_name_system is not null and substance_name_valueset_id is not null))

Unique

References

ColumnsTargetOn delete
substance_use_screening_idsubstance_use_screeningcascade
substance_name_valueset_id, substance_name_code, substance_name_system, substance_namevalueset_coderestrict