I would like to create a pop-up box based off a button that gives the user the ability to hit "yes" or "no" and from those options it directs them to one of two places
I created an order form of sorts for in house testing and what we want is when a MD clicks on the Nuclear Stress Test button a pop-up will occur that says something like "This patient has Medicare; would you like to order a PET Stress Test instead" ... Yes will jump them to my PET tab and no will jump them to the Nuclear tab
So in short when we pick the Nuclear Stress Test button it will then look at the patient's insurance ... Medicare will instigate the pop-up and any other will not
ahall716 said:
I would like to create a pop-up box based off a button that gives the user the ability to hit "yes" or "no" and from those options it directs them to one of two places
I created an order form of sorts for in house testing and what we want is when a MD clicks on the Nuclear Stress Test button a pop-up will occur that says something like "This patient has Medicare; would you like to order a PET Stress Test instead" ... Yes will jump them to my PET tab and no will jump them to the Nuclear tab
So in short when we pick the Nuclear Stress Test button it will then look at the patient's insurance ... Medicare will instigate the pop-up and any other will not
For this action, you will need to use three data symbols:
1) useryesno()
2) jump_to_tab
3) ins_plan()
Please consult the EMR help file -> data symbols section for details on using these.
Example of basic format of the code in the button would be:
{
if INS_PLAN("P") == "Medicare" then
if useyesno("Patient has Medicare, order PET Stress Test instead?" == "Yes" then
JUMP_TO_TAB("tab name for PET ST")
else
JUMP_TO_TAB("other tab name for Nuc ST")
endif
else
JUMP_TO_TAB("another tab name if not medicare")
endif
}
What it does:
If the patient has a primary insurance of Medicare, it will prompt them to decide which test to order. If they answer yes it jumps them to the appropriate tab, else it jumps them to the alternate tab. If the patient does not have Medicare, they will jump directly to the tab name specified.
Thanks Lee
I will see if this works and get back to you