Free whitepaper

Why Psychiatry Recruitment Breaks Literal Matching

Most psychiatric eligibility criteria aren't in the chart, and what is there is subjective. A three-way model for what charts, notes, and people can each answer.

Inside the whitepaper:

  • The problem with matching psychiatry like it's cardiology
  • Literal matching fails in two directions
  • A three-way model: chart, notes, person
  • Unknown is an honest answer
  • Some criteria should never be automated

Mahalo Health · 2026-10-02

The problem with matching psychiatry like it's cardiology

In many therapeutic areas, eligibility lives in structured data. An HbA1c value, a blood pressure reading, a diagnosis code with a date. Software can compare those to a protocol and be right most of the time.

Psychiatry is different. Look at the eligibility section of almost any depression, PTSD, or schizophrenia protocol and you'll find criteria like these:

  • A HAM-D-17 score of 18 or more at screening and baseline
  • Failure to respond to two or more adequate antidepressant trials in the current episode
  • No significant suicide risk, assessed by the C-SSRS and clinical interview
  • A diagnosis confirmed by a structured interview such as the MINI
  • No personal circumstances judged incompatible with safe participation

Almost none of this is in an EHR as a clean value. Rating scales like the HAM-D, PANSS, and CGI are administered at the research visit, not in routine care. "Adequate trial" is a clinical judgment. And what is recorded, such as a diagnosis code, is often entered for billing and may not reflect the full clinical picture.

Literal matching fails in two directions

When software treats psychiatric criteria literally, it makes two kinds of mistakes:

  • It throws good patients away. If a rule says "HAM-D 18 or more" and the chart has no HAM-D, a literal matcher counts the patient as failing. Nearly every patient fails, and the list is empty.
  • It lets wrong patients through. If a matcher reads a single diagnosis code at face value, it may pass a patient whose clinician wrote, two notes later, that the diagnosis was revised.

Both mistakes cost the site. The first hides real candidates. The second wastes coordinator calls and erodes trust in the tool.

Literal matching fails in two directions

  1. It throws good patients away.

    If a rule says "HAM-D 18 or more" and the chart has no HAM-D, a literal matcher counts the patient as failing.

  2. It lets wrong patients through.

    If a matcher reads a single diagnosis code at face value, it may pass a patient whose clinician wrote, two notes later, that the diagnosis was revised.

Literal matching fails in two directions

A three-way model: chart, notes, person

The fix is to stop treating every criterion the same way. Each criterion should be routed to the source that can actually answer it.

  • The chart can answer it. Age, a diagnosis code, a current medication, a prior hospitalization, a PHQ-9 score from routine care. Checked automatically, with the date shown.
  • The notes might answer it. "Failed sertraline and venlafaxine," "denies suicidal ideation," "no history of mania." Read from clinician notes, with the exact sentence and date shown, or marked unknown if nothing is there.
  • Only a person can answer it. HAM-D, CAPS-5, willingness to attend visits, informed consent. These become questions for the pre-screen call or the screening visit, never a guess.

A three-way model: chart, notes, person

  1. The chart can answer it.

    Age, a diagnosis code, a current medication, a prior hospitalization, a PHQ-9 score from routine care.

  2. The notes might answer it.

    "Failed sertraline and venlafaxine," "denies suicidal ideation," "no history of mania."

  3. Only a person can answer it.

    HAM-D, CAPS-5, willingness to attend visits, informed consent.

A three-way model: chart, notes, person

Unknown is an honest answer

The most important word in psychiatric pre-screening is "unknown." A criterion the chart can't answer should never quietly count as a fail, and never quietly count as a pass. It should stay open, visible, and assigned to the person who can close it.

That changes what a coordinator sees. Instead of a percentage score, they see something like: met 10, ruled out 0, still to ask 4. That's a call list they can trust.

Some criteria should never be automated

Suicide risk is the clearest example. Software can surface what a clinician wrote, with the date, so a person sees it before calling. It should not decide risk from codes or keywords. In psychiatry, declining to automate the most sensitive judgment is a feature.

A simpler starting point: search first, match later

Many psychiatry sites don't start with a protocol at all. They start with a question: "Show me adults with recurrent depression, on their second or third antidepressant, with no psychiatric hospitalization in the past year." A clinician then decides which study each person might fit.

That's a patient finder, not a protocol matcher, and for psychiatry it's often the right first tool. It respects the clinician's judgment, which literal matching can't replace.

How Recruit by Mahalo applies this

Recruit reads a protocol and turns each criterion into a rule tagged by how it will be answered: chart, notes, or person. Chart rules are checked automatically with dates. Note rules show the quoted sentence or stay unknown. Person rules become the coordinator's pre-screen questions. Unknowns are never scored. And a patient finder lets clinicians search their partner practices directly when they'd rather assign studies themselves.

Frequently asked questions

Why don't psychiatric rating scales appear in EHR data?
Scales such as the HAM-D, PANSS, and CAPS-5 are usually administered at research visits rather than in routine care, so they are rarely recorded in the clinical chart.
What should software do with criteria it can't answer?
Mark them unknown and route them to a person, such as a pre-screen question for the coordinator, rather than counting them as a pass or a fail.
Should software assess suicide risk?
No. It can surface what a clinician has written, with the date, for a person to review. The judgment should stay with a clinician.