FlowRunner
Features Pricing
Theme
Start Free

Lab-flagged results reviewed each morning in Teams

Each morning, sends every ordering provider one Teams card with the past day's Healthie results the lab flagged. Results not marked reviewed by day's end become Healthie tasks.

The prompt

Every morning, look at the lab results that came into Healthie in the past day and pick out the ones with a value the lab flagged. Send each ordering provider one card in our results Teams channel listing their patients with a link to each chart, the test, and each flagged value with its units and the lab's range, critical ones first, with a Reviewed button. If there are too many orders to read them all, tell the results lead in that channel that the review is incomplete and how far back it got. At the end of the day, give every provider who didn't press Reviewed a high-priority Healthie task, due today, for each of those results.

FlowRunner Prompt to Flow built this flow from that request. Here it is as it opens in the editor.

The flow

Yes Yes No Repeats for each item Page through laborders Repeats for each item For each provider Repeats for each item For each result notreviewed Repeats for each item Collect Reviewedclicks Action Start the list Action Wait until the end ofthe day Code Time left in thereview day Code Group flagged resultsby provider Code Find results notreviewed Condition Any flagged results? Action Start the reviewedlist Action Tell the results leadthe review isincomplete Condition Stopped at the pagelimit?

Inside the loop: Page through lab orders

Action Save the page Action List recentlyupdated lab orders Code Keep the past day'sorders

Inside the loop: Collect Reviewed clicks

Action Save the reviewedlist Asks a person Wait for a Reviewedclick Code Add the provider tothe reviewed list

Inside the loop: For each provider

Asks a person Send theprovider's card

Inside the loop: For each result not reviewed

Action Task: review theflagged result

Download the file, then in FlowRunner click + beside Flows, pick it under Import a Flow Version and click Create. How importing works

What each step does

  1. List recently updated lab orders Pages through Healthie's lab orders, most recently updated first, and keeps the ones updated in the past 24 hours. It reads up to 40 pages of 25 orders.
  2. Tell the results lead the review is incomplete If the past day runs past that limit, the results channel gets a note for the results lead saying the review is incomplete and how far back it read, so the older results get checked by hand.
  3. Group flagged results by provider Keeps each result from the past day with a value the lab flagged and groups them by ordering provider. A value whose flag is in the flow setting Critical flag codes, or whose interpretation says critical, is marked critical and listed first.
  4. Send the provider's card Posts one card per provider in the results channel: each patient with a link to the chart, the test, each flagged value with its units and the lab's range, and a Reviewed button.
  5. Wait for a Reviewed click Collects the Reviewed presses through the day.
  6. Wait until the end of the day Waits until the time in the flow setting End of review day, in your practice's time zone.
  7. Task: review the flagged result Each result whose provider did not press Reviewed becomes a high-priority Healthie task for that provider on the patient's chart, due today, listing the values the lab flagged.

Before you turn it on

This flow assumes every service in it, FlowRunner included, has signed a business associate agreement (BAA) with you. Its messages to your staff include the patient details they need to decide.

  • Enter your Healthie API key and connect your Microsoft Teams account.
  • Copy the URL of the block Wait for a Reviewed click into the flow setting Answer link. The Reviewed buttons open it.
  • Fill in the flow settings Teams team ID and Results review channel ID, and set Practice time zone, End of review day (24-hour time, such as 17:00) and Critical flag codes (the flags your labs print for a critical value, such as HH, LL, AA, C, CR, CRIT, PANIC).
  • The flow has no trigger. Schedule it every morning before your providers start, weekends included, because each run looks back 24 hours.