Verifiable AI-Built Clinical Data Infrastructure: A Gated Multi-Model Method and a VistA Case Study
This record holds two versions of one paper. The LONG version is the complete technical report, with one chapter per pipeline stage and Appendices A–F (exit codes, deviation registers, the reproduction procedure, verbatim verdicts with sources, and detailed stage-14 results). The SHORT version is the condensed methods paper. Both share the same text where they overlap. The software is held privately by EPS Research and is not deposited here. Context. AI models can write substantial software, but regulated health IT needs evidence of correctness that someone other than the builder can check. Method. We report a proof-of-concept study. A 14-stage clinical data pipeline for VA VistA data was built almost entirely by AI models under a gated process with four governance roles (implementer, architect-auditor, gate and human owner) and separate blind reviewers who hold no gate authority. Every check carries a label saying who performed it, and public claims are bound to written contracts. Results on synthetic records. The whole build took 32 calendar days. Thirteen stages qualified on synthetic records. Their operative qualification runs together passed 729 tests; all 128 seeded mutants of code and tests were killed; all 14 injected ledger faults failed closed. A procedurally blind oracle, frozen before the system ran, agreed on 197 of 201 cases and exposed a real defect in accepted code. After two authorized code fixes the frozen corpus scored 199 of 201; with two expectations then revised non-blind, the adjudicated corpus scored 201 of 201. Independent model reviewers raised ten findings the builder's tests had not caught: eight code or behaviour defects, one specification conflict and one evidence-provenance omission. Results on real VistA output. The fourteenth stage took the pipeline to 27 native messages from open-source VistA loaded with synthetic patients. The accepted HL7 adapter, whose profile supports only ORU^R01 lab results, correctly refused all 27; none was of that type. An additive native parser was measured against a method-independent database-read oracle: 236/238 directly comparable source-carried fields match literally (2 documented oracle-source/rendering discrepancies remain MISMATCH; 50 source omissions; 117 undetermined). Native ORU^R01 coverage 0; canonical events 0; authorized actions 0; no positive native full-chain path demonstrated. On 2026-12-02, Pooja Kiran, an EPS Research collaborator who had no role in TASK-014 design, implementation, oracle construction or G1–G4 review, reported independently executing the frozen TASK-014 reproduction kit on her own Ubuntu/WSL2 machine using CPython 3.12.3, with the expected SHA-256 supplied separately. Her signed human attestation records REPRODUCED (exit code 0, no differing digests, zero unexplained mismatches, zero adapter omissions). This establishes an independent human execution relative to the TASK-014 build, not institutional independence from EPS Research or external institutional endorsement. The electronic image signature is not cryptographic signer authentication. Reproduction is limited to the frozen-input, limited-scope TASK-014 measurement; it does not demonstrate a native ORU^R01 positive path, canonical events, authorized native actions, full-chain real-VistA validation, or VA production validation. Process. Per-ticket gates averaged about three calendar days per stage; a consolidated fast path built five stages in four days, with recorded losses of independence. The two phases also differed in tooling and task, so the difference is not attributed to gate consolidation alone. Limits. The pipeline is a qualified research proof of concept, not an operational platform. The work did not use VA production VistA or VA patient data, and it does not validate a native lab-result path through the full chain. AI use. The system and the manuscript were produced in a human-directed multi-model workflow, described in full in the Declarations section of each PDF. No AI system is an author.
Authors
- David Flynn (ORCID: https://orcid.org/0000-0002-2768-6650)
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-12-02
- DOI
- https://doi.org/10.5281/zenodo.24749088
- Primary Topic
- Safety Systems Engineering in Autonomy
- Type
- preprint