1

I was using a query like this one https://api.fda.gov/drug/event.json?search=patient.drug.medicinalproduct.exact:("ELIQUIS")+AND+receivedate:[20110101+TO+20151231]%27+AND+occurcountry:%27fr%27&count=serious to retreive all adverse event for a specific country. It was working some month ago. But now it seems the searchable fields occurcountry doesn't work anymore. When I deleted it the query works. It is an bug or I missed an update fo the api ?

0

You have an extraneous single quotation mark right after the closing ], which is breaking the query's syntax. Here is the corrected URL:

https://api.fda.gov/drug/event.json?search=patient.drug.medicinalproduct.exact:("ELIQUIS")+AND+receivedate:[20110101+TO+20151231]+AND+occurcountry:'fr'&count=serious

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.