OSCR

Prognostic assessment of comatose patients after cardiac arrest: construction of a simplified monitoring EEG risk score across different time windows.

Code ↔ Paper

The paper beside its authors' code: matches between them have not been computed for this paper yet.

Paper

Loaded from Europe PMC by your browser; OSCR does not store it: doi.org · Europe PMC

The paper is loaded when this pane is shown.

The authors' code

Markdown · 150 lines · 8.4 KB · MIT

  1. # Simplified EEG Risk Score (SERS) Prediction Calculator
  2. ![Platform](https://img.shields.io/badge/platform-Windows-blue)
  3. ![Status](https://img.shields.io/badge/status-research%20use-orange)
  4. ![License](https://img.shields.io/badge/license-MIT-green)
  5. A bedside decision-support tool for **prognostic assessment of comatose patients after cardiac arrest (CA)**, built on the **Simplified EEG Risk Score (SERS)** — a multi-feature, time-window-specific EEG scoring system derived from a retrospective cohort of 251 post-CA patients (344 EEG recordings) at the First Affiliated Hospital of Chongqing Medical University.
  6. The calculator integrates five key EEG features with routine clinical indicators (initial rhythm, pupillary reflex, APACHE II score, NSE) to estimate the risk of poor neurological outcome at **three post-CA time windows: Day 1, Day 2–5, and > Day 5**.
  7. ---
  8. ## Why SERS?
  9. - **~40% of comatose post-CA patients fall into a "prognostic grey zone"** — single EEG features (e.g., background continuity or reactivity alone) show false-positive rates as high as 37.6–58.3%.
  10. - EEG pathology evolves over time: the predictive value of individual features shifts across the post-arrest course, so a single-time-point assessment is unreliable.
  11. - **SERS integrates background amplitude, dominant frequency, continuity, reactivity, and sleep waveforms**, with scoring weights derived from time-window-specific logistic regression coefficients — combining the biological interpretability of EEG with the stability of a multivariable model.
  12. ## Features
  13. - **Time-window-specific scoring** — separate, validated SERS weights for Day 1, Day 2–5, and > Day 5 after cardiac arrest
  14. - **Two-step workflow** — compute the SERS from EEG features, then combine it with clinical variables for the final risk estimate
  15. - **Risk stratification** — outputs a risk category (low / medium / high) together with an estimated probability of poor outcome
  16. - **Standalone Windows executable** — no Python installation or programming required; runs entirely offline, no patient data leaves your machine
  17. - **Open for external validation** — we invite researchers and clinicians to test the SERS on independent datasets
  18. ## The SERS Scoring System
  19. Each EEG feature is scored 0 (favorable) or a time-window-specific weight (unfavorable). The SERS is the sum of the five item scores. EEG features are defined according to the **ACNS Standardized Critical Care EEG Terminology (2021)**.
  20. ### Day 1 (total range 0–16.5)
  21. | EEG feature | 0 points | Points if abnormal |
  22. |---|---|---|
  23. | Background amplitude | Normal | **4** (Abnormal) |
  24. | Background dominant frequency | Fast band (α/β) | **2** (Slow band θ/δ or no discernible activity) |
  25. | Background continuity | Continuous | **4** (Discontinuous) |
  26. | Reactivity | Present | **4** (Absent) |
  27. | Sleep waveforms | Present | **2.5** (Absent) |
  28. ### Day 2–5 (total range 0–14)
  29. | EEG feature | 0 points | Points if abnormal |
  30. |---|---|---|
  31. | Background amplitude | Normal | **4** (Abnormal) |
  32. | Background dominant frequency | Fast band (α/β) | **2.5** (Slow band θ/δ or no discernible activity) |
  33. | Background continuity | Continuous | **3** (Discontinuous) |
  34. | Reactivity | Present | **3** (Absent) |
  35. | Sleep waveforms | Present | **1.5** (Absent) |
  36. ### > Day 5 (total range 0–17)
  37. | EEG feature | 0 points | Points if abnormal |
  38. |---|---|---|
  39. | Background amplitude | Normal | **4** (Abnormal) |
  40. | Background dominant frequency | Fast band (α/β) | **2.5** (Slow band θ/δ or no discernible activity) |
  41. | Background continuity | Continuous | **4** (Discontinuous) |
  42. | Reactivity | Present | **4** (Absent) |
  43. | Sleep waveforms | Present | **2.5** (Absent) |
  44. ### Risk stratification by SERS
  45. | Time window | Low risk | Medium risk | High risk |
  46. |---|---|---|---|
  47. | Day 1 | 0 (poor outcome 33.3%) | 2–8.5 (59.5%) | 10–16.5 (100%) |
  48. | Day 2–5 | 0 (20.0%) | 1.5–7 (67.4%) | 7.5–14 (97.3%) |
  49. | > Day 5 | 0 (11.1%) | 2.5–6.5 (66.0%) | 8–17 (100%) |
  50. ## Installation
  51. 1. Download [`main.exe`](main.exe) from this repository (click the file → **Download**), or clone the repo:
  52. ```bash
  53. git clone https://github.com/ShengYH2001/Simplified-EEG-Risk-Score.git
  54. ```
  55. 2. Double-click `main.exe` — no installation, no dependencies, no internet connection required.
  56. > If Windows SmartScreen prompts a warning for the unsigned executable, click **More info → Run anyway**.
  57. ## Usage
  58. ### Step 1 — Select the post-CA time window
  59. Open the calculator and choose the time window of the EEG recording (**Day 1**, **Day 2–5**, or **> Day 5**).
  60. <img width="372" height="262" alt="step1_select_time_window" src="https://github.com/user-attachments/assets/15dd0fef-1103-4609-a3c1-111a57aeab85" />
  61. ### Step 2 — Calculate the SERS
  62. Click **Calculate** to open the EEG scoring panel. For each of the five EEG features, select the patient's finding from the drop-down menu, then click **Calculate EEG score**. The SERS is filled in automatically.
  63. <img width="367" height="262" alt="step2_calculate_eeg_score" src="https://github.com/user-attachments/assets/f2ec0fbc-5582-4e39-a293-8049b4cf721a" />
  64. ### Step 3 — Enter clinical indicators and obtain the risk estimate
  65. Complete the remaining fields:
  66. | Field | Input |
  67. |---|---|
  68. | Ventricular fibrillation | Whether the initial rhythm was ventricular fibrillation (shockable rhythm) — Yes / No |
  69. | Pupillary reflex | Whether the pupillary light reflex was absent — Yes / No |
  70. | APACHE II score | Acute Physiology and Chronic Health Evaluation II score (within 72 h after CA) |
  71. | Simplified EEG risk score | Auto-filled from Step 2 (editable) |
  72. | NSE | Neuron-specific enolase, ng/mL (within 72 h after CA) |
  73. Click **Calculate risk**. The tool outputs the **risk category** (e.g., *High risk of mortality*) and the **estimated probability** of poor outcome.
  74. <img width="665" height="663" alt="step3_view_result" src="https://github.com/user-attachments/assets/01f8fc48-c247-4867-8e22-bc294fdb76e8" />
  75. ## Model Performance
  76. Internal validation with leave-one-out cross-validation (combined model: SERS + initial rhythm + pupillary reflex + APACHE II + NSE):
  77. | Time window | AUC (95% CI) | Accuracy | Sensitivity | Specificity |
  78. |---|---|---|---|---|
  79. | Day 1 (n = 119) | **0.965** (0.934–0.995) | 89.08% | 88.00% | 94.74% |
  80. | Day 2–5 (n = 127) | **0.909** (0.855–0.963) | 80.32% | 78.10% | 90.91% |
  81. | > Day 5 (n = 98) | **0.903** (0.842–0.963) | 81.63% | 78.67% | 91.30% |
  82. The SERS alone achieved AUCs of **0.912 / 0.893 / 0.881** at Day 1 / Day 2–5 / > Day 5, significantly outperforming individual EEG features, Synek grading, and Young grading within each time window (all *P* < 0.05, with significant IDI and NRI).
  83. ## External Validation
  84. This repository also serves as an **open validation platform** for the SERS. If you use the calculator on your own cohort, we warmly invite you to share your validation results via [Issues](../../issues) or by contacting the corresponding author — multi-center external validation is essential for establishing the generalizability of the score.
  85. ## Citation
  86. If you use this tool or the SERS in your research, please cite:
  87. > Wang Y, Sheng Y, Li F. *Prognostic Assessment of Comatose Patients After Cardiac Arrest: Construction of a Simplified Monitoring EEG Risk Score Across Different Time Windows.* (Manuscript; preprint available). Department of Neurology & Department of Critical Care Medicine, The First Affiliated Hospital of Chongqing Medical University, Chongqing, China.
  88. ## Authors and Contact
  89. - **Yan Wang, MD** — Department of Neurology & Nursing Department
  90. - **Yuanhui Sheng, MD** — Department of Critical Care Medicine & Department of Emergency
  91. - **Feng Li, MD** (corresponding author) — 📧 [email hidden]
  92. The First Affiliated Hospital of Chongqing Medical University, Chongqing 400016, China
  93. ## Funding
  94. - Chongqing Science and Health Joint Medical Research Project (Grant No. 2026MSXM082)
  95. - 2024 Nursing Research and Innovation Project of the First Affiliated Hospital of Chongqing Medical University (Grant No. HLYB2024-03)
  96. ## Disclaimer
  97. This software is intended for **research purposes only**. It does not replace clinical judgment and must not be used as the sole basis for treatment decisions or decisions to withdraw life-sustaining therapy. Prognostication after cardiac arrest should always follow current international guidelines and integrate multimodal assessment by qualified clinicians.
  98. ## License
  99. This project is released under the [MIT License](LICENSE).

README.md at commit cedaf6a, under MIT · at the source

Overview

Authors: Yan Wang1, Yuanhui Sheng2, Feng Li1
  1. Department of Neurology & Nursing Department, The First Affiliated Hospital of Chongqing Medical University, Chongqing, China
  2. Department of Critical Care Medicine & Department of Emergency, The First Affiliated Hospital of Chongqing Medical University, Chongqing, China
Journal: Frontiers in neurology, volume 17, article 1812084
Dates: received 16 February 2026; accepted 6 August 2026; published online 25 August 2026
Type: Research article · Language: English
License: CC BY
Identifiers: DOI 10.3389/fneur.2026.1812084 · PMID 42712379 · PMCID PMC13549905 · OpenAlex W7204181987
Open access: gold, a free copy (OpenAlex)
Status: empty repository (how the code is found and verified)
Categories: EEG (modality), human (organism), other condition (population), clinical / translational (subfield)
Methods: Preprocessing, Statistics, Machine learning, Physiology & signal measures
Keywords: cardiac arrest, coma, electroencephalogram, prognosis, risk assessment
MeSH: Coma*, Electroencephalography*, Heart Arrest*, Aged, Female, Humans, Male, Middle Aged, Prognosis, Retrospective Studies, Risk Assessment, Time Factors (* major topic)
Topic: Cardiac Arrest and Resuscitation (Emergency Medicine, Medicine), according to OpenAlex
Citations: not cited yet (Europe PMC); 29 references in the paper

Abstract

Objectives: To develop a Simplified EEG Risk Score (SERS) for accurate and time-robust prognostic assessment in comatose patients after cardiac arrest.

Methods: This retrospective cohort study enrolled comatose patients after cardiac arrest admitted to the ICU of the First Affiliated Hospital of Chongqing Medical University between January 2020 and December 2024. Univariate logistic regression was used to derive β-coefficients for EEG features, including background amplitude, dominant frequency, continuity, reactivity, and sleep elements, which were incorporated into the SERS. Multivariate logistic regression identified independent predictors of poor neurological outcome. Prognostic performance was evaluated at Day 1, Days 2–5, and >5 days after cardiac arrest using receiver operating characteristic curves, with assessment of the area under the curve (AUC), accuracy, sensitivity, and specificity.

Results: A total of 251 comatose patients after cardiac arrest were included; 45 (18%) had good outcomes and 206 (82%) had poor outcomes. Abnormal background amplitude, slow dominant frequency (δ/θ), discontinuous background, absent reactivity, and absent sleep waveforms were all significantly associated with poor prognosis (P < 0.001). The AUCs of SERS were 0.912, 0.893, and 0.881 at Day 1, Days 2–5, and >5 days, respectively, outperforming individual EEG features, commonly used EEG scores, and traditional clinical predictors. Risk stratification demonstrated clear separation of prognosis across low-, medium-, and high-risk groups at all time windows.

Conclusions: SERS shows high predictive accuracy and temporal stability, enabling reliable risk stratification for poor neurological outcomes in comatose patients after cardiac arrest, supporting its potential clinical utility.

Reproduced under the paper's license (CC BY), from the paper cited above.

Repository

Its files are read in the Code ↔ Paper reader above.

ShengYH2001/Simplified-EEG-Risk-Score

License: MIT
State: the link answers, verified on 27 September 2026
Evidence: files inventoried
Commit: cedaf6aea2e49b7ce60e55109a34d533de0753d8, 17 July 2026
Size: 2 files, 0 scripts
Software Heritage: not archived
Found in: the text, “Limitations”
Holds: README
Not found: license file, CITATION.cff, environment file, tests, continuous integration, documentation
Availability: 1 check, the latest on 27 September 2026: the link answers
  • 27 September 2026: the link answers
1 file

Tracing map

Proposed by the machine: these links were found in the paper and verified at the source, without human review. The map will receive a Zenodo DOI once one of the paper's authors has validated it with their ORCID.

What the map holds:

  • 1 repository of the authors' code, each at its verified commit, with its license and how the link was found in the paper;
  • 0 scripts, each with its path and the digest of its content;
  • no match between paragraphs and code yet;
  • neither the text of the paper nor the code itself.

Its JSON (tracing-map.json) is deposited on Zenodo with its DOI once the map is validated.

Data

No dataset and no data link were found in the paper.

Data availability statement

The original contributions presented in the study are included in the article/Supplementary material, further inquiries can be directed to the corresponding author.

Reproduced under the paper's license (CC BY), from the paper cited above.

Versions

The history of this record: each version stored by the harvester or made by a correction of its authors or of the maintainers of its code, and what changed in its facts. The texts of the paper (its abstract, its availability statements) are not part of it; versions that changed only those are not listed.

Version 2, 28 September 2026

  • Funding: added Chongqing Medical University

Version 1, 27 September 2026: the first record

Recorded: type, language, journal, volume, pages, dates, 3 authors, 5 keywords, 12 MeSH terms, 29 references.

Cite

This paper

Wang, Y., Sheng, Y., & Li, F. (2026). Prognostic assessment of comatose patients after cardiac arrest: construction of a simplified monitoring EEG risk score across different time windows. Frontiers in neurology, 17, 1812084. https://doi.org/10.3389/fneur.2026.1812084

BibTeX

@article{wang2026prognostic,
author = {Wang, Yan and Sheng, Yuanhui and Li, Feng},
title = {{Prognostic assessment of comatose patients after cardiac arrest: construction of a simplified monitoring EEG risk score across different time windows}},
journal = {Frontiers in neurology},
year = {2026},
month = aug,
volume = {17},
pages = {1812084},
publisher = {Frontiers Media SA},
issn = {1664-2295},
doi = {10.3389/fneur.2026.1812084},
url = {https://doi.org/10.3389/fneur.2026.1812084},
pmid = {42712379},
pmcid = {PMC13549905}
}

RIS

TY - JOUR
AU - Wang, Yan
AU - Sheng, Yuanhui
AU - Li, Feng
TI - Prognostic assessment of comatose patients after cardiac arrest: construction of a simplified monitoring EEG risk score across different time windows
T2 - Frontiers in neurology
J2 - Front Neurol
PY - 2026
DA - 2026/08/25
VL - 17
SP - 1812084
SN - 1664-2295
PB - Frontiers Media SA
DO - 10.3389/fneur.2026.1812084
UR - https://doi.org/10.3389/fneur.2026.1812084
LA - en
ER -

CSL-JSON

{
"id": "10.3389/fneur.2026.1812084",
"type": "article-journal",
"title": "Prognostic assessment of comatose patients after cardiac arrest: construction of a simplified monitoring EEG risk score across different time windows",
"container-title": "Frontiers in neurology",
"author": [
{
"family": "Wang",
"given": "Yan"
},
{
"family": "Sheng",
"given": "Yuanhui"
},
{
"family": "Li",
"given": "Feng"
}
],
"container-title-short": "Front Neurol",
"volume": "17",
"page": "1812084",
"DOI": "10.3389/fneur.2026.1812084",
"PMID": "42712379",
"PMCID": "PMC13549905",
"ISSN": "1664-2295",
"publisher": "Frontiers Media SA",
"URL": "https://doi.org/10.3389/fneur.2026.1812084",
"language": "en",
"issued": {
"date-parts": [
[
2026,
8,
25
]
]
}
}

The tracing map gets a citation of its own once an author has validated it and it has a DOI.

Similar papers

The papers with a page that share the most with this one: the tools found in their code, their categories, datasets, cited references and authors, the rarest counting most.

[1] doi:10.3390/s25072332 [code]
Robust EEG Characteristics for Predicting Neurological Recovery from Coma After Cardiac Arrest.
Journal: Sensors (Basel, Switzerland)
In common: EEG, clinical / translational, other condition, 5 references
[2] doi:10.1016/j.nicl.2022.103171
MRI markers of brain network integrity relate to neurological outcome in postanoxic coma.
Journal: NeuroImage. Clinical
In common: clinical / translational, other condition, 5 references
[3] doi:10.1093/braincomms/fcad190 [code]
The effect of sedation and time after cardiac arrest on coma outcome prognostication based on EEG power spectra.
Journal: Brain communications
In common: EEG, clinical / translational, other condition, 3 references
[4] doi:10.1038/s41467-026-73878-4 [code]
Neural Response to Familiar Names Predicts Outcome of Comatose ICU Patients: A Prospective Observational Cohort Study.
Journal: Nature communications
In common: EEG, clinical / translational, other condition, 3 references
[5] doi:10.1093/pnasnexus/pgad119 [code]
Preservation of thalamocortical circuitry is essential for good recovery after cardiac arrest.
Journal: PNAS nexus
In common: EEG, other condition, 3 references
[6] doi:10.1136/bmjopen-2021-059301
Real-time seizure detection in paediatric intensive care patients: the RESET child brain protocol.
Journal: BMJ open
In common: EEG, clinical / translational, 3 references
[7] doi:10.1590/0004-282x-anp-2022-s113
Status epilepticus: review on diagnosis, monitoring and treatment.
Journal: Arquivos de neuro-psiquiatria
In common: EEG, clinical / translational, 3 references
[8] doi:10.1016/j.isci.2023.108476
Optimal inhaled oxygen and carbon dioxide concentrations for post-cardiac arrest cerebral reoxygenation and neurological recovery.
Journal: iScience
In common: clinical / translational, 3 references
[9] doi:10.1186/s13054-023-04655-8
The spectrum of sepsis-associated encephalopathy: a clinical perspective.
Journal: Critical care (London, England)
In common: clinical / translational, other condition, 2 references
[10] doi:10.1093/cercor/bhad031 [code]
Beyond alpha power: EEG spatial and spectral gradients robustly stratify disorders of consciousness.
Journal: Cerebral cortex (New York, N.Y. : 1991)
In common: EEG, other condition, 2 references

Contribute

The authors of this paper can claim it, correct its record and validate its tracing map, and the maintainers of its code (its owner, or a public member of its organization) correct what it says of their repository; anyone signed in can ask for its removal. Every request goes to OSCR's own machine, which answers it; your account page follows them.

Sign in with ORCID to claim this paper as one of its authors, correct its record or validate its tracing map: when the paper's metadata lists your ORCID iD, you are recognized at once. Maintainers of its code: sign in with GitHub, then claim the repository on your account page.

Add the badge to the code's README

OSCR: the badge of this paper

If you are an author or a maintainer of this paper's code, you can add this badge. It says what OSCR knows of the paper (its code, its validated tracing map) and links the code to this page. Paste one of these snippets under the README's title. Keep the two marks around it, so that the badge can be replaced in place and is never added twice. OSCR changes nothing in your repository.

Markdown
<!-- oscr-badge:start -->
[![OSCR](https://openscicode.org/badge/doi/10.3389/fneur.2026.1812084.svg)](https://openscicode.org/badge/doi/10.3389/fneur.2026.1812084)
<!-- oscr-badge:end -->
reStructuredText
.. oscr-badge:start

.. image:: https://openscicode.org/badge/doi/10.3389/fneur.2026.1812084.svg
   :target: https://openscicode.org/badge/doi/10.3389/fneur.2026.1812084
   :alt: OSCR

.. oscr-badge:end
HTML
<!-- oscr-badge:start -->
<a href="https://openscicode.org/badge/doi/10.3389/fneur.2026.1812084"><img src="https://openscicode.org/badge/doi/10.3389/fneur.2026.1812084.svg" alt="OSCR"></a>
<!-- oscr-badge:end -->

On GitHub, open the README, choose Edit (the pencil), paste the snippet under the title, then "Commit changes".

If you choose to, you can have the badge kept up to date for you, with oscr badge --write from the command line or with the GitHub Action in your repository's workflows. Every other form and option (a card, AsciiDoc, LaTeX, shields.io) is on the badge page.

Request its removal

To ask OSCR to remove this record, the copies of its authors' scripts or its tracing map, use the removal request page: signed in, you say who you are, what to remove and why, then review and confirm the request. Published rules decide every request (how).

Discussion, reproductions, activity

Discussion: code errors and mismatches between the code and the paper about this paper and its code, from readers and its authors, beside the paper and its tracing map.

Report a mismatch between the code and the paper · Report a code error (signed in)

Reproductions: reports from readers who ran the authors' code and did not get the paper's result, what they ran, with which environment, commit and data.

Report a reproduction failure (signed in)

Versions of its code: the releases of its code tied to a version of this paper (the preprint, the accepted manuscript, the version of record…), each with the tracing map versioned with it.

Activity: what happens around this paper: new versions of its record, its map's validation, discussions and reproductions. It opens with sign-in.