Product Wiki5 min read

Editable .md Clinical Skills & 'CI for .md'

Author hospital, department, and payer coding SOPs in structured Markdown with SHA-256 rollback and automated F1 regression gating.

4-Tier Hierarchical Precedence

Deterministic Merge
  • 1. skills/global/*.md — Official CMS ICD-10-CM rules, combination codes, diabetes & injury guidelines (lowest override).
  • 2. skills/client/*.md — Health-system or coding-agency organization policies.
  • 3. skills/department/*.md — Specialty SOPs (radiology, inpatient_medicine, emergency_dept).
  • 4. skills/insurer/*.md — Payer-specific edits (medicare_cms, commercial payers — highest override).
Skill Precedence Cascade (Lowest → Highest Override)
1. global/*.md
Official CMS Base
Precedence Layer 1
2. client/*.md
Health System Policy
Precedence Layer 2
3. department/*.md
Specialty Guidelines
Precedence Layer 3
4. insurer/*.md
Payer Edits (Winner)
Precedence Layer 4

Strict YAML Frontmatter + Markdown Format

  • Every skill declares name, scope, priority, applies_to_stages, triggers, encounter_types, and deterministic hard_rules.
  • Live schema validation flags syntax errors before save.
  • Every publish writes an immutable SHA-256 snapshot in skill_versions and atomically invalidates stale chart caches.
skills/department/radiology.md
markdown
---
name: radiology
scope: department
priority: 70
applies_to_stages:
  - problem_extraction
  - attribute_enrichment
  - code_selection
  - post_extraction
triggers: [xr, ct, mri, impression]
encounter_types: [outpatient, emergency, inpatient]
hard_rules:
  code_uncertain_outpatient: false
  exclude_benign_incidentalomas: true
  suppress_redundant_symptoms: true
---

# Radiology Coding Rules
- Always inspect the exam header (e.g., `XR WRIST RIGHT`) when laterality is omitted in the Impression.
- Do not code benign simple incidental findings requiring no clinical follow-up.

Running 'CI for .md' Before Publishing

  • Edit any .md skill as a Draft — live production coding remains completely unaffected.
  • Pick any ground-truth Regression Dataset and click Run `.md` CI Benchmark (POST /api/v1/skills/eval).
  • Inspect side-by-side Δ Micro-F1, Δ Exact Match, and Δ CC/HCC Recall.
  • Publish only when the gate reads `SAFE TO PUBLISH`; roll back to any prior SHA-256 commit in one click.
VISUAL WALKTHROUGH · 03:55

Video Demo: Authoring a Payer Rule & Running Automated 'CI for .md' Gating

  • • Editing hard_rules & YAML triggers with live validation
  • • Comparing Draft vs Production F1 deltas on 150 charts
  • • 1-click publish & instant SHA-256 version diff/rollback
Request Interactive Sandbox