Cooking with CQL 069 - Colorectal Cancer Concepts
背景
- llustration of FHIR- and CQL-based knowledge artifacts that provide quality measurement and decision support implementations of the US Preventive Services Task Force Recommendation on Colorectal Cancer Screening.
- The artifacts are built using the approach and methodology of the FHIR Clinical Guidelines IG (CPG).
- The U.S. Preventive Services Task Force (2016) recommends screening for colorectal cancer starting at age 50 years and continuing until age 75 years. This is a Grade A recommendation (U.S. Preventive Services Task Force, 2016).
https://github.com/cqframework/cqf-ccc/tree/master
程式架構
- 計算範例
- CDS(ColorectalCancerScreeningCDS)
- CQM(ColorectalCancerScreeningCQM)
- HEDIS(ColorectalCancerScreeningHEDIS)
- 共用程式庫
- Elements(ColorectalCancerElements)
- Valueset(ColorectalCancerConcepts)
程式邏輯
以ColorectalCancerScreeningCQM計算Numerator為例:
匯入ColorectalCancerElements
Numerator計算邏輯(ColorectalCancerElements.cql定義可重複使用的Elements),以下五個條件任一個成立,numerator即設定為True(需要做篩檢)。
ColorectalCancerConcepts.cql定義Colorectal Cancer Concepts計算所需要的valueset
每一個Element的計算邏輯。一般而言,資料來源為某一個FHIR Resource,計算邏輯則是該resource必須符合的條件。
- Fecal Occult Blood Test Result(糞便潛血檢查結果)
- Fecal Immunochemical Test DNA Result(糞便免疫化學檢測DNA結果)
- CT Colonography Performed(進行CT大腸造影)
- Flexible Sigmoidoscopy Performed(進行柔性乙狀結腸鏡檢查)
- Colonoscopy Performed(進行大腸鏡檢查)
測試結果
案例一:原始資料procedure.code.coding.code=44392(符合valueset中Colonoscopy的定義),procedure.status='complete'。但執行日期為2011-12-30(不符合Colonoscopy Performed Within 10 Years條件),故Numerator判定為False。
案例一:原始資料procedure.code.coding.code=44388(符合valueset中Colonoscopy的定義),procedure.status='complete'。但執行日期為2015-01-01(符合Colonoscopy Performed Within 10 Years條件),故Numerator判定為True。
結論
雖然CQL的訴求是Domian User使用的語言,但最底層(資料整合部分)還是有些差距,比較好的做法是將相關邏輯整理成獨立的Element,讓撰寫CQL的人直接使用。因此,標準化就變得很重要,期待未來應該有越來越多的標準程式庫出現。