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

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



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


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.


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.