Runtime AI
L12 · Phase R3Every clinical-note structuring decision ClinicLens makes goes through the substrate's runConstrainedAI SDK. Reviewer gate: always-human — every output queues for clinician sign-off before entering the patient record. Patient identifier + note text are hash-only redacted in L12: the chain proves an AI decision happened on input X without storing X.
L12 entries
10
Chain breaks
0 · ever
Schema-valid
80%
p95 latency
412ms
Reviewer-gated
10 / 10
Fallback triggered
2 / 10
Head hash
fe107dea6fe520f5…
RuntimeAISpec
ClinicLens clinical-note structurer
Structure a free-text consultation note into SOAP format with closed-enum severity + suggested follow-up. Reviewer-gated to clinician sign-off; every decision recorded in L12. HIPAA + EU MDR + EU AI Act Annex III §5 anchored.
extractoralways-humanqueue-for-review6000msanthropic / claude-sonnet-4-5-202509292026-05-01Input schema
patientIdHash·stringhash-onlyclinicianRoleCode·enum·{ gp | specialist | nurse-practitioner | physician-assistant | resident }visitType·enum·{ routine | urgent-care | emergency | telehealth | follow-up | preventive }noteText·stringhash-onlypatientAgeBracket·enum·{ 0-2 | 3-12 | 13-17 | 18-64 | 65-plus }hasFlagsAllergiesMeds·boolean
Output schema (closed-enum)
subjective·stringobjective·stringassessmentTopICD10·enum·{ R10 | J06 | I10 | E11 | K59 | M54 | F32 | N39 | L29 | R51 | other }severity·enum·{ routine | urgent | emergent }suggestedFollowUp·enum·{ routine-followup-2w | routine-followup-6w | specialist-referral | imaging-request | bloodwork | pharmacy-review | no-followup-needed | clinician-discretion }redFlagBrief·string
Regulatory anchors
L12 chain — every decision, clinician-signed
10 entries · head fe107dea6fe5…| # | Recorded | Latency | Schema | Reviewer | Fallback | Hash |
|---|---|---|---|---|---|---|
| 1 | 2025-05-12 11:30:00 | 412ms | valid | approved | — | ce09599321… |
| 2 | 2025-05-12 11:30:01 | 326ms | valid | approved | — | 377712b461… |
| 3 | 2025-05-12 11:30:02 | 287ms | valid | approved | — | 57ac7d2069… |
| 4 | 2025-05-12 11:30:03 | 358ms | valid | amended | — | c5b234bad8… |
| 5 | 2025-05-12 11:30:04 | 298ms | valid | approved | — | 58da7c04e5… |
| 6 | 2025-05-12 11:30:05 | 372ms | valid | approved | — | a3ffac11cf… |
| 7 | 2025-05-12 11:30:06 | 312ms | valid | rejected | — | 402d8d42b0… |
| 8 | 2025-05-12 11:30:07 | 0ms | violation | amended | fallback | 077987237f… |
| 9 | 2025-05-12 11:30:08 | 271ms | valid | approved | — | e1224bdcd5… |
| 10 | 2025-05-12 11:30:09 | 0ms | violation | approved | fallback | fe107dea6f… |
Verify the chain yourself
Download at /cliniclens-runtime-ai-receipts.jsonl — the exact bytes the substrate seed produced. Verify with substrate's runnable bundle:
$ npm run substrate:verify-runtime-ai -- cliniclens-runtime-ai-receipts.jsonl Promethean L12 Runtime-AI Receipt Log ===================================== schema: promethean-runtime-ai-receipt-log-1.0 total entries: 10 products observed: cliniclens specs observed: cliniclens-note-structurer schema violations: 2 ← (out-of-enum ICD-10, both reviewer-amended) fallback triggered: 2 ← (1 schema-violation, 1 LLM-error → queue-for-review) reviewer-gated: 10 ← (always-human gate engages every decision) valid: true fully verified: 10 / 10
Want this for your hospital · clinic · pharma?
Enterprise tier · €2,499/mo · self-serviceThis live L12 chain is a reference deployment for healthcare. Your team can have the same shape — your closed-enum spec, always-human reviewer gate, signed chain — for your clinical AI feature against HIPAA + MDR + EU AI Act Annex III §5(c). The pilot is fixed scope, fixed price, fixed timeline. Pre-registered falsifiable hypotheses. 50% money-back if the T+90d verdict misses.