bvc

A checklist which assists in the prediction of imminent violent behaviour.

A checklist which assists in the prediction of imminent violent behaviour.

Purpose. To record the results for each component parameter and their total sum for the BVC score.

Source

ModelLegRole
openEHR-EHR-OBSERVATION.bvc.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.
event_typetextyesnull represents any_event
confused
confused_code
confused_system
confused_numeric
confused_valueset_id
coded text
text, text, text, numeric, text
yesConfused/data[at0001]/events[at0002]/data[at0003]/items[at0004]
irritable
irritable_code
irritable_system
irritable_numeric
irritable_valueset_id
coded text
text, text, text, numeric, text
yesIrritable/data[at0001]/events[at0002]/data[at0003]/items[at0005]
boisterous
boisterous_code
boisterous_system
boisterous_numeric
boisterous_valueset_id
coded text
text, text, text, numeric, text
yesBoisterous/data[at0001]/events[at0002]/data[at0003]/items[at0006]
physical_threats
physical_threats_code
physical_threats_system
physical_threats_numeric
physical_threats_valueset_id
coded text
text, text, text, numeric, text
yesPhysical threats/data[at0001]/events[at0002]/data[at0003]/items[at0008]
verbal_threats
verbal_threats_code
verbal_threats_system
verbal_threats_numeric
verbal_threats_valueset_id
coded text
text, text, text, numeric, text
yesVerbal threats/data[at0001]/events[at0002]/data[at0003]/items[at0007]
attacking_objects
attacking_objects_code
attacking_objects_system
attacking_objects_numeric
attacking_objects_valueset_id
coded text
text, text, text, numeric, text
yesAttacking objects/data[at0001]/events[at0002]/data[at0003]/items[at0009]
total_scoreintegeryesTotal score/data[at0001]/events[at0002]/data[at0003]/items[at0017]
interpretation
interpretation_code
interpretation_system
interpretation_valueset_id
coded text
text, text, text, text
yesInterpretation/data[at0001]/events[at0002]/data[at0003]/items[at0030]

Constraints

check ((confused_code is null and confused_system is null and confused_numeric is null and confused is null) or (confused_valueset_id is not null and confused_code is not null and confused_system is not null and confused_numeric is not null and confused is not null))
check ((irritable_code is null and irritable_system is null and irritable_numeric is null and irritable is null) or (irritable_valueset_id is not null and irritable_code is not null and irritable_system is not null and irritable_numeric is not null and irritable is not null))
check ((boisterous_code is null and boisterous_system is null and boisterous_numeric is null and boisterous is null) or (boisterous_valueset_id is not null and boisterous_code is not null and boisterous_system is not null and boisterous_numeric is not null and boisterous is not null))
check ((physical_threats_code is null and physical_threats_system is null and physical_threats_numeric is null and physical_threats is null) or (physical_threats_valueset_id is not null and physical_threats_code is not null and physical_threats_system is not null and physical_threats_numeric is not null and physical_threats is not null))
check ((verbal_threats_code is null and verbal_threats_system is null and verbal_threats_numeric is null and verbal_threats is null) or (verbal_threats_valueset_id is not null and verbal_threats_code is not null and verbal_threats_system is not null and verbal_threats_numeric is not null and verbal_threats is not null))
check ((attacking_objects_code is null and attacking_objects_system is null and attacking_objects_numeric is null and attacking_objects is null) or (attacking_objects_valueset_id is not null and attacking_objects_code is not null and attacking_objects_system is not null and attacking_objects_numeric is not null and attacking_objects is not null))
check (total_score is null or total_score between 0 and 6)
check ((interpretation_code is null and interpretation_system is null and interpretation_valueset_id is null and interpretation is null) or (interpretation is not null and interpretation_code is not null and interpretation_system is not null and interpretation_valueset_id is not null))

Unique

References

ColumnsTargetOn delete
form_idformcascade
form_id, form_block_idform_blockcascade
confused_valueset_id, confused_code, confused_system, confused, confused_numericvalueset_coderestrict
irritable_valueset_id, irritable_code, irritable_system, irritable, irritable_numericvalueset_coderestrict
boisterous_valueset_id, boisterous_code, boisterous_system, boisterous, boisterous_numericvalueset_coderestrict
physical_threats_valueset_id, physical_threats_code, physical_threats_system, physical_threats, physical_threats_numericvalueset_coderestrict
verbal_threats_valueset_id, verbal_threats_code, verbal_threats_system, verbal_threats, verbal_threats_numericvalueset_coderestrict
attacking_objects_valueset_id, attacking_objects_code, attacking_objects_system, attacking_objects, attacking_objects_numericvalueset_coderestrict
interpretation_valueset_id, interpretation_code, interpretation_system, interpretationvalueset_coderestrict

Indexes

Value sets

Value setCodes
org.openehr::openEHR-EHR-OBSERVATION.bvc.v1/attacking_objects2
org.openehr::openEHR-EHR-OBSERVATION.bvc.v1/boisterous2
org.openehr::openEHR-EHR-OBSERVATION.bvc.v1/confused2
org.openehr::openEHR-EHR-OBSERVATION.bvc.v1/interpretation3
org.openehr::openEHR-EHR-OBSERVATION.bvc.v1/irritable2
org.openehr::openEHR-EHR-OBSERVATION.bvc.v1/physical_threats2
org.openehr::openEHR-EHR-OBSERVATION.bvc.v1/verbal_threats2