I have seen a few posts on the forum about people putting an image (e.g. an envolope) to indicate that a patient is registered on the portal. I am able to put images in the banner, but I get errors whenever I try to use MEL logic to only show the image if the patient meets certain criterea.
Anyone who is successfully using the banner in this way want to shed some light on this? We would love to let our front desk staff know at a glance who is registered and who isn't with an image rather than more text.
Thank you!
Hi Daniel-
I'd be glad to help you out. We use images in our banner to indicate whether/not a patient is registered on the portal.
First step is to decide which OBS term(s) you want to use in your logic. For us, we are checking:
- OBSANY('PATPORTALPIN') - Possible values:
- "secmsg" => this patient has a portal account
- "declined" => this patient has declined the portal
- "" => the term is blank, so no portal account for this patient yet (so invite the patient to the portal)
So, the MEL logic to check for this example would be:
{IF obsany('PATPORTALPIN')=='secmsg' then 'ENVELOPE IMG HERE' ELSE IF obsany('PATPORTALPIN')=='Declined' THEN 'SAD FACE IMG HERE' ELSE 'BELL IMG HERE' ENDIF ENDIF}
Here's a tip for the MEL part: the patient banner is really picky about MEL and formatting. If you just copy and paste something into the banner area, it's possible to break (even if your code is good). I do all my MEL in Notepad (=no formatting) and then paste to the banner. In this example, I want to use wingding images (an envelope, a sad face, a bell). I can't do that in notepad. Therefore, AFTER I've pasted all my clean, formatting free code into the banner, I open WordPad (not Microsoft Word) and copy ONLY the wingding I want, one at a time, and paste it into the appropriate place in the MEL/banner area.
Finally- you could get a lot more creative with the logic if you have more complicated workflows (example: you want to add logic for patients who do not have an email address and you want to prompt your staff to get that first). This works pretty good for our team, though, and keeps it simple.
Let me know if you have any questions.
MEdfusion provided this piece for us:
{if OBSANY("PATPORTALPIN")="Y" then ":" else if OBSANY("PATPORTALPIN") = "I" then "." else "*" endif endif}
The ":" "." "*" are in wingding font. Making a computer symbol, mailbox and a envelope respectively.