Is there a way inside of this to make the order auto complete without having to click a button to sign the order?
MEL_ADD_ORDER("S", "Charges", "New Pt Level 1-99201", "", fnGetProblemCodes(), fnGetProblemDescriptions(), "", "", "", "", "")
Yes, trigger when a diagnosis/problem is selected and…..put your code in the "White" programming field of the VFE form:
{IF (DOCUMENT.DIAGNOSIS_EM) <> "" then MEL_ADD_ORDER("S", "Charges", "New Pt Level 1-99201", "", fnGetProblemCodes(), fnGetProblemDescriptions(), "", "", "", "", "")
else ""
endif
}
We use custom dynamic problem lists for each order/charge (pulls patient problem list or add problem to patient list, whatever the situation is.. I would use a seperate "Problem" list and call is DOCUMENT.SOMETHINGELSE....so that the order is not duplicated when you select a problem for a different charge.
Hope this helps!
Example of how we use different problem/diagnosis lists that update to patients probelms etc. as described in my comment above.
Would you consider sharing that form?
I'm under contract with a Medical IT company now. I can give you the code through the consulting company who owns a consulting VFE license. Please contact me if you would like to set that up.
I'd like to point out that this doesn't actually auto-complete an order. If the order is set to go to "In Process" when signed, it will still go to "In Process" and not "Complete." To my knowledge there isn't a way for an order that is set to go to "In Process" to auto-complete.