I downloaded the vocabulary(full set) from athena.ohdsi.org today (April 22 version), and when I ran the commend, it threw out the message like this. The concept.csv file size was getting bigger that its original. Is it good or I have to concern?
Thanks,
Ray
I:\vocab>java -Dumls-apikey={my-umls-api} -jar cpt4.jar 5
[INFO ] 2022-05-03 19:37:05.530 [main] ConceptService - Writing updated data to CONCEPT.csv
Updated CPT4 records: 16615/16615
[INFO ] 2022-05-03 19:59:41.197 [main] ConceptService - All cpt4 concepts are processed.
Exception in thread āmainā org.odhsi.utils.cpt.Cpt4Exception: Unexpected code Response{protocol=http/1.1, code=401, message=Unauthorized, url=https://utslogin.nlm.nih.gov//cas/v1/tickets/TGT-406393-u3vqv19bkl2qwstfg-cas}
at org.odhsi.utils.cpt.restclient.RestTicketClient.checkSuccessful(RestTicketClient.java:76)
at org.odhsi.utils.cpt.restclient.RestTicketClient.logout(RestTicketClient.java:113)
at org.odhsi.utils.cpt.restclient.RestTicketClient.close(RestTicketClient.java:125)
at org.odhsi.utils.cpt.Application.main(Application.java:49)
I have created an Athena issue. From what we see, the CPT4 reconstitution is however still complete, so we can keep using the cpt4.jar executable for the time being. Apparently the API call needs to be adjusted to a changed API definition on UMLS side.
Hi @Siddhesh_3012 , right now it seems the described error messages do not indicate that the cpt4.jar function of adding concept names to the vocabulary csvās is actually impaired. We suspect there is some issue when closing the API connection, but it will take a while until this is fixed.
Was not sure if I needed to submit a separate topic and Athena issue, but I tried a download and CPT4 reconstitution yesterday (2022-07-20) and am getting a similar exception:
java -Dumls-apikey= -jar cpt4.jar 5
[INFO ] 2022-07-21 10:25:26.999 [main] ConceptService - Writing updated data to CONCEPT.csv
Updated CPT4 records: 16615/16615
[INFO ] 2022-07-21 10:36:02.486 [main] ConceptService - All cpt4 concepts are processed.
Exception in thread āmainā org.odhsi.utils.cpt.Cpt4Exception: Unexpected code Response{protocol=h2, code=401, message=, url=https://utslogin.nlm.nih.gov//cas/v1/tickets/TGT-28457-ehrwe4wtl5v4lf6m-cas}
at org.odhsi.utils.cpt.restclient.RestTicketClient.checkSuccessful(RestTicketClient.java:76)
at org.odhsi.utils.cpt.restclient.RestTicketClient.logout(RestTicketClient.java:113)
at org.odhsi.utils.cpt.restclient.RestTicketClient.close(RestTicketClient.java:125)
at org.odhsi.utils.cpt.Application.main(Application.java:49)
Except for me, none of the CPT4 concept IDs are in the CONCEPT.csv file afterwards.
Has there been any development in this issue since the last post?
Hi @rsanka - Did you check your logfile? (logs/logfile.log)
Last time we checked, the cpt4.jar still does work.
The message āUpdated CPT4 recordsā actually looks quite promising.
~Mik