Skip to content

Find eligible patients for clinical trials, automatically

recruIT regularly screens your clinical data for patients who match a trial's eligibility criteria, puts them on a screening list, and notifies the team whenever new candidates turn up.

Features

  • Eligibility criteria as SQL

    Write each inclusion and exclusion criterion as a SQL query against your clinical data, run on Trino, DuckDB or a SQL on FHIR server. Criteria are stored as standard SQL on FHIR Library resources, so they can be shared between studies and hold the same query in several SQL dialects. Each query decides, per patient, whether the criterion is met. Patients whose data is missing stay on the list for the study team to review instead of being silently dropped:

    SELECT p.id AS patient_id,
           CASE WHEN p.birth_date IS NULL THEN NULL
                ELSE date_diff('year', date(p.birth_date), current_date) >= 18
           END AS is_met,
           CAST(NULL AS BOOLEAN) AS is_indeterminate,
           CAST(NULL AS VARCHAR) AS result_note
    FROM fhir.default.patient p
    

    Learn about the query module

  • Trial editor

    Create a study and put together its eligibility criteria in the browser: write new criteria or reuse existing ones from the library catalog, then publish them to the FHIR server.

    Create your first study

  • Screening lists

    Review each candidate's clinical summary and which criteria they meet, move them from candidate through screening to on-study, and keep notes and a full change history.

  • Recruitment funnel

    See how many patients remain after each eligibility criterion, to spot the criteria that narrow down a trial's candidate pool the most.

  • Notifications

    Find new candidates for your trials in the app's notification list, and get an email as soon as they turn up, or a daily, weekly or monthly digest instead.

    Notifications

  • Secure

    OIDC-based sign-in with access to each screening list granted per user. Minimal, non-root container images and a Helm chart hardened following the NSA/CISA Kubernetes Hardening Guidance, with signed SLSA build provenance for every release.

    Authentication

  • Cloud-native

    Deploy with Docker Compose or the Helm chart, with Prometheus metrics and OpenTelemetry tracing. Setups for high availability, service meshes and network policies are documented.

    Deploy on Kubernetes

How it works

flowchart LR
    team(["Study team"])

    subgraph recruit["recruIT"]
        list["list<br/>screening list web app"]
        query["query-sql-on-fhir"]
        sync["superset-library-sync"]
    end

    fhir[("HAPI FHIR server")]
    sql[("Trino, DuckDB or SQL on FHIR server<br/>patient data as tables")]
    superset["Apache Superset<br/>(optional)"]
    db[("PostgreSQL")]
    smtp["SMTP server"]
    oidc["OIDC provider"]

    team -->|"define studies and eligibility criteria,<br/>review recommendations"| list
    list <-->|"studies, criteria,<br/>screening decisions"| fhir
    query <-->|"read studies and criteria,<br/>write recommendations"| fhir
    query -->|"run eligibility SQL"| sql
    superset -.->|"saved SQL queries"| sync
    sync -.->|"SQLQuery Libraries"| fhir
    list -->|"sign-in"| oidc
    list -->|"access grants, job state"| db
    list -->|"notification emails"| smtp

recruIT is made up of modules that talk to each other via HL7 FHIR® through a central FHIR server:

  1. In the list module, the study team defines each study and its eligibility criteria, stored on the FHIR server as ResearchStudy, Group and SQL-based Library resources.
  2. The query-sql-on-fhir module runs each study's eligibility SQL against Trino, DuckDB or a SQL on FHIR server and stores the matching patients on the FHIR server as screening recommendations.
  3. The list module shows these recommendations to the study team, who record their screening decisions, and emails the team whenever new recommendations arrive.
  4. Optionally, the superset-library-sync module turns saved SQL queries from Apache Superset into eligibility criteria the other modules can use.

All FHIR resources recruIT uses are described in its FHIR Implementation Guide.

Read the architecture overview

Published research

recruIT was initially developed within MIRACUM, a consortium of German university hospitals. Its design and implementation are described in:

Gulden C, Macho P, Reinecke I, Strantz C, Prokosch HU, Blasini R. recruIT: A cloud-native clinical trial recruitment support system based on Health Level 7 Fast Healthcare Interoperability Resources (HL7 FHIR) and the Observational Medical Outcomes Partnership Common Data Model (OMOP CDM). Computers in Biology and Medicine. 2024;174:108411. doi:10.1016/j.compbiomed.2024.108411

Try it out

Run recruIT with sample data and a sample study on your own machine in a few minutes.

Get started View on GitHub