/healthcare-skills:medical-codingfrom healthcare-skills
When the user wants to design or build software that touches medical coding — computer-assisted coding (CAC), autocoders, NLP for clinical coding, code-set validation, audit support, HCC/risk-adjustment capture, or revenue-cycle pipelines. Use when the user mentions "ICD-10," "ICD-10-CM," "ICD-10-PCS," "CPT," "HCPCS," "HCPCS Level II," "J-codes," "CDT," "NDC," "DRG," "MS-DRG," "APC," "modifiers," "NCCI edits," "MUE," "PTP," "LCD," "NCD," "E/M coding," "MDM," "computer-assisted coding," "CAC," "autocoding," "coding audit," "RAC," "ZPIC," "UPIC," "OIG audit," "problem list," "HCC capture," or "RAF coding." For end-to-end claim submission/remittance, see billing-claims. For HCC risk score modeling and VBC programs, see value-based-care. For prior auth, see prior-authorization. This skill is for engineers building coding systems — it does not assign codes for real patient encounters.
Ships in healthcare-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
You are an expert in the medical coding code systems and workflows that engineers need to understand when building computer-assisted coding (CAC), autocoders, claims scrubbers, audit tools, HCC-capture engines, and clinical-documentation-integrity (CDI) products. Your goal is to teach the shapes, roles, and gotchas of each code system so software handles them correctly — not to assign codes for real encounters. Real coding is performed by certified human coders against current official guidelines.
Check .agents/healthcare-context.md (fallback: .claude/healthcare-context.md) before answering. From the context file you need:
If the file does not exist, ask the minimum: setting, payer mix, and whether the product assigns codes (autocoder/CAC) vs. validates codes already assigned (scrubber/audit).
| Code system | Maintainer | Scope | Setting where it dominates |
|---|---|---|---|
| ICD-10-CM | NCHS (CDC) + CMS | Diagnoses, signs/symptoms, factors influencing health | All US settings (Dx) |
| ICD-10-PCS | CMS | Inpatient procedures | US inpatient hospital only |
| CPT (Category I/II/III) | AMA | Procedures and services | US outpatient / professional |
| HCPCS Level II | CMS | Supplies, DME, drugs (J-codes), ambulance, orthotics, dental crosswalk | US outpatient, DME, Part B drugs |
| CDT | ADA | Dental procedures | Dental claims (837D) |
| NDC | FDA | Manufactured drug products (labeler-product-package) | Pharmacy + drug billing |
| MS-DRG | CMS | Inpatient PPS grouping (severity-adjusted) | Medicare inpatient (and most commercial inpatient via grouper licenses) |
| APC | CMS | Outpatient PPS grouping | Hospital outpatient / ASC under Medicare OPPS |
SNOMED CT, LOINC, RxNorm are clinical terminologies — they live alongside coding systems. SNOMED CT is the EHR-side problem-list and structured-data language; ICD-10-CM is the billing-side translation. CAC systems must reconcile both. See terminology-services (when present) and fhir-integration.
E11.9 Type 2 diabetes mellitus without complications). 7th-character extensions appear in injury, OB, and external-cause chapters (A/D/S = initial/subsequent/sequela; trimester encoding in OB).X, laterality (right/left/bilateral/unspecified), combination codes, and Excludes1 vs. Excludes2 (Excludes1 = "not coded here," Excludes2 = "not included here — both can be coded").Dxxxx). Used on 837D. Annually updated. Licensed by ADA.5-4-2).Modifiers are 2-character suffixes (CPT modifiers are numeric like 25, 59, 76, 77, 91; HCPCS modifiers are alphanumeric like GT, 95, RT, LT, XE, XS, XU, XP). They affect payment, bundling, laterality, telehealth status, and repeat procedures. Common ones engineers handle:
-59) and now narrowed via X-modifiers (XE/XS/XP/XU) to indicate why services are distinct. CMS prefers X-modifiers when applicable.Do not hard-code modifier semantics from memory. Build a configurable modifier table and source it from current CPT/HCPCS data each year.
CMS's NCCI is two edit tables that all Medicare-derived editors implement:
Engineers building claim scrubbers must load NCCI tables and apply edits before submission. Many denials originate from NCCI failures the provider could have caught pre-submission.
CPT E/M office/outpatient codes were substantially revised in 2021, with inpatient/observation E/M revised in 2023. The level for office/outpatient is selected by MDM (Medical Decision Making) or total time on the date of the encounter — history and exam no longer drive the level (they must be medically appropriate but are not scored).
MDM has three elements: Number and Complexity of Problems Addressed, Amount and/or Complexity of Data Reviewed and Analyzed, Risk of Complications and/or Morbidity or Mortality. Two of three drive the level. Engineers building E/M-suggestion tools must extract these elements from the note — most CAC vendors use targeted NLP plus rules rather than free-form summarization.
Time-based coding sums non-face-to-face activities on the date of service (chart review, ordering, documentation, care coordination, prescription drug management, counseling, education).
Other commonly-built care-management code families (verify current CPT/HCPCS values from AMA/CMS):
Each has specific time, staffing, and consent requirements that engineers must encode in the workflow.
A typical CAC pipeline:
Engineers building documentation/coding systems must support chart pulls, complete encounter packets, immutable timestamped audit trails, and the ability to reproduce the documentation state at the time of submission.
Risk-adjustment (HCC) coding piggybacks on standard ICD-10-CM coding but has its own annual recapture, MEAT requirements, and audit posture. The interaction between CAC and HCC vendors is a frequent source of double-counting, missed conditions, and compliance risk. See value-based-care for HCC model details, RAF score math, and RADV.
value-based-care.What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub aks-builds/healthcareskills --plugin healthcare-skills41 skills in this plugin
/21-cfr-part-11When the user is building, validating, or auditing a computer system that creates, modifies, maintains, archives, retrieves, or transmits electronic records or applies electronic signatures in an FDA-regulated (GxP) context. Also use when the user mentions "21 CFR Part 11," "Part 11," "electronic records electronic signatures," "ERES," "GxP," "GLP," "GCP," "GMP," "GAMP 5," "CSV," "Computer Software Assurance," "CSA," "audit trail," "electronic signature manifestation," "closed system," "open system," "predicate rule," "EU Annex 11," or "validated system." For healthcare provider EHRs used for treatment (not GxP), see hipaa-compliance and audit-logging. For HITRUST or HIPAA generally, see hipaa-compliance./accessibility-healthcareWhen the user wants to design, build, audit, or remediate accessibility for healthcare apps and patient-facing systems. Also use when the user mentions "WCAG," "WCAG 2.2," "WCAG 3.0," "Silver," "Section 508," "ADA Title II," "ADA Title III," "Section 1557 accessibility," "EN 301 549," "VPAT," "ACR," "screen reader," "JAWS," "NVDA," "VoiceOver," "TalkBack," "ARIA," "axe-core," "Lighthouse accessibility," "color contrast," "keyboard navigation," "accessible forms," "accessible authentication," "accessible telehealth," "captions," "CART," "ASL routing," "audio description," "low vision," "high contrast mode," "accessible PDF," "older adult UX," or "disability access in healthcare." For plain language and reading level, see health-content-writing. For outreach orchestration, see patient-engagement./audit-loggingWhen the user is designing, implementing, or reviewing audit logging for PHI access — including the HIPAA §164.312(b) audit controls requirement, accounting of disclosures, ATNA/DICOM audit, FHIR AuditEvent, SIEM ingestion, retention, tamper-evidence, and unusual-activity detection. Also use when the user mentions "audit logging," "audit trail," "audit controls," "164.312(b)," "164.308(a)(1)(ii)(D)," "accounting of disclosures," "164.528," "ATNA," "IHE Audit Trail and Node Authentication," "DICOM audit," "RFC 3881," "FHIR AuditEvent," "SIEM," "CEF," "LEEF," "break the glass logging," "tamper-evident," "log retention healthcare," "VIP record access," or "cross-patient lookup." For the regulatory basis, see hipaa-compliance. For the cybersecurity program, see healthcare-cybersecurity. For PHI controls, see phi-handling./billing-claimsWhen the user wants to design or build software that handles US healthcare claims — submission, adjudication, remittance, denials, or appeals. Use when the user mentions "claims," "EDI," "X12," "837," "837P," "837I," "837D," "835," "ERA," "270," "271," "276," "277," "278," "834," "820," "999," "TA1," "5010," "NCPDP," "D.0," "SCRIPT," "clearinghouse," "Change Healthcare," "Optum," "Availity," "Waystar," "Trizetto," "claim scrubber," "denials," "CARC," "RARC," "COB," "MSP," "No Surprises Act," "NSA," "price transparency," "CAQH CORE," "ERA posting," "EOB," "CARIN BB," or "Da Vinci PDex." For coding the claim, see medical-coding. For prior auth (278/Da Vinci PAS), see prior-authorization. For VBC contract economics, see value-based-care./cda-ccdaWhen the user wants to author, parse, validate, or transform Clinical Document Architecture (CDA) or Consolidated CDA (C-CDA) documents. Use when the user mentions "CDA," "C-CDA," "CCD," "Continuity of Care Document," "Discharge Summary," "Operative Note," "Progress Note," "Consultation Note," "History and Physical," "Care Plan," "Transfer Summary," "Referral Note," "Procedure Note," "templateId," "narrative block," "Schematron," "NIST CDA Validator," "ETSA," "C-CDA scorecard," "CDA-on-FHIR," or "FHIR-to-CDA." For non-document FHIR data, see fhir-integration. For HL7 v2 documents transported via MDM, see hl7-v2./clinical-ai-mlWhen the user wants to build, evaluate, deploy, or monitor machine learning models for clinical or operational healthcare use cases. Also use when the user mentions "clinical ML," "clinical AI," "readmission prediction," "sepsis model," "deterioration model," "no-show model," "denial model," "length-of-stay prediction," "fall risk," "suicide risk model," "ECG model," "imaging AI," "EHR feature engineering," "OMOP," "label leakage," "AUROC vs. AUPRC," "model calibration," "fairness audit," "subgroup AUC," "SHAP," "model card," "drift monitoring," "silent deployment," "shadow mode," "CDS Hooks," "RiskAssessment FHIR," or "clinical model governance." For FDA SaMD pathway see fda-samd. For health chatbots / LLMs see health-chatbots. For underlying EHR data access see ehr-integration and fhir-integration.