Skip to main content
Medicine logoLink to Medicine
. 2019 Jun 7;98(23):e15845. doi: 10.1097/MD.0000000000015845

Can endoscopists differentiate cytomegalovirus esophagitis from herpes simplex virus esophagitis based on gross endoscopic findings?

Kyung Hwa Jung a, Jonggi Choi b, Eun Jeong Gong c, Jeong Hoon Lee b, Kee Don Choi b, Ho June Song b, Gin Hyug Lee b, Hwoon-Yong Jung b, Yong Pil Chong a, Sang-Oh Lee a, Sang-Ho Choi a, Yang Soo Kim a, Jun Hee Woo a, Do Hoon Kim b,, Sung-Han Kim a,
Editor: Jessica Snowden
PMCID: PMC6571398  PMID: 31169688

Supplemental Digital Content is available in the text

Keywords: cytomegalovirus, endoscopy, esophagitis, herpes simplex virus

Abstract

Differential diagnosis between herpes simplex virus (HSV) esophagitis and cytomegalovirus (CMV) esophagitis is challenging because there are many similarities and overlaps between their endoscopic features. The aims of this study were to investigate the implications of the endoscopic findings for the diagnosis of HSV and CMV esophagitis, and to develop a predictive model for differentiating CMV esophagitis from HSV esophagitis.

Patients who underwent endoscopic examination and had pathologically-confirmed HSV or CMV esophagitis were eligible. Clinical characteristics and endoscopic features were retrospectively reviewed and categorized. A predictive model was developed based on parameters identified by logistic regression analysis.

During the 8-year study period, HSV and CMV esophagitis were diagnosed in 85 and 63 patients, respectively. The endoscopic features of esophagitis were categorized and scored as follows: category 1 (−3 points): discrete ulcers or ulcers with vesicles, bullae, or pseudomembranes, category 2 (−2 points): coalescent or geographic ulcers, category 3 (1 points): ulcers with an uneven base, friability, or with a circumferential distribution, category 4 (2 points): punched-out, serpiginous, or healing ulcers with yellowish exudates. And previous history of transplantation (2 point) was included in the model as a discriminating clinical feature. The optimal cutoff point of the prediction model was 0 (area under receiver operating characteristic curve: 0.967), with positive scores favoring CMV esophagitis. Sensitivity, specificity, accuracy, positive predictive value, and negative predictive value were 96.8%, 89.4%, 92.6%, 87.3%, and 97.5%, respectively.

The predictive model based on endoscopic and clinical findings appears to be accurate and useful in differentiating CMV esophagitis from HSV esophagitis.

1. Introduction

Herpes simplex virus (HSV) and cytomegalovirus (CMV) esophagitis occur predominantly in immunocompromised hosts but can occasionally be found in immunocompetent individuals.[14] Viral esophagitis can be life-threatening, particularly in immunocompromised hosts, such as patients who are under immunosuppressive treatment after solid organ or bone marrow transplantation, and those with human immunodeficiency virus infection.[57] Therefore, clinical suspicion and precise diagnosis are crucial in the management of patients with symptoms such as dysphagia or odynophagia.

The definitive diagnosis of HSV or CMV esophagitis relies on endoscopy with histopathological evaluation, along with viral culture or deoxyribonucleic acid (DNA) polymerase chain reaction (PCR) of tissue specimens. However, tissue-based diagnosis requires several days, and a presumptive diagnosis based on the endoscopic findings usually guides empirical antiviral therapy. Several endoscopic findings, such as the morphology and distribution of lesions, are useful in differential diagnosis of HSV and CMV esophagitis. HSV esophagitis usually involves the mid-to-lower esophagus and presents with multiple shallow ulcers with vesicles. The ulcers are discrete and the intervening mucosa appears normal.[1,8,9] In contrast, the ulcers in CMV esophagitis tend to be deep or punched-out, with a longitudinal appearance.[10] However, many of the endoscopic features are confusingly similar and overlapping, making differential diagnosis challenging. We therefore investigated the diagnostic implications of the endoscopic features of HSV and CMV esophagitis, and developed a predictive model for differentiating between them.

2. Material and methods

2.1. Patients

Data were retrospectively retrieved from the medical records of 169 patients with a presumed diagnosis of HSV or CMV esophagitis on the basis of endoscopic examination between April 2008 and December 2016 at Asan Medical Center, Seoul, Republic of Korea, a 2700-bed tertiary care teaching hospital. Only patients with confirmed HSV or CMV esophagitis which met upper GI symptoms and macroscopic mucosal lesions with histopathologic documentation or immunohistochemistry (IHC) were enrolled. We therefore performed a retrospective cohort study to investigate the diagnostic implications. One experienced endoscopist (DHK) reviewed and categorized all the endoscopic findings. The study protocol was approved by the institutional review board of Asan Medical Center (IRB number 2018–1017), which confirmed that it accorded with the ethical principles of the Declaration of Helsinki.

We investigated whether the extent of clinical experience affected the diagnostic accuracy of HSV and CMV esophagitis. Experienced endoscopists were arbitrarily defined as having 15 years or more of experience in performing gastrointestinal endoscopy. Endoscopic pictures of 19 randomly selected cases (9 HSV and 10 CMV esophagitis) were presented to eight experienced and five less-experienced endoscopists blindly asked to identify them as: HSV esophagitis, CMV esophagitis, or indeterminate. To avoid random decisions between HSV and CMV esophagitis, indeterminate answers were considered to be wrong. The average diagnostic accuracies were evaluated and compared.

2.2. Statistical analysis

Categorical variables were compared using the chi-square or Fisher exact test, and continuous variables using Student's t test and the Mann-Whitney U test, as appropriate. All tests of significance were two-tailed and a P value of less than .05 was considered to indicate statistical significance. Calculations were performed using SPSS for Windows software package, version 21.0 (SPSS Inc., Chicago, IL).

To develop the predictive model, distinguishing features of HSV or CMV esophagitis were identified and listed, and classified into four categories using average linkage clustering (Supplemental Digital Figure 3). Logistic regression analysis was used to identify candidate variables for differentiating CMV esophagitis from HSV esophagitis. Each β-coefficient was rounded off and converted to an integer, and integrated into the score. Receiver operating characteristic (ROC) analysis was performed, and areas under ROC curves were calculated to assess the ability to discriminate CMV esophagitis from HSV esophagitis and to determine the optimal cutoff value for predictive diagnosis. In addition, the calibration of the model was assessed using the Hosmer-Lemeshow test (Supplemental Fig. 4). Data were analyzed with R software package version (3.4.3) and the PredictABEL package was used to build up the final model and to assess its performance.

3. Results

3.1. Demographic and clinical features

A total of 169 patients were initially screened. Of these, 21 were excluded from the analysis for the following reasons: 6 for recurrent infections, 11 for co-infection with HSV and CMV, 3 for missing endoscopic findings, and 1 for diagnosis other than esophagitis. Ultimately, 148 patients with histopathologically-confirmed HSV (n = 85) or CMV (n = 63) esophagitis were included in the analysis (Fig. 1). The baseline characteristics of the study patients are summarized in Table 1. The median age was 59.3 years (interquartile range [IQR], 51.8–70.0 years) and 118 patients (79.7%) were immunocompromised. CMV esophagitis was more common in solid organ transplant recipients than HSV esophagitis (36.5% and 12.9%, P = .001). The median interval between transplantation and the development of esophagitis showed a trend toward being shorter in CMV esophagitis (4 months; IQR, 1–7 months) than in HSV esophagitis (20 months; IQR, 2–12 months) (P = .084). From October 2011, IHC was performed to diagnose HSV esophagitis, and all the patients (n = 37) who underwent IHC tested positive. For CMV esophagitis,

Figure 1.

Figure 1

Flowchart of the study.

Table 1.

Demographic and clinical characteristics of patients with viral esophagitis.

3.1.

60 (95.2%) of the 63 patients ultimately diagnose with CMV esophagitis gave positive results for IHC. Of 63 patients with confirmed CMV esophagitis, 45 (71%) underwent CMV antigenemia tests. Of these 45 patients, 34 (76%) showed positive CMV antigenemia. Of 63 patients with confirmed CMV esophagitis, 46 (73%) and 12 (19%) underwent tissue CMV PCR tests and blood CMV PCR tests, respectively. Of the 46 patients who underwent tissue CMV PCR tests, 41 (91%) revealed positive tissue CMV PCR results. Of the 12 patients who underwent tissue CMV PCR tests, 11 (92%) revealed positive blood CMV PCR results. Before definitive diagnosis, 6 patients (7.1%) ultimately diagnosed with HSV esophagitis and 37 (58.7%) with CMV esophagitis received empirical antiviral therapy, and the remaining patients were treated conservatively. After the pathological diagnosis, 47.1% of the patients ultimately diagnosed with HSV esophagitis received acyclovir, and 81.0% of those with CMV esophagitis received ganciclovir.

3.2. Clinical experience of endoscopy and diagnostic accuracy

Eight experienced endoscopists and 5 less-experienced ones were asked to make a set of diagnoses of esophagitis based on endoscopic pictures. Their average diagnostic accuracy was 74.7% for the experienced endoscopists, and 74.3% for the less-experienced endoscopists (Table 2). Thus, the accuracy of diagnosis of viral esophagitis did not differ between the experienced and less-experienced endoscopists (P = .935) (Table 2).

Table 2.

Average percentages of correct answers in randomly-selected cases of esophagitis.

3.2.

3.3. Endoscopic features of esophagitis

The typical endoscopic findings for HSV esophagitis and CMV esophagitis are shown in Figures 2 and 3, respectively. Endoscopic findings of discrete ulcers, bullae or vesicles, pseudomembranes, and shouldered margins were significantly more common in patients ultimately diagnosed with HSV esophagitis than in those ultimately diagnosed with CMV esophagitis (Table 3). In addition, coalescent features and geographic ulcers were more frequent in HSV esophagitis. In contrast, deep or punched-out ulcers, serpiginous ulcers, healing ulcers, ulcers with an uneven base or yellowish exudate, and with circumferential involvement, were significantly more common in CMV esophagitis than in HSV esophagitis.

Figure 2.

Figure 2

Endoscopic features of herpes simplex virus esophagitis. (A) Diffusely distributed white or yellowish lesions with vesicles. The lesions are demarcated, and the intervening mucosa appears normal. (B) Shallow ulcers with pseudomembranes. (C) Multiple small shallow ulcers formed by coalescence of precursor vesicles. (D) Well-demarcated shallow ulcers with a circumferential distribution.

Figure 3.

Figure 3

Endoscopic features of cytomegalovirus esophagitis. (A) Longitudinal ulcer with uneven base. (B) Ill-defined, circumferential ulcer with friability. (C) Geographic, healing ulcer. (D) Deep, punch-out ulcer with shouldered margin.

Table 3.

Endoscopic features of HSV and CMV esophagitis.

3.3.

3.4. Development of predictive models for differentiating between HSV and CMV esophagitis

To develop a predictive model, candidate scoring components were selected from the list of variables differentiating CMV esophagitis from HSV esophagitis identified by logistic regression analysis. In addition, the endoscopic features were classified into four categories as follows: category 1, discrete ulcers or ulcers with vesicles, bullae, or pseudomembranes, category 2, coalescent or geographic ulcers, category 3, ulcers with an uneven base, friability, or a circumferential distribution, category 4, punched-out, serpiginous, or healing ulcers with yellowish exudates. In addition, previous history of transplantation was included in the model as a discriminating clinical feature. Using the above categories and the single clinical variable, β-coefficients were calculated by logistic regression analysis, and each component of the predictive model was scored from −3 to +2 (Supplemental Table 1).

When the sum of the five scores was used, the optimal cutoff score was −0.5, where a positive score favors CMV esophagitis (Supplemental Figure 1). However, we chose a cut-off of 0 for clinical convenience because it is more intuitive and easy for distinguishing HSV esophagitis from CMV esophagitis without sacrificing sensitivity. A ROC analysis of the scoring system revealed good discriminatory power, with an area under the ROC curve of 0.967 (Supplemental Fig. 2). Sensitivity, specificity, accuracy, positive predictive value, and negative predictive value were 96.8%, 89.4%, 92.6%, 87.3%, and 97.5% respectively (Supplemental Table 2).

4. Discussion

Clinical suspicion and precise diagnosis of esophagitis are important for the correct timing of treatment and for avoiding administering an inappropriate antiviral agent. However, making a presumptive diagnosis of CMV vs HSV esophagitis based on the endoscopic findings alone is challenging because many of their endoscopic features overlap. In fact, we found that about a quarter of the patients who were presumptively diagnosed as HSV or CMV esophagitis based on the endoscopic findings were incorrectly assigned regardless of the endoscopists’ expertise. It means that diagnosis of CMV or HSV esophagitis on the endoscopic findings alone might be insufficient because underlying disease is substantially overlapping between two diseases and some findings are can be seen both HSV esophagitis and CMV esophagitis. To help endoscopists’ tentative gross findings and guide appropriate empirical antiviral therapy until definitive diagnostic results are available, the clinical characteristics and endoscopic features of esophagitis were analyzed, and a predictive model for differentiating CMV esophagitis from HSV esophagitis was developed. The predictive model consists of endoscopic features divided into 4 categories plus clinical factor. The model had good powers of discrimination, suggesting that it is useful for differential diagnosis of esophagitis.

A diagnosis of HSV or CMV esophagitis is made on the basis of endoscopic findings and histopathological examination of the lesions. A diagnosis of HSV infection is generally based on the Tzank smear test, tissue culture, or IHC using tissue specimens.[11] For CMV esophagitis, hematoxylin and eosin (H&E) staining reveals hypertrophic cells containing large eosinophilic cytoplasmic inclusions surrounded by a clear halo, described as an “owl's eye”.[12,13] IHC increases the diagnostic sensitivity to 93% with specificity approaching 100%.[14] However, histological evaluation or PCR may take several days, thus delaying confirmation of the diagnosis and the initiation of antiviral therapy. As misdiagnosis and inappropriate management may expose patients to unnecessary drug toxicity and increase medical costs, differential diagnosis of HSV and CMV esophagitis based on the endoscopic features is crucial in clinical practice. However, we found in the present study that about one quarter of presumptive diagnoses of esophagitis were incorrect, regardless of the expertise of the endoscopist.

Certain endoscopic and clinical features are known to be helpful in discriminating CMV esophagitis from HSV esophagitis. Endoscopic findings of discrete ulcers, presence of vesicles or bullae, shouldered margins, and coalescent or geographic ulcers were more frequent in patients with HSV esophagitis, whereas punch-out ulcers, serpiginous ulcers, ulcers with an uneven base, friability, and with a circumferential distribution were more frequent in CMV esophagitis in this study. These findings are consistent with previous observations.[15,16] To generate a prediction model, we divided the endoscopic findings into four categories, and a previous history of transplantation was added as a clinical factor for discriminating CMV esophagitis from HSV esophagitis. The sensitivity, specificity, and accuracy of the diagnosis of CMV esophagitis were 96.8%, 89.4%, and 92.6%, respectively. Our endoscopic classification and its incorporation into an objective prediction model may improve diagnostic accuracy in patients with esophagitis.

Recently, artificial intelligence (AI) with deep learning of digital imaging has yielded promising results for diagnosing diabetic retinopathy[17] and detecting lymph node metastasis in breast cancer.[18] It has also been demonstrated that convolutional neural network-aided diagnosis using upper gastrointestinal endoscopy images is useful for identifying H. pylori infection.[19] In this context, our prediction model based mainly on endoscopic images may be useful for developing AI-aided diagnosis of viral esophagitis. Further studies are needed in this area.

Our study has several limitations. As it was a retrospective study of patients who visited a tertiary-care hospital with a high volume of transplantation, the prevalence of HSV and CMV esophagitis may not reflect those in the general population. Another limitation is that we could not perform internal or external validation because of the small number of cases. Further studies are warranted to validate this prediction model. Third, patient population in this study was not homogenous in terms of underlying diseases. Underlying disease or immunosuppression may affect the endoscopic findings as well as the incidence of HSV or CMV esophagitis. So, further studies are needed about the effect of immunosuppression on the endoscopic findings in HSV or CMV esophagitis. Finally, the specificity of 89% for our clinical prediction model is still suboptimal for clinical use in real clinical practice to confirm HSV or CMV esophagitis. So, further diagnostic tests such as immunohistochemical staining or molecular tests are needed to confirm the diagnosis. However, it takes a few days. Therefore, our predictive model may help to reduce inappropriate use of acyclovir or unnecessary exposure to ganciclovir toxicity until these confirmative test results are available. It is worth to note that the “possible” category of CMV GI disease including blood by nuclear acid test (e.g., PCR) or antigenemia or CMV documented by PCR from tissue biopsies according to the recent IDSA guidelines[20] may open a new way to suspect GI CMV disease and/or decide empirical antiviral agent. So, further studies are needed on the clinical usefulness of our clinical prediction model or new diagnostic category for the early management in patients with suspected HSV or CMV esophagitis.

In conclusion, the endoscopic findings were helpful in the differential diagnosis of CMV and HSV esophagitis. A prediction model based on the endoscopic findings and a clinical factor seems to be reliable for differentiating CMV esophagitis from HSV esophagitis, and may be useful for guiding empirical antiviral therapy until a definitive diagnosis can be made.

Author contributions

Kyung Hwa Jung: drafting of the manuscript; statistical analysis

Jonggi Choi: data analysis and interpretation; statistical analysis

Eun Jeong Gong, Jeong Hoon Lee, Kee Don Choi, Ho June Song, Gin Hyug Lee, Hwoon-Yong Jung, Yong Pil Chong, Sang-Oh Lee, Sang-Ho Choi, Yang Soo Kim, Jun Hee Woo:

Study supervision

Do Hoon Kim: study concept and design; data acquisition; critical revision of the manuscript for important intellectual content, study supervision

Sung-Han Kim: study concept and design; critical revision of the manuscript for important intellectual content, study supervision

Conceptualization: Sung-Han Kim, Jonggi Choi, Do Hoon Kim.

Data curation: Kyung Hwa Jung, Jonggi Choi, Do Hoon Kim.

Formal analysis: Kyung Hwa Jung, Jonggi Choi, Do Hoon Kim.

Investigation: Do Hoon Kim.

Methodology: Jonggi Choi, Do Hoon Kim.

Supervision: Sung-Han Kim, Eun Jeong Gong, Jeong Hoon Lee, Kee Don Choi, Ho June Song, Gin Hyug Lee, Hwoon-Yong Jung, Yong Pil Chong, Sang-Oh Lee, Sang-Ho Choi, Yang Soo Kim, Jun Hee Woo, Do Hoon Kim.

Visualization: Do Hoon Kim.

Writing – original draft: Kyung Hwa Jung.

Writing – review & editing: Sung-Han Kim, Jonggi Choi, Do Hoon Kim.

Supplementary Material

Supplemental Digital Content

Footnotes

Abbreviations: AI = artificial intelligence, CMV = Cytomegalovirus, DNA = deoxyribonucleic acid, H&E = hematoxylin and eosin, HSV = herpes simplex virus, IHC = immunohistochemistry, PCR = polymerase chain reaction.

Kyung Hwa Jung and Jonggi Choi contributed equally to this work.

This study was supported by a grant from the Korea Health Technology R&D Project through the Korea Health Industry Development Institute (KHIDI), funded by the Ministry of Health & Welfare, Republic of Korea (grant no. 15C1763) and Asan Institute for Life Science (2018-7040).

The authors have no funding and conflicts of interests to disclose.

Supplemental Digital Content is available for this article.

References

  • [1].McBane RD, Gross JB., Jr Herpes esophagitis: clinical syndrome, endoscopic appearance, and diagnosis in 23 patients. Gastrointest Endosc 1991;37:600–3. [DOI] [PubMed] [Google Scholar]
  • [2].Buss DH, Scharyj M. Herpesvirus infection of the esophagus and other visceral organs in adults. Incidence and clinical significance. Am J Med 1979;66:457–62. [DOI] [PubMed] [Google Scholar]
  • [3].Goodgame RW. Gastrointestinal cytomegalovirus disease. Ann Intern Med 1993;119:924–35. [DOI] [PubMed] [Google Scholar]
  • [4].Hinnant KL, Rotterdam HZ, Bell ET, et al. Cytomegalovirus infection of the alimentary tract: a clinicopathological correlation. Am J Gastroenterol 1986;81:944–50. [PubMed] [Google Scholar]
  • [5].McDonald GB, Sharma P, Hackman RC, et al. Esophageal infections in immunosuppressed patients after marrow transplantation. Gastroenterology 1985;88:1111–7. [DOI] [PubMed] [Google Scholar]
  • [6].Betts RF, Hanshaw JB. Cytomegalovirus (CMV) in the compromised host(s). Annu Rev Med 1977;28:103–10. [DOI] [PubMed] [Google Scholar]
  • [7].Wilcox CM, Diehl DL, Cello JP, et al. Cytomegalovirus esophagitis in patients with AIDS. A clinical, endoscopic, and pathologic correlation. Ann Intern Med 1990;113:589–93. [DOI] [PubMed] [Google Scholar]
  • [8].Galbraith JC, Shafran SD. Herpes simplex esophagitis in the immunocompetent patient: report of four cases and review. Clin Infect Dis 1992;14:894–901. [DOI] [PubMed] [Google Scholar]
  • [9].Solammadevi SV, Patwardhan R, Herpes esophagitis. Am J Gastroenterol 1982;77:48–50. [PubMed] [Google Scholar]
  • [10].Werneck-Silva AL, Prado IB. Role of upper endoscopy in diagnosing opportunistic infections in human immunodeficiency virus-infected patients. World J Gastroenterol 2009;15:1050–6. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • [11].Feiden W, Borchard F, Burrig KF, et al. Herpes oesophagitis. I. Light microscopical and immunohistochemical investigations. Virchows Arch A Pathol Anat Histopathol 1984;404:167–76. [DOI] [PubMed] [Google Scholar]
  • [12].Lawlor G, Moss AC. Cytomegalovirus in inflammatory bowel disease: pathogen or innocent bystander? Inflamm Bowel Dis 2010;16:1620–7. [DOI] [PubMed] [Google Scholar]
  • [13].Reddy N, Wilcox CM. Diagnosis & management of cytomegalovirus infections in the GI tract. Expert Rev Gastroenterol Hepatol 2007;1:287–94. [DOI] [PubMed] [Google Scholar]
  • [14].Kandiel A, Lashner B. Cytomegalovirus colitis complicating inflammatory bowel disease. Am J Gastroenterol 2006;101:2857–65. [DOI] [PubMed] [Google Scholar]
  • [15].Genereau T, Rozenberg F, Bouchaud O, et al. Herpes esophagitis: a comprehensive review. Clin Microbiol Infect 1997;3:397–407. [DOI] [PubMed] [Google Scholar]
  • [16].Wang HW, Kuo CJ, Lin WR, et al. The clinical characteristics and manifestations of cytomegalovirus esophagitis. Dis Esophagus 2016;29:392–9. [DOI] [PubMed] [Google Scholar]
  • [17].Gulshan V, Peng L, Coram M, et al. Development and validation of a deep learning algorithm for detection of diabetic retinopathy in retinal fundus photographs. Jama 2016;316:2402–10. [DOI] [PubMed] [Google Scholar]
  • [18].Ehteshami Bejnordi B, Veta M, Johannes van Diest P, et al. Diagnostic assessment of deep learning algorithms for detection of lymph node metastases in women with breast cancer. JAMA 2017;318:2199–210. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • [19].Itoh T, Kawahira H, Nakashima H, et al. Deep learning analyzes Helicobacter pylori infection by upper gastrointestinal endoscopy images. Endosc Int Open 2018;6:E139–e144. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • [20].Ljungman P, Boeckh M, Hirsch HH, et al. Definitions of cytomegalovirus infection and disease in transplant patients for use in clinical trials. Clin Infect Dis 2017;64:87–91. [DOI] [PubMed] [Google Scholar]

Associated Data

This section collects any data citations, data availability statements, or supplementary materials included in this article.

Supplementary Materials

Supplemental Digital Content

Articles from Medicine are provided here courtesy of Wolters Kluwer Health

RESOURCES