faers_case_counts
Get total, serious, and fatal case counts for a drug, optionally filtered by MedDRA event terms or a receivedate range in one query.
Instructions
Total, serious and fatal case counts for a drug, optionally by event.
All counts are issued concurrently as a single round trip.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| events | No | MedDRA preferred terms, e.g. ['PANCREATITIS']. Case-insensitive. | |
| date_to | No | End of a receivedate window, YYYYMMDD. Must be paired with date_from. | |
| date_from | No | Start of a receivedate window, YYYYMMDD. Must be paired with date_to. | |
| drug_name | Yes | Active substance name, e.g. 'EMPAGLIFLOZIN'. | |
| raw_filter | No | Extra Lucene clause ANDed onto the preset query, e.g. 'patient.patientsex:2'. Applied to every marginal of a contingency table. See faers_describe_fields. | |
| role_basis | No | 'any' counts every report naming the drug in any role. 'suspect_verified' is only computable where records are in hand (faers_search_cases, faers_raw_search). | any |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||