FlowRunner
Features Pricing
Theme
Start Free

Red-flag health history answers sent to the clinician in DrChrono

Checks each new patient's Formstack health history against your red-flag list and gives the clinician a DrChrono task with the flagged answers before the first visit.

The prompt

When a new patient submits our health history form in Formstack, check each answer against our clinicians' red-flag list, such as chest pain in the last month or taking a blood thinner. If nothing matches, do nothing. If an answer matches, find the patient in DrChrono by name and birth date. If there isn't exactly one match, ask our intake coordinator in Slack which chart it is and wait. Then give the clinician a high-priority DrChrono task linked to the chart, with each flagged question and answer, due the day before the first visit if DrChrono shows one, otherwise by the end of today. If the coordinator finds no chart, send the clinician the task anyway, without a chart.

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

The flow

No Yes Yes Yes No Action Find the patient inDrChrono Code Settle on the chart Action Task without achart Action Get the form'squestions Action Search by firstname and birth date Asks a person Ask the intakecoordinator Code Write the question forthe coordinator Asks a person Wait for thecoordinator's answer Condition One exact match? Condition Red-flag answer? Code Compare the charts Starts the flow New healthhistory form AI agent Check for red-flaganswers Action Task for theclinician Condition Chart picked?

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. New health history form Checks your health history form in Formstack every 5 minutes for a new submission.
  2. Check for red-flag answers An AI agent compares each answer with the red-flag list your clinicians keep in the flow settings and lists the questions and answers that match. It judges nothing that is not on the list.
  3. Red-flag answer? A form with no answer on the list ends the run.
  4. Find the patient in DrChrono Searches by last name and birth date, then by first name and birth date. One exact match on name and birth date is used with no one asked.
  5. Ask the intake coordinator No exact match, or more than one, goes to the intake coordinator in Slack with the patient's name and birth date and each chart that shares the birth date. The flagged answers stay out of Slack.
  6. Wait for the coordinator's answer The run waits for the click. A picked chart gets the task. No chart sends Task without a chart to the clinician instead.
  7. Task for the clinician Gives the clinician a high-priority DrChrono task on the chart with each flagged question and answer, due the day before the first visit DrChrono shows, or by the end of today.

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 Formstack personal access token and the client ID and client secret of your DrChrono API application, then connect your DrChrono and Slack accounts.
  • Add your Anthropic key in the flow setting Anthropic key, write your clinicians' list in the flow setting Red-flag answers, separated by semicolons, and set Practice time zone to your practice's time zone.
  • Copy the URL of the block Wait for the coordinator's answer into the flow setting Answer link. The Slack buttons open it.
  • Pick your health history form in New health history form, the intake coordinator's channel in Ask the intake coordinator, and the clinician or clinical group and the task status in both Task for the clinician and Task without a chart.