I'm working on what (should be!) a simple quick text for flu season -- I want it to add the problem of 'Flu shot' and automatically add the assessment for our flu immunization counseling.
What I've found is that I can use MEL_ADD_PROBLEM to put a comment on the problem I'm adding, but that comment *only* shows up if you view the problem from the problem list dialogue box. I thought MEL_ADD_ASSESSMENT might be the answer -- but this produces the same result (and requires the problem already be in the problem list!).
Is it possible to use quick text to actually add an assessment that will push through to the note?
{MEL_ADD_ASSESSMENT('DX OF', 'Flu shot', 'ICD10-Z71.89', 'I', 'This is a test!')''}
Actually, you will need to use both. First add the problem, then add the assessment.
If you are adding the problem at the same time you are adding the assessment, then you will need to use 'N' instead of 'I' as it is a new problem.
I should also mention that instead of using 'improved', you might consider using 'C' for comment only (one can not logically support an 'improved' assessment for an immunization) if the problem previously existed on the problem list before the update.
You should be able to 'stack' both commands inside of the curly braces for the quick text.
Hope this helps.
Hmm.. I've tried using both, and that still doesn't seem to put any text in the actual document that's generated. It seems to be running because if you open the problem list dialogue box it shows the new problem of "Flu shot" and indicates under "Effects of this update" that "Assessed Flu shot as comment only - This is a test!"
But nothing appears in the note. In fact, the new problem doesn't even show up in the note (let alone an assessment associated with it).
{MEL_ADD_PROBLEM('DX OF','Flu shot','ICD10-Z71.89',str(._todaysdate),ADDDATES(str(._todaysdate),'0','0','1'),'','','')'Problem test'}
{MEL_ADD_ASSESSMENT('DX OF','Flu shot','ICD10-Z71.89','C','This is a test!')'Assessment test'}
Thanks for your help -- I replied above, just wanted to make sure you see the response!
Ahh, that clarifies. Neither symbol will create a note translation by design; you will need to create code to do that specifically.
Review the data symbol 'LISTASSESSNEW()' in the EMR help file. It presents a peculiar format, that if you and/or your providers can live with, means your work is essentially done by simply translating the symbol via a CFMT statement.
However, if the format is unacceptable, then you will need to leverage the data symbol 'LIST_ASSESSMENTS' in its delimited format to create the translation as desired. Understand that this symbol works with one diagnosis at a time, meaning you will need to loop the problem list and pull only the most recent and unsigned assessments from each. Gets a tad complex at first, but hopefully will make sense as you progress. Once you have 'captured' all of the assessments for the visit, you can store them in a variable which is translated with a CFMT statement for the chart note.
Hope this helps.