ASHu2 commited on
Commit
e7a5077
·
verified ·
1 Parent(s): b3933ac

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +313 -0
README.md ADDED
@@ -0,0 +1,313 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc-by-4.0
3
+ task_categories:
4
+ - text-classification
5
+ - question-answering
6
+ - text-retrieval
7
+
8
+ language:
9
+ - en
10
+
11
+ tags:
12
+ - medical
13
+
14
+ pretty_name: MedLens
15
+
16
+ size_categories:
17
+ - 100K<n<1M
18
+ ---
19
+
20
+ # Dataset Card for MedLens Drug-Drug Interaction (DDI) Evidence
21
+
22
+ This dataset is a curated, multi-regional drug-drug interaction (DDI) and adverse drug event (ADE) signal database compiled from US, EU/EEA, and India regulatory and pharmacovigilance sources.
23
+
24
+ It is structured as a SQLite database intended for deterministic offline medication-safety lookups.
25
+
26
+ This also has a mobile version to put in mobile applications.
27
+
28
+ ---
29
+
30
+ # Dataset Details
31
+
32
+ ## Dataset Description
33
+
34
+ The MedLens DDI Evidence dataset aggregates prioritized DDI/ADE screening signals from five regional source files covering the US, EU/EEA, and India.
35
+
36
+ Each record links a drug pair to one or more adverse effects, a severity level, interaction category, mechanism/rationale, evidence basis, source URLs, patient risk flags, and population relevance notes.
37
+
38
+ The database contains:
39
+
40
+ - **21,810** known interaction pairs
41
+ - **105,460** pair-level adverse effect rows
42
+ - **162,600** raw DDI signal rows (original source-level records, pre-deduplication)
43
+
44
+ ### Severity Breakdown Across Interaction Pairs
45
+
46
+ | Severity | Pairs |
47
+ |---|---:|
48
+ | Major | 16,174 |
49
+ | Moderate | 5,523 |
50
+ | Minor | 113 |
51
+
52
+ - **Curated by:** Ashutosh
53
+ - **Language(s):** English (drug names are generic/INN)
54
+ - **License:** CC BY 4.0
55
+
56
+ ---
57
+
58
+ ## Dataset Sources
59
+
60
+ - **Repository:** [MedLens on GitHub](https://github.com/ashutosh-MedLens/MedLens) *(update with actual URL)*
61
+
62
+ ---
63
+
64
+ # Uses
65
+
66
+ ## Direct Use
67
+
68
+ - Offline/on-device medication safety screening
69
+ - Drug-drug interaction lookup for clinical decision support prototypes
70
+ - Pharmacovigilance research and signal analysis
71
+ - Training or evaluation data for NLP models that classify or explain DDI severity
72
+ - Regional comparison of interaction signals (US vs EU/EEA vs India)
73
+
74
+ ---
75
+
76
+ ## Out-of-Scope Use
77
+
78
+ - **Not a substitute for clinical judgment or a licensed drug interaction database.**
79
+ Signals are screening-level, not patient-specific diagnoses or causality determinations.
80
+
81
+ - Should not be used to generate or imply patient-specific medical advice.
82
+
83
+ - Not suitable for production clinical systems without expert validation and regulatory clearance.
84
+
85
+ - Does not cover all known drug interactions; coverage is limited to the source files below.
86
+
87
+ ---
88
+
89
+ # Dataset Structure
90
+
91
+ The SQLite database contains five tables.
92
+
93
+ ---
94
+
95
+ ## `known_interaction`
96
+
97
+ Deduplicated drug-pair level interaction records.
98
+
99
+ | Column | Type | Description |
100
+ |---|---|---|
101
+ | `drug_a`, `drug_b` | TEXT | Normalized generic drug names (alphabetical order) |
102
+ | `severity` | TEXT | Consensus severity: `Major`, `Moderate`, or `Minor` |
103
+ | `severity_rank` | INTEGER | Numeric rank (higher = more severe) |
104
+ | `row_count` | INTEGER | Number of raw signals contributing to this pair |
105
+ | `source_regions_json` | TEXT | JSON array of regions (e.g. `["us","eu/eea"]`) |
106
+ | `evidence_bases_json` | TEXT | JSON array of evidence basis strings |
107
+ | `source_bases_json` | TEXT | JSON array of source systems |
108
+ | `source_urls_json` | TEXT | JSON array of reference URLs |
109
+ | `mechanisms_json` | TEXT | JSON array of mechanism/rationale strings |
110
+ | `risk_flags_json` | TEXT | JSON array of patient risk flag strings |
111
+ | `dataset_types_json` | TEXT | JSON array of dataset type labels |
112
+ | `use_case_notes_json` | TEXT | JSON array of use-case notes |
113
+
114
+ ---
115
+
116
+ ## `known_interaction_effect`
117
+
118
+ One row per `(pair, adverse effect, severity)` combination.
119
+
120
+ | Column | Type | Description |
121
+ |---|---|---|
122
+ | `known_interaction_id` | INTEGER | FK → `known_interaction.id` |
123
+ | `adverse_effect` | TEXT | Adverse effect name (e.g. `qt prolongation`, `myelosuppression`) |
124
+ | `severity` | TEXT | Effect-level severity |
125
+ | `row_count` | INTEGER | Number of raw signals with this effect |
126
+ | `source_regions_json` | TEXT | JSON array of regions |
127
+
128
+ ---
129
+
130
+ ## `ddi_raw_signal`
131
+
132
+ Original source-level records before deduplication (**162,600 rows**).
133
+
134
+ ### Key Columns
135
+
136
+ - `source_file`
137
+ - `region`
138
+ - `drug1_raw`
139
+ - `drug2_raw`
140
+ - `normalized_drug1`
141
+ - `normalized_drug2`
142
+ - `adverse_effect`
143
+ - `severity`
144
+ - `mechanism_or_rationale`
145
+ - `interaction_category`
146
+ - `interaction_direction`
147
+ - `evidence_basis`
148
+ - `source_basis`
149
+ - `source_urls`
150
+ - `population_relevance`
151
+ - `patient_risk_flags`
152
+ - `dataset_type`
153
+ - `use_case_note`
154
+
155
+ ---
156
+
157
+ ## `evidence_import_file`
158
+
159
+ Provenance table — one row per source CSV.
160
+
161
+ | Source File | Region | Rows Seen | Rows Imported | Unique Pairs |
162
+ |---|---|---:|---:|---:|
163
+ | `usa_prioritized_ddi_ade_signals.csv` | us | 33,306 | 31,666 | 5,770 |
164
+ | `eu_eea_prioritized_ddi_ade_signals.csv` | eu/eea | 58,567 | 50,911 | 8,724 |
165
+ | `india_prioritized_ddi_ade_signals.csv` | india | 10,430 | 10,139 | 1,915 |
166
+ | `india_expanded_prioritized_ddi_ade_signals.csv` | india_expanded | 55,297 | 49,188 | 14,565 |
167
+ | `india_common_generic_ddi_5000.csv` | india_common_generic | 5,000 | 5,000 | 3,471 |
168
+
169
+ ---
170
+
171
+ ## `ddi_import_issue`
172
+
173
+ Contains **15,696 rows** flagging drug name pairs that could not be resolved to canonical entries during import.
174
+
175
+ This table is useful for improving normalization coverage.
176
+
177
+ ---
178
+
179
+ # Dataset Creation
180
+
181
+ ## Curation Rationale
182
+
183
+ Existing open DDI datasets tend to be US-centric or require a network connection.
184
+
185
+ This dataset was assembled to enable fully offline, multi-regional medication safety checks — particularly for India, where brand-name and generic drug usage patterns differ significantly from the US/EU baseline.
186
+
187
+ ---
188
+
189
+ # Source Data
190
+
191
+ ## Data Collection and Processing
192
+
193
+ Raw DDI/ADE signals were compiled from the following public regulatory and pharmacovigilance sources.
194
+
195
+ ---
196
+
197
+ ### US Signals
198
+
199
+ - [DailyMed](https://dailymed.nlm.nih.gov/dailymed/) — FDA-approved drug labeling
200
+ - [TWOSIDES](https://tatonettilab.org/offsides/) — Post-market drug interaction database
201
+ - [CMS Part D Drug Spending Dashboard](https://data.cms.gov/tools/medicare-part-d-drug-spending-dashboard)
202
+ - ClinCalc Top-300 Drugs 2023
203
+
204
+ ---
205
+
206
+ ### EU/EEA Signals
207
+
208
+ - EMA SmPC (Summary of Product Characteristics)
209
+ - EMA DDI Guideline
210
+ - [EudraVigilance](https://www.ema.europa.eu/en/human-regulatory-overview/research-and-development/pharmacovigilance-research-and-development/eudravigilance) — EU adverse reaction reports
211
+ - EU ADR Reports / EU Union Register
212
+ - WHO ATC/DDD Index
213
+
214
+ ---
215
+
216
+ ### India Signals
217
+
218
+ - [PVPI](https://ipc.gov.in/PvPI/pv.html) — Pharmacovigilance Programme of India
219
+ - NLEM 2022 (National List of Essential Medicines)
220
+ - TWOSIDES
221
+
222
+ Drug names were normalized to generic/INN form.
223
+
224
+ Pairs were deduplicated by canonical `(drug_a, drug_b)` sorted order.
225
+
226
+ Severity was aggregated by taking the highest severity signal per pair.
227
+
228
+ ---
229
+
230
+ ## Who Are the Source Data Producers?
231
+
232
+ Data originates from:
233
+
234
+ - US FDA (labeling, FAERS)
235
+ - European Medicines Agency (EMA)
236
+ - Indian Pharmacopoeia Commission / PVPI
237
+ - Academic pharmacoepidemiology projects (TWOSIDES)
238
+ - CMS (Medicare Part D utilization data)
239
+
240
+ ---
241
+
242
+ # Personal and Sensitive Information
243
+
244
+ This dataset contains no patient-level data.
245
+
246
+ All records are drug-pair-level aggregate signals.
247
+
248
+ No personally identifiable information (PII) is present.
249
+
250
+ ---
251
+
252
+ # Bias, Risks, and Limitations
253
+
254
+ - **Signal, not causality:**
255
+ All records are screening-level DDI/ADE signals. They indicate a potential interaction of concern, not a confirmed causal relationship for any individual patient.
256
+
257
+ - **Coverage gaps:**
258
+ 15,696 raw signals (≈9%) could not be resolved to canonical drug names and are excluded from the deduplicated interaction table.
259
+
260
+ - **Severity aggregation:**
261
+ Where multiple sources disagree on severity, the highest severity is taken. This may overstate risk for some pairs.
262
+
263
+ - **Regional bias:**
264
+ India coverage is strong for common generics but may underrepresent rare drugs. US coverage skews toward high-prescription-volume drugs (Top-300 proxy).
265
+
266
+ - **Temporal limitations:**
267
+ Signal databases are periodically updated; this snapshot reflects the state at import time.
268
+
269
+ - **Not exhaustive:**
270
+ Absence of a pair from this dataset does not mean the combination is safe.
271
+
272
+ ---
273
+
274
+ # Recommendations
275
+
276
+ - Always cross-reference with current product labeling and consult a qualified healthcare professional before making clinical decisions.
277
+
278
+ - Use the `ddi_import_issue` table to identify drug names that failed normalization and expand coverage over time.
279
+
280
+ - Treat `Major` severity pairs as requiring clinical review.
281
+
282
+ - Treat `Minor` severity pairs as informational.
283
+
284
+ ---
285
+
286
+ # Glossary
287
+
288
+ | Term | Meaning |
289
+ |---|---|
290
+ | **DDI** | Drug-Drug Interaction |
291
+ | **ADE** | Adverse Drug Event |
292
+ | **FAERS** | FDA Adverse Event Reporting System |
293
+ | **PVPI** | Pharmacovigilance Programme of India |
294
+ | **NLEM** | National List of Essential Medicines (India) |
295
+ | **INN** | International Nonproprietary Name (generic drug name) |
296
+ | **TWOSIDES** | A database of drug pair adverse effects derived from post-market surveillance data |
297
+ | **SmPC** | Summary of Product Characteristics (EU equivalent of US drug labeling) |
298
+
299
+ ---
300
+
301
+ # Dataset Card Contact
302
+
303
+ `prog.mishra@gmail.com`
304
+
305
+ ---
306
+
307
+ # TODO Before Publishing
308
+
309
+ - Update repository URL to the actual GitHub repository
310
+ - Confirm final license choice:
311
+ - `CC BY 4.0`
312
+ - or `CC BY-NC 4.0` if non-commercial only
313
+ - Add citation / BibTeX entry for versioned referencing