June 19, 200619 yr I would like to refresh a Find every five minutes to show a list of patients who have arrived, but have not been seen. The Find is easy, but how do I script it to run without manually triggering it? ~Dennis
June 19, 200619 yr You could hammer something out along these lines, but it will be clunky and/or require a plugin. Let me suggest a different approach: Use a portal from a global field with '1' in it to a new field in Patients that we will call 'Waiting.' Waiting is a stored calc field that has: case(not isempty(Arrived) and isempty(Seen); 1) this is assuming you have 2 fields ('Arrived' and 'Seen') that get filled in, say, checkbox style (not the best design, but illustrative for the point at hand). You can tweak the formula to better match your design, but the principle is to relate a global to the field/fields that identify a patient as arrived but not seen. Then, whenever a patient status is changed to this, they will automatically appear in the portal. No find, no scripts, no hassle. -Raz
Create an account or sign in to comment