Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 6734 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

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

Posted

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

This topic is 6734 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.