2027 ICD-10-CM Diagnosis Code T40.0X5AAdverse effect of opium, initial encounter
T40.0X5A is a billable ICD-10-CM diagnosis code for adverse effect of opium, initial encounter. The 7th character A marks it as an initial encounter code, used while the patient is receiving active treatment. It is valid on HIPAA claims for fiscal year 2027 (October 1, 2026 through September 30, 2027) and groups to MS-DRG 791, 793, 917 through 918. The code is not accepted as a principal diagnosis by the Medicare Code Editor. Coders also document this condition as opium alkaloid adverse reaction. In AHRQ's Clinical Classifications Software (CCSR), this diagnosis falls under Adverse effects of drugs and medicaments, initial encounter; and Opioid-related disorders.
Code Identity
Code Classification
Code EditsBilling
Medicare Code Editor checks that affect claim validity for T40.0X5A.
Approximate SynonymsGuidance
Alternate terms and clinical phrases that map to this code.
- Opium alkaloid adverse reaction
- Tremor opiophagorum
Coding GuidelinesGuidance
When coding an adverse effect of a drug that has been correctly prescribed and properly administered, assign the appropriate code for the nature of the adverse effect followed by the appropriate code for the adverse effect of the drug.
The appropriate 7th character is to be added to each code from block Poisoning by, adverse effect of and underdosing of narcotics and psychodysleptics [hallucinogens] (T40). Use the following options for the applicable episode of care:
- A - initial encounter
- D - subsequent encounter
- S - sequela
Source: ICD-10-CM Official Guidelines for Coding and Reporting, FY 2027, published by CMS and the National Center for Health Statistics.
Instructional NotesGuidance
Instructions from the official ICD-10-CM Tabular List that apply to T40.0X5A: its own notes plus those printed at T40, block T36-T50, and Chapter 19. A note printed at a category, block or chapter applies to every code under it.
Includes
Further defines, or gives examples of, the content of the category.
- adverse effect of correct substance properly administered
- poisoning by overdose of substance
- poisoning by wrong substance given or taken in error
- underdosing by (inadvertently) (deliberately) taking less substance than prescribed or instructed
Excludes1
Not coded here: the excluded code is never reported together with this one, unless the two conditions are unrelated.
- toxic reaction to local anesthesia in pregnancy (O29.3-)
Excludes2
Not included here: the excluded condition is not part of this code, but a patient may have both, so both codes may be reported.
Code First
The underlying condition named in the note is sequenced before this code.
Use Additional Code
Add a second code, after this one, to fully describe the condition.
- code to identify any retained foreign body, if applicable (Z18.-)
Notes
General instructions on how these codes are used.
- Use secondary code(s) from Chapter 20, External causes of morbidity, to indicate cause of injury. Codes within the T section that include the external cause do not require an additional external cause code
- The chapter uses the S-section for coding different types of injuries related to single body regions and the T-section to cover injuries to unspecified body regions as well as poisoning and certain other consequences of external causes.
7th Character
Every code in the category takes a 7th character from the listed values, with the placeholder X filling any empty positions before it.
- The appropriate 7th character is to be added to each code from category T40
- Ainitial encounter this code
- Dsubsequent encounter
- Ssequela
Source: CMS ICD-10-CM Tabular List. How to read instructional notes.
Referenced in Other NotesGuidance
Instructional notes printed at other codes that name T40.0X5A, its category, or a range that includes it.
Clinical ClassificationClinical
AHRQ’s CCSR groups this code into broader clinical categories.
Table of Drugs and ChemicalsClinical
Substances in the Table of Drugs and Chemicals that reference this code family. Always confirm in the Tabular List before coding.
| Substance | Accidental | Self-harm | Assault | Undetermined | Adverse Effect | Underdosing |
|---|---|---|---|---|---|---|
| Laudanum | T40.0X1 | T40.0X2 | T40.0X3 | T40.0X4 | T40.0X5 | T40.0X6 |
| Opium alkaloids (total) | T40.0X1 | T40.0X2 | T40.0X3 | T40.0X4 | T40.0X5 | T40.0X6 |
| Opium alkaloids (total)::standardized powdered | T40.0X1 | T40.0X2 | T40.0X3 | T40.0X4 | T40.0X5 | T40.0X6 |
| Opium alkaloids (total)::tincture (camphorated) | T40.0X1 | T40.0X2 | T40.0X3 | T40.0X4 | T40.0X5 | T40.0X6 |
| Pantopon | T40.0X1 | T40.0X2 | T40.0X3 | T40.0X4 | T40.0X5 | T40.0X6 |
| Papaveretum | T40.0X1 | T40.0X2 | T40.0X3 | T40.0X4 | T40.0X5 | T40.0X6 |
| Paregoric | T40.0X1 | T40.0X2 | T40.0X3 | T40.0X4 | T40.0X5 | T40.0X6 |
Patient EducationClinical
Drug Reactions
Most of the time, medicines make our lives better. They reduce aches and pains, fight infections, and control problems such as high blood pressure or diabetes. But medicines can also cause unwanted reactions, such as drug interactions, side effects, and allergies.
The full article covers:
- What is a drug interaction?
- What are side effects?
- What are drug allergies?
- How can I stay safe when taking medicines?
Read the full article at MedlinePlus
Courtesy of MedlinePlus, a service of the U.S. National Library of Medicine.
Convert T40.0X5A to ICD-9-CMHistory
The closest ICD-9-CM equivalents under the General Equivalence Mappings.
Code HistoryHistory
Questions About T40.0X5AOverview
What is the ICD-10 code for adverse effect of opium, initial encounter?
The ICD-10-CM code for adverse effect of opium, initial encounter is T40.0X5A (sometimes written as T400X5A). It is billable on HIPAA-covered claims from October 1, 2026 through September 30, 2027.
Is T40.0X5A (Adverse effect of opium) a billable code?
Yes. This is a billable ICD-10-CM code, specific enough to report adverse effect of opium, initial encounter on HIPAA-covered claims from October 1, 2026 through September 30, 2027.
What does the 7th character A in T40.0X5A mean?
The final character A marks the initial encounter: use it while the patient is receiving active treatment for adverse effect of opium, such as an emergency visit or first evaluation.
What MS-DRG does T40.0X5A group to?
On inpatient claims, adverse effect of opium, initial encounter maps to MS-DRG 793, 791, 918, 917, with relative weights from 0.8716 to 4.2192 depending on complications. Higher weights mean higher Medicare reimbursement.
Can T40.0X5A be a principal diagnosis?
No. The Medicare Code Editor rejects this code as a principal diagnosis because adverse effect of opium, initial encounter describes a circumstance that influences health status rather than a current illness. Report it as a secondary diagnosis.