crb_65

An assessment score used within a community or primary care setting to estimate the severity of community-acquired pneumonia.

An assessment score used within a community or primary care setting to estimate the severity of community-acquired pneumonia.

Purpose. To record the results for each component parameter and their total sum for the CRB-65 score.

Source

ModelLegRole
openEHR-EHR-OBSERVATION.crb_65.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.
confusion
confusion_code
confusion_system
confusion_numeric
confusion_valueset_id
coded text
text, text, text, numeric, text
yesConfusion/data[at0001]/events[at0002]/data[at0003]/items[at0004]
respiratory_rate
respiratory_rate_code
respiratory_rate_system
respiratory_rate_numeric
respiratory_rate_valueset_id
coded text
text, text, text, numeric, text
yesRespiratory rate/data[at0001]/events[at0002]/data[at0003]/items[at0007]
blood_pressure
blood_pressure_code
blood_pressure_system
blood_pressure_numeric
blood_pressure_valueset_id
coded text
text, text, text, numeric, text
yesBlood pressure/data[at0001]/events[at0002]/data[at0003]/items[at0010]
age
age_code
age_system
age_numeric
age_valueset_id
coded text
text, text, text, numeric, text
yesAge/data[at0001]/events[at0002]/data[at0003]/items[at0014]
total_scoreintegeryesTotal score/data[at0001]/events[at0002]/data[at0003]/items[at0017]
grade
grade_code
grade_system
grade_valueset_id
coded text
text, text, text, text
yesGrade/data[at0001]/events[at0002]/data[at0003]/items[at0018]

Constraints

check ((confusion_code is null and confusion_system is null and confusion_numeric is null and confusion is null) or (confusion_valueset_id is not null and confusion_code is not null and confusion_system is not null and confusion_numeric is not null and confusion is not null))
check ((respiratory_rate_code is null and respiratory_rate_system is null and respiratory_rate_numeric is null and respiratory_rate is null) or (respiratory_rate_valueset_id is not null and respiratory_rate_code is not null and respiratory_rate_system is not null and respiratory_rate_numeric is not null and respiratory_rate is not null))
check ((blood_pressure_code is null and blood_pressure_system is null and blood_pressure_numeric is null and blood_pressure is null) or (blood_pressure_valueset_id is not null and blood_pressure_code is not null and blood_pressure_system is not null and blood_pressure_numeric is not null and blood_pressure is not null))
check ((age_code is null and age_system is null and age_numeric is null and age is null) or (age_valueset_id is not null and age_code is not null and age_system is not null and age_numeric is not null and age is not null))
check (total_score is null or total_score between 0 and 4)
check ((grade_code is null and grade_system is null and grade_valueset_id is null and grade is null) or (grade is not null and grade_code is not null and grade_system is not null and grade_valueset_id is not null))

Unique

References

ColumnsTargetOn delete
form_idformcascade
form_id, form_block_idform_blockcascade
confusion_valueset_id, confusion_code, confusion_system, confusion, confusion_numericvalueset_coderestrict
respiratory_rate_valueset_id, respiratory_rate_code, respiratory_rate_system, respiratory_rate, respiratory_rate_numericvalueset_coderestrict
blood_pressure_valueset_id, blood_pressure_code, blood_pressure_system, blood_pressure, blood_pressure_numericvalueset_coderestrict
age_valueset_id, age_code, age_system, age, age_numericvalueset_coderestrict
grade_valueset_id, grade_code, grade_system, gradevalueset_coderestrict

Indexes

Value sets

Value setCodes
org.openehr::openEHR-EHR-OBSERVATION.crb_65.v1/age2
org.openehr::openEHR-EHR-OBSERVATION.crb_65.v1/blood_pressure2
org.openehr::openEHR-EHR-OBSERVATION.crb_65.v1/confusion2
org.openehr::openEHR-EHR-OBSERVATION.crb_65.v1/grade3
org.openehr::openEHR-EHR-OBSERVATION.crb_65.v1/respiratory_rate2