-
Question
-
Resolution: Resolved
-
Blocker
-
None
-
BONNIE
-
Bonnie QDM
-
FUNCTIONAL STATUS ASSESSMENT FOR TOTAL HIP REPLACEMENT
-
CMS56
-
QDM/CQL
-
DENEXPass Death300DaysAfterOfTHADateTime
-
Yes
Hi Bonnie team,
I would like to understand why the following edge test is failing when given only the difference between calling out the fixed code for QDM datatype Patient Characteristic Expired versus not. Please let me know if there is any additional information I can provide. Thank you!
Test case:
-Name: DENEXPass Death300DaysAfterOfTHADateTime
-Date of Death: 01/01/2012 8:00AM
-Procedure, Performed: Primary THA Procedure relevantDatetime: 03/07/2011 8:00AM
-Expected value: DENEX pass
Not calling out the fixed code - meets expected value:
Per QDM v5.6, Patient Characteristic Expired is fixed to SNOMED CT code 419099009 (Dead).
define "Death Within 300 Days of the THA Procedure": exists ( ["Patient Characteristic Expired"] Deceased with "Total Hip Arthroplasty Procedure" THAProcedure such that date from Deceased.expiredDatetime during Interval[date from start of Global."NormalizeInterval" ( THAProcedure.relevantDatetime, THAProcedure.relevantPeriod ), date from start of Global."NormalizeInterval" ( THAProcedure.relevantDatetime, THAProcedure.relevantPeriod ) + 300 days] )
Calling out the fixed code - not meet expected value:
Tweaking the Date of Death from 01/01/2012 8:00AM to 01/01/2012 7:00AM will then result in meeting expected value.
define "Death Within 300 Days of the THA Procedure": exists ( ["Patient Characteristic Expired": "Dead (finding)"] Deceased with "Total Hip Arthroplasty Procedure" THAProcedure such that date from Deceased.expiredDatetime during day of Interval[date from start of Global."NormalizeInterval" ( THAProcedure.relevantDatetime, THAProcedure.relevantPeriod ), date from start of Global."NormalizeInterval" ( THAProcedure.relevantDatetime, THAProcedure.relevantPeriod ) + 300 days] )
Calling out the fixed code + adding 'day of' - not meet expected value:
define "Death Within 300 Days of the THA Procedure": exists ( ["Patient Characteristic Expired": "Dead (finding)"] Deceased with "Total Hip Arthroplasty Procedure" THAProcedure such that date from Deceased.expiredDatetime during day of Interval[date from start of Global."NormalizeInterval" ( THAProcedure.relevantDatetime, THAProcedure.relevantPeriod ), date from start of Global."NormalizeInterval" ( THAProcedure.relevantDatetime, THAProcedure.relevantPeriod ) + 300 days] )