Sub topic 10
Diagnostic Codes: ICD-10-CM in DSM-5-TR and Alphanumeric Codes in ICD-11
This chapter assumes you know that a DSM-5-TR diagnosis is built from criteria, specifiers and severity ratings. It also assumes you know that ICD-11 is a separate WHO classification. Here you will learn how each system attaches a code to a diagnosis, how to read those codes, and where the two code families do not line up.
Why codes exist
A diagnostic name such as "generalized anxiety disorder" is meant for people. A code is meant for systems: billing, health records, insurance claims, registries and national statistics. Codes let a hospital in one region and a researcher in another count the same condition without matching free-text names.
The criteria sets and the codes are different things. The criteria tell a clinician whether a person meets a diagnosis. The code is a label attached afterwards so the diagnosis can be recorded and counted.
ICD-10-CM codes in the DSM-5-TR
The DSM-5-TR is published by the American Psychiatric Association. It does not have its own code system. It prints codes from ICD-10-CM, which is the US clinical modification of the WHO's ICD-10. The United States adopted ICD-10-CM for health records and claims on 1 October 2015. The DSM-5-TR is built to work with it.
An ICD-10-CM code has these parts:
- It is 3 to 7 characters long. For mental disorders the first character is the letter F.
- The first three characters are the category, for example F41 for "other anxiety disorders".
- A decimal point follows the category, then up to three more characters add detail, for example F41.1.
Mental and behavioural disorders occupy F01 to F99. The DSM-5-TR prints the code beside each diagnosis name, usually in parentheses.
One diagnosis, several codes
A DSM-5-TR diagnosis does not always map to one code. The code often depends on a specifier or severity rating. Major depressive disorder shows this.
| DSM-5-TR diagnosis | Severity or course | ICD-10-CM code |
|---|---|---|
| Major depressive disorder, single episode | Mild | F32.0 |
| Major depressive disorder, single episode | Moderate | F32.1 |
| Major depressive disorder, single episode | Severe | F32.2 |
| Major depressive disorder, recurrent episode | Mild | F33.0 |
| Major depressive disorder, recurrent episode | Moderate | F33.1 |
| Major depressive disorder, recurrent episode | Severe | F33.2 |
Substance use disorders work the same way. Alcohol use disorder is coded F10.10 when mild and F10.20 when moderate or severe. To pick the right code you must therefore finish the diagnosis first: episode type, severity, and any remission status.
The residual categories have codes too. "Unspecified anxiety disorder" is F41.9. Use these when the clinician decides a disorder is present but does not give the full criteria or the specific reason.
Codes change on a schedule
ICD-10-CM is revised every year, with changes taking effect on 1 October. The APA publishes coding updates for the DSM-5-TR. Prolonged grief disorder (F43.81) was added to the DSM-5-TR in the text revision, and the matching ICD-10-CM code was created for it. A code printed in an older copy of a manual can be out of date, so check the current coding update when accuracy matters for billing.
Alphanumeric codes in ICD-11
ICD-11 is published by the WHO and came into effect on 1 January 2022. It has its own code system, not an extension of ICD-10. The chapter on mental, behavioural and neurodevelopmental disorders is Chapter 6, so every code in it starts with 6.
The usual pattern is:
- The first character is the chapter number, here 6.
- The second character is a letter that marks a block of related disorders (6A to 6E in this chapter).
- The third and fourth characters (digits or letters) identify the disorder at the category level, for example 6B00.
- An optional decimal point and further characters give subtypes, severity or course, for example 6A70.0.
Two suffix conventions are worth memorizing. A final character Y means "other specified" and Z means "unspecified". Major depressive disorder, single episode, is 6A70. Its subdivisions include 6A70.0 for mild and 6A70.6 for in partial remission. The residual categories are 6A7Y and 6A7Z.
ICD-11 also has extension codes, which begin with X. These add detail such as severity or anatomy to a main code. Several codes can be combined into a cluster to describe one clinical picture. You will see this mostly in electronic systems, not on a diagnosis printed in a letter.
The code points to an entity
ICD-11 is an online system. Each condition is an entity with a stable identifier, and the alphanumeric code is attached to it in a particular listing of the classification. The WHO publishes an official listing for mortality and morbidity statistics, and the codes in that listing are the ones that appear in most documents. Clinicians also have the Clinical Descriptions and Diagnostic Requirements for the chapter, which supply the diagnostic guidance. The code and the diagnostic text are separate resources.
Comparing the two code families
| Feature | DSM-5-TR (ICD-10-CM) | ICD-11 |
|---|---|---|
| Who issues the code | US modification of the WHO's ICD-10 | WHO |
| Mental disorder prefix | F | 6 |
| Typical shape | F41.1 | 6B00 |
| Subtype or severity | Often in the code after the decimal | After the decimal, plus extension codes |
| Residual categories | Specific codes such as F41.9 | Suffix Y (other specified), Z (unspecified) |
| Update cycle | Annual (1 October) | Periodic WHO updates |
The two systems often describe the same condition, but the codes are not interchangeable. The letters and digits do not translate by rule, so you need a lookup table to move from one to the other.
A small crosswalk in code
A crosswalk is a table that links the codes of one system to the codes of another. The script below builds a short one and checks that each ICD-11 code fits the Chapter 6 pattern. Complex PTSD has no separate DSM-5-TR diagnosis, so its DSM entry is None.
import re
# Illustrative crosswalk of selected conditions.
# DSM-5-TR lists ICD-10-CM codes; ICD-11 uses its own alphanumeric codes.
crosswalk = {
"Generalized anxiety disorder": {"dsm5tr_icd10cm": "F41.1", "icd11": "6B00"},
"Posttraumatic stress disorder": {"dsm5tr_icd10cm": "F43.10", "icd11": "6B40"},
"Complex PTSD": {"dsm5tr_icd10cm": None, "icd11": "6B41"},
"Prolonged grief disorder": {"dsm5tr_icd10cm": "F43.81", "icd11": "6B42"},
"Autism spectrum disorder": {"dsm5tr_icd10cm": "F84.0", "icd11": "6A02"},
}
# Chapter 6 codes: "6", a block letter A-E, two more characters,
# then an optional decimal part such as .0 or .6
ICD11_CH6 = re.compile(r"^6[A-E][0-9A-Z]{2}(\.[0-9A-Z]{1,2})?$")
for name, codes in crosswalk.items():
dsm = codes["dsm5tr_icd10cm"] or "no separate DSM-5-TR diagnosis"
fits = bool(ICD11_CH6.match(codes["icd11"]))
print(f"{name}: DSM-5-TR {dsm} | ICD-11 {codes['icd11']} (chapter 6 pattern: {fits})")Common errors
- Treating a code as a diagnosis. A code is a label. Two people with the same code can have very different symptoms, and the criteria sets are polythetic, which means different symptom combinations can meet the same diagnosis.
- Assuming one name has one code. In the DSM-5-TR the code can change with severity, remission or substance type. Always read the full diagnosis before reading the code.
- Converting codes by pattern. F41.1 and 6B00 describe the same condition, but you cannot derive one from the other. Use the official mapping.
- Mixing up edition and system. ICD-10 (WHO), ICD-10-CM (US) and ICD-11 are three different code sets. A document should say which one it uses.
- Expecting a one-to-one match. Complex PTSD (6B41) exists in ICD-11 but not as a separate DSM-5-TR diagnosis, so there is no matching code to find.
Exercise
A report lists "6A70.1" and another report from a US clinic lists "F32.1" for what looks like the same case of moderate depression. Which system does each code come from, and can you convert one into the other by changing the format?
Show answer
6A70.1 is an ICD-11 code (Chapter 6, mood disorders block) and F32.1 is an ICD-10-CM code, the type printed in the DSM-5-TR. You cannot convert by changing the format. The two code sets are built differently, so you need an official mapping table. Even with a mapping, the severity and course categories inside each system may not line up exactly.
Exercise
Why can a single DSM-5-TR diagnosis such as major depressive disorder have several different ICD-10-CM codes, and what must a clinician decide before choosing one?
Show answer
The ICD-10-CM code encodes details such as single versus recurrent episode, severity (mild, moderate, severe) and remission status. The clinician must first complete the full diagnosis, including episode type, severity and any remission specifier. Only then can the correct code be chosen, for example F32.1 for a single, moderate episode or F33.2 for a recurrent, severe episode.