Find eligible trial participants before the study falls behind — an IRB-approved study catalog synced from the CTMS and ClinicalTrials.gov, coordinator-structured criteria compiled into versioned FHIR queries, nightly and point-of-care pre-screening through CDS Hooks, a contact gate that honors research opt-outs and treating-provider approval, enrollment written back to the CTMS and chart, and a public trial finder that only lists studies open to enrollment. Optional AI-assisted chart review with human confirmation.
Tags: healthcare, provider, academic-medical-center, research, clinical-trials, recruitment, ctms, clinicaltrials-gov, cds-hooks, research-consent, api-led, process-api, experience-api, epic, fhir
Clinical Trial Recruitment: EHR Pre-Screening, Coordinator Worklists, and a Public Trial Finder
Review the regulatory requirements before implementing. The regulatory details in this blueprint are general guidance, not legal or compliance advice — rules change, and IRB and institutional policies vary. Before you build, have the IRB, the privacy officer, and the clinical research office confirm:
- Prerequisites and step 4: pre-screening as review preparatory to research versus a partial waiver of authorization, and whether the treating provider must approve contact.
- Step 6: IRB approval of public listings, plain-language summaries, and self-referral screening questions.
- Step 7: that candidate lists stay inside the covered entity and who may view them.
- Choose your path: institutional policy on AI-assisted chart review for research.
- What's Getting Built and step 1: the ClinicalTrials.gov API v2 endpoint paths.
Deliverable: A recruitment Process API that keeps an IRB-approved study catalog in sync with the CTMS and ClinicalTrials.gov, compiles each study's key eligibility criteria into FHIR queries, pre-screens patients nightly and at the point of care, routes candidates to coordinators only after contact rules and treating-provider approval are satisfied, and publishes open studies to a public trial finder with a self-referral path.
Objective: Most trials that miss enrollment targets miss them because eligible patients were never identified, not because they declined. Coordinators search clinic schedules by hand, investigators remember a study only when a patient in front of them happens to fit, and the public list of trials on the website is months out of date and includes studies that closed. Meanwhile the patients who asked not to be contacted about research, and the treating physicians who expect to be asked first, are the ones most likely to be missed by an ad hoc process. Working looks like every open study screened against the patient population every night, candidates surfaced to the treating team at the visit, coordinators working a ranked list with the evidence attached, and a public list that only ever shows studies that can actually enroll.
What's Getting Built
- Study catalog (Process API) — open studies with IRB status, enrollment status, sites, principal investigator, and recruitment materials, keyed by
{ctms_study_id} and {nct_id} · GET /studies?status=open, GET /studies/{id}
- CTMS (System API) — study, IRB approval, and enrollment status from
{ctms}, and enrollment updates back · GET /ctms/studies/{id}, POST /ctms/studies/{id}/subjects
- Registry sync (System API) — pulls registry records and summaries from ClinicalTrials.gov API v2 by NCT number ·
GET /api/v2/studies/{nctId}
- Criteria compiler (Process API) — turns coordinator-structured criteria into versioned FHIR queries and evaluation rules ·
POST /studies/{id}/criteria, GET /studies/{id}/criteria/{version}
- Pre-screen (Process API) — runs criteria nightly against the population and on demand for a patient at a visit ·
POST /prescreen/runs, POST /prescreen/patients/{id}
- Point-of-care alert (Experience API) — CDS Hooks service that suggests open studies to the treating clinician ·
POST /cds-services/trial-match (patient-view, appointment-book)
- Coordinator worklist (Experience API) — ranked candidates with criteria evidence, contact eligibility, and approval status ·
GET /worklists/{studyId}, PATCH /candidates/{id}
- Public trial finder (Experience API) — lists IRB-approved studies open to enrollment and takes self-referrals ·
GET /public/trials?condition=&near=, POST /public/trials/{id}/interest
Prerequisites
- Anypoint Platform org and EHR FHIR R4 access scoped to Patient, Condition, Observation, MedicationRequest, Procedure, Encounter, and Appointment, plus ResearchStudy and ResearchSubject where the EHR supports them.
{ctms} API or extract access for study, IRB, and enrollment status.
- A CDS Hooks registration with the EHR — see Clinical Decision Support.
- The institution's research contact policy: how patients opt out of research contact, whether the treating provider must approve before contact, and the IRB's recruitment approval for each study — screening under a partial waiver of authorization, or contact through the treating provider.
- For feasibility counts before a study opens, a de-identified pipeline such as Patient De-identification for Research and AI.
- Named owners: the clinical research office for the catalog and contact policy, and each study's coordinator for its criteria.
Choose your path
- Structured criteria — Choose for most studies. Coordinators encode the key inclusion and exclusion criteria (diagnosis codes, age, lab thresholds, medications) as rules the compiler turns into FHIR queries. Fast, explainable, and easy to re-validate on amendment.
- AI-assisted chart review — Choose when key criteria live in notes, pathology, or imaging reports — tumor stage, biomarker status, prior lines of therapy. A model reads the chart and suggests matches with cited evidence; a coordinator confirms every one, and the model never initiates contact. Validate it per Validating AI Features.
Most programs run structured criteria for every study and add AI-assisted review for oncology and rare disease.
Architecture
1. Study catalog
- Build the catalog from the CTMS — IRB approval, enrollment status, sites, principal investigator — and enrich it with the registry record from ClinicalTrials.gov by NCT number.
- A study is recruitable only when it has current IRB approval and is open to enrollment at this site. Every downstream step checks that flag, so a study that closes stops appearing everywhere at once.
- Track amendments: an amendment that changes eligibility creates a new criteria version and marks the old one retired.
2. Criteria as versioned rules
- Coordinators structure the key criteria per study: code sets for diagnoses and procedures, age range, lab thresholds with lookback windows, and excluding medications or conditions.
- Compile each version into FHIR queries plus an evaluation rule set. Each criterion evaluates to met, not met, or unknown — missing data is unknown, never not met.
- Keep criteria broad enough to find candidates and leave final eligibility to the investigator. The goal is a short list worth reviewing, not an enrollment decision.
3. Pre-screen
- Run nightly against patients with upcoming visits in relevant clinics and against the active population on
{prescreen_schedule}.
- At the visit, answer the CDS Hooks call with a card naming the study and the criteria met, and a link to refer the patient to the coordinator. Suppress cards for patients who opted out of research contact.
- Rank candidates by criteria met, unknowns, and upcoming visit date, so coordinators can meet patients in clinic.
4. Contact gate
- Before any candidate reaches a coordinator for outreach, check the patient's research contact preference and the study's contact model. Opted-out patients never appear on an outreach list.
- Where policy requires it, ask the treating provider to approve contact, and record the decision and who made it.
- Coordinators contact patients only with IRB-approved materials, and log every attempt against the candidate.
5. Enrollment status back to the chart
- When a candidate consents and enrolls, write enrollment to the CTMS and associate the patient with the study in the EHR (ResearchSubject or the EHR's research module), so care teams and billing see research participation.
- Record screen failures with a reason code; they show which criteria are too broad and feed feasibility for the next study.
6. Public trial finder
- Publish only recruitable studies to
{trial_finder_site}, with IRB-approved plain-language summaries, conditions, locations, and a contact route; refresh from the catalog, never by hand.
- Take self-referrals with minimal information — name, contact method, the study, and a short answer to screening questions the IRB approved — and route them to the study's coordinator worklist.
7. Security and compliance
- Pre-screening reviews PHI inside the covered entity; candidate lists stay inside the organization and are visible only to the study team and approved research staff.
- Log every pre-screen query, card, and candidate view per study for IRB and privacy review.
- Self-referral data is stored as research inquiries, separate from the chart, until the person consents.
- Complete the shared Healthcare integration configuration checklist.
Configure with your own values: {ctms}, {ctms_study_id}, {nct_id}, {prescreen_schedule}, {clinic_id}, {trial_finder_site}.
Sample payload — pre-screen candidate
{
"candidateId": "CAND-2026-11873",
"study": { "ctmsStudyId": "{ctms_study_id}", "nctId": "{nct_id}", "recruitable": true, "criteriaVersion": "3" },
"patient": { "mrn": "E5582014", "nextVisit": "2026-05-06", "clinic": "{clinic_id}" },
"criteria": [
{ "id": "INC-1", "text": "Type 2 diabetes", "result": "MET", "evidence": "Condition/cond-1182" },
{ "id": "INC-2", "text": "HbA1c 7.5–10.5% within 90 days", "result": "MET", "evidence": "Observation/obs-5530 (8.4%)" },
{ "id": "EXC-1", "text": "eGFR below 30", "result": "NOT_MET", "evidence": "Observation/obs-5541 (62)" },
{ "id": "EXC-2", "text": "Insulin use", "result": "UNKNOWN", "evidence": null }
],
"contactGate": {
"researchContactPreference": "ALLOW",
"providerApproval": { "required": true, "status": "PENDING", "provider": "practitioner/44102" }
},
"status": "AWAITING_PROVIDER_APPROVAL"
}
Deterministic checks
- The same criteria version against the same patient data always produces the same met, not met, and unknown results.
- A patient who opted out of research contact never appears on an outreach worklist or in a CDS card, in any study.
- Candidates for a study without current IRB approval or not open to enrollment are never created, and the public finder never lists it.
- Where provider approval is required,
PATCH /candidates/{id} to contacted without an approval returns 422.
- AI-assisted suggestions carry a model version and cited evidence, and remain suggestions until a coordinator confirms them.
- MUnit suites cover criteria evaluation including unknowns, contact gating, and study status changes.
Testing and validation
- Run the pre-screen for a study that finished enrolling and compare candidates to the patients actually enrolled; the enrolled patients should be on the list.
- Opt a test patient out of research contact and confirm they disappear from every worklist and card.
- Close a study in the CTMS and confirm it leaves the public finder and stops producing cards on the next sync.
- Amend a criterion and confirm candidates are re-evaluated under the new version.
Phased rollout
Phase 1 — Connect
- Sync the catalog, publish the public finder from it, and structure criteria for three high-priority studies.
Phase 2 — Map and validate
- Run nightly pre-screens and the coordinator worklist in parallel with current methods, and validate the contact gate with the clinical research office.
Phase 3 — Production
- Turn on CDS cards, provider approval, and enrollment write-back, then onboard studies by department.
Success metrics
- Studies meeting enrollment targets on time, and time from study activation to first enrollment.
- Candidates reviewed per enrollment — lower means better criteria.
- Share of enrollments that came from pre-screen or self-referral.
- Public finder listings that are recruitable — the target is 100%.
- Platform: nightly pre-screen duration and CDS Hooks response time.
Troubleshooting
- Coordinators ignore the worklist — Likely cause: criteria too broad, so the list is mostly noise. Fix: add the exclusions that cause most screen failures and re-rank.
- Clinicians report alert fatigue — Likely cause: cards for every study at every visit. Fix: show cards only in relevant clinics and suppress for patients already approached for that study.
- The public site lists a closed study — Likely cause: the finder was edited by hand or the CTMS status is stale. Fix: publish only from the catalog and alert the study team when CTMS status is out of date.
- Eligible patients excluded — Likely cause: missing data evaluated as not met. Fix: treat missing data as unknown and let the coordinator decide.