Skill-Guided Coding · CI for .md

Hospital & Payer SOPs in Plain Markdown — Tested Like Production Code.

Stop waiting months for vendor professional services to adjust a radiology laterality policy or Medicare Advantage edit. Your HIM educators edit `.md` skills directly and verify exact Micro-F1 and CC/HCC deltas before publishing.

4-Tier Precedence + Automated Regression Gate

Simulate a Policy Change with Built-In 'CI for .md'

Toggle between a verified policy improvement and an unsafe outpatient uncertainty edit to see how Atreya-MD blocks regressions automatically.

1 · Lowest Priority
skills/global/*.md
Global CMS Guidelines

Official ICD-10-CM combo rules, diabetes complications, injury 7th characters.

2
skills/client/*.md
Health System / Agency Policy

Organization-wide documentation & clinical query standards.

3
skills/department/*.md
Department / Specialty SOP

Radiology header laterality, Inpatient UHDDS, Emergency Dept, Cardiology.

4 · Highest Override
skills/insurer/*.md
Payer / Insurer Rules

Medicare CMS, Medicare Advantage MEAT edits, commercial LCD/NCD overrides.

Interactive “CI for .md” Regression Gate Simulator
skills/department/radiology.mdsha256:7d41b9e2a8c0
---
name: radiology
scope: department
priority: 70
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 (Draft v14)
- Always inspect the exam header (e.g. `XR WRIST RIGHT`) when laterality is omitted in Impression.
- Do not code benign simple incidental findings requiring no follow-up (e.g., bone islands, simple renal cysts).
Draft vs Production CI ReportSAFE TO PUBLISH
Δ Micro-F1
+3.8%
91.4% → 95.2%
Δ Exact Match
+5.2%
Chart-level
Δ CC/HCC
+1.1%
Recall

Evaluated against 250-chart Radiology Gold Dataset: 14 unspecified laterality errors resolved, 11 benign incidentaloma false positives eliminated, zero regressions.

Publishing atomically records an immutable SHA-256 version snapshot and invalidates stale cached chart predictions.

Live Schema Validation

  • Validates clinical rule triggers, scopes, encounter types, and deterministic rules before save.
  • Prevents formatting mistakes from ever entering active ICD-10-CM runs.

Immutable SHA-256 History & Rollback

  • Every publish records an immutable cryptographic version snapshot for full auditability.
  • Atomically invalidates cached chart results tied to superseded rule bundles.

Unified Diff & Editable Gold Datasets

  • Inspect line-by-line unified diffs between any two skill versions.
  • Maintain editable CSV/Parquet ground-truth suites directly inside the appliance UI.