Logo de Claims Billing Rules

Claims Billing Rules

Organização
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

Visão geral

Publicado porawslabs
Repositóriohcls-agent-skills
Nome da habilidadeclaims-billing-rules
Estrelas
71
Forks
14
Arquivos incluídos
Somente instruções
LicençaMIT-0
Links
  • Instruções em Markdown

    Um arquivo SKILL.md que o modelo carrega sob demanda, consumindo tokens apenas quando uma solicitação é realmente relevante para a habilidade.

  • Funciona com qualquer LLM

    As habilidades de IA são escritas em Markdown simples, não em código específico de um provedor. Por isso, funcionam com GPT, Claude, Gemini, Grok ou um modelo local.

  • Sem arquivos extras

    Tudo de que o modelo precisa está nas instruções — sem arquivos extras para sincronizar.

  • Código aberto

    Publicada por awslabs no GitHub. Leia os arquivos da habilidade antes de instalá-la.

Instalação

Instale a habilidade de IA Claims Billing Rules no TypingMind para usá-la com qualquer LLM ou adicione-a a outro agente que leia SKILL.md.

1

Instalar no TypingMind

O TypingMind instala uma habilidade diretamente da pasta dela no GitHub — lê o arquivo SKILL.md, reúne os arquivos de recursos em um pacote e armazena o resultado localmente.

  1. Abra o app e vá para Plugins → Habilidades.
  2. Escolha "Instalar do GitHub".
  3. Cole a URL abaixo, que aponta para a pasta da habilidade, e confirme.
    https://github.com/awslabs/hcls-agent-skills/tree/main/skills/claims-billing-rules
  4. Ative a habilidade em cada chat em que quiser disponibilizá-la.
Plugins → Habilidades → Adicionar habilidade → Via URL do GitHub. Depois, cole a URL da pasta e pressione Continuar.
2

Instalar em outro agente

Qualquer agente que leia o formato Agent Skills pode usar esta habilidade — copie a pasta para o diretório de habilidades desse 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
Reinicie Claude Code após copiar para que a nova habilidade seja reconhecida.

Use no TypingMind

Ative Claims Billing Rules em qualquer chat do TypingMind e o modelo cuida do resto. O nome e a descrição da habilidade ficam no prompt do sistema e, assim que uma solicitação relevante aparece, o modelo carrega as instruções completas automaticamente — sem precisar de acionamento manual e sem consumir tokens até que ela seja realmente usada.

O modelo carrega Claims Billing Rules automaticamente assim que uma solicitação é relevante para essa habilidade.

Funciona com qualquer modelo de IA

Habilidades de IA são instruções em Markdown simples, não código específico de um provedor. Por isso, Claims Billing Rules não fica vinculada ao modelo para o qual foi criada. Instale-a uma vez no TypingMind e use-a com GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou um modelo local executado por conta própria — tudo com suas próprias chaves de API.

  • Carregada apenas quando necessário

    O prompt do sistema contém apenas o nome e a descrição. As instruções são buscadas na primeira solicitação relevante, então uma habilidade sem uso não gera custo.

  • Troque de modelo durante a conversa

    Como a habilidade é composta de instruções, não de código, trocar de modelo não afeta seu funcionamento — o próximo modelo lê o mesmo arquivo SKILL.md.

Instruções da habilidade

Este é o conteúdo de SKILL.md que o modelo carrega. Leia antes de instalar — uma habilidade é um conjunto de instruções que seu 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

Perguntas frequentes

O que a habilidade de IA Claims Billing Rules faz?

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 que usar Claims Billing Rules no TypingMind?

Porque basta instalar uma vez para usar com qualquer modelo. A habilidade Claims Billing Rules é escrita em Markdown simples, e não em código específico de um provedor, então a mesma habilidade funciona com GPT-5, Claude, Gemini, Grok ou um modelo local — e é possível trocar de modelo no meio do chat sem que ela deixe de funcionar. No TypingMind, você usa suas próprias chaves de API e paga diretamente aos provedores, em vez de pagar uma assinatura por licença de usuário. Suas habilidades e chats permanecem no seu próprio armazenamento.

Como instalar Claims Billing Rules no TypingMind?

Abra Plugins → Habilidades → Instalar do GitHub no TypingMind e cole https://github.com/awslabs/hcls-agent-skills/tree/main/skills/claims-billing-rules. O TypingMind lê o arquivo SKILL.md e instala a habilidade para que possa ser ativada em cada chat.

Quais modelos de IA podem usar Claims Billing Rules?

Qualquer modelo conectado no TypingMind. As habilidades de IA são instruções em Markdown simples, e não código específico de um provedor. Assim, GPT, Claude, Gemini, Grok e modelos locais podem carregar esta habilidade quando uma solicitação corresponder a ela.

Quantos modelos de IA posso usar com Claims Billing Rules?

Quantos quiser. Desde que o modelo ofereça suporte a habilidades, é possível usar Claims Billing Rules com ele — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e outros — tudo no TypingMind com suas próprias chaves de API.

A habilidade de IA Claims Billing Rules é gratuita?

Sim. A habilidade é publicada no GitHub por awslabs sob a licença MIT-0. O pagamento é feito apenas ao seu provedor de IA pelos tokens usados.

O que são habilidades de IA?

Uma habilidade de IA é um conjunto reutilizável de instruções que ensina um modelo de IA a realizar uma tarefa específica. Ela segue o formato aberto Agent Skills: um arquivo SKILL.md com nome e descrição, além de scripts, templates ou arquivos de referência de que o modelo possa precisar. O modelo lê as instruções apenas quando sua solicitação corresponde à habilidade, então uma habilidade instalada não gera custos até ser usada.

Qual é a diferença entre habilidades de IA e plugins ou servidores MCP?

Um plugin ou servidor MCP oferece ao modelo novas ferramentas que ele pode acionar — código que é executado em algum lugar e retorna um resultado. Já uma habilidade de IA dá ao modelo o conhecimento e as orientações de que ele precisa: como abordar uma tarefa, quais etapas seguir e como deve ser um bom resultado. As habilidades são escritas em Markdown simples, por isso não precisam de servidor, chave de API nem ambiente de execução, e funcionam com qualquer modelo.

Ver lista completa

Crie seu próprio espaço de trabalho com IA agora

Inscreva-se na nossa newsletter para receber avisos sobre novos recursos e futuros sorteios 👇