fda_drug_counts
Count FDA drug adverse event reports by specific fields like reactions, drug names, dates, or countries to identify patterns and trends in medication safety data.
Instructions
Aggregate/count FDA drug adverse event data by any field. For counting other endpoints, use fda_count instead.
Common count fields:
'patient.reaction.reactionmeddrapt.exact' — most common adverse reactions
'patient.drug.openfda.brand_name.exact' — most reported drug brands
'patient.drug.openfda.generic_name.exact' — most reported generic names
'receivedate' — reports over time
'primarysource.reportercountry.exact' — reports by country
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count_field | Yes | Field to count by. Use '.exact' suffix for full phrase counts. E.g. 'patient.reaction.reactionmeddrapt.exact' | |
| search | No | Optional search filter, e.g. 'patient.drug.openfda.brand_name:aspirin' | |
| limit | No | Max count results (default 10) |