Folks with Medicare Advantage Plans are now able to get CPE's during medicare annual wellness exams. I added the PE form component to the Medicare Annual Exam template. However, I want to create a function (like my DM dashboard will only come up for patients with a diagnosis of diabetes).
I want to create a function like this that would only add the pe form comp if a patients INS_GRP is Medicare Advantage. I cant seem to get the MEL function to work right...has anyone had success with something like this? I can't find anything in the forums.
Thanks,
Anastaisha
I've tried to use INS_GRP for this type of functionality in the past but was unable to get the correct value out. It might be how we have PM set up. I opted to use INS_NAME() instead and check for individual plan names. So if this fits how PM is set up for you, you could put something like this is a text file and then put a reference to the text file in the document template.
{
insValue = str(INS_NAME("P"),INS_NAME("S"),INS_NAME("O"))
COND
CASE insValue == "Plan Name 1"
ADD_FORM_COMP("Arguments")
CASE insValue == "Plan Name 2"
ADD_FORM_COMP("Arguments")
ENDCOND
""
}
So I tried this and it worked temporarily but now it's not bringing up the form. This is what I have currently.
{
insValue = str(INS_NAME("P"),INS_NAME("S"),INS_NAME("O"))
COND
CASE insValue == "AARP Medicare Complete Choice"
ADD_FORM_COMP("Enterprise\FMRI", "PE", "3")
CASE insValue == "AARP 6093"
ADD_FORM_COMP("Enterprise\FMRI", "PE", "3")
CASE insValue == "Medicare Evercare"
ADD_FORM_COMP("Enterprise\FMRI", "PE", "3")
CASE insValue == "AARP MC PO Box 740819"
ADD_FORM_COMP("Enterprise\FMRI", "PE", "3")
CASE insValue == "Aetna 981107"
ADD_FORM_COMP("Enterprise\FMRI", "PE", "3")
CASE insValue == "Apple Care Medical Group"
ADD_FORM_COMP("Enterprise\FMRI", "PE", "3")
CASE insValue == "Atrio Health Plan"
ADD_FORM_COMP("Enterprise\FMRI", "PE", "3")
CASE insValue == "Bankers Life and Casualty"
ADD_FORM_COMP("Enterprise\FMRI", "PE", "3")
CASE insValue == "BS Medicare Med Advantage"
ADD_FORM_COMP("Enterprise\FMRI", "PE", "3")
CASE insValue == "Care Improvement Plus"
ADD_FORM_COMP("Enterprise\FMRI", "PE", "3")
CASE insValue == "Clear Choice Health Plans MC"
ADD_FORM_COMP("Enterprise\FMRI", "PE", "3")
CASE insValue == "True Blue"
ADD_FORM_COMP("Enterprise\FMRI", "PE", "3")
CASE insValue == "Univera Healthcare"
ADD_FORM_COMP("Enterprise\FMRI", "PE", "3")
CASE insValue == "United World Life Insurance Company"
ADD_FORM_COMP("Enterprise\FMRI", "PE", "3")
CASE insValue == "Univera Healthcare"
ADD_FORM_COMP("Enterprise\FMRI", "PE", "3")
CASE insValue == "Scan Health"
ADD_FORM_COMP("Enterprise\FMRI", "PE", "3")
CASE insValue == "Scan Health Plan"
ADD_FORM_COMP("Enterprise\FMRI", "PE", "3")
CASE insValue == "Secure Horizon"
ADD_FORM_COMP("Enterprise\FMRI", "PE", "3")
CASE insValue == "Secure Horizons"
ADD_FORM_COMP("Enterprise\FMRI", "PE", "3")
CASE insValue == "Secure Horizons"
ADD_FORM_COMP("Enterprise\FMRI", "PE", "3")
CASE insValue == "SecureHorizons"
ADD_FORM_COMP("Enterprise\FMRI", "PE", "3")
CASE insValue == "SecureHorizons by UHC"
ADD_FORM_COMP("Enterprise\FMRI", "PE", "3")
CASE insValue == "Select Health Advantage"
ADD_FORM_COMP("Enterprise\FMRI", "PE", "3")
CASE insValue == "Sterling Option"
ADD_FORM_COMP("Enterprise\FMRI", "PE", "3")
CASE insValue == "STERLING OPTION 1"
ADD_FORM_COMP("Enterprise\FMRI", "PE", "3")
CASE insValue == "Stonebridge Life Insurance Company"
ADD_FORM_COMP("Enterprise\FMRI", "PE", "3")
CASE insValue == "Medicare State Farm Health Ins 339403"
ADD_FORM_COMP("Enterprise\FMRI", "PE", "3")
CASE insValue == "Medicare Well Care"
ADD_FORM_COMP("Enterprise\FMRI", "PE", "3")
CASE insValue == "Medicare-MSPRC Liability"
ADD_FORM_COMP("Enterprise\FMRI", "PE", "3")
CASE insValue == "Medico"
ADD_FORM_COMP("Enterprise\FMRI", "PE", "3")
CASE insValue == "Moda Health Advantage"
ADD_FORM_COMP("Enterprise\FMRI", "PE", "3")
CASE insValue == "Molina health"
ADD_FORM_COMP("Enterprise\FMRI", "PE", "3")
CASE insValue == "Molina Healthcare of New Mexico"
ADD_FORM_COMP("Enterprise\FMRI", "PE", "3")
CASE insValue == "Molina Healthcare of Utah"
ADD_FORM_COMP("Enterprise\FMRI", "PE", "3")
CASE insValue == "Northwest Labrorers"
ADD_FORM_COMP("Enterprise\FMRI", "PE", "3")
CASE insValue == "Pacific Source Medicare"
ADD_FORM_COMP("Enterprise\FMRI", "PE", "3")
CASE insValue == "Preferred Community Homes"
ADD_FORM_COMP("Enterprise\FMRI", "PE", "3")
CASE insValue == "Medicare Humana Gold Choice 7060"
ADD_FORM_COMP("Enterprise\FMRI", "PE", "3")
CASE insValue == "Medicare Humana Gold Claims Center 14601"
ADD_FORM_COMP("Enterprise\FMRI", "PE", "3")
CASE insValue == "Medicare MC Secondary"
ADD_FORM_COMP("Enterprise\FMRI", "PE", "3")
CASE insValue == "Medicare MCBCC"
ADD_FORM_COMP("Enterprise\FMRI", "PE", "3")
CASE insValue == "Medicare MCC Advantra"
ADD_FORM_COMP("Enterprise\FMRI", "PE", "3")
CASE insValue == "Medicare MCC Pyramid"
ADD_FORM_COMP("Enterprise\FMRI", "PE", "3")
CASE insValue == "Medicare Mutual of Omaha 3608"
ADD_FORM_COMP("Enterprise\FMRI", "PE", "3")
CASE insValue == "Medicare Pacificare Medicare"
ADD_FORM_COMP("Enterprise\FMRI", "PE", "3")
CASE insValue == "Medicare Secure Direct Horizon"
ADD_FORM_COMP("Enterprise\FMRI", "PE", "3")
CASE insValue == "Medicare Secure Horizons 98 75"
ADD_FORM_COMP("Enterprise\FMRI", "PE", "3")
CASE insValue == "Medicare Sierra Optima"
ADD_FORM_COMP("Enterprise\FMRI", "PE", "3")
CASE insValue == "Kaiser Medicare NW Region"
ADD_FORM_COMP("Enterprise\FMRI", "PE", "3")
CASE insValue == "Legacy Hospice LC"
ADD_FORM_COMP("Enterprise\FMRI", "PE", "3")
CASE insValue == "Lifes Doors Hospice"
ADD_FORM_COMP("Enterprise\FMRI", "PE", "3")
CASE insValue == "Marion Polk Comm Hlth Pln"
ADD_FORM_COMP("Enterprise\FMRI", "PE", "3")
CASE insValue == "MC Flexi Blue Cross Advantage Ph"
ADD_FORM_COMP("Enterprise\FMRI", "PE", "3")
CASE insValue == "MCC Kaiser Permanente"
ADD_FORM_COMP("Enterprise\FMRI", "PE", "3")
CASE insValue == "Medicare Caremark"
ADD_FORM_COMP("Enterprise\FMRI", "PE", "3")
CASE insValue == "Medicare Complete Choice"
ADD_FORM_COMP("Enterprise\FMRI", "PE", "3")
CASE insValue == "Medicare DMERC MC"
ADD_FORM_COMP("Enterprise\FMRI", "PE", "3")
CASE insValue == "Medicare Humana"
ADD_FORM_COMP("Enterprise\FMRI", "PE", "3")
CASE insValue == "Medicare Humana Gold Choice 500"
ADD_FORM_COMP("Enterprise\FMRI", "PE", "3")
ENDCOND
""
}
So I tried this and it worked temporarily but now it's not bringing up the form. This is what I have currently. { insValue = str(INS_NAME("P"),INS_NAME("S"),INS_NAME("O")) COND CASE insValue == "AARP Medicare Complete Choice" ADD_FORM_COMP("Enterprise\FMRI", "PE", "3") CASE insValue == "AARP 6093" ADD_FORM_COMP("Enterprise\FMRI", "PE", "3") CASE insValue == "Medicare Evercare" ADD_FORM_COMP("Enterprise\FMRI", "PE", "3") CASE insValue == "AARP MC PO Box 740819" ADD_FORM_COMP("Enterprise\FMRI", "PE", "3") CASE insValue == "Aetna 981107" ADD_FORM_COMP("Enterprise\FMRI", "PE", "3") CASE insValue == "Apple Care Medical Group" ADD_FORM_COMP("Enterprise\FMRI", "PE", "3") CASE insValue == "Atrio Health Plan" ADD_FORM_COMP("Enterprise\FMRI", "PE", "3") CASE insValue == "Bankers Life and Casualty" ADD_FORM_COMP("Enterprise\FMRI", "PE", "3") CASE insValue == "BS Medicare Med Advantage" ADD_FORM_COMP("Enterprise\FMRI", "PE", "3") CASE insValue == "Care Improvement Plus" ADD_FORM_COMP("Enterprise\FMRI", "PE", "3") CASE insValue == "Clear Choice Health Plans MC" ADD_FORM_COMP("Enterprise\FMRI", "PE", "3") CASE insValue == "True Blue" ADD_FORM_COMP("Enterprise\FMRI", "PE", "3") CASE insValue == "Univera Healthcare" ADD_FORM_COMP("Enterprise\FMRI", "PE", "3") CASE insValue == "United World Life Insurance Company" ADD_FORM_COMP("Enterprise\FMRI", "PE", "3") CASE insValue == "Univera Healthcare" ADD_FORM_COMP("Enterprise\FMRI", "PE", "3") CASE insValue == "Scan Health" ADD_FORM_COMP("Enterprise\FMRI", "PE", "3") CASE insValue == "Scan Health Plan" ADD_FORM_COMP("Enterprise\FMRI", "PE", "3") CASE insValue == "Secure Horizon" ADD_FORM_COMP("Enterprise\FMRI", "PE", "3") CASE insValue == "Secure Horizons" ADD_FORM_COMP("Enterprise\FMRI", "PE", "3") CASE insValue == "Secure Horizons" ADD_FORM_COMP("Enterprise\FMRI", "PE", "3") CASE insValue == "SecureHorizons" ADD_FORM_COMP("Enterprise\FMRI", "PE", "3") CASE insValue == "SecureHorizons by UHC" ADD_FORM_COMP("Enterprise\FMRI", "PE", "3") CASE insValue == "Select Health Advantage" ADD_FORM_COMP("Enterprise\FMRI", "PE", "3") CASE insValue == "Sterling Option" ADD_FORM_COMP("Enterprise\FMRI", "PE", "3") CASE insValue == "STERLING OPTION 1" ADD_FORM_COMP("Enterprise\FMRI", "PE", "3") CASE insValue == "Stonebridge Life Insurance Company" ADD_FORM_COMP("Enterprise\FMRI", "PE", "3") CASE insValue == "Medicare State Farm Health Ins 339403" ADD_FORM_COMP("Enterprise\FMRI", "PE", "3") CASE insValue == "Medicare Well Care" ADD_FORM_COMP("Enterprise\FMRI", "PE", "3") CASE insValue == "Medicare-MSPRC Liability" ADD_FORM_COMP("Enterprise\FMRI", "PE", "3") CASE insValue == "Medico" ADD_FORM_COMP("Enterprise\FMRI", "PE", "3") CASE insValue == "Moda Health Advantage" ADD_FORM_COMP("Enterprise\FMRI", "PE", "3") CASE insValue == "Molina health" ADD_FORM_COMP("Enterprise\FMRI", "PE", "3") CASE insValue == "Molina Healthcare of New Mexico" ADD_FORM_COMP("Enterprise\FMRI", "PE", "3") CASE insValue == "Molina Healthcare of Utah" ADD_FORM_COMP("Enterprise\FMRI", "PE", "3") CASE insValue == "Northwest Labrorers" ADD_FORM_COMP("Enterprise\FMRI", "PE", "3") CASE insValue == "Pacific Source Medicare" ADD_FORM_COMP("Enterprise\FMRI", "PE", "3") CASE insValue == "Preferred Community Homes" ADD_FORM_COMP("Enterprise\FMRI", "PE", "3") CASE insValue == "Medicare Humana Gold Choice 7060" ADD_FORM_COMP("Enterprise\FMRI", "PE", "3") CASE insValue == "Medicare Humana Gold Claims Center 14601" ADD_FORM_COMP("Enterprise\FMRI", "PE", "3") CASE insValue == "Medicare MC Secondary" ADD_FORM_COMP("Enterprise\FMRI", "PE", "3") CASE insValue == "Medicare MCBCC" ADD_FORM_COMP("Enterprise\FMRI", "PE", "3") CASE insValue == "Medicare MCC Advantra" ADD_FORM_COMP("Enterprise\FMRI", "PE", "3") CASE insValue == "Medicare MCC Pyramid" ADD_FORM_COMP("Enterprise\FMRI", "PE", "3") CASE insValue == "Medicare Mutual of Omaha 3608" ADD_FORM_COMP("Enterprise\FMRI", "PE", "3") CASE insValue == "Medicare Pacificare Medicare" ADD_FORM_COMP("Enterprise\FMRI", "PE", "3") CASE insValue == "Medicare Secure Direct Horizon" ADD_FORM_COMP("Enterprise\FMRI", "PE", "3") CASE insValue == "Medicare Secure Horizons 98 75" ADD_FORM_COMP("Enterprise\FMRI", "PE", "3") CASE insValue == "Medicare Sierra Optima" ADD_FORM_COMP("Enterprise\FMRI", "PE", "3") CASE insValue == "Kaiser Medicare NW Region" ADD_FORM_COMP("Enterprise\FMRI", "PE", "3") CASE insValue == "Legacy Hospice LC" ADD_FORM_COMP("Enterprise\FMRI", "PE", "3") CASE insValue == "Lifes Doors Hospice" ADD_FORM_COMP("Enterprise\FMRI", "PE", "3") CASE insValue == "Marion Polk Comm Hlth Pln" ADD_FORM_COMP("Enterprise\FMRI", "PE", "3") CASE insValue == "MC Flexi Blue Cross Advantage Ph" ADD_FORM_COMP("Enterprise\FMRI", "PE", "3") CASE insValue == "MCC Kaiser Permanente" ADD_FORM_COMP("Enterprise\FMRI", "PE", "3") CASE insValue == "Medicare Caremark" ADD_FORM_COMP("Enterprise\FMRI", "PE", "3") CASE insValue == "Medicare Complete Choice" ADD_FORM_COMP("Enterprise\FMRI", "PE", "3") CASE insValue == "Medicare DMERC MC" ADD_FORM_COMP("Enterprise\FMRI", "PE", "3") CASE insValue == "Medicare Humana" ADD_FORM_COMP("Enterprise\FMRI", "PE", "3") CASE insValue == "Medicare Humana Gold Choice 500" ADD_FORM_COMP("Enterprise\FMRI", "PE", "3") ENDCOND "" }
Has it stopped working completely or just for certain patients? I found one issue is that when staff enter new insurances sometimes they accidentailly add an extra space to the end. So, ""AARP Medicare Complete Choice" in PM is "AARP Medicare Complete Choice ". In that case you either need to fix it in PM or add an entry to check for the extra space. If it's not working for all patient you may want to run a mel trace and get more information.
Brad
You could also do it this way
insValue = str(INS_NAME("P"),INS_NAME("S"),INS_NAME("O"))
insNames = "AARP Medicare Complete Choice,AARP 6093,etc."
if match(insNames,insValue) > 0 then
ADD_FORM_COMP("Enterprise\FMRI", "PE", "3")
else
""
endif
You could even set insNames from reading a text file outside the EMR