1
https://api.fda.gov/drug/event.json?search=(receivedate:[20040108+TO+20210401])+AND+patient.drug.medicinalproduct:%22IBUPROFEN%22&count=patient.reaction.reactionmeddrapt.exact

Using the above search request, I get values as (full response)

"term": "PAIN", "count": 9080

.

https://api.fda.gov/drug/event.json?search=(receivedate:[20040108+TO+20210401])+AND+patient.drug.medicinalproduct.exact:%22IBUPROFEN%22+AND+patient.reaction.reactionmeddrapt.exact:%22PAIN%22

Using the above search request, I get (full response)

"total": 2914

How does the above two search requests differentiate so that the result are different?

1 Answer 1

0

Your former query is using patient.drug.medicinalproduct while the latter is using patient.drug.medicinalproduct.exact. The exact part is what makes the difference.

2

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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