AHRQ-CDS / AHRQ-CDS-Connect-Authoring-Tool

The CDS Authoring Tool is part of the CDS Connect project https://cds.ahrq.gov/, sponsored by the Agency for Healthcare Research and Quality (AHRQ), and developed under contract with AHRQ by MITRE's CAMH FFRDC.
https://cds.ahrq.gov/cdsconnect/authoring
Apache License 2.0
41 stars 18 forks source link

vsac apis are no longer working #89

Closed tusharkantawp closed 1 year ago

tusharkantawp commented 1 year ago

On the authoring tool none of the vsac execution works even after correct authentication. I am seeing this issue since yesterday. After searching for any keyword it just blanks out after sometime. If I do a network inspect using inspect tool, it just says 404 error. Same during any value set code or system validations. we need an urgent fix

cmoesel commented 1 year ago

Hello @tusharkantawp. Thank you for reporting this. It looks like VSAC removed their https://cts.nlm.nih.gov/fhir/r4 endpoint. This is the endpoint that the CDS Authoring Tool uses by default.

It looks like we should now be using https://cts.nlm.nih.gov/fhir (without the r4) instead.

If you a running your own instance of the CDS Authoring Tool, you can change the default VSAC endpoint in the api/config.js file -- or you can set it via the TERMINOLOGY_ENDPOINT environment variable.

If you are using the publicly hosted version of the CDS Authoring Tool, you'll have to wait for us to implement the fix on our public deployment. I expect we should be able to do this today.

tusharkantawp commented 1 year ago

Thanks for quick response. I will try it out and update. This is very serious as lot of old projects are deployed. We have to check everything now.

cmoesel commented 1 year ago

I apologize. We did not know this was coming and will reach out to the VSAC team to see how we can avoid such things in the future.

cmoesel commented 1 year ago

If you update the api/config.js file w/ the new endpoint, you will also need to update some tests for them to continue passing. You can see what needs to be updated here: https://github.com/AHRQ-CDS/AHRQ-CDS-Connect-Authoring-Tool/compare/master...vsac-endpoint

tusharkantawp commented 1 year ago

ok thank you. I just updated config.js file but result is same. I will update all files as you have mentioned and rerun.

tusharkantawp commented 1 year ago

I did all the changes. But still the same issue. Did it work for you?

tusharkantawp commented 1 year ago

finally worked thanks

cmoesel commented 1 year ago

Sorry, I was in a meeting. But yes, I tested this and confirmed it worked before sending you the link to the commit.

cmoesel commented 1 year ago

This was also resolved in production this afternoon, so I am closing this issue.