Skip to content

Instantly share code, notes, and snippets.

@bkaney
bkaney / vocab.md
Last active September 23, 2026 15:32

FHIR CPG concepts

The key distinction is between reusable clinical knowledge and patient-specific care.

Authored / Definitional

Concept Meaning FHIR Example
Practice Guideline Complete body of clinical guidance ImplementationGuide containing CPG artifacts Breast cancer guideline
Pathway Longitudinal organization of care across states or time

Pilot 01 findings — 2026-09-21

Jev looks promising for deciding which skill executions deserve review. This pilot found the same faulty cases as GPT-5.6 Luna at much lower adapter latency, but Jev was less precise about the defect category. The sample is small and deliberately simple; these results justify a more representative experiment.

The completed run report and machine-readable summary contain all metrics. The protocol and rerun instructions describe the frozen inputs,

Frontier-model delegation

When running as the largest frontier model (currently Sol), prioritize planning, orchestration, and verification over implementation.

For non-trivial work, delegate execution to Tera and Luna subagents, including repository exploration, coding, testing, debugging, research, and mechanical changes. Parallelize independent tasks when useful.

For trivial work, act directly when delegation would add more overhead than value.

Use Sol to decompose work, give subagents clear objectives and constraints, coordinate results, resolve difficult decisions, and verify the final result against the user's intent.

Clinical Knowledge Watch — August 28, 2026

This week has several unusually on-target items. The most important are a real hybrid CQL+LLM execution pattern over FHIR, a serious critique of agentic guideline development, and the publication of Common CQL Artifacts for FHIR 2.0.0. I did not find a comparably substantive new CRMI, CPG, or CDS Hooks release this week.

  1. LLM + CQL computable phenotypes: use the model to enrich FHIR, then let CQL decide — Accepted August 26, 2026 · Frontiers in Digital Health, peer-reviewed; final formatted publication pending. Article

This may be the most directly relevant paper to this watch so far. The investigators retrieved patient FHIR data for suspected post-vaccination myocarditis, converted it to narrative form for Llama 3.3 70B, asked the model structured Brighton Collaboration–based feature questions, and then **wrote the extracted answers back into the

DRAFT Proposed Jira Comments — CPG-on-FHIR Open Items

STATUS: DRAFT — NOT POSTED TO JIRA.

These are proposed comment texts for CGPMG/WG review and an official WG vote. Placeholders to fill in before posting:

  • <DATE> — the WG vote date
  • <Mover / Seconder> — the motion mover and seconder names
  • <A-N-A> — vote tally as Affirmative-Negative-Abstain (e.g., 20-0-0)
  • (Impact: ; Category: ; Version: ) — HL7 tracker metadata; fill per WG policy
# Multiple profiles in one pass (comma-separated)
bun run packages/fhir-ts-codegen/src/cli.ts \
--package hl7.fhir.r4.core \
--package-version 4.0.1 \
--fhir-version r4 \
--emit zod \
--profiles "http://hl7.org/fhir/StructureDefinition/bp,http://hl7.org/fhir/StructureDefinition/bodyweight" \
--out ./r4-vitals.ts
{
"resourceType": "ValueSet",
"id": "1105456d-00a8-4fb4-9e6c-ce29158d8dd7",
"url": "http://example.org/fhir/ValueSet/hypertensive-disorder",
"version": "1.0.0",
"name": "HypertensiveDisorder",
"title": "Hypertensive Disorder",
"status": "draft",
"experimental": true,
"date": "2026-05-14",

CRMI-IG Syndication vs. fhir-syndication-ig: Gap, Similarity & Alignment Report

Generated: 2026-05-08
CRMI source: /Users/bkaney/projects/hl7/crmi-ig — input/pages/distribution.md, input/pages/artifact-signing.md
Reference: https://github.com/FHIR/fhir-syndication-ig


Executive Summary

@bkaney
bkaney / pi-managed-bin-install-approval.patch
Created May 1, 2026 22:10
Pi managed tool install prompt proposal and patch
--- /tmp/pi-tools-manager.js.orig 2026-05-01 18:06:05
+++ /Users/bkaney/.bun/install/global/node_modules/@mariozechner/pi-coding-agent/dist/utils/tools-manager.js 2026-05-01 18:06:27
@@ -4,6 +4,7 @@
import { chmodSync, createWriteStream, existsSync, mkdirSync, readdirSync, renameSync, rmSync } from "fs";
import { arch, platform } from "os";
import { join } from "path";
+import { createInterface } from "node:readline/promises";
import { Readable } from "stream";
import { pipeline } from "stream/promises";
import { APP_NAME, getBinDir } from "../config.js";

Review: BP-2026-03-quantity-preview Spec Branch

Analysis of the proposed quantity handling changes in HL7/FHIRPath branch BP-2026-03-quantity-preview, from the perspective of our Rust FHIRPath engine.


What We Think is Right

The bulk of the proposal is long overdue and we support it: