I created a form in VFE for nurse practioners. When they click an action button it orders labs, charges for office visit and adds patient instructions. The diagnosis is automatically tied to the labs and office visit.
The problem I am having is when the provider goes to CPOE and tries to choose a diagnosis from the dropdown, the diagnosis from the action button is not there for them to choose.
Any ideas on how to get that to show up.
I use this -
/*Build problem list to choose from*/
{fn Diag_List_Box(prob){
if prob <> "" then
return str(getfield(prob,"\n",";,\r"))
else "" endif
}}
Put this in the drop down, dynamic choice list
{Diag_List_Box(PROB_AFTER("LIST"))}
The key is to include PROB_AFTER() somewhere so it evaluates continuously, that way it picks up on recently added diagnoses
