W31 ICD-10-CM Code: Contact with other and unspecified machinery
Compare with another codeCheck this code on a claim
Billing Status: NO. This is a non-billable ICD-10-CM code: report a more specific billable code beneath it.
Coding at a Glance
- 7th character
- Required — characters A · D · S
- Tabular directives
- 7 Excludes1
Category · FY2027A non-billable heading in the tabular list: report a more specific code beneath it.
What you need to know
Source: CMS/NCHS Official ICD-10-CM tabular notes, quoted. From the CMS/NCHS tabular list for the release in force. A note the category or block publishes applies to this code too; the Instructions section marks which is which.
Most relevant related codes MedCoder-derived
- W31.0Contact with mining and earth-drilling machineryMore specific code
- W31.0XXAContact with mining and earth-drilling machinery, initial encounterMore specific code
- W31.0XXDContact with mining and earth-drilling machinery, subsequent encounterMore specific code
- W31.0XXSContact with mining and earth-drilling machinery, sequelaMore specific code
- W31.1Contact with metalworking machinesMore specific code
- W31.1XXAContact with metalworking machines, initial encounterMore specific code
Read off the official notes above and this code’s own position in the tabular list. Which to report is a documentation question; Compare shows the two side by side.
Coding instructions
Official Tabular Instructional Notes: the inclusion, exclusion and sequencing notes published for W31 in the official ICD-10-CM tabular list, quoted as published.
Source: CMS/CDC — ICD-10-CM Tabular ListRelease: FY2027Effective: October 1, 2026
Trace:FY2027 changesChange historyRelease, file and checksum
Notes without a marker are published on W31 itself; “inherited from” names the category or block whose note applies here.
Excludes1 — Not Coded Here
Conditions generally not reported together with this code (Excludes1) -- an error unless the two conditions are documented as unrelated to each other (ICD-10-CM Official Guidelines, Section I.A.12.a).
- contact with agricultural machinery (W30.-) Compare W31 vs W30 →
- contact with machinery in transport under own power or being towed by a vehicle (V01-V99) Compare W31 vs V01 →
- exposure to electric current (W86) Compare W31 vs W86 →
- assault (X92-Y09) inherited from W20-W49Compare W31 vs X92 →
- contact or collision with animals or persons (W50-W64) inherited from W20-W49Compare W31 vs W50 →
- exposure to inanimate mechanical forces involving military or war operations (Y36.-, Y37.-) inherited from W20-W49Compare W31 vs Y36 →
- intentional self-harm (X71-X83) inherited from W20-W49Compare W31 vs X71 →
7th Character Guide
"The appropriate 7th character is to be added to each code from category W31"
- A — initial encounter
- D — subsequent encounter
- S — sequela
How the encounter character is assigned. “Initial encounter” means the patient is receiving active treatment for the condition — it is not limited to the first visit, and a different or new provider giving active treatment still assigns it. “Subsequent encounter” covers care during the healing or recovery phase after active treatment. “Sequela” is for complications or conditions that arise as a direct result of the original condition.
ICD-10-CM Official Guidelines for Coding and Reporting, Section I.C.19.a (paraphrased by MedCoder).
Variant codes in this family
W31.0XXA, W31.0XXD, W31.0XXS, W31.1XXA, W31.1XXD, W31.1XXS, W31.2XXA, W31.2XXD
Character meanings are CMS's official 7th-character extensions for this family, as carried in each variant code's official description; variant codes are registry rows. The explanation of how the encounter character is assigned is MedCoder editorial, distinct from the official content above it.
Coder workflow for W31
MedCoder structured workflow — derived from this code’s own official record
Before you code W31
- W31 is not reportable as written. Select the more specific code beneath it that the documentation supports. Codes are reported to the highest level of specificity the classification provides (Guidelines I.B.2).
ReviewW31.0, W31.1, W31.2, W31.3, W31.8, W31.9
See the relationships section · Guide: How to choose an ICD-10-CM code →
- Unspecified does not mean incorrect. When the record gives no greater specificity, W31 may be the appropriate code. Check the record for detail that supports a more specific sibling — in this subcategory the siblings differ by the presence or absence of the associated condition. An unspecified code is for records that do not provide the detail a more specific code needs; a query, not an assumption, is the route to specificity (Guidelines I.A.9.b, I.B.18).
See the relationships section · Guide: Other vs unspecified (NEC vs NOS) →
- A 7th character is required in this family. Confirm the documented encounter: initial (active treatment), subsequent (healing or recovery phase), or sequela. W31 is not valid without one. “Initial” means active treatment, not the first visit (Guidelines I.C.19.a).
See the 7th Character Guide · Guide: 7th characters: initial, subsequent, sequela →
- W31’s title joins a condition with an associated condition or complication. Confirm each component is documented. Where the classification presumes the link through the “with” convention, only a provider statement that the conditions are unrelated defeats it. A combination code is assigned only when it fully identifies the documented conditions; a required second code for the stage, type or manifestation is still reported when the notes ask for it (Guidelines I.B.9, I.A.15).
- An external cause code is reported in addition to the code for the injury or condition, never as the principal or first-listed diagnosis. Confirm the cause, intent, place of occurrence, activity and status where the record documents them, and assign the 7th character that matches the injury code. External cause coding guidelines (Guidelines I.C.20.a).
- Check the Excludes1 note: if the documentation supports a condition named there, do not simply proceed with W31. Excludes1 conditions are not reported together with this code unless the record shows they are unrelated (Guidelines I.A.12.a).
Choose the right path
- Does the documentation support one of the more specific codes beneath W31?
Yes → Select that code and continue the checks below on its own page.
No → W31 cannot be reported as written; query for the specificity its subcategory needs. - Does the record document the detail a more specific sibling code needs?
Yes → Review the specific siblings in this subcategory.
No → Continue — W31 is appropriate when the documentation goes no further. - Does the documentation support a condition named in W31’s Excludes1 note?
Yes → Do not simply proceed: review the excluded code. Both are reported only when the record shows the two conditions are unrelated.
No → Continue. - Is the encounter phase documented — active treatment, healing or recovery, or a sequela?
Yes → Assign the matching 7th character; the variant codes are in the 7th Character Guide.
No → The code is invalid without its 7th character — query for the missing element.
Consider W31. Then confirm the code is valid for the date of service in the Verify section.
Documentation check
- The provider’s diagnostic statement
- Codes are assigned from the provider’s documented diagnosis, not from clinical criteria, test values or a medication list (Guidelines I.A.19).
- Encounter type
- Active treatment, healing or recovery phase, or sequela — the basis of the 7th character (Guidelines I.C.19.a).
- The associated condition or complication
- Whether the associated condition the title names is documented; the “with” convention presumes some links, and a provider statement that the conditions are unrelated defeats it (Guidelines I.A.15).
- Any detail beyond this code’s title
- What the record states that a more specific sibling code would capture — or its absence, which itself supports the unspecified code.
Official instructions as workflow
Excludes1 — check before selecting W31(7 notes)
Coding workflow: If the documentation supports a condition named in this note, do not simply proceed with W31: the two are not reported together. The one exception is when the record shows the two conditions are unrelated to each other.
See the official tabular notes · Guidelines I.A.12.a
Coding decision scenarios
Pattern scenarios for this code’s structure — decision rules, not clinical cases
Documentation: The provider documents the condition in the terms of this code’s title and records no further detail.
Coding question: Is a more specific sibling code supportable?
Path: Review the subcategory for a sibling that names the missing detail.
Reason: A more specific code needs documentation of the distinguishing element; without it the unspecified code is appropriate, and a provider query is the route to specificity (Guidelines I.A.9.b, I.B.18).
Documentation: Both the condition W31 describes and a condition named in its Excludes1 note are documented for the same encounter.
Coding question: Can both codes be reported?
Path: Review the Excludes1 note and the excluded code, and look for a provider statement on whether the two conditions are related.
Reason: Excludes1 means the two are not coded together; the exception is when the record shows the conditions are unrelated to each other (Guidelines I.A.12.a).
Documentation: The patient returns during the healing or recovery phase after active treatment of the same condition.
Coding question: Which 7th character applies?
Path: Review the official 7th-character definitions for this family in the 7th Character Guide.
Reason: “Initial encounter” means active treatment, not the first visit; care during recovery takes “subsequent encounter”, and a complication arising from the original condition takes “sequela” (Guidelines I.C.19.a).
Every row is derived from this code’s own record — its title, tabular notes, 7th-character family and same-category siblings — with fixed MedCoder wording; nothing is inferred about a patient. The official notes and guideline text are in the sections each row links to, and they control.
Coding context
Guidelines, coding notes, decision aids, relationships (with MS-DRG and CCSR classification), hierarchy, HCC, coverage and the context map: what a coder reaches for after the core. Each section names whether it is official source data, a MedCoder-derived relationship or MedCoder editorial.
Code Overview
MedCoder summary Summary composed by MedCoder from this code's official ICD-10-CM record. The tabular instructional notes themselves appear verbatim below.
Verify Before Coding
- Not billable as written — a more specific code is required: W31.0XXA, W31.0XXD, W31.0XXS, W31.1XXA, W31.1XXD.
- Requires a 7th character. "The appropriate 7th character is to be added to each code from category W31" Options: W31.0XXA, W31.0XXD, W31.0XXS, W31.1XXA, W31.1XXD, W31.1XXS
- Principal-diagnosis restriction. External cause of morbidity codes (V, W, X and Y) describe the circumstance that caused an injury, not the condition treated. The Medicare Code Editor rejects them as a principal diagnosis; sequence the injury or condition first and report this code as secondary.
From the code registry, the Medicare Code Editor, and the MS-DRG Definitions Manual. Check it against a full claim in Claim Check.
Relationships & Classification
MedCoder-derived relationships — computed from published CMS and AHRQ datasets
Other codes that name W31 or its code family, from the CMS ICD-10-CM tabular instructional notes. Tabular-note edges are stored at the code family level that carries each note.
Referenced by 26 Excludes1 notes: V00-V99 — Transport accidents (V00-V99), V83 — Occupant of special vehicle mainly used on industrial premises injured in transport accident, V85 — Occupant of special construction vehicle injured in transport accident, V86 — Occupant of special all-terrain or other off-road motor vehicle, injured in transport accident, W00 — Fall due to ice and snow, W00-W19 — Slipping, tripping, stumbling and falls (W00-W19), W01 — Fall on same level from slipping, tripping and stumbling, W03 — Other fall on same level due to collision with another person, W04 — Fall while being carried or supported by other persons, W05 — Fall from non-moving wheelchair, nonmotorized scooter and motorized mobility scooter, W06 — Fall from bed, W07 — Fall from chair, W08 — Fall from other furniture, W09 — Fall on and from playground equipment, W10 — Fall on and from stairs and steps, W11 — Fall on and from ladder, W12 — Fall on and from scaffolding, W13 — Fall from, out of or through building or structure, W14 — Fall from tree, W15 — Fall from cliff, +6 more.
These codes’ tabular lists mark this diagnosis as mutually exclusive — not reported together unless the conditions are documented as unrelated.
Contextual Map
Every relationship of W31 in one view: hierarchy, official tabular instructions in both directions, clinical classification, risk adjustment, MS-DRG participation, index terms and change history — each edge carrying the CMS source it derives from.
Run W31 with these 16 related codes in Claim Check
Hierarchy
- V00-Y99 — Chapter 20: External Causes of Morbidity (V00-Y99) (V00-Y99)[Hierarchy]— CMS ICD-10-CM tabular structure · icd10cm-fy2027
- W00-X58 — Other external causes of accidental injury[Hierarchy]— CMS ICD-10-CM tabular structure · icd10cm-fy2027
- W20-W49 — Exposure to inanimate mechanical forces[Hierarchy]— CMS ICD-10-CM tabular structure · icd10cm-fy2027
Excludes1 (31)
- W30 — Contact with agricultural machinery[Excludes1]: “contact with agricultural machinery (W30.-)”— CMS ICD-10-CM tabular instructional notes · icd10cm-fy2027
- W50 — Accidental hit, strike, kick, twist, bite or scratch by another person[Excludes1]: “contact or collision with animals or persons (W50-W64)”— CMS ICD-10-CM tabular instructional notes · icd10cm-fy2027
- W51 — Accidental striking against or bumped into by another person[Excludes1]: “contact or collision with animals or persons (W50-W64)”— CMS ICD-10-CM tabular instructional notes · icd10cm-fy2027
- W52 — Crushed, pushed or stepped on by crowd or human stampede[Excludes1]: “contact or collision with animals or persons (W50-W64)”— CMS ICD-10-CM tabular instructional notes · icd10cm-fy2027
- W53 — Contact with rodent[Excludes1]: “contact or collision with animals or persons (W50-W64)”— CMS ICD-10-CM tabular instructional notes · icd10cm-fy2027
- W54 — Contact with dog[Excludes1]: “contact or collision with animals or persons (W50-W64)”— CMS ICD-10-CM tabular instructional notes · icd10cm-fy2027
- W55 — Contact with other mammals[Excludes1]: “contact or collision with animals or persons (W50-W64)”— CMS ICD-10-CM tabular instructional notes · icd10cm-fy2027
- W56 — Contact with nonvenomous marine animal[Excludes1]: “contact or collision with animals or persons (W50-W64)”— CMS ICD-10-CM tabular instructional notes · icd10cm-fy2027
- and 23 more
Referenced by Excludes1 notes (26)
- V00-V99 — Transport accidents (V00-V99)[Excludes1]: “agricultural vehicles in stationary use or maintenance (W31.-)”— CMS ICD-10-CM tabular instructional notes · icd10cm-fy2027
- V83 — Occupant of special vehicle mainly used on industrial premises injured in transport accident[Excludes1]: “special industrial vehicle in stationary use or maintenance (W31.-)”— CMS ICD-10-CM tabular instructional notes · icd10cm-fy2027
- V85 — Occupant of special construction vehicle injured in transport accident[Excludes1]: “special construction vehicle in stationary use or maintenance (W31.-)”— CMS ICD-10-CM tabular instructional notes · icd10cm-fy2027
- V86 — Occupant of special all-terrain or other off-road motor vehicle, injured in transport accident[Excludes1]: “special all-terrain vehicle in stationary use or maintenance (W31.-)”— CMS ICD-10-CM tabular instructional notes · icd10cm-fy2027
- W00 — Fall due to ice and snow[Excludes1]: “fall (in) (from) machinery (in operation) (W28-W31)”— CMS ICD-10-CM tabular instructional notes · icd10cm-fy2027
- W00-W19 — Slipping, tripping, stumbling and falls (W00-W19)[Excludes1]: “fall (in) (from) machinery (in operation) (W28-W31)”— CMS ICD-10-CM tabular instructional notes · icd10cm-fy2027
- W01 — Fall on same level from slipping, tripping and stumbling[Excludes1]: “fall (in) (from) machinery (in operation) (W28-W31)”— CMS ICD-10-CM tabular instructional notes · icd10cm-fy2027
- W03 — Other fall on same level due to collision with another person[Excludes1]: “fall (in) (from) machinery (in operation) (W28-W31)”— CMS ICD-10-CM tabular instructional notes · icd10cm-fy2027
- and 18 more
Nearest codes (37)
- W31.0 — Contact with mining and earth-drilling machinery[Sibling]— CMS ICD-10-CM tabular structure · icd10cm-fy2027
- W31.0XXA — Contact with mining and earth-drilling machinery, initial encounter[Sibling]— CMS ICD-10-CM tabular structure · icd10cm-fy2027
- W31.0XXD — Contact with mining and earth-drilling machinery, subsequent encounter[Sibling]— CMS ICD-10-CM tabular structure · icd10cm-fy2027
- W31.0XXS — Contact with mining and earth-drilling machinery, sequela[Sibling]— CMS ICD-10-CM tabular structure · icd10cm-fy2027
- W31.1 — Contact with metalworking machines[Sibling]— CMS ICD-10-CM tabular structure · icd10cm-fy2027
- W31.1XXA — Contact with metalworking machines, initial encounter[Sibling]— CMS ICD-10-CM tabular structure · icd10cm-fy2027
- W31.1XXD — Contact with metalworking machines, subsequent encounter[Sibling]— CMS ICD-10-CM tabular structure · icd10cm-fy2027
- W31.1XXS — Contact with metalworking machines, sequela[Sibling]— CMS ICD-10-CM tabular structure · icd10cm-fy2027
- and 29 more
Change history
- FY2016 — In the code set at ICD-10-CM adoption [Change history]— CMS release files (code change ledger) · icd10cm-fy2016
Reference
Index terms and tables, published questions and FAQ, every source behind this page with its release and checksum, the date-of-service check and the complete change history.
Common coding questions
MedCoder editorial
Can W31 be billed directly?
No. W31 (Contact with other and unspecified machinery) is a non-billable ICD-10-CM category code. A more specific billable subcode must be selected based on clinical documentation.
Does W31 require a 7th character?
Yes. The appropriate 7th character is to be added to each code from category W31; A: initial encounter; D: subsequent encounter; S: sequela.
Sources for this page
Codes, titles, notes, index terms and mappings on this page are transcribed from the datasets below. Relationships MedCoder computed and text MedCoder wrote are labelled where they appear.
- Code, title, tabular notes and index terms Official source data
- CMS/CDC ICD-10-CM FY2027 tabular list, index and tables, effective October 1, 2026 Release, file and checksum · Publisher’s page
- Claim edits Official source data
- CMS Definitions of Medicare Code Edits — v44.0 (October 2026) Release, file and checksum · Publisher’s page
- Change history and date-of-service validity Official source data
- CMS ICD-10-CM release addenda, ingested release by release into the change ledger Release, file and checksum · Publisher’s page
- Comparisons, relationships and the contextual map MedCoder-derived relationship
- Computed by MedCoder from the tabular notes and tables above; every derived relationship is marked as derived where it appears
- Summary and FAQ answers MedCoder editorial explanation
- Written by MedCoder to explain the sources above: drafted with AI assistance, checked by a person against the release files, and labelled as MedCoder text where it appears. Not official text.
Current data releases:ICD-10-CM FY2027 · ICD-10-PCS FY2027 · HCPCS October 2026 · MS-DRG v44 · Medicare Code Editor v44.0 · NCCI PTP Q4 2026 · MUE Q4 2026 · NCD code lists 2026-01 · LCD export September 20, 2026 · All releases and sources
Labels on this page: Official source data · MedCoder-derived relationship · MedCoder editorial explanation. How to read the labels · All data sources and release dates · CMS coding rules
Cite this page
Reference this page in a research guide, syllabus or article. The release is included because code content changes each year.
MedCoder.ai. "W31 — Contact with other and unspecified machinery." ICD-10-CM FY2027. https://medcoder.ai/icd10/code/w31-contact-with-other-and-unspecified-machinery
Change history
- FY2016 — October 1, 2015In the code set at ICD-10-CM adoptionContact with other and unspecified machinery
No changes since FY2016 — additions, deletions, description changes and billable-status changes are tracked through FY2027, and none are recorded for this code. Note changes are tracked from FY2027 only.
Nearest Codes in This Family
Official ICD-10-CM classifications closest to W31 in its code family, with their registry titles.
- W31.0 — Contact with mining and earth-drilling machinery
- W31.0XXA — Contact with mining and earth-drilling machinery, initial encounter
- W31.0XXD — Contact with mining and earth-drilling machinery, subsequent encounter
- W31.0XXS — Contact with mining and earth-drilling machinery, sequela
- W31.1 — Contact with metalworking machines
- W31.1XXA — Contact with metalworking machines, initial encounter
- W31.1XXD — Contact with metalworking machines, subsequent encounter
- W31.1XXS — Contact with metalworking machines, sequela
- W31.2 — Contact with powered woodworking and forming machines
- W31.2XXA — Contact with powered woodworking and forming machines, initial encounter
- W31.2XXD — Contact with powered woodworking and forming machines, subsequent encounter
- W31.2XXS — Contact with powered woodworking and forming machines, sequela
- W31.3 — Contact with prime movers
- W31.3XXA — Contact with prime movers, initial encounter
- W31.3XXD — Contact with prime movers, subsequent encounter
- W31.3XXS — Contact with prime movers, sequela
- W31.8 — Contact with other specified machinery
- W31.81 — Contact with recreational machinery
- W31.81XA — Contact with recreational machinery, initial encounter
- W31.81XD — Contact with recreational machinery, subsequent encounter
- W31.81XS — Contact with recreational machinery, sequela
- W31.82 — Contact with other commercial machinery
- W31.82XA — Contact with other commercial machinery, initial encounter
- W31.82XD — Contact with other commercial machinery, subsequent encounter
- W31.82XS — Contact with other commercial machinery, sequela
- W31.83 — Contact with special construction vehicle in stationary use
- W31.83XA — Contact with special construction vehicle in stationary use, initial encounter
- W31.83XD — Contact with special construction vehicle in stationary use, subsequent encounter
- W31.83XS — Contact with special construction vehicle in stationary use, sequela
- W31.89 — Contact with other specified machinery
- W31.89XA — Contact with other specified machinery, initial encounter
- W31.89XD — Contact with other specified machinery, subsequent encounter
- W31.89XS — Contact with other specified machinery, sequela
- W31.9 — Contact with unspecified machinery
- W31.9XXA — Contact with unspecified machinery, initial encounter
- W31.9XXD — Contact with unspecified machinery, subsequent encounter
- W31.9XXS — Contact with unspecified machinery, sequela