Look up side effects and contraindications for a drug. Triggered by "what are the side effects of Lipitor?", "Cleo, contraindications for metformin", "is atorvastatin safe in pregnancy?", or any safety/adverse-effect question. Returns side effects (with severity and frequency) and contraindications (with severity and PI references).
node scripts/side_effects.js <MEDID>
node scripts/side_effects.js <GCN_SEQNO> --by-gcn
Accepts MEDID (resolves to GCN internally) or GCN_SEQNO directly.
RSIDEGC0_GCNSEQNO_LINK → RSIDEMA3_MSTR → RFMLDX0_DXIDRDDCMGC0_CONTRA_GCNSEQNO_LINK → RDDCMMA1_CONTRA_MSTR → RFMLDX0_DXIDSide Effects:
Contraindications:
Format results for Teams (no markdown tables — use bold labels and bullet lists).
⚠️ **Side Effects & Contraindications: {drug name}**
**Contraindications ({count}):**
🔴 **Severe:**
- {condition} — ref: {reference}
- ...
🟡 **Moderate:**
- {condition} — ref: {reference}
- ...
⚪ **Other:**
- {condition} — ref: {reference}
- ...
**Side Effects ({count}):**
🟡 **Moderate/Frequent:**
- {effect}
⚪ **Minor/Infrequent:**
- {effect}
- ...
⚪ **Minor/Rare:**
- {effect}
- ...
**Other:**
- {effect}
- ...
_Source: FDB {database}_
node scripts/side_effects.js <MEDID> [--by-gcn] [--db fdb_YYYYMMDD] [--uri ...]