EBMC Enhancement

Transform EKG results, fix PAC links, and enhance DocView/PAC access for EST, ABI, and ECHO.

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Greasemonkey 油猴子Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Userscripts ,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

作者
Lukespacewalker
日安装量
0
总安装量
4
评分
0 0 0
版本
1.0.12
创建于
2025-12-16
更新于
2025-12-23
大小
8.8 KB
许可证
MIT
适用于

🏥 EBMC Enhancement Userscript

A comprehensive userscript designed to streamline workflows and fix interface issues on ebmc.bdms.co.th.

✨ Features

1. EKG Result Transformation

  • One-Click Transformation: Adds a "Copy EKG From Above" button to the interface.
  • Smart Parsing: Automatically parses and formats the EKG impression text, removing unnecessary characters and whitespace.
  • Heart Rate Integration: Appends the patient's heart rate (from the #hr field) directly to the formatted output.
  • Workflow Enhancement: Combines the transformed impression with the existing result summary in the #ekg_result_text field.

2. PAC Link Fixes

  • Link Correction: Fixes broken PAC links

3. DocView Integration

  • Link Correction: Fixes broken DocView links by adjusting the URL path.
  • Expanded Access: Adds direct DocView links to:
    • Exercise Stress Test (EST) section.
    • Ankle-Brachial Index (ABI) section.

4. Echocardiography (ECHO) Enhancements

  • PAC Access: Adds a direct PAC link to the Echocardiography section for quick image viewing.

🚀 Installation

  1. Install a userscript manager extension for your browser (e.g., Tampermonkey, Violentmonkey, or Greasemonkey).
  2. Create a new script and copy the contents of transformEkg.user.js into the editor.
  3. Save the script.

📖 Usage

  1. Log in to https://ebmc.bdms.co.th/.
  2. The script automatically runs and applies fixes/enhancements upon page load.
  3. For EKG Transformation:
    • Navigate to a page containing EKG results.
    • Click the "Copy EKG From Above" button near the "Result Text" label to populate the result area.
  4. For PAC/DocView:
    • Look for the new or fixed links in the EST, ABI, and ECHO sections.

⚙️ Configuration

The script includes a safety configuration for the EKG parser:

  • MAX_ITERATION: Defaults to 10 (prevents infinite loops during text parsing).

📄 License

MIT License. Copyright © 2025 Suttisak Denduangchai.