The encounter screen note section will break if the role is set to 0 in the reporter_caisi_role
The value of the role in the database should not break the encounter screen notes
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