computing-ecqms
Fungsinya
Skill ini mendukung perhitungan ukuran mutu klinis elektronik, yang menilai mutu perawatan dari data kesehatan. Skill ini memakai fakta dari catatan klinis untuk menangkap perawatan yang terlewat oleh kode terstruktur. Skill ini untuk tim mutu dan analis yang bekerja dengan ukuran kesehatan.
Kapan dipakai
- βSaat Anda perlu menghitung ukuran mutu dan sebagian besar bukti untuknya ada di catatan klinis.
- βSaat numerator atau pengecualian yang valid dari sebuah ukuran terhitung kurang karena hanya muncul dalam teks bebas.
- βSaat Anda ingin menemukan celah dokumentasi yang tidak ditangkap kode terstruktur.
Link skill
https://github.com/maziyarpanahi/openmed/blob/master/skills/computing-ecqms/SKILL.mdSalin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.
Cara pakai
Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.
Pesan siap tempel
Untuk Claude Code, Codex, atau Cursor: jalankan di folder proyek, lalu skill langsung terpasang.
Unduh SKILL.md lalu taruh di folder skill agen Anda.
Contoh permintaan ke AI
βUkuran mutu diabetes kami kurang menghitung pasien yang sudah diberi konseling, tetapi konselingnya hanya ada di catatan. Bantu saya menangkapnya.β
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
Agent mengekstrak fakta yang relevan dari catatan yang sudah dihapus identitasnya, memetakannya ke logika numerator dan pengecualian ukuran, lalu memasukkannya ke mesin ukuran yang tersertifikasi.
Konten teknis (SKILL.md asli)
Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.
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
- Read the measure. Get the human-readable spec + CQL + value sets from ECQI / MADiE. Identify which populations depend on documentation that structured data misses.
- De-identify. Run
openmed.deidentifyon notes before any logging or storage; keep the measure keyed by internal patient ids. - Extract facts.
openmed.analyze_textfor the concepts the measure needs (status, intervention, reason-not-done). Useresolving-clinical-contextto drop negated/hypothetical/family-history mentions β a negated exclusion is not an exclusion. - 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.
- 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). - Compute with CQL. Feed the structured + note-derived QDM into a
certified CQL engine (e.g. the open-source
cqframeworkengine). OpenMed does not execute CQL. - 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_textentities +clinicaltemporality + the linking skills (to land facts in the measure's value sets) +deidentifyupstream. - 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-cdmrows 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
Pertanyaan umum
Apakah skill ini mensertifikasi ukuran?
Tidak. Skill mendukung penangkapan data dan bekerja bersama mesin ukuran yang tersertifikasi.
Apakah skill ini menghitung ukuran sendiri?
Tidak. Perhitungan ukuran dilakukan oleh mesin ukuran memakai logika CQL.
Data apa yang dipakai?
Skill memakai data kesehatan terstruktur dan fakta dari catatan, dan memproses catatan di perangkat.
Detail
Deskripsi asli dari pembuat
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
Popularitas
- Bintang GitHub
- 5.8k
- Peringkat
- #14685
- Lisensi
- Apache-2.0
- Diperbarui
- 2/11/2026
Komentar
- β¦
Skill lain dari repositori ini
annotating-variants
5.8kMembantu agent Anda memperkirakan apa yang dilakukan varian genetik, mengubah nama HGVS menjadi posisi genom, dan menambahkan frekuensi populasi, dengan memakai anotator publik yang gratis.
ask-openmed
5.8kMembantu agent Anda memilih alur kerja OpenMed yang tepat untuk permintaan teks klinis, dimulai dengan pemeriksaan privasi setiap kali data pasien mungkin ada.
assembling-fhir-bundles
5.8kMengemas beberapa rekam kesehatan FHIR menjadi satu Bundle transaksi yang siap dikirim ke EHR, dengan referensi internal yang terhubung dengan benar.
auditing-deid-leakage
5.8kMemindai teks klinis yang sudah dihapus identitasnya untuk mencari pengenal yang tertinggal, seperti nomor SSN, nomor kartu, email, dan tanggal, dan memblokir rilis jika masih ada.
Skill serupa
gitcrawl
394kMemungkinkan agent Anda mencari arsip issue dan pull request GitHub yang tersimpan, mengelompokkan yang duplikat, dan memeriksa status terkininya di GitHub.
slacrawl
394kMemungkinkan agent Anda mencari dan menghitung pesan di arsip Slack lokal, memeriksa seberapa baru arsip itu, dan menyegarkannya bila diperlukan.
goplaces
394kMembantu agent Anda mencari tempat, mendapatkan detail dan ulasannya, serta menentukan nama tempat memakai Google Places, dengan keluaran JSON untuk skrip.