Hi,
I have a bunch of medications for which i have action buttons. click the button, the medication should translate to chart notes. Say, there are 4 meds - 4 buttons, but i only click the 4th, the chart notes translates the 4th medication but with 3 spaces on the top of it.
This is not looking good in the notes. how do i eliminate the spaces?
Lots of guesses I could make:
A blank line in the Chart Note section of the Translation tab of the action button.
A blank inserted text box.
Or...?
Probably simpler if you shared the file here so we could take a look at it.
Try using CFMT in your translation. This will only output the text and lines if this particular item has a value.
Also check your translations to make sure that you don't have a blank line that precedes or follows the line output statement (FMT or CMT, I am assuming).
I changed the chart notes translation like
{CFMT(IF DOCUMENT.IAL == "TRUE" then "IPRATROPIUM-ALBUTEROL 0.5-2.5 (3) MG/3ML SOLN is prescribed - Use as directed" else "" endif, "")}
But there is no difference. If i select only 1 medication from Nebulizer, I get many blank spaces above.
Below is how it shows up in EMR.
Nebulizer
IPRATROPIUM-ALBUTEROL 0.5-2.5 (3) MG/3ML SOLN is prescribed - Use as directed
Good Morning,
Try this. Also make sure there are no carriage returns before or after the {curly braces} on all 4 buttons.
{CFMT(IF DOCUMENT.IAL == "TRUE" then "IPRATROPIUM-ALBUTEROL 0.5-2.5 (3) MG/3ML SOLN is prescribed - Use as directed" else "" endif, "","","",""+HRET)}
You will want to copy this CFMT logic on all for buttons, otherwise your text will run together
-James
It works great within the section.
Nebulizer is another section. So if i click on one of the medications in Nebulizer, i'm still getting the blank spaces above because of other sections on top, but within Nebulizer, meds look great!
Do i need to put suppressions for sections?
