Hi @Frank, @lee_evans, and others interested in this topic,
I have a summer programmer working on extending the web service calls for LAERTES to provide some help for drill down. Her name is Wen and she will be signing up to the community soon. After I synced my fork of the WebAPI to the OHDSI main I found the following changes:
-
Frank had added a new basic call which just takes the a concept id and returns whatever evidence
-
the WebAPI calls all have to have a service
Interestingly, for (1) Frank seems to have created a new Evidence class that treats modality as boolean (because it is in the public schema). We had been targeting calls to the ohdsi schema where the modality had been a string.
Of course, it makes more sense for modality to be boolean but I didn’t know that the change was required and so almost all of the documented queries do not currently work! This is bad right now because we have a paper under review and the reviewers are likely to want to run those queries…
So, I fixed all of the code in EvidenceService and related to treat modality as boolean and all calls function on my localhost deployment.
Would you please help with the following?
-
Please accept my pull request asap so that the documented queries will work when the reviewers try them (unfortunately, there are some written in the paper that will not work because they specify no service , but maybe the reviewer will be persistent and go to the documentation site…)
-
would you please clarify if there are other public services besides CS1 that the WebAPI can connect to - or if there is a way of specifying schemas within a service. I think this might need to be documented to help folks reading www.ohdsi.org/web/wiki/doku.php?id=documentation:software:webapi
-
btw, www.ohdsi.org/web/wiki/doku.php?id=documentation:software:webapi is out of date now except for the Laertes section. Do you want me to add to all the other templated calls to indicate the need for specifying one?
Thanks!
-Rich