FY 2027 MEDESUN®
Home›Chapter 6 Diseases of the Nervous System
Section I.C.6 · G00-G99 · FY 2027

Chapter 6 — Diseases of the Nervous System

Category G89 and the one question that decides everything: was this encounter for pain management, or for treating the condition causing the pain?

Guidelines effective October 1, 2026 – September 30, 2027

Chapter 6 is the pain chapter. Category G89 is the only place in ICD-10-CM where the reason for the encounter — pain management rather than treatment of the underlying condition — can promote a symptom code to principal diagnosis. Everything else in G89 follows from that one distinction.

Dominant or nondominant side — the default rules#

Affected side documented asDefault
Ambidextrous patientDominant
Left side affectedNon-dominant
Right side affectedDominant

These defaults apply to category G81 hemiplegia and hemiparesis and to subcategories G83.1, G83.2 and G83.3 monoplegia, where the affected side is documented but not specified as dominant or nondominant and the classification does not indicate a default. The identical defaults apply to the I69 sequelae of cerebrovascular disease codes under Section I.C.9.d.1.

When may a G89 pain code be the principal diagnosis?#

Only when pain control or pain management is the reason for the admission or encounter. If the encounter is for a procedure aimed at treating the underlying condition, the underlying condition is the principal diagnosis and no G89 code is assigned at all.

CircumstancePrincipal / first-listedG89?
Pain control or pain management is the reason for the encounter — for example a patient with a displaced intervertebral disc, nerve impingement and severe back pain presents for a steroid injection into the spinal canalThe G89 codeALWAYS Yes. The underlying cause of the pain is reported as an additional diagnosis, if known
Admission for insertion of a neurostimulator for pain controlThe appropriate pain codeALWAYS Yes
Admission for a procedure aimed at treating the underlying condition, with a neurostimulator inserted for pain control during the same encounterThe underlying conditionYes, as a secondary diagnosis
Admission or encounter for a procedure aimed at treating the underlying condition — spinal fusion, kyphoplastyThe underlying condition — vertebral fracture, spinal stenosisNEVER No code from G89 is assigned
The underlying definitive diagnosis is known and the encounter is for management of that conditionThe underlying conditionNEVER No, unless the reason for the encounter is pain control or pain management
Pain not specified as acute, chronic, post-thoracotomy, postprocedural or neoplasm-related—NEVER Do not assign a code from category G89 at all

G89 codes together with site-specific pain codes

Reason for the encounterSequence
Pain control or pain management1the code from category G892the code identifying the specific site of pain
Any other reason, where a related definitive diagnosis has not been established1the code for the specific site of pain2the appropriate code from category G89

The guideline's own worked example: an encounter for pain management for acute neck pain from trauma is assigned G89.11 acute pain due to trauma, followed by M54.2 cervicalgia to identify the site. A G89 code may be used together with a site code — including a Chapter 18 code — whenever the G89 code provides additional information, such as whether the pain is acute or chronic.

TypeRule
Routine or expected postoperative pain immediately after surgeryNEVER Not coded
Post-thoracotomy or other postoperative pain not specified as acute or chronicThe default is the code for the acute form
Postoperative pain not associated with a specific postoperative complicationThe appropriate postoperative pain code in category G89
Postoperative pain associated with a specific postoperative complication, such as painful wire suturesThe appropriate code from Chapter 19; if appropriate, add G89.18 or G89.28 to identify acute or chronic pain
Pain due to devices, implants and grafts left in a surgical site, such as a painful hip prosthesisThe appropriate Chapter 19 code, with G89.18 or G89.28 as an additional code — see Section I.C.19.g.2
Chronic pain — subcategory G89.2There is no time frame defining when pain becomes chronic. The provider's documentation guides use of these codes
Neoplasm related pain — G89.3Assigned for pain documented as related to, associated with or due to cancer, a primary or secondary malignancy, or a tumour — regardless of whether the pain is acute or chronic
G89.3 as principal or first-listedPermitted when the stated reason for the encounter is documented as pain control or pain management. The underlying neoplasm is reported as an additional diagnosis
G89.3 where the encounter is for management of the neoplasm and neoplasm pain is also documentedG89.3 may be assigned as an additional diagnosis. It is not necessary to assign an additional code for the site of the pain
Central pain syndrome G89.0 and chronic pain syndrome G89.4Different from the term “chronic pain”. These codes are used only where the provider has specifically documented the named condition

Practice questions#

Q1A patient with lumbar spinal stenosis is admitted for a lumbar decompression and fusion. Severe chronic low back pain is documented. What is the principal diagnosis?

  1. AG89.29 chronic pain due to other causes
  2. BThe lumbar spinal stenosis
  3. CM54.5- low back pain
  4. DG89.4 chronic pain syndrome
Show answer & rationale

Correct answer: B. The lumbar spinal stenosis

Rationale. Guideline I.C.6.b.1 states that when an admission or encounter is for a procedure aimed at treating the underlying condition, such as a spinal fusion or kyphoplasty, a code for the underlying condition should be assigned as the principal diagnosis and no code from category G89 should be assigned. The presence of pain does not change the intent of the procedure.

Q2A patient with a displaced intervertebral disc and nerve impingement presents specifically for an epidural steroid injection for pain management. How is this coded?

  1. AThe disc displacement first, then the G89 code
  2. BThe G89 code first, then the disc displacement as an additional diagnosis
  3. CThe G89 code only
  4. DM54.5- only
Show answer & rationale

Correct answer: B. The G89 code first, then the disc displacement as an additional diagnosis

Rationale. Guideline I.C.6.b.1.a states that category G89 codes are acceptable as the principal or first-listed code when pain control or pain management is the reason for the admission or encounter, and uses this exact example. The underlying cause of the pain should be reported as an additional diagnosis, if known.

Q3A patient reports pain at the site of a hip prosthesis placed two years ago. The provider documents painful hip prosthesis and chronic pain. How is the pain coded?

  1. AG89.29 only
  2. BThe appropriate Chapter 19 code for pain due to the prosthesis, with G89.28 as an additional code
  3. CM25.55- only
  4. DG89.4
Show answer & rationale

Correct answer: B. The appropriate Chapter 19 code for pain due to the prosthesis, with G89.28 as an additional code

Rationale. Guideline I.C.6.b.2 refers to Section I.C.19, and I.C.19.g.2 states that pain associated with devices, implants or grafts left in a surgical site, for example a painful hip prosthesis, is assigned to the appropriate code found in Chapter 19, with additional codes from category G89 to identify acute or chronic pain due to the presence of the device, implant or graft — G89.18 or G89.28.

Q4A patient with metastatic bone disease is admitted specifically for management of intractable cancer pain. What may be the principal diagnosis?

  1. AOnly the neoplasm
  2. BG89.3, with the neoplasm reported additionally
  3. CG89.29
  4. DThe site-specific pain code
Show answer & rationale

Correct answer: B. G89.3, with the neoplasm reported additionally

Rationale. Guideline I.C.6.b.5 states that G89.3 is assigned for pain documented as related, associated or due to cancer, a primary or secondary malignancy, or a tumour, regardless of whether the pain is acute or chronic, and that it may be assigned as the principal or first-listed code when the stated reason for the admission or encounter is documented as pain control or pain management, with the underlying neoplasm reported as an additional diagnosis. It is not necessary to assign an additional code for the site of the pain.

Q5A patient with right-sided hemiplegia following an old cerebral infarction is documented without any statement of dominance. What default applies?

  1. ANon-dominant
  2. BDominant
  3. CUnspecified
  4. DQuery the provider
Show answer & rationale

Correct answer: B. Dominant

Rationale. Guideline I.C.6.a sets the defaults where the affected side is documented but not specified as dominant or nondominant and the classification does not indicate a default: for ambidextrous patients the default is dominant, if the left side is affected the default is non-dominant, and if the right side is affected the default is dominant. Guideline I.C.9.d.1 applies the identical defaults to the I69 sequelae codes.

Scenarios#

Scenario 1Acute pain from trauma, encounter for pain management

A patient who sustained a whiplash injury in a rear-end collision ten days ago presents to a pain clinic specifically for management of acute neck pain. No definitive structural diagnosis has been established.

Show coded answer & rationale
SeqCodeDescription
1G89.11Acute pain due to trauma — first-listed
2M54.2Cervicalgia — to identify the site of pain
3External causethe applicable Chapter 20 code(s) with the 7th character matching the encounter

Rationale. This is the guideline's own worked example at I.C.6.b.1.b.ii: an encounter for pain management for acute neck pain from trauma is assigned G89.11 followed by M54.2 to identify the site of pain. The same guideline reverses the order where the encounter is for any reason other than pain control or pain management — the site code would then come first, followed by the G89 code.

Guideline: Section I.C.6.b.1.b

Scenario 2Postoperative pain that is a complication, and postoperative pain that is not

Two patients are seen ten days after abdominal surgery. Patient A has ordinary incisional discomfort, documented as expected postoperative pain. Patient B has pain documented by the surgeon as due to painful retained wire sutures.

Show coded answer & rationale
SeqCodeDescription
1Patient Ano pain code — routine or expected postoperative pain immediately after surgery is not coded
2Patient Bthe appropriate Chapter 19 complication code for the suture problem, plus G89.18 or G89.28 to identify acute or chronic pain

Rationale. Guideline I.C.6.b.3 states that routine or expected postoperative pain immediately after surgery should not be coded, that postoperative pain not associated with a specific postoperative complication is assigned to the appropriate postoperative pain code in category G89, and that postoperative pain associated with a specific postoperative complication, such as painful wire sutures, is assigned to the appropriate code in Chapter 19 with additional G89 codes for acute or chronic pain. The default for postoperative pain not specified as acute or chronic is the acute form.

Guideline: Section I.C.6.b.3

Scenario 3Chronic pain and chronic pain syndrome are not the same code

A record documents “chronic low back pain for six years”. There is no documentation of chronic pain syndrome or central pain syndrome. The encounter is for pain management.

Show coded answer & rationale
SeqCodeDescription
1G89.29Other chronic pain — verify in the Tabular List
2M54.5-Low back pain, the applicable code to identify the site

Rationale. Guideline I.C.6.b.4 states that chronic pain is classified to subcategory G89.2, that there is no time frame defining when pain becomes chronic pain, and that the provider's documentation guides use of these codes. Guideline I.C.6.b.6 adds that central pain syndrome G89.0 and chronic pain syndrome G89.4 are different from the term chronic pain, and that those codes should only be used where the provider has specifically documented the named condition. Six years of pain does not convert chronic pain into chronic pain syndrome.

Guideline: Section I.C.6.b.4, I.C.6.b.6

Primary sources#