Skip to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Run the same script every 5 minutes; automatically?

Featured Replies

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

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

Important Information

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

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.