Setting reporter_caisi_role to 0 breaks the echart notes

Preconditions

None

Steps to Reproduce

None

Expected Result

None

Observed Result

None

Additional Comments

Problem Summary
The encounter screen note section will break if the role is set to 0 in the reporter_caisi_role

Expected Result
The value of the role in the database should not break the encounter screen notes

Actual result
The attached screenshot displays the error that's occurring when the encounter screen is opened.

Steps to reproduce

  • Make a note

  • In the database change the reporter_caisi_role to 0 in the casemgmt_note table

  • open the patient's echart

reproducible on: 12.1.1

Assignee

Unassigned

Reporter

Sourceforge Migration

Labels

OSCAR Build Date

None

OSCAR Build Tag

None

Client Browser

None

Client OS

None

Are you or your organization planning on submitting a fix for this bug in the next 30 days?

None

Validated by Reporter

None

SourceForge Reporter

trimaracorp

SourceForge Assigned To

None

SourceForge Date Created

None

SourceForge ID

3,472

Affects versions

Priority

7
Configure