[MADIE-2137] QDM relatedTo attribute entry and storage question. Created: 02/17/25  Updated: 05/01/25  Resolved: 02/19/25

Status: Closed
Project: MADiE Issue Tracker
Component/s: Test Case Builder
Affects Version/s: None
Fix Version/s: None

Type: Question Priority: Minor
Reporter: Peter Muir Assignee: Heather Frideres
Resolution: Deferred for Future Release Votes: 0
Labels: Measure
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File TestCase1a-20250214-Staging.png     PNG File TestCase1b-20250214-BladderCaDx.png     PNG File TestCaseProstate-20240324-Staging.png    
Issue Links:
Duplicate
is duplicated by MADIE-2150 QDM relatedTo attribute not functioni... Closed
Tool: MADiE
Tool Version: QDM
Measure/Library Title: TestCQLIT506BCG
Measure/Library URL: httphttps://madie.cms.gov/measures/67ad0d781423a81ea13b0441/edit/details/
Measure Model: QDM 5.6
Test Case Name(s): NUMERPass-BCGNormalizeIntervalWithRelevantDateTime
Test Case URL(s): https://madie.cms.gov/measures/67ad0d781423a81ea13b0441/edit/test-cases/67ad11b217040f4ef968a2e8
Help Desk Use Only Labels: DEV
MADiE Release Version: MADiE 2.2.2
Submitter Resolution Confirmed: Yes
Are you part of a CMS Contract?: Yes

 Description   

While investigating CQLIT-506 re potential new logic for QDM CMS646, a potential issue was detected with RelatedTo QDM attribute entry and storage in MADiE compared to MAT.

Testing cloned proposed logic in TestCQLIT506BCG using return Tuple "DISPLAY ONLY" technique did disclose additional insights that have impact on your issue.
MADiE TestCase1 images for StagingProcedure and BladderCaDx from 20250214 are attached.  After entering and saving as a new test case in the modified test measure, the Staging Procedure relatedTo attribute is displayed as '67ad172c04b7ec26296ef256 - Diagnosis: Bladder Cancer for Urology Care'.
Note that 67ad172c04b7ec26296ef256 represents a hexadecimal GUID which further complicate GUID to string comparisons.
Testcase1 return tuple for "DISPLAY ONLY Bladder Cancer Staging Procedure" illustrates challenges of aligning BladderCADxId to StagingRelatedTo:
[

{   BladderCaDxAuthorDT: 04/06/2026 8:01 AM,   BladderCaDxId: "67ad172c04b7ec26296ef256",   StagingProcBodySite: CODE: SNOMEDCT 89837001,   StagingProcBodySiteBladder: true,   StagingProcId: "67ad157504b7ec26296ef253",   StagingProcTiming: 04/05/2026 8:00 AM,   StagingRelatedTo: ["67ad172c04b7ec26296ef256 - Diagnosis: Bladder Cancer for Urology Care"],   StagingRelationshipEq: null,   StagingRelationshipEqv: null,   StagingRelationshipIn: null,   StagingRelationshipStartsWith: null }


Checking other measures (e.g.129) using relatedTo and saved early last year revealed that Procedure is displayed as Related To - 5c6af32eb848460b42f81042.
This raises the question of test case relatedTo attribute storage in MADiE vs MAT. This could impact other measures and Measure Developers currently using the relatedTo attribute in QDM; therefore, a MADiE ticket will be created with you flagged as a watcher for 646 and AIR for 129.
Since you have flagged resolution as confirmed due to deferral, will flag this CQLIT ticket as resolved with  a new ticket entered on MADiE.
Thank you, PMuir MD  eCQM Standards Team

Please add bkent@air.org as Watcher.



 Comments   
Comment by Peter Muir [ 05/01/25 ]

Tested in TestCQLIT506BCG. Can confirm that cloning a previously stored erroneous test case returns the same result as before:
[

{ BladderCaDxAuthorDT: 04/06/2026 8:01 AM, BladderCaDxId: "67ad172c04b7ec26296ef256", StagingProcBodySite: CODE: SNOMEDCT 89837001, StagingProcBodySiteBladder: true, StagingProcId: "67ad157504b7ec26296ef253", StagingProcTiming: 04/05/2026 8:00 AM, StagingRelatedTo: ["67ad172c04b7ec26296ef256 - Diagnosis: Bladder Cancer for Urology Care"], <<<<< StagingRelationshipEq: null, StagingRelationshipEqv: null, StagingRelationshipIn: null, StagingRelationshipStartsWith: null }

]

But manually creating a new test case and manually entering the same data elements, now returns as
[

{ BladderCaDxAuthorDT: 04/06/2026 8:01 AM, BladderCaDxId: "6813afff5ee0219e8d15bee5", StagingProcBodySite: CODE: SNOMEDCT 89837001, StagingProcBodySiteBladder: true, StagingProcId: "6813adb65ee0219e8d15bee2", StagingProcTiming: 04/05/2026 8:00 AM, StagingRelatedTo: ["6813afff5ee0219e8d15bee5"], <<<<< StagingRelationshipEq: true, StagingRelationshipEqv: true, StagingRelationshipIn: true, StagingRelationshipStartsWith: null }

]

Which indicates that the storage error has been corrected.
Note that this also confirms that it will probably need manual re-entry of impacted test cases to resolve the issue reported for CMS646 in CQLIT-506.
Thank you. Will flag as resolved.

Comment by Christina Biggs [ 05/01/25 ]

pjmuirESAC I think this issue was fixed with the MADiE 2.2.2 release on 4/29.  If so, could you please set Submitter Resolution Confirmed = Yes?  Thank you!

Comment by Heather Frideres [ 02/19/25 ]

Hello Peter,

The team has identified the cause of this issue and created an internal story to be deployed with a future release. We will update this ticket when the release has been completed.

Thank you

Comment by Peter Muir [ 02/17/25 ]

Ticket created on behalf of Measure Developer who reported as CQLIT506. TestCQLIT506BCG.cql is available per URL link but I have attached images to this ticket which illustrate the issue.  Thanks.

Comment by Heather Frideres [ 02/17/25 ]

Hello Peter,

In order to review this ticket, the team needs specific information to be provided-until this information is provided the team can't begin to look into this ticket (as noted in the MADiE Ticket Submission Guidance document on the MADiE Training & Resource page). Please "Edit" the ticket to add the following:

Measure Title

Measure URL

Test Case Name(s)

Test Case URL(s)

 

Also, please attach the measure export and the test case export. 

Thank you

Comment by MADiE Team [ 02/17/25 ]

Thank you for submitting your question to the MADiE team. This ticket has been assigned to a team member. Please review the MADiE Ticket Submission Guidance on the Training & Resources tab under the MADiE Helpful Links heading on the public website (https://www.emeasuretool.cms.gov/training-resources) and attach supporting documentation as directed in the guide. Populating all applicable fields while creating the ticket will assist the MADiE team when processing this ticket.

Generated at Sun Aug 31 08:15:19 UTC 2025 using Jira 10.3.8#10030008-sha1:cdaed80cecc964184c5b19b002388d56f96e274e.