PFA · July – September 2026 · Team of 3

AI-powered credentialing platform and document extraction

Contributed to rebuilding a credentialing platform for US medical practices, with an AI document-analysis pipeline under human review.

Next.jsTypeScriptTailwind CSSSupabasePostgreSQLZodHugging Face TransformersPEFT / LoRATRL

Context & contribution

Healthcare professionals must be credentialed with each insurer, while licenses, certifications and attestations expire. Tracking renewals and manually entering information from scans or photos takes time and can lead to errors.

My contribution: front-end design and implementation, reusable components and portal interfaces; participation in document-extraction experiments and LoRA fine-tuning. Work completed as part of a three-person team.

Document workflow architecture

Document workflow architecture: AI-powered credentialing platform and document extractionFront end → API → Data → Workflow → AI extraction → Operations01Front end02API03Data04Workflow05AI extraction06Operations
Document workflow architecture: AI-powered credentialing platform and document extraction
  1. 01

    Front end

    Next.js App Router, strict TypeScript, Tailwind and shared Zod validation

  2. 02

    API

    Each route: authentication → validation (Zod) → practice scope → audit log

  3. 03

    Data

    Supabase PostgreSQL with Row-Level Security, private storage and short-lived signed URLs

  4. 04

    Workflow

    12-state credentialing cycle per provider and insurer, with SQL-enforced transitions

  5. 05

    AI extraction

    Specialized model → JSON and OCR evidence → verification model → human review

  6. 06

    Operations

    Vercel, Upstash Redis rate limiting, scheduled expiry alerts, Resend and Twilio

The platform was rebuilt with Next.js and Supabase, practice-level data isolation, a 12-state credentialing workflow enforced by the database, and an audit trail. The document pipeline extracts structured fields and OCR evidence, verifies them, then requires human approval before saving.

Evaluation methodology

Protocol
Comparison of 4 vision-language models
Measure
~0.94 field recall
Context
Clean scans · 180 observations per model
Protocol
Qwen3-1.7B + LoRA fine-tuning
Measure
100% valid JSON (60/60); 87% correct fields (124/143)
Context
Public CORD dataset · no real patient data
Protocol
Qwen3-1.7B + LoRA fine-tuning
Measure
3.3 GB peak VRAM
Context
Tesla T4 GPU
Protocol
Role-based access checks
Measure
6 / 6 roles passed
Context
Access tests

These results come from different protocols and evaluation sets: the ~0.94 recall is from clean scans in the model benchmark; the correct-field rate was measured on CORD after fine-tuning. They are not directly comparable.

The model-by-model benchmark and LoRA training-curve data were not provided for publication; no individual score or plot has been extrapolated.

Decisions, limitations & lessons

  • Keep human validation before saving: automated extraction assists the workflow; it does not replace review.
  • Use only CORD, a public dataset, to report extraction results; no real health data is published.
  • Recall measured on clean scans does not necessarily represent robustness on photos or degraded documents.
  • Available figures are insufficient to compare all four models without individual scores and a shared, complete protocol.
  • The dashboard screenshot remains hidden until explicit publication permission and confirmation that it contains no real data.