Our providers have asked if there is a way for better spacing for the medication list on handouts. Our patients are elderly, and it would be easier for them to read if there was a space between each line. I'm currently using this to pull into the handout:
{(MEDS_AFTER("List"))}
use replacestr to replace ',' with ',' + hret
description
Replaces an old string with a new string, frequently used when getting clinical lists and placing into dynamic drop-downs to replace the , with a \, so the imbedded comma is not stripped out.
type
MEL utility function
syntax
replacestr(string,oldstr,newstr)
arguments
string | A string in which old instances are being replaced |
oldstr | string |
newstr | string |
returns
A string in which the old instances of oldstr are replaced with newstr
example
{ReplaceStr("fever~chills~headache","~",", ")}
returns
"fever, chills, headache"
where used
Encounter Form Editor: MEL expressions
Pardon my ignorance, but I'm still not getting how I can set this up.
{ReplaceStr(MEDS_AFTER("list"), hret, hret + hret)}
will replace the single hard return with 2, thus double spacing.
If you're using meds_after("list") this will work. If not, the same idea may be applied.
{cfmt(replacestr(meds_after("list"), hret,hret+hret), "", "Medication
", "B,U","
")}
This is the response I received when I asked the same question. I just copied and pasted this into the letter.
Laurie