I was using the Local C-CDA Validator UI and noticed the #4 scenario files were always the same, no matter if I chose "SVAP 2023" or "USCDIv4" options
Review of the code also mentions a comment about defaulting "// default to cures update as of Jan 2021"
But how do I stop the options below from defaulting and never updating?
Solution
From your Local C-CDA Validator, navigate to the following location: "C:\Program Files\Apache Software Foundation\Tomcat 8.5\webapps\referenceccdaservice\static\js\validator_controller.js"
Back up this file
Now edit this file
Make the following changes, starting from Line# 626:
Change "=" to "==" for cures
Change "=" to "==" for svap
Change "=" to "==" for uscdiv3
Change "=" to "==" for uscdiv4
Review the screenshots below and save your changes after
Before
After
Solution Confirmation
After ensuring the "=" (assigning a value) was changed to "==" (comparing 2 values) was updated, I hard refreshed my page by CTRL+ left clicking on the refresh button
You may need to reload the site from the Tomcat Apache Manager App
I used the browser network tab to confirm what Github endpoint was being called: