Abstract
Objectives
Illness trends are typically monitored by reportable disease and syndromic surveillance systems, but unanticipated health issues might not be captured. Using diagnosis codes, the New York City Health Department developed a novel data mining process to detect unusual increases in emergency department (ED) visits for any reason.
Methods
We applied the tree-temporal scan statistic in TreeScan software to ICD-10-CM diagnosis codes for ED visits. We searched for unusual citywide increases in ED visits or hospital admissions, over any recent time period, and at any part of and level on the ICD-10-CM tree. We conducted proof-of-concept analyses for March 2020 when COVID-19 emerged, then investigated signals detected in daily, automated analyses during April–August 2025.
Results
If TreeScan analyses had been in place, then increasing hospital admissions for viral pneumonia (J12) would have triggered a signal on March 13, 2020, two days before widespread COVID-19 community transmission was announced. An extreme heat event in June 2025 triggered a signal for admissions for acute kidney failure (N17), prompting outreach to dialysis networks. A sustained signal for hand, foot, and mouth disease (B08.4) prompted outreach to child care programs. Other signals supported situational awareness, including a seasonal increase for swimmer’s ear (H60.33) and burns (T30.0) related to consumer fireworks.
Conclusions
TreeScan quickly detected credible increases in various diagnoses without pre-specification, from minor to severe, rare to common, acute to sustained, and foreseen to unforeseen. TreeScan can strengthen surveillance for health issues related to new pathogens, non-notifiable conditions, environmental exposures, and mass gatherings.
Keywords: data mining, emergency department, public health preparedness, scan statistics, surveillance
Significance for public health
Quickly detecting, investigating, and responding to health emergencies prevents additional illnesses. Health authorities continually monitor reportable diseases and predefined syndromes, so increases in these conditions should be quickly detected. To detect increases in other conditions, it is important to also search for unusual patterns in illness data without pre-specifying conditions of concern. The tree-temporal scan statistic is a data mining tool applied to ICD-10-CM diagnosis codes to monitor vaccines and pharmaceutical drugs for unexpected safety issues. ICD-10-CM codes are routinely available in emergency department data collected by health departments. We demonstrate how to use the tree-temporal scan statistic to search for statistically unusual increases in ICD-10-CM codes in emergency department visits. Health departments can adopt this approach to improve preparedness for any health emergency, whether caused by a new or existing pathogen; environmental hazards like extreme heat, wildfire smoke, or flooding; or incidents at sporting events or other large gatherings.
To detect and monitor outbreaks and other conditions of public health importance, the New York City (NYC) Health Department receives near-real time data on reportable diseases and emergency department (ED) visits. 1 To conduct syndromic surveillance, syndromes like influenza-like illness or heat-related illness are defined using ED diagnoses and chief complaint terms. While useful for public health response and decision-making, 2 reportable disease and syndromic surveillance systems are limited because they only detect the issues that they are prespecified to detect. First, if a new health issue arises that is not a reportable disease or predefined syndrome, then any chance for a public health response might be delayed. Illnesses due to novel pathogens might not be captured, as before SARS-CoV-2 testing became accessible 3 and new diagnostic codes were introduced and incorporated into a COVID-19–like illness syndrome. 4 Syndromes might need updating as clinical knowledge improves, such as removing a fever requirement from a COVID-19–like illness syndrome definition. 5 Second, in prioritizing specificity over sensitivity, definitions might be narrow. For instance, a heat-related illness syndrome relies on clinicians to code visits as directly heat-related, such as for heat exhaustion or sun stroke, 6 and omits indirect effects, such as dehydration or exacerbation of kidney disease. 7 Third, classifying some ED visits into syndromes and ignoring all other visits discards potentially informative data, limiting visibility into real-time population trends. In contrast, the goal of asyndromic surveillance is to search for any unusual increases in illness data, without prespecifying diseases or syndromes of concern.8,9
We aimed to detect increases in health issues that might not be captured by reportable disease or syndromic surveillance. We were motivated to develop, test, and deploy a new data mining process for asyndromic surveillance because previously introduced methods have substantial limitations. The first such method implemented by the NYC Health Department, in 2013, detected relative increases in chief complaint keywords.2,10 Such word alerts tend to preferentially detect obscure terms and can fail to group related visits with different keywords due to typos, abbreviations, and synonyms.9–11 Although improvements using natural language processing, generative topic modeling, and machine learning have been proposed,12–14 their complexity and opacity can impede adoption by public health authorities. Another approach entails assessing weekly trends in International Classification of Diseases, Tenth Revision, Clinical Modification (ICD-10-CM) diagnosis codes.15,16 Treating every ICD-10-CM code separately fails to leverage their clinically meaningful, nested structure. Additionally, using fixed time windows fails to account for different types of health issues emerging abruptly or gradually over different time frames.
We developed a process (Figure 1) for asyndromic surveillance using the tree-temporal scan statistic.17,18 This method simultaneously monitors thousands of ICD-10-CM codes and related code groupings, over varying time frames, while adjusting for the multiplicity of codes and time frames evaluated. A similar approach is used in pharmacovigilance to detect diagnoses indicating possible adverse events, with the distinction of scanning over person-time since vaccine or drug administration19,20 rather than scanning over calendar time. We report results of daily, prospective analyses of NYC ED data, first as mimicked for proof-of-concept for March 2020 when COVID-19 emerged, and then as applied in real-time during April–August 2025.
Figure 1.
Analytical pipeline for asyndromic surveillance of emergency department diagnoses with the tree-temporal scan statistic at the New York City Health Department.
Methods
Emergency department data
The NYC Health Code authorizes the Health Department to collect ED visit data from NYC hospitals. 1 These data include an anonymized patient identifier, demographic characteristics, visit date, disposition, and ICD-10-CM diagnosis codes.1,21 From the latter field, we excluded any ED-provided codes other than ICD-10-CM codes, such as SNOMED and CPT codes, and standardized by removing extra spaces and decimal points. We determined all diagnoses per patient per visit that were eligible (acute health issues of interest), incident (first diagnosis per ICD-10-CM tree subchapter within a 1-year period), and unique (one diagnosis per subchapter per day) (eMethods 1 in the Supplement).
A daily input file for the past 90 days consisted of three columns: (1) a hyphen-delimited concatenation of hospital inpatient admission status (1 = admitted; 0 = not admitted) and ICD-10-CM code, (2) visit date, and (3) the citywide count of patients with that admission status and ICD-10-CM diagnosis on that date. We followed reporting guidelines for studies using observational routinely-collected health data. 22
Tree file
A tree file consisted of every eligible ICD-10-CM code and its parents (eAppendix 1 in the Supplement). ICD-10-CM codes are grouped in a hierarchical tree structure, reflecting general or specific disease conditions affecting different body systems, with related diagnoses on the same tree branch. We downloaded the tree structure provided by the Centers for Medicare & Medicaid Services. 23
We assigned three nodes to every ICD-10-CM code, distinguished by whether the patient was admitted (“1-” prefix) versus not admitted (“0-” prefix), as well as a parent node (“2-” prefix) indicating any ED visit for that diagnosis, regardless of admission status. This allowed us to simultaneously evaluate diagnoses for all ED visits (“2-” prefix) and for admissions only (“1-” prefix), without also evaluating diagnoses for non-admissions only (“0-” prefix).
We added supplemental nodes connecting ICD-10-CM codes on different parts of the tree sharing a common etiology (eAppendix 1 in the Supplement). When infections increase for a particular pathogen, for example, Mycoplasma pneumoniae, some patients might have pneumonia (J12-J18) while others might have acute bronchitis (J20) or another illness manifestation. 24 To improve the signal-to-noise ratio to quickly detect outbreaks, we added pathogen-specific supplemental nodes to scan not only for increases affecting a common body system on the same tree branch, but also for increases in illnesses caused by a common pathogen (Figure 2).
Figure 2.
Excerpt of an International Classification of Diseases, Tenth Revision, Clinical Modification (ICD-10-CM)-based tree structure for an emergency department diagnosis of J15.7 (pneumonia due to Mycoplasma pneumoniae). In tree level 6, patients are classified as admitted (“1-” prefix) or not admitted (“0-” prefix). Both nodes have 3 parents in level 5. First, both nodes share the parent of ED visits for J15.7 regardless of admission status (“2-” prefix). Second, a parent for 1-J15.7 is 1-J15 (admissions for bacterial pneumonia, not elsewhere classified); correspondingly, a parent for 0-J15.7 is 0-J15. Third, a parent for 1-J15.7 is 1-Mycoplasma pneumoniae (admissions for Mycoplasma pneumoniae); correspondingly, a parent for 0-J15.7 is 0-Mycoplasma pneumoniae. Shaded nodes are not evaluated because either the entire tree level is not evaluated (too general) or the individual node is not evaluated (not of interest). By applying the tree-based scan statistic to this structure, we simultaneously searched for increases in any of the 6 unshaded nodes, i.e., pneumonia due to Mycoplasma pneumoniae; bacterial pneumonia, not elsewhere classified; and Mycoplasma pneumoniae infections affecting any organ system — each in hospital admissions only and ED visits overall.
Tree-temporal scan statistic
We conducted prospective analyses with the tree-temporal scan statistic17,18 (Table 1) using the TreeScanTM software v2.3. 25 We flexibly searched for unusual increases in diagnoses emerging over any length of recent time and at any part of and level on the ICD-10-CM tree, from general to specific diagnoses. Under the null hypothesis, the proportion of each diagnosis for ED visits and hospital admissions among all diagnoses for a given day of the week was constant over time. Under the alternative hypothesis, for one diagnosis or group of related diagnoses for ED visits or hospital admissions, its proportion among all diagnoses was higher during some recent period.
Table 1.
Specifications for asyndromic anomaly detection using the tree-temporal scan statistic applied to New York City emergency department diagnosis codes.
| Feature | Selection | Notes |
|---|---|---|
| Source population | Persons in NYC on any day during the time range. | We used an open population instead of a closed cohort to detect emergent health issues affecting anyone physically present in NYC, including residents and visitors. |
| Database population | Persons from the source population who presented for care at any reporting ED. | ED data provide comprehensive source population coverage, reflecting visits for any reason. Patients who are low-income or under-insured might be under-represented in other health data sources while disproportionately accessing EDs for primary care services. |
| As of August 2025, 49 EDs were included. The 3 remaining NYC EDs, which were administered by the U.S. Department of Veterans Affairs, were excluded because they did not provide ICD-10-CM codes. | ||
| Occasionally, file transmissions from a given ED to the NYC Health Department might be interrupted by technical issues. An ED was temporarily considered “non-reporting” and omitted from daily analysis if the hospital reported 0 ED visits for the most recent ≥2 days of the time range. This data cleaning step assured that until any technical issues were resolved, EDs did not misleadingly weaken or strengthen emerging signals by contributing data to the baseline but not the cluster period. | ||
| Study population | Persons from the database population with an eligible, incident, and unique diagnosis. | One investigator (R.L.) had unrestricted access to the database population and generated input files daily. Diagnoses received within 14 days of the ED visit were included. ED visits with no diagnosis were excluded. This occurred, for example, when patients left the ED against medical advice. |
| Visit severity | Admitted (yes/no) | It is of considerable interest to detect serious, emerging health issues resulting in hospitalization. Using the discharge disposition field, we distinguished diagnoses of ED patients who were “admitted as an inpatient to this hospital” or “expired” 21 (i.e., died) (“1-” prefix) versus not admitted (“0-” prefix). |
| Of 49 included EDs, 26 (53%) had a data quality issue as of August 2025 in which the disposition field was blank instead of populated as admitted. As a data cleaning step until this issue can be corrected, any visit at these 26 EDs with a missing discharge disposition code as of 2 days after the visit was imputed as admitted. | ||
| Time precision | Day | We used daily resolution for precise cluster start dates. |
| Data time range of ED visits | Rolling 90-day period, ending day prior to analysis | The data time range should be at least 3 times as long as the maximum temporal size (specified below). 26 Analogously, case-control studies have diminishing returns in statistical power with control-to-case ratios above 3. By keeping the time range short, the cluster and baseline periods were more comparable and robust to administrative changes in input data, such as when a hospital adopts new ICD-10-CM codes. |
| After a major health event, to avoid difficulty in detecting subsequent increases in the same diagnoses, we excluded from the baseline period all ED visits citywide during the days of the major health event. For example, starting July 23, 2025, we excluded from the baseline period all ED visits during a spike in heat-related illness (June 23–June 26, 2025) to preserve the ability to detect health effects from subsequent heat waves. | ||
| Only allow data on leaves of tree | No | We used ICD-10-CM codes as provided by EDs, without requiring codes to be at the most specific node. |
| Allow multiple root nodes | No | The ICD-10-CM tree had only one root, which is a node without a parent. |
| Allow multiple parents for the same node | Yes | We allowed multiple parents per node to: (a) nest every node for a diagnosis resulting in hospital admission within a node for all ED visits for that diagnosis, and (b) connect diagnoses on different parts of the tree sharing a common etiology. |
| Tree levels excluded from evaluation | 1, 2, 3 | All diagnoses in these tree levels were excluded from evaluation as too broad to be actionable (Figure 2). |
| Specify separate file with nodes not to evaluate | Yes | We specified certain nodes in tree levels ≥ 4 not to evaluate (eAppendix 2 in the Supplement). Nodes were included in input files but not evaluated if: (a) diagnoses were for the subset of ED patients who were not admitted (“0-” prefix), because we were only interested in signals of diagnoses for ED patients overall (“2-” prefix) or the subset admitted (“1-” prefix), or (b) diagnoses were too specific to plausibly reflect population-level emergent health issues, such as diagnoses distinguishing whether a health issue was for the left, right, bilateral, or unspecified sides of the body. Such diagnoses were rolled up and evaluated only at less specific nodes. |
| Additionally, when new ICD-10-CM codes were added at least annually in October, 23 we incorporated the new codes into the tree file for system maintenance and temporarily did not evaluate them until the data time range of 90 days (specified above) had elapsed since adoption. This step assured that we did not get false signals due to the introduction of new codes that were not present during the baseline period. | ||
| Type of scan | Tree and time | We scanned for increases in ED visits for any diagnosis or group of related diagnoses and over any recent time period. |
| Temporal size | Minimum = 1 day. | We searched for diagnoses with increases during the most recent 1, 2, 3, …, 27, or 28 days. Our goal was to detect not only health issues emerging abruptly, but also issues emerging stealthily over a few weeks, such as due to intermittent or prolonged source exposures, person-to-person transmission, or care-seeking delays. More slowly emerging health issues would be more difficult for health care personnel to notice manually and are thus an important use case for data mining methods. |
| Maximum = 28 days. | ||
| Conditional analysis | Node and time | We conditioned on time, representing the ED visit date, to adjust nonparametrically for any citywide purely temporal patterns. These patterns include data lags, reduced ED volume on weekends and holidays, and any increasing or decreasing secular trends in ED visits, such as periods when virtual visits with health care providers were encouraged. |
| We also conditioned on node, representing the ICD-10-CM code, to account for whether each diagnosis had been common or rare during the baseline period. This allowed us to detect diagnoses with abnormal increases and not just the most common diagnoses throughout the time range. | ||
| Perform node by day-of-week adjustment | Yes | We adjusted for diagnosis by day-of-week interaction to account for variation in the distribution of ICD-10-CM codes by day-of-week of ED visit. This accounts for some diagnoses being approximately equally common on all days of the week (e.g., A09 [infectious gastroenteritis and colitis, unspecified]), while other diagnoses are more common on weekends (e.g., W34 [accidental discharge and malfunction from other and unspecified firearms and guns]). |
| With this adjustment, the dates in which ED visits occurred were shuffled, restricting to the same day of the week, and assigned to the original ICD-10-CM codes. The 90-day time range included several baseline weeks, avoiding unstable day-of-week–specific estimates. | ||
| Scan for branches with: | High rates | Our goal was to detect when any diagnosis became an increasing percentage of all diagnoses for ED visits. One could also scan for diagnoses that became less common. |
| Prospective evaluation | Yes | We used prospective analyses to only consider temporal windows reaching through the end of the time range. We were only interested in detecting current problems, not historical health issues that occurred some weeks or months ago. |
| Monte Carlo replications | 99,999 | We used Monte Carlo hypothesis testing to assess the statistical strength of clusters, controlling for the multiplicity of overlapping diagnoses and time windows evaluated. |
| This number of replications can yield sufficiently large recurrence intervals to distinguish weaker and stronger signals (specified below) while maintaining reasonable computing time, as determined by the number of tree nodes and time intervals evaluated. | ||
| Inference method | Sequential Monte Carlo, with early termination cutoff of 5,000 | To save computational time, we allowed runs to terminate early if no potential clusters were detected after >5% of the total replications. |
| Prospective analysis frequency | Daily at 10 a.m. | We ran daily analyses to quickly detect emergent health concerns. |
| Scheduling analyses to run at 10 a.m. allowed reporting to plateau for the prior day’s ED visits, while also allowing same-day results review and signal escalation as warranted. | ||
| Minimum number of cases | 3 | We selected a low minimum so we could detect increases in rare diagnoses. |
| Signal definition | Relative risk (RR) ≥ 1.3 and recurrence interval (RI) ≥ 365 days for ED visits overall (nodes with “2-” prefix) or RI ≥ 100 days for hospital admissions (nodes with “1-” prefix) | We ignored nodes with only slightly elevated RR because with a large volume of ED visits, clusters can have a high RI but with a RR close to 1 that is not meaningful from a public health perspective. |
| We considered RI≥100 days to <365 days as a weak cluster, RI≥365 days to RI<5 years as moderate strength, RI ≥5 years to RI<100 years as strong, and RI ≥100 years as very strong. 26 We used RIs instead of P-values. Applying the typical threshold of P<0.05 would not adequately control type I error in prospective analyses as it would, on average, generate a false signal every 20 days. 26 | ||
| We used a lower signaling threshold for hospital admissions because of the potential severity of the health issue. | ||
| Signal classification | New, increasing, maximum, maximum-outlier, stable, or decreasing | In daily analyses, the set of emerging diagnoses can be very similar from one day to the next. To minimize signal fatigue and focus attention on new and emergent health issues and unusually strong seasonal increases, we compared signals for today versus prior days and classified as follows: |
| New: Yesterday’s RI<365 days (or, for hospital admissions, <100 days), RR<1.3, or node missing. | ||
| Increasing: If signal persists 2 or 3 days, then RI monotonically increasing. If signal persists ≥4 days, then slope of trendline for RI by day is positive and P<0.05. | ||
| Maximum: RI=100,000 days today and yesterday, as determined by the number of Monte Carlo replications (99,999). | ||
| Maximum-outlier: Same as “maximum,” but further delineating outliers outside typical seasonal patterns by using the historical methods limit to flag when the number of diagnoses in the most recent complete week is >2 standard deviations higher than the mean from 9 prior periods comprising the same week, the preceding week, and the subsequent week during the past 3 years. | ||
| Stable: If signal persists 2 or 3 days, then RI neither monotonically increasing nor decreasing. If signal persists ≥4 days, then slope of trendline for RI by day is P≥0.05. | ||
| Decreasing: If signal persists 2 or 3 days, then RI monotonically decreasing. If signal persists ≥4 days, then slope of trendline for RI by day is negative and P<0.05. |
Abbreviations: ED, emergency department; ICD-10-CM, International Classification of Diseases, Tenth Revision, Clinical Modification; NYC, New York City; RI, recurrence interval; RR, relative risk.
We used Monte Carlo hypothesis testing to control overall type I error across the multiplicity of overlapping sets of diagnoses and time windows evaluated on any analysis day. Statistical details are in the TreeScan user guide. 25 We defined signals based on relative risk and, to account for the daily analytic cadence, the recurrence interval (RI = 1/P-value). The RI represented the duration of daily surveillance required for the expected number of clusters at least as unusual as the observed cluster to be equal to 1 by chance. 27 The higher the RI, the less likely a cluster was due to chance alone. 26 We tracked RI trends as signals strengthened, held steady, and weakened, mirroring epidemic patterns (Table 1).
Proof-of-concept: COVID-19 emergence
We mimicked daily surveillance for February 29, 2020 (when the first laboratory-confirmed COVID-19 case was diagnosed in NYC 3 and prior to which no increase in COVID-19–like illness syndrome in EDs was observed 28 ) through March 15, 2020 (when widespread community transmission was announced 29 ). SARS-CoV-2 testing had been restricted at public health laboratories and not yet commercially available, curtailing situational awareness. 3 We assessed if and when increases in COVID-19–related diagnoses could have been detected by our new approach had it been applied at the time.
Real-time prospective analyses and signal interpretations
We launched daily, automated analyses on April 4, 2025 and, in parallel, developed a signal management framework. 30 For each signaling diagnosis, we reviewed summary data, including weekly trends for the most recent four years to assess seasonality; frequent co-diagnoses; and differences between baseline and cluster periods in patient demographic characteristics and in the distribution of EDs to which patients presented.
First, we validated signals by ruling out data quality problems and artifacts of care seeking or hospital coding practices. When patients disproportionately presented to certain EDs, we determined whether the health issue was truly geographically focused versus a hospital-specific change. Infrequently, this entailed contacting ED personnel to inquire about their use of a particular diagnostic code. We inspected temporal graphs and determined whether a diagnosis became an increasing percentage of all diagnoses for ED visits due to an increase in the numerator versus a decrease in the denominator, which might indicate a false positive.
Next, validated signals were prioritized, considering statistical strength, persistence, novelty, potential public health impact, the severity and preventability of the diagnosis, and the vulnerability of the exposed population. Prioritized signals were shared with relevant subject matter experts at the NYC Health Department. Finally, officials determined whether signal assessments were concerning and warranted public health action, such as outreach to health care providers.
We compiled illustrative examples of TreeScan signals detected during the first five months of daily analyses conducted during April–August 2025. We assessed timeliness; classified new signals as data artifacts (i.e., false positives), concerning, supportive of situational awareness for either acute events or typical seasonal increases, or unexplained (e.g., low priority to assess); and calculated the positive predictive value.
We could not calculate the sensitivity of the system because there does not exist a gold standard list of every health issue truly emerging in NYC during the study period. However, to gain insight into scenarios where TreeScan might fail to signal, we investigated why this system did not detect a large Legionnaires’ disease outbreak in July 2025.
Results
Proof-of-concept: COVID-19 emergence
If the NYC Health Department had been using TreeScan for daily analyses of ED visit diagnoses when COVID-19 emerged, then the first signals would have been detectable on March 10, 2020 (Table 2), two days before a state of emergency declaration. Signals detected during March 10–15 by data mining and with no pre-specification reflected a breadth of diagnoses. These included relevant symptoms (e.g., ICD-10-CM code R05 [cough]), as well as factors increasing the risk of severe complications (e.g., F17.210 [cigarette smoking] and E11.9 [type 2 diabetes]). As the COVID-19–specific diagnosis code U07.1 was not effective until April 1, 2020, 4 certain EDs instead leveraged available codes for coronavirus infections (B97.2, B34.2), as also reflected in signals for the supplemental node “other coronavirus” connecting ICD-10-CM codes on different parts of the tree sharing a common etiology. Hospital admissions for J12 (viral pneumonia) signaled on March 13, indicating severe illness. By the time widespread community transmission was announced on March 15,29 rapid increases in both rare and common diagnoses would have been readily apparent (eFigure 1 in the Supplement).
Table 2.
Signals for COVID-19–related diagnoses in New York City emergency departments detected by mimicking prospective daily analyses using the tree-temporal scan statistic, February 29–March 15, 2020.
| Date signal first detected, 2020 † | Code description | ICD-10-CM code | All ED visits or admissions-only | Date range | Observed ED visits | Expected ED visits | Relative risk | Excess ED visits | RI (years) ‡ |
|---|---|---|---|---|---|---|---|---|---|
| March 10 | Cough | R05* | All | March 9 | 397 | 283.7 | 1.5 | 134.7 | 274 |
| Acute pharyngitis, unspecified | J02.9 | All | March 6–9 | 557 | 421.1 | 1.4 | 143.7 | 274 | |
| Acute upper respiratory infections of multiple and unspecified sites | J06* | All | March 9 | 599 | 470.7 | 1.4 | 159.3 | 68 | |
| Nicotine dependence, cigarettes, uncomplicated | F17.210 | All | March 5–9 | 117 | 70.2 | 1.8 | 50.2 | 5 | |
| March 12 § | Viral infection of unspecified site | B34* | All | March 10–11 | 1007 | 769.4 | 1.4 | 279.5 | 274 |
| Contact with and (suspected) exposure to other viral communicable diseases | Z20.828 | All | March 9–11 | 52 | 14.2 | 4.3 | 39.9 | 274 | |
| Coronavirus as the cause of diseases classified elsewhere | B97.2* | All | March 6–11 | 16 | 1.8 | 30.3 | 15.5 | 274 | |
| Admissions | March 7–11 | 11 | 1.1 | 35.6 | 10.7 | 68 | |||
| Type 2 diabetes mellitus without complications | E11.9 | All | February 24–March 11 | 1078 | 909.2 | 1.3 | 216.1 | 55 | |
| Viral pneumonia, not elsewhere classified | J12* | All | March 6–11 | 38 | 15.3 | 2.9 | 25.0 | 1 | |
| March 13 | Other coronavirus ¶ | N/A | All | March 11–12 | 57 | 9.9 | 10.9 | 51.8 | 274 |
| Admissions | March 7–12 | 22 | 4.9 | 6.8 | 18.8 | 91 | |||
| Viral pneumonia, not elsewhere classified | J12* | Admissions | March 10–12 | 25 | 4.3 | 8.8 | 22.2 | 274 | |
| Person with feared health complaint in whom no diagnosis is made | Z71.1 | All | March 12 | 39 | 10.9 | 4.6 | 30.5 | 274 | |
| Encounter for screening for other viral diseases | Z11.59 | All | March 7–12 | 13 | 1.9 | 17.3 | 12.3 | 25 | |
| Fever of other and unknown origin | R50* | All | March 12 | 301 | 221.5 | 1.3 | 72.5 | 5 | |
| March 14 | Nasal congestion | R09.81 | All | March 10–13 | 217 | 138.5 | 1.6 | 84.4 | 137 |
| Viral infection of unspecified site | B34* | Admissions | March 10–13 | 63 | 27.2 | 2.6 | 39.0 | 91 | |
| Unspecified acute lower respiratory infection | J22 | All | March 12–13 | 14 | 1.8 | 10.2 | 12.6 | 91 | |
| Other diseases of upper respiratory tract | J39* | All | March 10–13 | 59 | 29.1 | 2.4 | 34.0 | 1 | |
| March 15 # | Pneumonia, unspecified organism | J18* | Admissions | March 12–14 | 353 | 245.9 | 1.4 | 107.4 | 274 |
| All | March 12–14 | 579 | 445.9 | 1.3 | 134.1 | 274 | |||
| Fever, unspecified | R50.9 | Admissions | March 13–14 | 127 | 70.6 | 1.9 | 61.4 | 274 | |
| Chills (without fever) | R68.83 | All | March 12–14 | 47 | 18.0 | 3.1 | 32.1 | 137 | |
| Cough | R05* | Admissions | March 10–14 | 165 | 106.0 | 1.6 | 63.8 | 16 |
†The signal detection date was the day after the rolling time range ended. These proof-of-concept analyses used a time range of <90 days because NYC hospitals consistently transitioned from ICD-9-CM to ICD-10-CM as of December 21, 2019. The signals detected on March 10, 2020, for example, were based on an 80-day time range of December 21, 2019–March 9, 2020, with no data lags.
‡The maximum possible RI for this analysis was 274 years. When using 99,999 Monte Carlo replications, the smallest possible P-value is 1/99,999 = 0.00001. With a daily prospective analysis frequency, the maximum RI was thus (1/0.00001)/365 analyses per year = 274 years. When the null hypothesis of no clusters is true, then during a 274-year period, the expected number of clusters with RI≥274 years is 1.
*Subcodes included.
§Same day as the declaration of a local state of emergency (https://www.nyc.gov/assets/home/downloads/pdf/executive-orders/2020/eeo-98.pdf).
¶This was a supplemental node connecting ICD-10-CM codes on different parts of the tree sharing a common etiology. The child nodes for “other coronavirus” were B97.2 (coronavirus as the cause of diseases classified elsewhere) and B34.2 (coronavirus infection, unspecified).
#Same day as widespread community transmission was announced in New York City. 29
Abbreviations: ED, emergency department; ICD-10-CM, International Classification of Diseases, Tenth Revision, Clinical Modification; N/A, not applicable; RI, recurrence interval.
Heat-related illness
On May 18, 2025, TreeScan detected a spike for ICD-10-CM code T67 (effects of heat and light) on the prior day. The chief complaints indicated that patients presented with heat stroke and heat exhaustion after participating in a half marathon under unseasonably hot and humid conditions. 31 This demonstrates that TreeScan can detect health issues associated with mass gatherings and sporting events.
An extreme heat event occurred during June 22–25, 2025, when the daily heat index was 95–103°F. 32 ED visits for the heat-related illness syndrome 7 spiked June 23–26. 32 The only ICD-10-CM codes included in this syndrome definition were T67 and X30 (exposure to excessive natural heat). 7 TreeScan quickly detected an increase in T67 on June 22, and then detected increases in several other heat-related diagnoses during June 24–29 (Table 3, eFigure 2 in the Supplement). Hospital admissions for acute kidney failure signaled on June 27, indicating severe illness. Of 1,094,275 eligible, incident, and unique diagnoses during the 90-day period ending June 28, 1,047,210 (95.7%) were available in near-real time (Figure 3), so signals were timely and actionable. In response and in advance of a subsequent heat wave, the NYC Health Department alerted dialysis networks and connected them to messaging from the NYC Health Department and NYC Emergency Management to proactively prepare patients for heat events.
Table 3.
Signals on June 29, 2025 † related to the June 22–25 extreme heat event in New York City detected by applying the tree-temporal scan statistic to emergency department diagnosis data from March 31 to June 28.
| Code description | ICD-10-CM code | All ED visits or admissions-only | Date range | Observed ED visits | Expected ED visits | Relative risk | Excess ED visits | RI (years) | Days ago signal first detected |
|---|---|---|---|---|---|---|---|---|---|
| Effects of heat and light | T67* | All | June 22–28 | 282 | 31.6 | 24.5 | 270.5 | 274 | 7 |
| Admissions | June 22–28 | 44 | 6.0 | 14.8 | 41.0 | 274 | 4 | ||
| Acute kidney failure | N17* | All | June 23–28 | 519 | 344.3 | 1.6 | 190.9 | 274 | 4 |
| Admissions | June 23–28 | 322 | 233.1 | 1.4 | 97.5 | 46 | 2 | ||
| Volume depletion | E86* | All | June 23–28 | 281 | 159.4 | 1.9 | 131.4 | 274 | 4 |
| Miliaria rubra | L74.0 | All | June 20–28 | 46 | 11.9 | 6.6 | 39.0 | 274 | 5 |
| Syncope and collapse | R55* | All | June 19–28 | 1513 | 1285.7 | 1.2 | 261.1 | 274 | 3 |
| Other symptoms and signs involving cognitive functions and awareness | R41.8* | All | June 23–28 | 433 | 321.5 | 1.4 | 116.3 | 137 | 3 |
| Admissions | June 23–28 | 262 | 191.3 | 1.4 | 72.7 | 0.8 | 2 | ||
| Malaise and fatigue | R53* | All | June 23–28 | 616 | 488.5 | 1.3 | 147.8 | 46 | 2 |
| Hypo-osmolality and hyponatremia | E87.1 | All | June 21–28 | 239 | 163.7 | 1.5 | 82.2 | 46 | 3 |
| Sunburn | L55* | All | June 20–28 | 31 | 9.6 | 3.9 | 23.0 | 34 | 3 |
| Rhabdomyolysis | M62.82 | All | June 23–28 | 69 | 35.2 | 2.1 | 35.5 | 3 | 0 |
Abbreviations: ED, emergency department; ICD-10-CM, International Classification of Diseases, Tenth Revision, Clinical Modification; RI, recurrence interval.
†The TreeScan analysis on this date analyzed 1,047,210 ICD-10-CM diagnoses, with a computer running time of 20 minutes 57 seconds.
*Subcodes included.
Figure 3.
Population flow diagram for input file for analysis run on June 29, 2025.
Hand, foot, and mouth disease and other seasonal increases
On April 5, 2025, TreeScan detected the start of a seasonal increase in diagnoses for B08.4 (enteroviral vesicular stomatitis with exanthem), also known as hand, foot, and mouth disease (HFMD) (eFigure 3 in the Supplement). In the United States, HFMD is a common, typically mild viral illness that is easily transmitted among young children, peaks seasonally from spring to fall, and is not notifiable to health departments. HFMD continued to signal for >4 months of daily TreeScan analyses, with the last signal on August 19. A comparison of weekly trends showed the seasonal increase in 2025 was markedly larger than that of the three prior years (eFigure 3 in the Supplement).
NYC child care providers are required to report HFMD clusters (≥3 cases within a single child care facility) to the NYC Health Department. An unusual increase in reported HFMD clusters in child care facilities independently corroborated the increase in ED diagnoses. Unusual HFMD increases were concurrently noted in multiple states. 33 In response, the NYC Health Department disseminated HFMD messaging to all child care programs regulated under NYC Health Code Article 47 for group day care and Article 43 for school-based child care, highlighting HFMD prevention through handwashing, disinfection, and temporary exclusion of infected children.
TreeScan also detected diagnoses with seasonal increases of similar magnitude as prior years. These included L23.7 (allergic contact dermatitis due to plants, except food [commonly poison ivy exposure]), H60.33 (swimmer’s ear), and T63.44 (toxic effect of venom of bees). These signals did not warrant public health action.
Injuries
TreeScan detected signals on July 5, 2025 for T30.0 (burn of unspecified body region, unspecified degree) and on July 9 for W39 (discharge of firework) (eFigure 4 in the Supplement). For T30.0, patient chief complaints typically did not mention the burn source, although for three patients with no W39 co-diagnosis, “fireworks” or “firecrackers” were mentioned. The NYC Health Department issues annual press releases around Independence Day encouraging New Yorkers to avoid consumer fireworks, citing counts of fireworks-related ED visits 34 as determined by W39 or “fireworks” in the chief complaint. During July 4–8, 2025, 35 ED visits were classified as fireworks-related, while TreeScan estimated 40.4 excess visits for T30.0, indicating W39 was likely under-coded. To lessen reliance on clinicians documenting fireworks-related visits, future public health messaging could account not only for visits directly attributed to fireworks, but also concurrent excess visits for burns.
On August 18, TreeScan detected a spike for W34.00 (accidental discharge from unspecified firearms or gun) (eFigure 4 in the Supplement). The spike was attributable to a mass shooting at a bar on August 17. 35 Historically, certain prior mass casualty events have required standing up supplemental surveillance systems. 36 This signal demonstrates that TreeScan can be used to monitor injuries related to mass casualty events automatically and without pre-specification.
False positives
Three signals were classified as data artifacts. TreeScan detected an increase in F10.929 (alcohol use, unspecified with intoxication, unspecified), which was a diagnosis too specific to plausibly reflect a population-level emergent health issue. Diagnoses aggregated to less specific, higher levels of the tree (i.e., F10.92, F10.9, and F10) had not increased. Consequently, we added additional codes to the file of nodes not to evaluate.
On May 27, TreeScan detected a spike in diagnoses for H66 (suppurative and unspecified otitis media) on the prior day, which was the Memorial Day holiday. The patients were predominantly young children. This signal appeared to reflect a temporary shift in care for young children with ear pain from health care provider offices, which were closed for the holiday, to EDs.
On June 15, TreeScan detected an increase in V89.2 (person injured in unspecified motor-vehicle accident, traffic) during June 11–14, with the highest excess cases on the prior day. With unusually low overall diagnosis volume on Sunday, June 14, and for a serious health issue like motor-vehicle accidents where patients would not delay care seeking, a signal for this diagnosis appeared to be driven by an unusually low volume for other diagnoses.
A missed cluster
A community cluster of Legionnaires’ disease in central Harlem was detected on July 25, 2025 by applying the space-time scan statistic to electronic laboratory reports. 26 This cluster, which grew to 114 cases diagnosed during July 22–August 19, 37 was not detected by TreeScan. Of 100 outbreak-linked patients with an ED visit, only 6 patients were diagnosed with A48.1 (Legionnaires’ disease). The most common diagnosis, with 72 patients, was J18.9 (pneumonia, unspecified organism), for which the background frequency was high, with 3,269 diagnoses citywide during the outbreak period. Thus, the signal-to-noise ratio in citywide temporal analyses was low for a nonspecific diagnosis and a geographically localized outbreak.
Prospective analysis summary
During April–August 2025, TreeScan detected 84 unique signals. Three signals were data artifacts, so the positive predictive value was 96%. Of the remaining 81 signals plausibly reflecting true increases in health issues, 32 (40%) reflected typical seasonal increases, 20 (25%) were related to an acute event, 27 (33%) were unexplained, and 2 (2%) were concerning and resulted in public health action.
Regarding timeliness, for six acute events, including three heat events, a half marathon, a shooting at a bar, and Independence Day celebrations, at least one related signal per event was detected the following day. For the 32 diagnoses exhibiting typical seasonal increases, the median interval from the TreeScan cluster start date to first detection was 8 days (interquartile range: 6–15 days). The more rapid the seasonal increase, the faster it was detected.
Discussion
By applying the tree-temporal scan statistic to ED diagnoses, we detected increases in various health issues without pre-specification that affected NYC residents and visitors. Within the first five months of daily analyses, TreeScan demonstrated sensitivity to detect true increases in diagnoses that were minor (e.g., allergic contact dermatitis due to poison ivy exposure) and severe (hospital admissions for acute kidney failure); rare in the ED (miliaria rubra [heat rash]) and common (syncope and collapse); acute (a 1-day increase in heat exhaustion from a half marathon) and sustained (a prolonged HFMD increase); and foreseen (injuries from consumer fireworks around Independence Day) and unforeseen (gunshot wounds). Moreover, the investigative burden for false alarms was low. Only three signals appeared to be data artifacts, as determined by inspecting automated signal summary reports.
Two concerning signals prompted focused outreach separately to dialysis networks and child care programs. If TreeScan analyses had been in place during COVID-19 emergence, then policymakers might have had timelier knowledge of widespread community transmission and illness burden and severity. Factors increasing risk of severe complications, including cigarette smoking and type 2 diabetes, might have been characterized by mid-March 2020, before more resource-intensive studies could be conducted. In comparison with traditional syndromic surveillance, TreeScan detected increases in diagnoses for COVID-19–like illness, heat-related illness, and fireworks-related injuries, which were also detected using syndrome definitions. TreeScan added value by supporting more nuanced awareness of evolving situations, including for diagnoses excluded from syndrome definitions, such as heat-related acute kidney failure and excess burns not coded as fireworks-related.
We provide a comprehensive toolkit to support local implementation at other health departments. Our novel process can be replicated using the resources in the Supplement, including: code for removing non-incident and ineligible diagnoses from one’s own ED data; a tree file including supplemental nodes connecting diagnoses on different parts of the tree sharing a common etiology; a list of diagnoses not to evaluate; parameter settings with justifications; and code for defining and classifying signals and generating summary reports to support signal interpretation. Embedded in these files is a novel mechanism to simultaneously search for increases in diagnoses from ED visits overall and the subset resulting in hospital admission. Once automated, analytic maintenance requirements are minimal besides ensuring timely and complete ED data and accounting for newly added ICD-10-CM codes at least annually each October. 23
Limitations
Repurposing ICD-10-CM codes for public health surveillance carries limitations. First, patients with no ICD-10-CM codes assigned were excluded from analysis. These patients might have left against medical advice or discontinued care for other reasons, and their missingness could reduce population representativeness 38 and contribute to missed or delayed signal detection. Second, where assigned, ICD-10-CM codes might misclassify patients’ true health conditions. Diagnoses are assigned during ED visits and at discharge, prior to potential later adjustment by hospital billing departments, so likely reflect clinical impressions. Validating all diagnosis codes for population surveillance is impractical, but even with baseline misclassification and variation in coding processes across clinicians and institutions contributing noise, signals of increases above baseline should be detectable. Third, although we provided examples of detecting health issues the immediate day after an acute event, illnesses requiring more time to diagnose and data delays can contribute to missed or delayed signal detection. We are unaware of systematic differences in ICD-10-CM code timeliness by nature of diagnosis, hospital system, or admission status in NYC, but timeliness could vary within and across jurisdictions.
TreeScan did not detect a Legionnaires’ disease outbreak, indicating imperfect sensitivity to detect every health issue in NYC. Depending on the signal-to-noise ratio, a geographically limited outbreak might not be apparent in citywide temporal analyses, especially when patients are assigned nonspecific and common diagnoses, such as for pneumonia caused by an unspecified organism. TreeScan analyses of ED visits should thus supplement and not replace other aberration detection methods, such as spatiotemporal cluster detection of reportable diseases. 26 Health issues primarily affecting a subpopulation might not be detected in population-wide analyses. Stratified analyses restricting to selected subpopulations of special interest could improve the signal-to-noise ratio for such issues.
Practice implications
A unified, practical, and timely approach for asyndromic surveillance has been heretofore elusive. By mining ED diagnosis data, authorities now can automatically detect credible increases in visits for any cause, without preselection. The process could be applied to any data source with ICD-10 codes, including urgent care visits and hospitalization claims, as well as cause-of-death mortality data.
We demonstrated the effectiveness and public health utility of reviewing TreeScan signals in near-real time to detect health issues, launch investigations, mitigate hazards, support situational awareness, and allocate resources. In accordance with ethical and legal frameworks, 39 governmental public health entities should protect patient confidentiality while enabling data use for surveillance purposes, including detecting aberrations within local areas. The tree-temporal scan statistic uses only deidentified, aggregated input data. The TreeScan software is locally installed, and confidential information is never transmitted elsewhere for analysis. Signal validation and investigation activities should be limited to authorized personnel who securely access the minimum data necessary for public health surveillance and illness prevention and apply knowledge of the local context. This is of paramount importance for signals of sensitive health issues that might lead to discrimination or stigmatization. Additionally, when appraising the scale and scope of a health issue, persons not represented in the output should also be considered. This includes persons with difficulty accessing ED care, those who presented to the ED but were not assigned ICD-10-CM codes, and those who might have been assigned erroneous codes.
This system will perform best when complete and accurate ICD-10-CM codes are quickly available, underscoring the importance of medical coders and public health informatics infrastructure. In our setting, a high percentage of diagnoses were available for analysis as of the morning after the day of the ED visit. Other jurisdictions should assess their data timeliness and determine if different types of diagnoses are available at different lags. If recent data are highly incomplete and the analysis is not run at a lag, then the false-positive rate could be inflated by ICD-10-CM codes that require less diagnostic workup so tend to be reported more quickly. Staff reviewing signal reports should also consider local factors influencing diagnostic coding accuracy. Additional work is warranted to further develop and codify a signal management framework 30 and to train public health officials on signal assessment. A community of practice around scan statistics would be helpful for sharing knowledge around signal detection and interpretation.
In addition to infectious disease outbreak detection, TreeScan can be used to detect health issues during mass gatherings, such as for sporting, political, religious, or cultural events and health effects of environmental exposures, including extreme heat, extreme cold, hurricanes, flooding, wildfire smoke inhalation, and power outages. TreeScan can also detect population-level increases in newly emerging pathogens (e.g., COVID-19 emergence) and in conditions not required to be reported to health departments, such as HFMD and Mycoplasma pneumoniae infections, 24 which otherwise can be difficult to monitor in near-real time. With adjustments to time frames, this approach could also be useful in detecting longer-term effects of changes in health policy and services. 40
Supplemental material
Supplemental material for Asyndromic Surveillance of New York City Emergency Department Diagnoses with the Tree-Temporal Scan Statistic by Sharon K. Greene, Alison Levin-Rector, Martin Kulldorff and Ramona Lall in Journal of Public Health Research.
Supplemental material for Asyndromic Surveillance of New York City Emergency Department Diagnoses with the Tree-Temporal Scan Statistic by Sharon K. Greene, Alison Levin-Rector, Martin Kulldorff and Ramona Lall in Journal of Public Health Research.
Supplemental material for Asyndromic Surveillance of New York City Emergency Department Diagnoses with the Tree-Temporal Scan Statistic by Sharon K. Greene, Alison Levin-Rector, Martin Kulldorff and Ramona Lall in Journal of Public Health Research.
Supplemental material for Asyndromic Surveillance of New York City Emergency Department Diagnoses with the Tree-Temporal Scan Statistic by Sharon K. Greene, Alison Levin-Rector, Martin Kulldorff and Ramona Lall in Journal of Public Health Research.
Supplemental material for Asyndromic Surveillance of New York City Emergency Department Diagnoses with the Tree-Temporal Scan Statistic by Sharon K. Greene, Alison Levin-Rector, Martin Kulldorff and Ramona Lall in Journal of Public Health Research.
Acknowledgments
We gratefully acknowledge Leah Seifu, Joel Ackelsberg, and Rachel Paneth-Pollak (NYC Health Department) for contributions to real-time signal interpretation and follow-up. Judy Maro and Katherine Yih (Harvard Pilgrim Health Care Institute) provided helpful guidance for generating input files and automating TreeScan analyses. Drs. Seifu, Ackelsberg, Paneth-Pollak, and Maro also provided constructive suggestions on a previous manuscript draft. We additionally thank the Syndromic Surveillance Team (NYC Health Department) for ED data maintenance, Pierre Amiel for testing the code provided in the supplemental material, and Scott Hostovich (Information Management Services, Inc.) for incorporating updates into TreeScan software v2.3. A preliminary version of this work was presented at the U.S. National Syndromic Surveillance Program Community of Practice Call in January 2026 (https://vimeo.com/1168977770). This article was preprinted at https://www.medrxiv.org/content/10.1101/2025.11.11.25339953.
Author contributions: Greene (https://orcid.org/0000-0002-3509-2377): Conceptualization (lead), Formal analysis (supporting), Funding acquisition (lead), Investigation (supporting), Methodology (equal), Project administration (lead), Software (supporting), Supervision (lead), Writing – original draft (lead), Writing – review & editing (lead). Levin-Rector (https://orcid.org/0000-0002-4747-4188): Data curation (supporting), Formal analysis (supporting), Methodology (supporting), Software (supporting), Writing – review & editing (supporting). Kulldorff (https://orcid.org/0000-0002-5284-2993): Conceptualization (supporting), Methodology (equal), Software (lead), Writing – review & editing (supporting). Lall (https://orcid.org/0000-0003-4079-4610): Conceptualization (supporting), Data curation (lead), Formal analysis (lead), Investigation (lead), Writing – review & editing (supporting).
Funding: The authors disclosed receipt of the following financial support for the research, authorship, and/or publication of this article: This work was supported by the U.S. Centers for Disease Control and Prevention [grant numbers NU50CK000517-05-02, NU51CK000368-02-00, and NU90TU000059-02]. The findings and conclusions in this article are those of the authors and do not necessarily represent the official position of the NYC Health Department or the Centers for Disease Control and Prevention.
The authors declared no potential conflicts of interest with respect to the research, authorship, and/or publication of this article.
Supplemental Material: Supplemental material for this article is available online.
ORCID iDs
Sharon K. Greene https://orcid.org/0000-0002-3509-2377
Ramona Lall https://orcid.org/0000-0003-4079-4610
Ethical considerations
The NYC Health Department Institutional Review Board determined this study (#24-084) was exempt human subjects research under 45 CFR §46.104 (d) (4) (iii) because it involved secondary use of clinical data, thus waiving the need for participant informed consent.
Data Availability Statement
Sample code for replicating our analytical pipeline with a user’s own data source is provided in the Supplement. For transparency and reproducibility of signals related to an extreme heat event, TreeScan input and output files (which contain no confidential patient data) for prospective surveillance on June 29, 2025 are provided in the Supplement. The TreeScan software (https://www.treescan.org) and source code (github.com/scanstatistics/treescan) are freely available.
References
- 1.New York City Health Code . Article §11.03 Diseases and conditions of public health interest that are reportable. https://www.nyc.gov/assets/doh/downloads/pdf/about/healthcode/health-code-article11.pdf, Accessed 25 August 2025.
- 2.Lall R, Abdelnabi J, Ngai S, et al. Advancing the use of emergency department syndromic surveillance data, New York City, 2012-2016. Public Health Rep 2017; 132: 23S–30S. 10.1177/0033354917711183 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 3.Thompson CN, Baumgartner J, Pichardo C, et al. COVID-19 outbreak — New York City, February 29–June 1, 2020. MMWR Morb Mortal Wkly Rep 2020; 69: 1725–1729. 10.15585/mmwr.mm6946a2 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 4.CDC . New ICD-10-CM code for the 2019 Novel Coronavirus (COVID-19). Published 18 March 2020. https://www.cdc.gov/nchs/data/icd/Announcement-New-ICD-code-for-coronavirus-3-18-2020.pdf (2020), Accessed 25 August 2025.
- 5.Cocoros NM, Willis SJ, Eberhardt K, et al. Syndromic surveillance for COVID-19, Massachusetts, February 2020-November 2022: the impact of fever and severity on algorithm performance. Public Health Rep 2023; 138: 756–762. 10.1177/00333549231186574 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 6.Orrall A. Why capturing heat-related illness in the medical record matters more than ever. JAMA 2025; 334: 557–559. 10.1001/jama.2024.28654 [DOI] [PubMed] [Google Scholar]
- 7.Council of State and Territorial Epidemiologists . Heat-related illness syndrome query: a guidance document for implementing heat-related illness syndromic surveillance in public health practice. Version 1.0. https://cdn.ymaws.com/www.cste.org/resource/resmgr/pdfs/pdfs2/CSTE_Heat_Syndrome_Case_Defi.pdf (2016), Accessed 25 August 2025.
- 8.Faigen Z, Deyneka L, Ising A, et al. Cross-disciplinary consultancy to bridge public health technical needs and analytic developers: asyndromic surveillance use case. Online J Public Health Inform 2015; 7: e228. 10.5210/ojphi.v7i3.6354 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 9.Burkom H, Elbert Y, Piatko C, et al. A term-based approach to asyndromic determination of significant case clusters. Online J Public Health Inform 2015; 7: e61504. 10.5210/ojphi.v7i1.5675 [DOI] [Google Scholar]
- 10.Lall R, Levin-Rector A, Mathes R, et al. Detecting unanticipated increases in emergency department chief complaint keywords. Online J Public Health Inform 2014; 6: e93. https://ojphi.jmir.org/2014/1/e61333/PDF [Google Scholar]
- 11.Loschen W, Burkom H, Atrubin D. Jurisdictional usage of the new ESSENCE word alert feature. Online J Public Health Inform 2017; 9: e132. 10.5210/ojphi.v9i1.7718 [DOI] [Google Scholar]
- 12.Chapman WW, Christensen LM, Wagner MM, et al. Classifying free-text triage chief complaints into syndromic categories with natural language processing. Artif Intell Med 2005; 33: 31–40. 10.1016/j.artmed.2004.04.001 [DOI] [PubMed] [Google Scholar]
- 13.Lee SH, Levin D, Finley PD, et al. Chief complaint classification with recurrent neural networks. J Biomed Inform 2019; 93: 103158. 10.1016/j.jbi.2019.103158 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 14.Nobles M, Lall R, Mathes RW, et al. Presyndromic surveillance for improved detection of emerging public health threats. Sci Adv 2022; 8: eabm4920. 10.1126/sciadv.abm4920 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 15.National Center for Health Statistics, CDC . International Classification of Diseases, Tenth Revision, Clinical Modification (ICD-10-CM). https://www.cdc.gov/nchs/icd/icd-10-cm (2024), Accessed 25 August 2025. [PubMed]
- 16.Sheppard M. Rnssp R Markdown template: ICD-10 discharge diagnosis code usage and features. National Syndromic Surveillance Program, Centers for Disease Control and Prevention. https://cdcgov.github.io/Rnssp-rmd-templates/templates/icd10codeuse/ Accessed 25 August 2025. [Google Scholar]
- 17.Kulldorff M, Fang Z, Walsh SJ. A tree-based scan statistic for database disease surveillance. Biometrics 2003; 59: 323–331. 10.1111/1541-0420.00039 [DOI] [PubMed] [Google Scholar]
- 18.Kulldorff M, Dashevsky I, Avery TR, et al. Drug safety data mining with a tree-based scan statistic. Pharmacoepidemiol Drug Saf 2013; 22: 517–523. 10.1002/pds.3423 [DOI] [PubMed] [Google Scholar]
- 19.Yih WK, Maro JC, Nguyen M, et al. Assessment of quadrivalent human papillomavirus vaccine safety using the self-controlled tree-temporal scan statistic signal-detection method in the Sentinel System. Am J Epidemiol 2018; 187: 1269–1276. 10.1093/aje/kwy023 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 20.Li R, Weintraub E, McNeil MM, et al. Meningococcal conjugate vaccine safety surveillance in the Vaccine Safety Datalink using a tree-temporal scan data mining method. Pharmacoepidemiol Drug Saf 2018; 27: 391–397. 10.1002/pds.4397 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 21.CDC . Value sets associated with PHIN Messaging Guide for Syndromic Surveillance. Version 15. Published 30 September 2015. https://phinvads.cdc.gov/vads/ViewView.action?name=Syndromic%20Surveillance, Accessed 25 August 2025.
- 22.Benchimol EI, Smeeth L, Guttmann A, et al. The REporting of studies Conducted using Observational Routinely-collected health Data (RECORD) Statement. PLoS Med 2015; 12: e1001885. 10.1371/journal.pmed.1001885 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 23.Centers for Medicare & Medicaid Services . 2025 ICD-10-CM: 2025 Code Tables, Tabular and Index (ZIP). Accessed 11 September 2024. https://www.cms.gov/medicare/coding-billing/icd-10-codes [PubMed]
- 24.Diaz MH, Hersh AL, Olson J, et al. Mycoplasma pneumoniae infections in hospitalized children - United States, 2018-2024. MMWR Morb Mortal Wkly Rep 2025; 74: 394–400. 10.15585/mmwr.mm7423a1 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 25.Kulldorff M and Information Management Services, Inc . TreeScanTM software version 2.3 (January 2025) and TreeScanTM user guide for version 2.1. Calverton, Maryland, 2022. https://www.treescan.org/ [Google Scholar]
- 26.Levin-Rector A, Kulldorff M, Peterson ER, et al. Prospective spatiotemporal cluster detection using SaTScan: tutorial for designing and fine-tuning a system to detect reportable communicable disease outbreaks. JMIR Public Health Surveill 2024; 10: e50653. 10.2196/50653 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 27.Kleinman K, Lazarus R, Platt R. A generalized linear mixed models approach for detecting incident clusters of disease in small areas, with an application to biological terrorism. Am J Epidemiol 2004; 159: 217–224. 10.1093/aje/kwh029 [DOI] [PubMed] [Google Scholar]
- 28.CDC COVID-19 Response Team, Jorden MA, Rudman SL, et al. Evidence for limited early spread of COVID-19 within the United States, January-February 2020. MMWR Morb Mortal Wkly Rep 2020; 69: 680–684. 10.15585/mmwr.mm6922e1 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 29.Bushman D, Alroy KA, Greene SK, et al. Detection and genetic characterization of community-based SARS-CoV-2 infections - New York City, March 2020. MMWR Morb Mortal Wkly Rep 2020; 69: 918–922. 10.15585/mmwr.mm6928a5 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 30.Norén GN, Donegan K, Muñoz MA, et al. Recommendations to enable broader use of real-world evidence to inform decision-making throughout pharmacovigilance signal management. Pharmacoepidemiol Drug Saf 2025; 34: e70231. 10.1002/pds.70231 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 31.Brendlen K. Runners contend with brutal heat and humidity at 2025 RBC Brooklyn Half Marathon. Brooklyn Paper, Published 19 May 2025. https://www.brooklynpaper.com/runners-contend-heat-brooklyn-half-marathon/ (Accessed 25 August 2025). [Google Scholar]
- 32.NYC Health Department . Environment & Health Data Portal: Real-time heat-related illness. https://a816-dohbesp.nyc.gov/IndicatorPublic/data-features/heat-syndrome/, Accessed 25 August 2025.
- 33.Bajaj S. Hand, foot and mouth disease is spreading again this summer. The New York Times 2025. https://www.nytimes.com/2025/07/29/well/hand-foot-and-mouth-disease-symptoms-treatment.html (Accessed 25 August 2025). [Google Scholar]
- 34.NYC Health Department . This July 4, Spark Joy — Not Amateur Fireworks. Press release 2 July 2025. https://www.nyc.gov/site/doh/about/press/pr2025/this-july-4-spark-joy-not-amateur-fireworks.page (Accessed 25 August 2025). [Google Scholar]
- 35.Cramer M, Marcius CR, Schweber N, et al. Gang-related attack kills 3 in shootout at a Brooklyn bar. The New York Times 2025. https://www.nytimes.com/2025/08/17/nyregion/brooklyn-shooting-nightclub.html (Accessed 25 August 2025). [Google Scholar]
- 36.Das D, Weiss D, Mostashari F, et al. Enhanced drop-in syndromic surveillance in New York City following September 11, 2001. J Urban Health 2003; 80: i76–i88. 10.1007/pl00022318 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 37.NYC Health Department . New York City Health Department closes investigation of central Harlem Legionnaires’ disease cluster. Published 29 August 2025. https://www.nyc.gov/site/doh/about/press/pr2025/health-department-closes-investigation-central-harlem-legionnaires-cluster.page, Accessed 29 August 2025.
- 38.Marco CA, Bryant M, Landrum B, et al. Refusal of emergency medical care: An analysis of patients who left without being seen, eloped, and left against medical advice. Am J Emerg Med 2021; 40: 115–119. 10.1016/j.ajem.2019.158490 [DOI] [PubMed] [Google Scholar]
- 39.Francis LP, Francis JG. Chapter 14: Informatics and Public Health Surveillance. In: Contreras JL, Cuticchia AJ, Kirsch GJ. (eds). Bioinformatics, Medical Informatics and the Law. Edward Elgar Publishing, 2022, pp. 269–296. 10.4337/9781839105951 [DOI] [Google Scholar]
- 40.Gould LH, Sun E, Germain P, et al. Surveillance to monitor the impact of the Trump administration on the health of New York City residents. J Public Health Manag Pract 2020; 26: 539–547. 10.1097/PHH.0000000000001045 [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 material for Asyndromic Surveillance of New York City Emergency Department Diagnoses with the Tree-Temporal Scan Statistic by Sharon K. Greene, Alison Levin-Rector, Martin Kulldorff and Ramona Lall in Journal of Public Health Research.
Supplemental material for Asyndromic Surveillance of New York City Emergency Department Diagnoses with the Tree-Temporal Scan Statistic by Sharon K. Greene, Alison Levin-Rector, Martin Kulldorff and Ramona Lall in Journal of Public Health Research.
Supplemental material for Asyndromic Surveillance of New York City Emergency Department Diagnoses with the Tree-Temporal Scan Statistic by Sharon K. Greene, Alison Levin-Rector, Martin Kulldorff and Ramona Lall in Journal of Public Health Research.
Supplemental material for Asyndromic Surveillance of New York City Emergency Department Diagnoses with the Tree-Temporal Scan Statistic by Sharon K. Greene, Alison Levin-Rector, Martin Kulldorff and Ramona Lall in Journal of Public Health Research.
Supplemental material for Asyndromic Surveillance of New York City Emergency Department Diagnoses with the Tree-Temporal Scan Statistic by Sharon K. Greene, Alison Levin-Rector, Martin Kulldorff and Ramona Lall in Journal of Public Health Research.
Data Availability Statement
Sample code for replicating our analytical pipeline with a user’s own data source is provided in the Supplement. For transparency and reproducibility of signals related to an extreme heat event, TreeScan input and output files (which contain no confidential patient data) for prospective surveillance on June 29, 2025 are provided in the Supplement. The TreeScan software (https://www.treescan.org) and source code (github.com/scanstatistics/treescan) are freely available.



