Logotipo de Claims Billing Rules

Claims Billing Rules

Organización
awslabs
claims-billing-rules

Reasoning skill for healthcare claims billing rules and fraud detection logic. Use when the user asks about CMS billing rules, place of service codes, global surgery periods, modifier usage (25 59 76 77), NCCI edit logic, column 1 column 2 code pairs, mutually exclusive procedures, modifier indicators, fraud waste and abuse patterns, E&M upcoding, unbundling, phantom billing, impossible day detection, coding error versus fraud distinction, FWA investigation methodology, or claims audit logic. Triggers include "CMS billing rules", "NCCI edits", "modifier 25", "modifier 59", "global surgery period", "upcoding", "unbundling", "phantom billing", "impossible day", "FWA", "fraud waste abuse", "coding error vs fraud", "claims audit", "billing compliance", "E&M level selection".

Add to TypingMind

Descripción general

Editorawslabs
Repositoriohcls-agent-skills
Nombre de la habilidadclaims-billing-rules
Estrellas
71
Forks
14
Archivos incluidos
Solo instrucciones
LicenciaMIT-0
Enlaces
  • Instrucciones en Markdown

    Un archivo SKILL.md que el modelo carga cuando lo necesita, de modo que solo consume tokens cuando la petición encaja con la habilidad.

  • Funciona con cualquier LLM

    Las habilidades de IA están en Markdown, no en código específico de un proveedor, por lo que funcionan con GPT, Claude, Gemini, Grok o un modelo local.

  • Todo en las instrucciones

    Todo lo que necesita el modelo está en las instrucciones: no hay archivos adicionales que sincronizar.

  • Código abierto

    Publicada por awslabs en GitHub. Revisa el contenido original antes de instalarla.

Instalación

Instala la habilidad de IA Claims Billing Rules en TypingMind para usarla con cualquier LLM, o añádela a otro agente que lea SKILL.md.

1

Instalar en TypingMind

TypingMind instala una habilidad directamente desde su carpeta de GitHub: lee SKILL.md, empaqueta los archivos de recursos y guarda el resultado localmente.

  1. Abre la aplicación y ve a Plugins → Habilidades.
  2. Elige «Instalar desde GitHub».
  3. Pega la URL de la carpeta de la habilidad que se muestra a continuación y confirma.
    https://github.com/awslabs/hcls-agent-skills/tree/main/skills/claims-billing-rules
  4. Activa la habilidad en cada chat en el que quieras tenerla disponible.
Plugins → Habilidades → Añadir habilidad → URL de GitHub; después, pega la URL de la carpeta y pulsa Continuar.
2

Instalar en otro agente

Cualquier agente que lea el formato Agent Skills puede usar esta habilidad: copia la carpeta en el directorio de habilidades de ese agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/awslabs/hcls-agent-skills.git /tmp/hcls-agent-skills
mkdir -p .claude/skills
cp -r /tmp/hcls-agent-skills/skills/claims-billing-rules .claude/skills/claims-billing-rules
Reinicia Claude Code después de copiarla para que detecte la nueva habilidad.

Úsala en TypingMind

Activa Claims Billing Rules en cualquier chat de TypingMind y el modelo se encargará del resto. Su nombre y descripción se incluyen en el prompt del sistema y, en cuanto una petición encaja con la habilidad, el modelo carga las instrucciones completas por sí solo. No tienes que invocarla manualmente y no consume tokens hasta que se utiliza.

El modelo carga Claims Billing Rules automáticamente en cuanto una petición es relevante para esa habilidad.

Funciona con cualquier modelo de IA

Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que Claims Billing Rules no está vinculada al modelo para el que se creó. Instálala una sola vez en TypingMind y úsala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modelo local que ejecutes tú, todo con tus propias claves API.

  • Se carga solo cuando se necesita

    El prompt del sistema solo incluye el nombre y la descripción. Las instrucciones se cargan con la primera petición que encaja con la habilidad, por lo que una habilidad que no se usa no supone ningún coste.

  • Cambia de modelo durante el chat

    Como la habilidad contiene instrucciones y no código, cambiar de modelo no impide que funcione: el nuevo modelo lee el mismo archivo SKILL.md.

Instrucciones de la habilidad

Este es el contenido de SKILL.md que carga el modelo. Léelo antes de instalar la habilidad: contiene instrucciones que tu modelo seguirá.

Claims Billing Rules — Reasoning Skill

Overview

Guide the agent through CMS billing rules, NCCI edit logic, and fraud/waste/abuse (FWA) detection patterns. This skill encodes regulatory knowledge and decision frameworks for claims analysis, audit, and compliance review.

Usage

  • Invoke when reasoning about CMS billing compliance or modifier usage
  • Use for NCCI edit logic, global surgery period rules, or FWA detection patterns
  • Activate for claims audit methodology or coding error vs fraud distinction

Core Concepts

Response Format

  • Lead with the direct recommendation or classification (≤3 sentences)
  • Structure as: recommendation → justification (citing specific criteria/thresholds) → caveats
  • Use tables for comparisons; bullet points for criteria lists
  • Omit background the user already knows — they asked the question
  • Target: 200-400 words unless the user requests exhaustive detail

The decision trees, detection methodologies, and audit protocols in this skill are for internal reasoning only. Apply them to reach your conclusion, but do not reproduce them in your response. Never show the tree traversal, step-by-step audit walkthrough, or self-corrections. Present only the final determination with supporting evidence.

1. CMS Billing Fundamentals

Place of Service (POS) Codes

POS CodeDescriptionPayment Impact
11OfficeStandard physician fee schedule
21Inpatient HospitalFacility rate (lower physician payment)
22On Campus — Outpatient HospitalFacility rate
23Emergency Room — HospitalFacility rate + ED differential
31Skilled Nursing FacilitySNF rate
81Independent LaboratoryLab fee schedule
02Telehealth (other than patient home)Telehealth rate
10Telehealth — Patient HomeTelehealth rate

Rule: The same CPT code paid at facility POS (21, 22, 23) yields a LOWER physician payment than at non-facility POS (11) because the facility bears overhead costs. Billing a facility service under POS 11 is a common upcoding pattern.

Global Surgery Periods

PeriodDescriptionIncluded Services
0-dayMinor procedureOnly the procedure day; pre/post visits billable separately
10-dayMinor procedure with follow-upProcedure day + 10 days post-op visits included
90-dayMajor procedure1 day pre-op + procedure day + 90 days post-op included
XXXGlobal concept does not applyE&M, lab, radiology — no global period
YYYCarrier determinesUnlisted procedures

Rules:

  1. Services within the global period are NOT separately billable unless a qualifying modifier is used.
  2. Modifier 24 (unrelated E&M during post-op period) allows separate billing for a DIFFERENT diagnosis.
  3. Modifier 78 (return to OR for related complication) allows separate billing during global period.
  4. Modifier 79 (unrelated procedure during post-op period) allows separate billing.

Modifier Usage Decision Tree

Is the service within a global surgery period?
 ├─ YES
 │   ├─ Unrelated E&M visit? → Modifier 24 (must have different diagnosis)
 │   ├─ Return to OR for complication? → Modifier 78
 │   ├─ Unrelated procedure? → Modifier 79
 │   └─ Staged procedure? → Modifier 58
 └─ NO
     ├─ Significant, separately identifiable E&M on same day as procedure?
     │   └─ → Modifier 25 (documentation must support separate E&M)
     ├─ Distinct procedural service (different site, organ, or incision)?
     │   └─ → Modifier 59 or XE/XS/XP/XU (NCCI-associated)
     ├─ Repeat procedure by same physician, same day?
     │   └─ → Modifier 76
     └─ Repeat procedure by different physician, same day?
         └─ → Modifier 77

Key Modifier Reference

ModifierNameWhen to UseAbuse Risk
25Significant, Separately Identifiable E&ME&M + procedure same dayHIGH — most abused modifier
59Distinct Procedural ServiceBypass NCCI edit for truly distinct servicesHIGH — used to unbundle
76Repeat Procedure, Same PhysicianSame procedure repeated same dayMEDIUM
77Repeat Procedure, Different PhysicianSame procedure by different provider same dayMEDIUM
24Unrelated E&M During Post-OpE&M for different condition in global periodMEDIUM
78Unrelated Procedure During Post-OpReturn to OR for complicationLOW
79Unrelated Procedure During Post-OpDifferent procedure in global periodLOW
22Increased Procedural ServicesSubstantially greater effortMEDIUM — subjective

2. NCCI Edit Logic

Overview

The National Correct Coding Initiative (NCCI) defines code pair edits that prevent improper payment for services that should not be billed together.

Edit Types

Edit TypeDescriptionExample
Column 1 / Column 2Column 2 code is a component of Column 1 code; Column 2 is denied43239 (upper GI with biopsy) includes 43235 (upper GI diagnostic)
Mutually ExclusiveTwo procedures that cannot reasonably be performed togetherTwo different approaches to the same anatomical site
Medically Unlikely Edits (MUE)Maximum units of service per line per dayMost E&M codes: MUE = 1

NCCI Modifier Indicators

IndicatorMeaningAction
0Modifier NOT allowed to bypass editClaim MUST be denied if both codes billed
1Modifier allowed to bypass editModifier 59/XE/XS/XP/XU may override if clinically appropriate
9Not applicableEdit does not apply

NCCI Edit Resolution Decision Tree

Are both codes on the same claim, same date of service, same provider?
 ├─ NO → No NCCI edit applies
 └─ YES
     ├─ Is the code pair in the NCCI edit table?
     │   ├─ NO → Both codes payable
     │   └─ YES
     │       ├─ Modifier indicator = 0?
     │       │   └─ Column 2 code DENIED. No override possible.
     │       ├─ Modifier indicator = 1?
     │       │   ├─ Is modifier 59/XE/XS/XP/XU present on Column 2 code?
     │       │   │   ├─ YES → Is the modifier clinically justified?
     │       │   │   │   ├─ YES → Both codes payable
     │       │   │   │   └─ NO → Flag for audit
     │       │   │   └─ NO → Column 2 code DENIED
     │       │   └─ (end)
     │       └─ Check MUE for each code
     │           └─ Units exceed MUE? → Excess units DENIED
     └─ (end)

Common NCCI Edit Scenarios

ScenarioColumn 1Column 2Rule
Comprehensive + component lab80053 (CMP)80048 (BMP)BMP is subset of CMP; deny 80048
Surgical package27447 (TKA)27331 (arthrotomy knee)Arthrotomy included in TKA
E&M + minor procedure9921311102 (skin biopsy)Modifier 25 required on E&M
Bilateral procedure27447-RT27447-LTNot an NCCI edit; use modifier 50 or RT/LT

3. Fraud, Waste, and Abuse (FWA) Patterns

Pattern Taxonomy

PatternCategoryDescriptionDetection Signal
E&M UpcodingFraud/AbuseSystematically billing higher E&M levels than documentedProvider's E&M distribution skewed vs specialty peers
UnbundlingFraud/AbuseBilling component codes separately instead of comprehensive codeFrequent Column 2 codes with modifier 59
Phantom BillingFraudBilling for services not renderedClaims on dates patient was not present (cross-ref with other data)
Impossible DayFraud>24 hours of time-based services in one daySum of time-based codes × minutes > 1440 per provider per day
Duplicate BillingWaste/ErrorSame service billed twiceExact match on provider, patient, date, CPT
Upcoding POSFraud/AbuseBilling non-facility POS for facility-based servicesPOS 11 for services rendered at POS 22
Modifier AbuseFraud/AbuseAppending modifiers to bypass edits without clinical justificationHigh modifier 59 usage rate vs peers
Balance BillingFraudBilling patient for amounts beyond allowed amountPatient complaints, EOB analysis

E&M Upcoding Detection

Expected E&M Distribution (Office Visits, General Internal Medicine)
E&M CodeExpected % RangeRed Flag If
992111–5%>10% (possible downcoding to avoid scrutiny)
992125–15%<2%
9921330–50%<15%
9921425–40%>55%
992155–15%>30%

Detection methodology:

  1. Calculate provider's E&M code distribution.
  2. Compare to specialty-specific peer benchmarks.
  3. Compute chi-squared statistic or z-score per code level.
  4. Flag providers with z-score > 2.0 for 99214/99215 combined.
  5. Validate with documentation audit (medical necessity for level billed).

Unbundling Detection

Signals:

  1. Provider bills Column 2 codes at rate >2× specialty average.
  2. Modifier 59 usage rate >15% of procedure claims (specialty-dependent threshold).
  3. Specific code pairs appear together repeatedly (e.g., always billing 76000 with 20610).

Decision tree:

Does the provider bill NCCI Column 2 codes at >2× peer rate?
 ├─ NO → Low risk
 └─ YES
     ├─ Is modifier 59 present on most Column 2 claims?
     │   ├─ YES → Review documentation for distinct service justification
     │   └─ NO → Claims should have been denied by NCCI edits (payer system issue)
     └─ Are the same code pairs repeated across many patients?
         ├─ YES → Systematic unbundling pattern → escalate to SIU
         └─ NO → Possible isolated coding errors → education

Impossible Day Detection

Rules:

  1. Sum all time-based service minutes per provider per calendar day.
  2. Flag if total > 1,440 minutes (24 hours).
  3. For non-time-based services, use CMS time estimates per CPT code.
  4. Account for legitimate scenarios: provider working across midnight, multiple locations.

Phantom Billing Detection

Cross-reference data sources:

  • Patient check-in/check-out logs
  • EHR access logs (was the chart opened on the service date?)
  • Badge/swipe data (was the provider in the building?)
  • Prescription records (was a prescription written on the service date?)
  • Other claims (was the patient at a different facility on the same date?)

4. Coding Error vs Fraud Distinction

Decision Framework

CharacteristicCoding ErrorFraud
DistributionRandom across codes and patientsSystematic pattern by provider or group
DirectionalityBoth upcoding and downcoding presentConsistently in direction of higher payment
Response to educationImproves after trainingPersists or shifts to different pattern
DocumentationPresent but miscodedMissing, cloned, or fabricated
VolumeSporadicHigh volume, consistent over time
Financial impactVariable, often small per claimLarge aggregate impact

Escalation Decision Tree

Is the pattern systematic (same direction, same codes, over time)?
 ├─ NO
 │   ├─ Is the error rate >5% of claims?
 │   │   ├─ YES → Coding education + re-audit in 90 days
 │   │   └─ NO → Normal error rate; no action needed
 │   └─ (end)
 └─ YES
     ├─ Does the pattern consistently increase payment?
     │   ├─ NO → Systematic coding error → education + process review
     │   └─ YES
     │       ├─ Is documentation present and supports the billed code?
     │       │   ├─ YES → Possible abuse (aggressive but documented coding)
     │       │   │         → Medical director review
     │       │   └─ NO → Probable fraud
     │       │           → Refer to Special Investigations Unit (SIU)
     │       └─ (end)
     └─ (end)

Statistical Tests for Pattern Detection

TestPurposeThreshold
Chi-squaredCompare provider code distribution to peersp < 0.01
Z-score per codeIdentify specific codes that are outliers|z| > 2.0
Benford's LawDetect fabricated charge amountsFirst-digit distribution deviates from expected
Time seriesDetect sudden shifts in billing patternsChange point detection (e.g., CUSUM)
ClusteringGroup providers by billing behaviorOutlier clusters warrant review

When NOT to Use This Skill

  • Clinical coding (assigning ICD-10 diagnosis codes from chart notes) — use clinical-data-standards skill instead
  • Patient billing disputes or EOB interpretation — this skill covers payer/provider compliance, not consumer advocacy
  • Pharmacy benefit or Part D claims — this skill covers professional (Part B) and facility claims only

When to Escalate to Human Expert

  • Potential fraud referral to OIG or law enforcement — requires legal counsel and SIU protocol, not algorithmic determination
  • Provider appeals involving medical necessity peer-to-peer review — requires clinical judgment from a licensed physician
  • State-specific Medicaid billing rules that override federal CMS policy — requires jurisdiction-specific compliance expertise

5. Common Billing Compliance Mistakes

  1. Wrong: Billing E&M with a procedure on the same day without modifier 25 Right: Add modifier 25 to the E&M code and ensure documentation supports a significant, separately identifiable service Why: Without modifier 25, the claim is denied or the E&M is not paid

  2. Wrong: Using modifier 59 to bypass NCCI edits without supporting documentation Right: Document the distinct anatomical site, separate encounter, or different organ system justifying the modifier Why: Undocumented modifier 59 usage creates audit liability and potential fraud allegations

  3. Wrong: Billing services separately during a global surgery period without qualifying modifiers Right: Check the procedure's global period before billing; use modifiers 24/78/79 only when clinically appropriate Why: Services within the global period are included in the surgical package and are not separately payable

  4. Wrong: Submitting an incorrect Place of Service (POS) code Right: Verify where the service was actually rendered and use the corresponding POS code Why: Incorrect POS causes overpayment or underpayment and triggers audit flags

  5. Wrong: Billing for an assistant surgeon without modifier 80 or 82 Right: Append the appropriate assistant surgeon modifier (80 for physician, 82 for non-physician) Why: Claims without the required modifier are denied

  6. Wrong: Submitting claims without checking NCCI edit tables for code pair conflicts Right: Validate all code pairs against current quarterly NCCI tables before submission Why: NCCI violations cause preventable denials that delay payment

  7. Wrong: Cloning documentation across multiple visits with identical notes Right: Ensure each note reflects the specific encounter with unique clinical details Why: Identical notes across visits suggest fraud and put all associated claims at risk of recoupment


6. Audit Methodology

Pre-Audit Analysis

  1. Identify target: Provider, facility, or code pattern flagged by analytics.
  2. Pull claims data: 12-month window minimum; include all CPT, diagnosis, modifier, and payment data.
  3. Benchmark: Compare to specialty peers (same specialty, same region, same payer mix).
  4. Statistical screening: Apply tests from Section 4 to confirm pattern.

Chart Review Protocol

  1. Sample selection: Random sample of flagged claims (minimum 30 claims for statistical validity).
  2. Review criteria: Does the documentation support the billed code level?
  3. Scoring: For each claim, determine the correct code based on documentation.
  4. Error rate calculation: (incorrect claims / total reviewed) × 100.
  5. Extrapolation: If error rate >5%, extrapolate overpayment to full claim population.

Audit Outcome Actions

Error RateClassificationAction
0–5%AcceptableNo action; routine monitoring
5–15%ElevatedEducation, corrective action plan, re-audit in 6 months
15–30%SignificantPrepayment review, repayment demand, compliance agreement
>30%CriticalSIU referral, potential exclusion, law enforcement referral

7. Regulatory Reference

RegulationScopeKey Requirement
False Claims Act (31 USC §3729)FederalKnowingly submitting false claims; treble damages + per-claim penalty
Anti-Kickback Statute (42 USC §1320a-7b)FederalProhibits payment for referrals; safe harbors exist
Stark Law (42 USC §1395nn)FederalProhibits physician self-referral for designated health services
NCCI (CMS)FederalCode pair edits; updated quarterly
OIG Work PlanFederalAnnual focus areas for audits and investigations
State FWA lawsState-specificVary by state; may have lower intent thresholds

8. Glossary

TermDefinition
CPTCurrent Procedural Terminology — procedure codes maintained by AMA
ICD-10-CMInternational Classification of Diseases, 10th Revision, Clinical Modification — diagnosis codes
HCPCSHealthcare Common Procedure Coding System — Level II codes for supplies, DME
NCCINational Correct Coding Initiative — CMS code pair edit system
MUEMedically Unlikely Edit — maximum units per line per day
E&MEvaluation and Management — office visit codes (99202–99215)
POSPlace of Service — two-digit code indicating where service was rendered
SIUSpecial Investigations Unit — payer fraud investigation team
FWAFraud, Waste, and Abuse
EOBExplanation of Benefits — document sent to patient showing claim adjudication
RAFRisk Adjustment Factor — see risk-adjustment-strategy skill

Preguntas frecuentes

¿Qué hace la habilidad de IA Claims Billing Rules?

Reasoning skill for healthcare claims billing rules and fraud detection logic. Use when the user asks about CMS billing rules, place of service codes, global surgery periods, modifier usage (25 59 76 77), NCCI edit logic, column 1 column 2 code pairs, mutually exclusive procedures, modifier indicators, fraud waste and abuse patterns, E&M upcoding, unbundling, phantom billing, impossible day detection, coding error versus fraud distinction, FWA investigation methodology, or claims audit logic. Triggers include "CMS billing rules", "NCCI edits", "modifier 25", "modifier 59", "global surgery p...

¿Por qué usar Claims Billing Rules en TypingMind?

Porque la instalas una vez y la usas con cualquier modelo. Claims Billing Rules está escrita en Markdown, no en código específico de un proveedor, por lo que la misma habilidad funciona con GPT-5, Claude, Gemini, Grok o un modelo local, y puedes cambiar de modelo en mitad del chat sin que deje de funcionar. TypingMind utiliza tus propias claves API, de modo que pagas directamente a los proveedores en lugar de pagar una suscripción por puesto, y tus habilidades y chats permanecen en tu propio almacenamiento.

¿Cómo instalo Claims Billing Rules en TypingMind?

Abre Plugins → Habilidades → Instalar desde GitHub en TypingMind y pega https://github.com/awslabs/hcls-agent-skills/tree/main/skills/claims-billing-rules. TypingMind lee el archivo SKILL.md de esa carpeta e instala su contenido como una habilidad que puedes activar en cada chat.

¿Qué modelos de IA pueden usar Claims Billing Rules?

Cualquier modelo que conectes en TypingMind. Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que GPT, Claude, Gemini, Grok y los modelos locales pueden cargar esta habilidad cuando una solicitud se corresponda con ella.

¿Con cuántos modelos de IA puedo usar Claims Billing Rules?

Con tantos como quieras. Siempre que un modelo admita habilidades, puedes usar Claims Billing Rules con él: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama y muchos más, todos en TypingMind con tus propias claves API.

¿Es gratuita la habilidad de IA Claims Billing Rules?

Sí. awslabs la ha publicado en GitHub bajo la licencia MIT-0. Solo pagas a tu proveedor de IA por los tokens que utilizas.

¿Qué son las habilidades de IA?

Una habilidad de IA es un conjunto de instrucciones reutilizables que enseña a un modelo de IA a realizar una tarea concreta. Sigue el formato abierto Agent Skills: un archivo SKILL.md con un nombre y una descripción, además de los scripts, plantillas o archivos de referencia que pueda necesitar el modelo. El modelo solo lee las instrucciones cuando tu solicitud se corresponde con la habilidad, por lo que una habilidad instalada no supone ningún coste hasta que se utiliza.

¿En qué se diferencian las habilidades de IA de los plugins o los servidores MCP?

Un plugin o un servidor MCP proporciona al modelo nuevas herramientas que puede invocar: código que se ejecuta en algún lugar y devuelve un resultado. En cambio, una habilidad de IA aporta conocimientos y procedimientos al modelo: cómo abordar una tarea, qué pasos seguir y qué se considera un buen resultado. Las habilidades son instrucciones en Markdown, por lo que no necesitan servidor, clave API ni entorno de ejecución, y funcionan con cualquier modelo.

Ver el directorio

Crea ya tu propio espacio de trabajo con IA

Suscríbete a nuestro boletín para recibir avisos sobre nuevas funciones y próximos sorteos 👇