It has served well to always ask has anyone worked on this?
The request that is on the table is the retaining of the formatting that Doc’s place in the Native SOAP note when going to Report > Patient Report and selecting SOAP note all the formatting is stripped from the paragraphs.
The doc thinks it would enhance the document if the formatting was retianed.
I have dug into the code to look to see where does this happen and if there is a way to correct this. Following the bread crumbs to the lbr_report function around line 36 Rod put in a wordwrap.
Is there a way keep the line breaks?
I have tried $arr[$field_id] = htmlspecialchars($currvalue); in front of the wordwrap but no joy.
Agreed that would do that if need to translate. But don’t think this is meant to be translated (ie. I think this is the content of the progress note rather than a label). Will be more clear if can see this change in a git commit.
-brady
We don’t use this form but replacing text areas with hard coded nation notes controls will make it nicer for users - more formatting, use of templates etc. As a bonus for developers, this form will reuse existing components.