Chuyển đến nội dung
Skillpedia
Phân tích và bảng tính5.8k · #14685

computing-ecqms

Skill này làm gì

Skill này hỗ trợ tính các chỉ số chất lượng lâm sàng điện tử, tức là đánh giá chất lượng chăm sóc từ dữ liệu y tế. Nó dùng các thông tin lấy từ ghi chú lâm sàng để bắt được những việc chăm sóc mà mã có cấu trúc không ghi lại. Dành cho các nhóm chất lượng và nhà phân tích làm việc với chỉ số y tế.

Khi nào nên dùng

  • ✓Khi bạn cần tính một chỉ số chất lượng và phần lớn bằng chứng nằm trong ghi chú lâm sàng.
  • ✓Khi tử số hoặc các trường hợp loại trừ hợp lệ của một chỉ số bị đếm thiếu vì chỉ xuất hiện trong văn bản tự do.
  • ✓Khi bạn muốn tìm các khoảng trống tài liệu mà mã có cấu trúc không ghi lại.

Liên kết skill

https://github.com/maziyarpanahi/openmed/blob/master/skills/computing-ecqms/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/maziyarpanahi/openmed/blob/master/skills/computing-ecqms/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Chỉ số đường huyết tiểu đường của chúng tôi đếm thiếu bệnh nhân đã được tư vấn, nhưng việc tư vấn chỉ có trong ghi chú. Hãy giúp tôi ghi nhận nó.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Agent trích xuất các thông tin liên quan từ ghi chú đã khử nhận dạng, ánh xạ chúng vào logic tử số và loại trừ của chỉ số, rồi đưa vào một công cụ tính chỉ số đã được chứng nhận.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

Computing eCQMs

Electronic Clinical Quality Measures (eCQMs) are computed over structured data using CQL (Clinical Quality Language) logic against the QDM (Quality Data Model). Much of what a measure needs — a counseling note, a reason a service wasn't done, a symptom — lives only in free text. This skill uses OpenMed to lift those facts out of notes (on-device) and feed them into measure computation so numerators and valid exclusions aren't undercounted.

When to use this skill

When structured codes under-capture a measure population and the evidence is in notes: documented exclusions ("patient declined screening"), numerator-relevant findings, or symptoms gating a measure. Use it alongside a certified measure engine — OpenMed supplements capture; it does not compute or certify the measure.

eCQM anatomy (what you're populating)

Population Meaning Where OpenMed helps
IPP (Initial Population) everyone the measure could apply to usually structured (encounters, age)
Denominator IPP meeting base criteria mostly structured
Denominator Exclusion / Exception valid reasons to remove from denom notes: "declined", "medical reason", "not indicated"
Numerator met the quality action notes: counseling delivered, advice given, status documented

Quick start

import openmed

note = (
    "Tobacco use screened today; patient is a current every-day smoker. "
    "Cessation counseling provided and cessation medication offered."
)

result = openmed.analyze_text(note, output_format="dict")
# entities -> {text, label, confidence, start, end}

# Lift two measure-relevant facts (illustrative, for a tobacco-screening eCQM):
facts = {
    "tobacco_status_documented": any(e["label"] in {"smoking_status", "tobacco_use"}
                                     for e in result["entities"]),
    "cessation_intervention_documented": "counseling" in note.lower(),
}
# These become QDM data elements your CQL references (see workflow).

Pick the model whose labels match the measure concept (choosing-openmed-models) and code spans to value-set vocabularies via the linking skills before they enter QDM.

Workflow

  1. Read the measure. Get the human-readable spec + CQL + value sets from ECQI / MADiE. Identify which populations depend on documentation that structured data misses.
  2. De-identify. Run openmed.deidentify on notes before any logging or storage; keep the measure keyed by internal patient ids.
  3. Extract facts. openmed.analyze_text for the concepts the measure needs (status, intervention, reason-not-done). Use resolving-clinical-context to drop negated/hypothetical/family-history mentions — a negated exclusion is not an exclusion.
  4. Code to value sets. Map entities to the codes the measure's value sets expect (SNOMED/LOINC/RxNorm via the linking skills). QDM data elements are defined by code membership, not raw strings.
  5. Materialize QDM data elements. Turn coded, dated facts into QDM elements (e.g. Assessment, Performed, Intervention, Performed, Diagnosis) with the right author/relevant dates (building-patient-timelines).
  6. Compute with CQL. Feed the structured + note-derived QDM into a certified CQL engine (e.g. the open-source cqframework engine). OpenMed does not execute CQL.
  7. Reconcile & audit. Track which population members were added by note-derived facts and at what confidence, so QA can review.

Hand-off to / from OpenMed

  • From OpenMed: analyze_text entities + clinical temporality + the linking skills (to land facts in the measure's value sets) + deidentify upstream.
  • To measure tooling: materialized QDM data elements feed a CQL engine and MADiE test decks. Note-derived QDM can also originate from etl-to-omop-cdm rows if you compute measures on an OMOP store instead.

Edge cases & gotchas

  • OpenMed supplements, it does not certify. Measure scoring must run in a validated CQL engine. Treat note-derived facts as additional evidence subject to review, not as authoritative measure results.
  • Negation flips meaning. "Screening declined" is an exclusion; "screening not declined" / "no contraindication" is the opposite. Always run the temporality/negation pass before counting.
  • Dates drive measurement periods. A fact only counts if its relevant date falls in the measurement period
Câu hỏi thường gặp

Nó có chứng nhận chỉ số không?

Không. Nó bổ sung cho việc ghi nhận và làm việc cùng với một công cụ tính chỉ số đã được chứng nhận.

Nó có tự tính chỉ số không?

Không. Việc tính chỉ số do công cụ tính chỉ số thực hiện bằng logic CQL.

Nó dùng dữ liệu nào?

Nó dùng dữ liệu y tế có cấu trúc và thông tin từ ghi chú, và xử lý ghi chú trên thiết bị.

Chi tiết

Mô tả gốc của tác giả

Compute electronic clinical quality measures (eCQMs) over structured data using CQL/QDM logic, lifting note-derived numerator and exclusion facts from OpenMed to improve measure capture. Use when the user wants to compute an eCQM, evaluate a CMS/ECQI quality measure, improve numerator capture from clinical notes, build CQL/QDM measure logic, or close documentation gaps that structured codes miss. Covers eCQM structure (IPP/denominator/numerator/exclusions), CQL v1.5 and QDM v5.6, MADiE authoring, and mapping OpenMed entities to QDM data elements. Consumes OpenMed analyze_text facts (coded via

repo: maziyarpanahi/openmed

Độ phổ biến

Sao GitHub
5.8k
Vị trí xếp hạng
#14685
Giấy phép
Apache-2.0
Cập nhật
2/11/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự