-
Question
-
Resolution: Deferred for Future Release
-
Blocker
-
MADiE
-
QI-Core
-
ControllingHighBloodPressureFHIR, AdvancedIllnessandFrailty
-
QI-Core/CQL
-
FrailtyDeviceRequestDoNotPerform
-
AU2023 eCQM requiring full testing by 7/10/2023
-
-
Yes
Hello,
In MADiE, I have a CQL definition called "Has Criteria Indicating Frailty" in library AdvancedIllnessandFrailty 1.3.000 intending to retrieve a QICore 4.1.1 DeviceRequest instance, so it’s specified to include a statement that says "DeviceRequest.doNotPerform() is not true", written in accordance with QICore 4.1.1 authoring patterns and using the QICoreCommon 1.3.000 library’s fluent function doNotPerform.
define "Has Criteria Indicating Frailty": exists ( (Status."Completed or Ongoing Device Request"([DeviceRequest: code in "Frailty Device"])) FrailtyDeviceOrder where FrailtyDeviceOrder.doNotPerform() is not true and QICoreCommon."ToInterval" ( FrailtyDeviceOrder.authoredOn ) during day of "Measurement Period" ) define fluent function doNotPerform(deviceRequest DeviceRequest): singleton from ( deviceRequest.modifierExtension E where E.url = 'http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-doNotPerform' return E.value as Boolean ) define function "Completed or Ongoing Service Request"(ServiceRequest List<ServiceRequest>): ServiceRequest S where S.status in { 'active', 'completed' } and S.intent = 'order'
I’m creating an intentional failing test case for this instance by setting the modifierExtension value for doNotPerform to "true". However, this test case is passing and meeting the "Has Criteria Indicating Frailty" definition unexpectedly in MADiE.
{ "fullUrl": "633c9d020968f8012250fc66", "resource": { "resourceType": "DeviceRequest", "id": "DeviceRequest-1", "meta": { "profile": [ "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-devicerequest" ] }, "modifierExtension": [ { "url": "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-doNotPeform", "valueBoolean": true } ], "subject": { "reference": "Patient/Patient-1" }, "codeCodeableConcept": { "coding": [ { "code": "183240000", "system": "http://snomed.info/sct", "display": "Self-propelled wheelchair (physical object)" } ] }, "status": "completed", "intent": "order", "authoredOn": "2024-11-01T23:59:00.000Z" } }
Question: Is the JSON test case attached written correctly to fail the “Has Criteria Indicating Frailty” definition? The full JSON test case and measure CQL file (referencing library AdvancedIllnesssandFrailty 1.3.000 with the "Has Criteria Indicating Frailty" definition) are both attached for assessment. Thank you!
cc andersol