Skip to main content

Coding mechanisms for diagnosis timing in the International Classification of Diseases, Version 11

Abstract

Background

Diagnoses that arise after admission are of interest because they can represent complications of health care, acute conditions arising de novo, or acute decompensation of a chronic comorbidity occurring during the hospital stay. Three countries in the world have adopted diagnosis timing codes for a number of years. Their experience demonstrates the feasibility and utility of associating an International Classification of Diseases, Version 9 or International Classification of Diseases, Version 10 diagnostic code with information on diagnosis timing, either as part of a diagnostic field or as a separate field. However, diagnosis timing is not an integrated feature of these two classifications as it will be for International Classification of Diseases, Version 11.

Methods

We examine the different types of diagnosis timing that can be used to describe complex patients and present examples of how the new International Classification of Diseases, Version 11 codes may be used.

Results

Extension codes are one of the important new features of International Classification of Diseases, Version 11 and allow more specificity in diagnosis timing.

Conclusion

Imbedded and standardized diagnosis timing information is possible within the International Classification of Diseases, Version 11 classification system.

Background

Coded hospital morbidity data are used internationally for many reasons, including in the assessment of quality of care and healthcare provider performance. A feature in such data, which substantially facilitates the capture of quality and safety events within health care settings, is the ability to time the onset of conditions. In particular, diagnosis timing allows users to distinguish whether a diagnosis was present on admission or arose during the hospital stay.

A patient is admitted to hospital with osteoarthritis and has an ST-elevation myocardial infarction (STEMI) during his stay. He has a history of several comorbid conditions, including type 2 diabetes (DM) and chronic obstructive pulmonary disease (COPD). During the stay, he develops diabetic ketoacidosis resulting from his STEMI.

In the example above, osteoarthritis would be coded as the reason for admission. DM and COPD would also be coded as present on admission as they require treatment and monitoring during the patient stay. The acute STEMI and the diabetic ketoacidosis would be coded as diagnoses that developed after admission.

As the example highlights, information about the timing of a condition in relation to admission is an important feature to capture along with specific conditions. Diagnoses that arise after admission are of interest because they can represent complications of health care, acute conditions arising de novo, or acute decompensation of a chronic comorbidity occurring during the hospital stay [1, 2]. An advantage of diagnosis timing is the ability to redefine patient safety indicators because diagnosis timing information allows simplification of exclusion criteria [3, 4].

Diagnosis timing is currently a facet of routinely collected health information in Canada, Australia, and the United States. Canada first introduced a mandatory diagnosis timing field, called “Diagnosis typing” in 1976 while diagnostic coding was performed using ICD-9 (Table 1) [5]. One Australian state introduced diagnosis timing capability in 1992, followed by three US states between 1994 and 2002 [5, 6]. Nationally, the “Diagnosis Onset Type” was introduced in the ICD-10-Australian Modification in 2006 [7, 8] and a “Present on Admission” flag was implemented in the United States at the end of 2007, with the adoption of ICD-10-Clinical Modification [6].

Table 1 Chronology of adoption: diagnosis timing indicators

As the experience of these countries demonstrates, it is clearly possible to associate an ICD-9 or ICD-10 diagnostic code with information on diagnosis timing, either as part of a diagnostic field or as a separate field. However, diagnosis timing is not an integrated feature of these two classifications.

In the spirit of providing features that allow for the accurate description of healthcare, ICD-11 has taken the approach of post-coordination of diagnoses with the use of extension codes. This is in contrast to the pre-coordination approach in ICD-9 and ICD-10, in which sets of predefined codes are available to describe complex clinical conditions.

In this article, we examine the different types of diagnosis timing within the broad context of extension codes in ICD-11 that can be used to describe complex patients, such as the one in the opening example who is admitted for one condition, then experiences another condition during admission and also has concurrent illness. Further examples of how ICD-11 now provides this feature internationally are also presented.

Main text

As noted in a prior article in this series, there are two main types of extension codes [9]: type 1 codes allow the addition of extra detail to the stem code, whereas type 2 codes are diagnosis code descriptors [10]. The stem and extension structure allows efficiency, flexibility, and detail in the way information is captured based on a limited number diagnosis codes without prespecified combinations. Although stem codes may be used in isolation, an extension code must always be combined with a stem code.

The meaning of the final ICD-11 code is based on the condition within the stem code; the use of a type 2 diagnosis code descriptor extension code provides more information regarding the condition’s importance, timing, method/certainty of its diagnosis, and context. The meaning of the code refers to the same condition, but the use of a type 2 diagnosis code descriptor extension code alters its interpretation. There are seven groups of type 2 extension codes (Table 2): Discharge diagnosis types, Diagnosis timing, Diagnosis timing in relation to surgical procedure, Diagnosis method of confirmation, Diagnosis certainty, Obstetrical diagnosis timing, and Encounter descriptions.

Table 2 Type 2 Extension codes: diagnosis code descriptors

In brief, there are three categories within the discharge diagnosis types: main condition, main resource condition, and initial reason for encounter or admission. The main condition [11] relates to the episode of hospital-based care and should be identified and recorded as the “one condition that is determined to be the reason for admission, established at the end of the episode of health care”. This determination is supported through evaluations and investigations that aim to establish the diagnosis responsible for the admission. More extensive discussion is found within a later paper in this series on main condition (Discharge diagnosis types).

Although some inherent timing information is within the main condition and main resource coding extension codes, further diagnosis timing specificity is possible in relation to admission and surgical procedures. ICD-11 will use the following three categories to capture the timing of diagnoses via an extension code [12]:

  1. 1.

    XY6M Present on admission,

  2. 2.

    XY69 Developed after admission, and

  3. 3.

    XY85 Uncertain timing of onset relative to admission.

The timing of diagnoses associated with a surgical procedure is also possible with the following three codes:

  1. 1.

    XY9U Preoperative,

  2. 2.

    XY9N Intraoperative, and

  3. 3.

    XY7V Postoperative.

Whereas diagnosis timing is core to the recommendations of ICD-11 with regard to implementation, diagnosis timing in relation to surgical procedure is supplementary information and may be reserved for later implementation in countries that want to use these extension codes but face constraints in changing their health information infrastructure.

We present some examples of post-coordination using diagnosis timing extension codes from the ICD-11 Reference Guide [12]. Of note these examples are not based on real life patients.

Example 1: A patient with long-standing type 1 diabetes is admitted to hospital because of chest pain, which upon assessment is diagnosed as a myocardial infarction. The patient develops a deep vein thrombosis in the right lower limb as an in-hospital complication of care.

In this example, both diabetes and myocardial infarction are present at admission, but the myocardial infarction does not need to be coded as being “present on admission” because it is the main condition, designated in this example as being “the condition that is determined to be the reason for admission, established at the end of the episode of health care.” For the in-hospital complication, a diagnosis timing extension code for “developed after admission” is linked by cluster coding to a stem code for “deep vein thrombosis.”

The appropriate coding (Table 3) of this scenario includes a combination of three clustered coding entities, each of which involves a stem code linked to an accompanying extension code:

  • Stem code for BA41.Z (acute myocardial infarction, unspecified) & extension code for XY0Y (main condition);

  • Stem code for 5A10 (diabetes mellitus type 1) & extension code for XY6M (present on admission); and

  • Stem code for BD71.4 (Lower limb deep vein thrombosis) & extension code for XK9K (Right) & extension code for XY69 (developed after admission)

Table 3 ICD-11 coding for example 1, A patient with long-standing type 1 diabetes is admitted to hospital because of chest pain, which upon assessment is diagnosed as a myocardial infarction. The patient develops a deep vein thrombosis in the right lower limb as an in-hospital complication of care

Note that for all three coded entities in the above example, an ampersand (&) is used. In the first cluster, the stem code for myocardial infarction is linked to a diagnosis type extension code for main condition diagnosis type. In the second cluster, the stem code for diabetes mellitus type 1 is linked to a diagnosis timing extension code for present on admission. In the third cluster, the stem code for lower limb deep vein thrombosis is linked to extension codes for right side of the body and one for developed after admission.

Example 2: A patient with long-standing type 2 diabetes is admitted to hospital after developing hypoglycaemia, which is noted to be a result of liraglutide by the medical team. On day 3 during her hospital stay, the patient has a fall out of the hospital bed, with a fracture to her right hip.

The main condition is hypoglycaemia. Other conditions include diabetes mellitus, type 2; a fall after admission; and a right femoral neck fracture during the hospital stay. For the in-hospital fall in this example, a diagnosis timing extension code for “developed after admission” is linked by post-coordination to a stem code for “fall” and to a stem code for “hip fracture” (Table 4). Moreover, the three-part model for coding quality and safety events [13] including: (1) a healthcare-related activity that is the ‘source or context’ of harm; (2) a ‘mode’ or ‘mechanism’ of harm; and (3) a harmful consequence of the event (most importantly injury or other harm to the patient) is also used:

  • Stem code for 5A21.0 (Hypoglycaemia in the context of diabetes mellitus without coma);

  • Stem code for 5A11 (Type 2 diabetes mellitus) & mandatory postcoordination extension code for XY0Y (Main condition);

  • An external cause stem code for the cause, PL00 (Drugs, medicaments or biological substances associated with injury or harm in therapeutic use);

  • An external cause stem code for the mode/mechanism PL13.Z (Mode of injury or harm associated with exposure to a drug, medicament or biological substance, unspecified) & extension code for XM0EQ7 (Liraglutide);

  • The three-part model, with extra detail:

    • Stem code for NC72.2Z (Fracture of neck of femur, unspecified) & extension code for XY69 (Developed after admission) & extension code for activity when injured XE245 (Being taken care of by health care professional) & extension code for place of occurrence XE28K (Hospital);

    • Stem code for cause of injury PL10 (Other health care related causes of injury or harm). This is the cause in the three-part coding model of injury, cause, mode;

    • Stem code for PL14.E (Fall in health care). This is the mode/mechanism in the three-part model; and

    • Stem code for PA60 (Unintentional fall on the same level or from less than 1 m), which is an extra detail related to the fall & extension code for XE8PK (Bed).

Table 4 ICD-11 coding for example 2: A patient with long-standing type 2 diabetes is admitted to hospital after developing hypoglycaemia, which is noted to be a result of liraglutide by the medical team

Note that diagnosis timing codes (here XY69) are applied to diagnosis codes only and not to the external cause code. Hence a complex clinical presentation and hospital course can be captured.

Example 3: A patient aged 75 years old with asymptomatic bilateral carotid artery stenosis, essential systolic and diastolic hypertension, and obesity is admitted to hospital for a planned arthroplasty of the right knee as a treatment for primary osteoarthritis. This patient has been treated with low-dose aspirin for carotid atherosclerosis and put on direct oral anticoagulant after surgery to prevent venous thromboembolism. During recovery from surgery, the patient experiences a left hemisphere ischemic stroke as a postoperative complication.

In this case, the main condition is primary osteoarthritis of the right knee. Other conditions include hypertension and obesity, which are present on admission and require evaluation and treatment during hospital stay. Finally, a left hemisphere ischemic stroke occurs after surgery. A diagnosis timing extension code for “postoperative” is linked by post-coordination to the stem code for “stroke” while a diagnosis timing extension code for “present on admission” is linked by post-coordination to the stem codes for “hypertension” and “obesity” (Table 5). Note that the history of asymptomatic bilateral carotid artery stenosis should not be coded as the patient experienced a complication of atherosclerosis after surgery.

  • Stem code for FA01.0 (Primary osteoarthritis of knee) & extension code for laterality XK9K (Right) & mandatory post-coordination extension code for XY0Y (Main condition)

  • Stem code for 5B81.01 (Obesity in adults) & extension code for XY6M (Present on admission);

  • Stem code for BA00.0 (Combined diastolic and systolic hypertension) & extension code for XY6M (Present on admission);

  • Stem code for 8B11.0 (Cerebral ischaemic stroke due to extracranial large artery atherosclerosis) & extension code for laterality XK8G (Left) & extension code for XY7V (developed after surgery = postoperative).

Table 5 ICD-11 coding for example 3, A patient aged 75 years old with asymptomatic bilateral carotid artery stenosis, essential systolic and diastolic hypertension, and obesity is admitted to hospital for a planned arthroplasty of the right knee as a treatment for primary osteoarthritis

Note that the stem code for BD55 (Asymptomatic stenosis of intracranial or extracranial artery) is not coded here as it includes “Stenosis of intracranial or extracranial artery that has not caused TIA or cerebral ischemic stroke.”

As demonstrated in the examples above, and in accompanying articles in this series, the post-coordination approach in ICD-11 allows considerable flexibility and detail in the coding of healthcare diagnoses and events through the use of extension codes. Example 3 particularly highlights how useful the diagnosis timing extension codes of “XY6M Present on admission,” “XY69 Developed after admission,” and “XY85 Uncertain timing of onset relative to admission” can be.

Diagnosis timing and surgical timing extension codes have the ability to improve routinely collected and coded hospital discharge data to support research and the development of performance, quality, and safety indicators. The standardized approach of classifying diagnosis timing in ICD-11 will enhance the international comparability of these data in the future. A more sophisticated approach to this issue would be “time- and date-stamping” of individual diagnoses; however, such an approach can only be undertaken in health information systems that have the coding and resources to support uptake.

The ICD-11 Reference Guide very clearly lays out the history of ICD-11 and the multiple use cases for the classification and coding [14]. These include the case-mix use case for health care financing, the mortality use case (the original use case that motivated the development of coding of causes of death on a global scale), the morbidity use case (including disease surveillance), the quality and safety use case, and some others as well. Diagnosis timing features in ICD-11 will refine health information for each of the use cases, and permit better diagnostic distinctions to be made (e.g. confining hospital reimbursement systems only to pay for diagnoses present only at admission; detecting quality and safety events that arose only after the admission; or detecting only postoperative events).

There are several challenges to the introduction of diagnosis timing extension codes and the adoption of the clustering mechanism. Timing a diagnosis depends on the quality of medical record documentation and the judgment of the coder. Having options such as code XY85 for “Uncertain timing of onset relative to admission” allows coders needed choice in situations where the clinical notes do not provide enough detail with which to time a diagnosis. Additionally, as one of the primary uses for coded hospital abstract data is to develop funding models, coders may focus their efforts on diagnoses and timing that are likely to increase hospital payment. Ideally, however, coding guidelines should support complete coding of the hospital stay. Certainly, this increased completeness of coding needs to be balanced against the resources available to support this effort as such coding detail may take longer than is currently required to code a hospital record. It is possible, however, that the flexibility of post-coordination can mitigate the time required to code detailed hospital stays. Finally, the highly standardized structure of the ICD-11 may also lend itself to the implementation of automated coding from electronic health records.

Diagnosis timing, in addition to other related extension code sets, such as “Diagnosis timing in relation to surgical procedure” and “Obstetrical diagnosis timing,” have great potential to improve the quality of coding, particularly in capturing quality and safety events. The framework of post-coordination with its stem codes, its extension codes, and the use of a joiner such as an ampersand is a true innovation of ICD-11. Extension codes will allow more accuracy not only with diagnosis timing but also in distinguishing what represents a “main condition.” How well this potential can be realized in day-to-day coding is currently being investigated. Early reports suggest that while the added detail possible with extension codes may appear to place more of a burden on coding and coders, it may be balanced by the decrease in uncertainty from not being able to accurately capture the context of a diagnosis, which was less possible with the pre-coordinated codes within ICD-10.

Conclusion

Three countries in the world have adopted diagnosis timing codes for a number of years: Canada for over 30 years, Australia for approximately 20 years, and the US more recently. The mechanisms in the three countries for diagnosis timing differed in ICD-10, and they required a special data field in their disparate information technology systems. Now ICD-11 presents a diagnosis timing feature that can be adopted internationally. Although extension codes are an optional feature for country implementations, they are certainly one of the exciting and powerful new features of ICD-11, and many countries are likely to adopt them. Accordingly, these embedded diagnosis timing options can now be used by all countries who want to use them in a standardized manner where the information is within the classification system rather than a supplementary data element.

Abbreviations

COPD:

Chronic obstructive pulmonary disease

DM:

Diabetes mellitus, or type 2 diabetes

ICD:

International Classification of Diseases

ICD-9:

International Classification of Diseases, 9th revision

ICD-10:

International Classification of Diseases, 10th revision

ICD-11:

International Classification of Diseases, 11th revision

ICD-10-CA:

International Classification of Diseases, 10th revision, enhanced Canadian version

ICD-10-CM:

International Classification of Diseases, 10th revision, Clinical Modification (US)

STEMI:

ST-elevation myocardial infarction

POA:

Present on admission

References

  1. Kim H, Capezuti E, Kovner C, Zhao Z, Boockvar K. Prevalence and predictors of adverse events in older surgical patients: impact of the present on admission indicator. Gerontologist. 2010;50(6):810–20.

    Article  Google Scholar 

  2. Iezzoni LI. Coded data from administrative sources. In: Iezzoni LI, editor. Risk adjustment for measuring healthcare outcomes. 4th ed. Chicago: Health Administration Press; 2012. p. 95–146.

    Google Scholar 

  3. McConchie S, Shepheard J, Waters S, McMillan AJ, Sundararajan V. The AusPSIs: the Australian version of the Agency of Healthcare Research and Quality patient safety indicators. Aust Health Rev. 2009;33(2):334–41.

    Article  Google Scholar 

  4. Naessens JM, Campbell CR, Berg B, Williams AR, Culbertson R. Impact of diagnosis-timing indicators on measures of safety, comorbidity, and case mix groupings from administrative data sources. Med Care. 2007;45(8):781–8.

    Article  Google Scholar 

  5. Sundararajan V, Romano PS, Quan H, Burnand B, Drosler SE, Brien S, et al. Capturing diagnosis-timing in ICD-coded hospital data: recommendations from the WHO ICD-11 topic advisory group on quality and safety. Int J Qual Health Care. 2015;27(4):328–33.

    Article  CAS  Google Scholar 

  6. Kassed C, Knowlessar N, Pfunter A, Parlato J, Andrews R. The case for the present-on-admission (POA) indicator: update 2011 methods report (HCUP Methods Series Report #2011-05). Rockville: U.S. Agency for Healthcare Research and Quality; 2011.

  7. Australian Government. Episode of admitted patient care—diagnosis onset type, code N. 2008. https://meteor.aihw.gov.au/content/index.phtml/itemId/270192. Accessed 1 Dec 2020.

  8. Australian Government. Episode of admitted patient care—diagnosis onset type, code N. 2016. https://meteor.aihw.gov.au/content/index.phtml/itemId/496512. Accessed 1 Dec 2020.

  9. 2.10 Extension codes. In: ICD-11 reference guide—DRAFT. https://icd11files.blob.core.windows.net/refguide/html/index.html#part-2-extension-codes. Accessed 1 Dec 2020.

  10. Diagnosis code descriptors. In: ICD-11 for mortality and morbidity statistics. https://icd.who.int/browse11/l-m/en#/http%3a%2f%2fid.who.int%2ficd%2fentity%2f1897222875. Accessed 1 Dec 2020.

  11. 2.24.1.1 Main condition. In: ICD-11 reference guide—DRAFT.https://icd11files.blob.core.windows.net/refguide/html/index.html#main-condition. Accessed 1 Dec 2020.

  12. 2.11.3 Diagnosis timing—‘Present on admission’ vs ‘Developed after admission’. In: ICD-11 reference guide—DRAFT. https://icd11files.blob.core.windows.net/refguide/html/index.html#diagnosis-timing-present-on-admission-vs-developed-after-admission. Accessed 1 Dec 2020.

  13. Southern D, Pincus HA, Romano PS, Burnand B, Harrison J, Forster AJ, et al. Enhanced capture of healthcare-related harms and injuries in the 11th revision of the International Classification of Diseases (ICD-11). Int J Qual Health Care. 2016;28(1):136–42.

    Article  Google Scholar 

  14. ICD-11 reference guide—DRAFT. https://icd11files.blob.core.windows.net/refguide/html/index.html#diagnosis-timing-present-on-admission-vs-developed-after-admission. Accessed 4 June 2021.

Download references

Acknowledgements

The authors acknowledge the expertise and contributions of the following individuals at WHO Quality and Safety TAG meetings: Donna Pickett, Chris Chute, Marilyn Allen, Susan Brien, Bernard Burnand, Saskia Droesler, Vijaya Sundararajan, Lori Moskal, Alan Forster, Yana Gurevich, Hude Quan, Cyrille Collin. They have all contributed to both the TAG work plan and some aspects of the paper.

About this supplement

This article has been published as part of BMC Medical Informatics and Decision Making Volume 21 Supplement 6 2021: Spotlight on ICD-11: New Features and New Opportunities. The full contents of the supplement are available at https://bmcmedinformdecismak.biomedcentral.com/articles/supplements/volume-21-supplement-6.

Funding

The publication cost of this supplement has been funded through a Foundation Grant from the Canadian Institutes of Health Research (CIHI) whose lead investigator is WAG.

Author information

Authors and Affiliations

Authors

Contributions

VS: Conceptualised manuscript, reviewed literature, developed examples and approved the final manuscript. MALP: Reviewed literature, developed examples and drafted and approved the final manuscript. DAS: Conceptualised and approved the final manuscript. HAP: Conceptualised and approved the final manuscript. WAG: Conceptualised and approved the final manuscript. All authors have reviewed and approved the final version of this manuscript.

Corresponding author

Correspondence to Vijaya Sundararajan.

Ethics declarations

Ethics approval and consent to participate

Not applicable.

Consent for publication

Not applicable.

Availability of data and materials

Not applicable.

Competing interests

The authors declared that they have no competing interests.

Additional information

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and permissions

Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article's Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article's Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/. The Creative Commons Public Domain Dedication waiver (http://creativecommons.org/publicdomain/zero/1.0/) applies to the data made available in this article, unless otherwise stated in a credit line to the data.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Sundararajan, V., Le Pogam, MA., Southern, D.A. et al. Coding mechanisms for diagnosis timing in the International Classification of Diseases, Version 11. BMC Med Inform Decis Mak 21 (Suppl 6), 382 (2021). https://doi.org/10.1186/s12911-022-01990-8

Download citation

  • Received:

  • Accepted:

  • Published:

  • DOI: https://doi.org/10.1186/s12911-022-01990-8

Keywords