medication_screening

Series of questions and associated answers used to screen for the use of medications.

Series of questions and associated answers used to screen for the use of medications.

Purpose. To create a framework for recording answers to pre-defined screening questions about the use of any specified medication or grouping of medications.

Source

ModelLegRole
openEHR-EHR-OBSERVATION.medication_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_medications_usedbooleanyesAny medications used?/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 medication_screening, one row per repetition.

medication_screening_specific_medication

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

ColumnTypeNullDescriptionSource
iduuid primary keynoPrimary key.
medication_screening_iduuidmedication_screeningno
positionintegernoOrder of this row within its parent, from zero.
medication_name
medication_name_code
medication_name_system
medication_name_valueset_id
coded text
text, text, text, text
yesMedication name/data[at0022]/events[at0023]/data[at0001]/items[at0026]/items[at0021]
usedbooleanyesUsed/data[at0022]/events[at0023]/data[at0001]/items[at0026]/items[at0024]
latest_dosetimestamptzyesLatest dose/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 ((medication_name_code is null and medication_name_system is null and medication_name_valueset_id is null) or (medication_name is not null and medication_name_code is not null and medication_name_system is not null and medication_name_valueset_id is not null))

Unique

References

ColumnsTargetOn delete
medication_screening_idmedication_screeningcascade
medication_name_valueset_id, medication_name_code, medication_name_system, medication_namevalueset_coderestrict

Referenced by

medication_screening_specific_medication_additional_details

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

ColumnTypeNullDescriptionSource
iduuid primary keynoPrimary key.
medication_screening_specific_medication_iduuidmedication_screening_specific_medicationno
positionintegernoOrder of this row within its parent, from zero.
dosage_iduuidnoAdditional details/data[at0022]/events[at0023]/data[at0001]/items[at0026]/items[at0041]

Unique

References

ColumnsTargetOn delete
medication_screening_specific_medication_idmedication_screening_specific_medicationcascade
dosage_iddosageno action

Indexes