-
Problem
-
Resolution: Done
-
Blocker
-
None
-
Yes
-
QI-Core/CQL
-
Not measure related
-
Test Case JSON
-
MADiE
Hello,
With the recent update to CQMCommon my test cases are no longer passing that contain a principal diagnosis code. The update is impacting multiple measures CMS 104,71,72(STK 2,3,5) and CMS 108,190 (VTE 1,2). The revision is noted here:
Previous:
define function "PrincipalDiagnosis"(Encounter Encounter ):
singleton from ((Encounter.diagnosis D where D.rank = 1) PD
return singleton from ([Condition] C where C.id = PD.condition.reference.getId())
)
Updated:
define function "PrincipalDiagnosis"(Encounter Encounter ):
singleton from (
(Encounter.diagnosis D where D.rank = 1 and D.use ~ "Billing") PD
return singleton from ([Condition] C where C.id = PD.condition.reference.getId())
)
I added the billing concept under encounter diagnosis and the case is still failing and the highlighting is not giving a specific as to why.
CMS104FHIR-v0.9.000-FHIR4-TestCases (4).zip