Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More results returned via API vs Front End (MAUDE Search Tool) #206

Open
CAMarq opened this issue Oct 22, 2024 · 1 comment
Open

More results returned via API vs Front End (MAUDE Search Tool) #206

CAMarq opened this issue Oct 22, 2024 · 1 comment

Comments

@CAMarq
Copy link

CAMarq commented Oct 22, 2024

I'm unsure if this is the right way to contact about this query, I have posted a question on Stack Exchange without response, my apologies if posting here is incorrect!
Stack Exchange post: (https://opendata.stackexchange.com/questions/21801/more-results-returned-via-api-vs-front-end)

"I am using the openFDA API to pull results for adverse events based on brand name and date range.

This is the URL that I am using: https://api.fda.gov/device/event.json?search=device.brand_name:premierpro%20exofinfusion+AND+date_received:[2019-01-01+TO+2024-12-01]&limit=1000

The intended filter is for data range: 2019-01-01 to 2024-12-01, brand name: premierpro exofinfusion.

The openFDA API returns 3 results ("MW5114259" "MW5115284" "MW5115902"), meanwhile the site returns a single record ("MW5115284").

If I look for two records missing in the front end query, they do appear to exist and would fit into the criteria. Is there something I'm misinterpreting or an API/Front-End functionality to be considered?

Thank you!

EDIT: I'm using the following site: accessdata.fda.gov/scripts/cdrh/cfdocs/cfmaude/search.cfm'"

Thank you so much in advance for your help and guidance.

@dkrylovsb
Copy link
Collaborator

Hi @CAMarq, we can’t easily explain the discrepancy, as we have no visibility into how the MAUDE Front-End search is implemented. It’s managed by a different team at the FDA and does not use the openFDA API for search, instead relying on their internal databases.

It seems, however, that the Front-End search applies more restrictive criteria for matching search terms. openFDA performs full-text search, identifying matches even when terms appear in a different order (e.g., "premierpro exofinfusion" matches "EXOFINFUSION PREMIERPRO MESH"), whereas the Front-End does not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants