EBMC Enhancement

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

이 스크립트를 설치하려면 Tampermonkey, Greasemonkey 또는 Violentmonkey와 같은 확장 프로그램이 필요합니다.

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

이 스크립트를 설치하려면 Tampermonkey 또는 Violentmonkey와 같은 확장 프로그램이 필요합니다.

이 스크립트를 설치하려면 Tampermonkey 또는 Userscripts와 같은 확장 프로그램이 필요합니다.

이 스크립트를 설치하려면 Tampermonkey와 같은 확장 프로그램이 필요합니다.

이 스크립트를 설치하려면 유저 스크립트 관리자 확장 프로그램이 필요합니다.

(이미 유저 스크립트 관리자가 설치되어 있습니다. 설치를 진행합니다!)

이 스타일을 설치하려면 Stylus와 같은 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 Stylus와 같은 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 Stylus와 같은 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 유저 스타일 관리자 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 유저 스타일 관리자 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 유저 스타일 관리자 확장 프로그램이 필요합니다.

(이미 유저 스타일 관리자가 설치되어 있습니다. 설치를 진행합니다!)

작성자
Lukespacewalker
일일 설치 수
0
총 설치 수
5
평점
0 0 0
버전
1.0.12
생성일
2025-12-16
갱신일
2025-12-23
크기
8.82KB
라이선스
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.