EBMC Enhancement

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

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

You will need to install an extension such as Tampermonkey to install this script.

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 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.