reporting-adverse-events
यह क्या करती है
यह स्किल एजेंट को सिखाती है कि दुष्प्रभाव का विवरण उन फ़ील्ड में कैसे व्यवस्थित करें जिनकी दवा सुरक्षा डेटाबेस अपेक्षा करते हैं। यह उन लोगों के लिए है जो FDA या EMA जैसी प्रणालियों के लिए रिपोर्ट तैयार करते हैं।
कब इस्तेमाल करें
- ✓जब उपयोगकर्ता के पास किसी मरीज़ की दवा पर प्रतिक्रिया की कहानी हो और उसे सुरक्षा रिपोर्ट का ड्राफ़्ट चाहिए।
- ✓जब उपयोगकर्ता को तय करना हो कि कोई दुष्प्रभाव गंभीर है या नहीं, जैसे अस्पताल में भर्ती या मृत्यु।
- ✓जब उपयोगकर्ता FAERS सबमिशन तैयार कर रहा हो और उसे संदिग्ध दवा और प्रतिक्रिया के फ़ील्ड भरने हों।
Skill का लिंक
https://github.com/maziyarpanahi/openmed/blob/master/skills/reporting-adverse-events/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“क्या आप मेरे लिखे इस नोट को, जिसमें एक नई दवा के बाद मरीज़ में रक्तस्राव का ज़िक्र है, FAERS के ड्राफ़्ट रिपोर्ट में बदल सकते हैं?”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
एजेंट कहानी में संदिग्ध दवा, प्रतिक्रिया और गंभीरता के मानदंड खोजता है, फिर मेल खाते फ़ील्ड भरता है। ड्राफ़्ट की समीक्षा कोई व्यक्ति करता है, और प्रतिक्रिया कोडिंग के लिए उपयोगकर्ता के पास MedDRA लाइसेंस होना चाहिए।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
Reporting adverse events into FAERS / ICH E2B(R3)
A pharmacovigilance case starts as free-text narrative ("68 yo on warfarin developed GI bleed, hospitalized"). To make it reportable you must structure it into the ICH E2B(R3) data elements that the FDA's FAERS (and EMA's EudraVigilance) expect: a suspect drug, one or more reactions coded to MedDRA Preferred Terms, seriousness criteria, and a reaction outcome.
OpenMed extracts the drug and condition spans on-device; this skill turns those spans plus the narrative into the E2B(R3) skeleton. The reaction coding step needs MedDRA, which is licensed by the MSSO and user-supplied — it is never bundled with OpenMed and must be loaded from the user's own subscription.
When to use
- A narrative names a drug and an adverse reaction and you need an ICSR (Individual Case Safety Report) shell with the right E2B(R3) fields.
- You must classify seriousness (E2B sections C.1.7 / E.i.3) — death, life-threatening, hospitalization/prolongation, disability, congenital anomaly, or "other medically important condition".
- You need to characterize each drug as suspect / concomitant / interacting
(the
drugcharacterizationaxis FAERS uses). - You are pre-filling a 3500A / FAERS electronic submission or staging cases for a safety database.
This skill produces a structured draft for human safety review — it does not file reports or perform causality assessment autonomously.
Quick start
import openmed
narrative = (
"68-year-old patient on warfarin 5 mg daily developed a gastrointestinal "
"hemorrhage and was hospitalized. Warfarin was discontinued; the patient "
"recovered."
)
# 1) Extract drug spans (Pharmaceutical category) on-device.
drugs = openmed.analyze_text(
narrative,
model_name="pharma_detection_superclinical",
output_format="dict",
)["entities"]
# 2) Extract condition / reaction spans (Disease category).
conditions = openmed.analyze_text(
narrative,
model_name="disease_detection_superclinical",
output_format="dict",
)["entities"]
# 3) Assemble an E2B(R3)-shaped ICSR skeleton (reaction PTs filled later via MedDRA).
icsr = {
"patient": {"age": None, "sex": None}, # from de-identified demographics
"drugs": [
{
"name": e["text"],
"drugcharacterization": 1, # 1=suspect 2=concomitant 3=interacting
"action": None, # e.g. drug withdrawn / dose reduced
}
for e in drugs
],
"reactions": [
{
"verbatim": e["text"], # narrative term, pre-MedDRA
"meddra_pt": None, # coded with user's MedDRA dict
"outcome": None, # E2B reaction outcome code
}
for e in conditions
],
"seriousness": {
"serious": None, "death": False, "lifeThreatening": False,
"hospitalization": True, "disability": False, "congenitalAnomaly": False,
"otherMedicallyImportant": False,
},
}
E2B(R3) seriousness and outcome value sets
Seriousness is a set of boolean criteria (E2B E.i.3.2). A case is serious if any criterion is true:
| Criterion | E2B element | FAERS field |
|---|---|---|
| Death | E.i.3.2a | seriousnessdeath |
| Life-threatening | E.i.3.2b | seriousnesslifethreatening |
| Hospitalization / prolonged | E.i.3.2c | seriousnesshospitalization |
| Disability / incapacity | E.i.3.2d | seriousnessdisabling |
| Congenital anomaly | E.i.3.2e | seriousnesscongenitalanomali |
| Other medically important | E.i.3.2f | seriousnessother |
Reaction outcome (E2B E.i.7) is a coded value: 1 recovered/resolved,
2 recovering/resolving, 3 not recovered/not resolved, 4 recovered with
sequelae, 5 fatal, 6 unknown.
Drug characterization (E2B G.k.1): 1 suspect, 2 concomitant, 3 interacting.
Workflow
- De-identify first. Run
openmed.deidentify(narrative, policy=...)and work fromresult.deidentified_text. Patient name, MRN, and dates must be removed/shifted before the case leaves your environment. - Extract drugs and reactions with the two
analyze_textcalls above. Keep each entity'sstart/endoffsets for traceability. - Characterize each drug as suspect (
1), concomitant (2), or interacting (3). The drug that temporally precedes the reaction and was
अक्सर पूछे जाने वाले सवाल
क्या यह मेरे लिए रिपोर्ट सबमिट करती है?
नहीं। स्किल कहती है कि यह समीक्षा के लिए एक संरचित ड्राफ़्ट बनाती है।
क्या मुझे MedDRA लाइसेंस चाहिए?
हाँ, प्रतिक्रिया कोडिंग चरण के लिए। स्किल कहती है कि MedDRA अलग से लाइसेंस किया जाता है और उसे उपयोगकर्ता के पास से आना चाहिए।
E2B क्या है?
E2B(R3) व्यक्तिगत केस सुरक्षा रिपोर्ट के लिए डेटा फ़ील्ड का एक अंतरराष्ट्रीय मानक सेट है।
जानकारी
लेखक का मूल विवरण
Structures adverse-event mentions that OpenMed extracts into FAERS / ICH E2B(R3) reportable fields — suspect drug, reaction (MedDRA PT), seriousness criteria, and outcome. Use when the user needs to build an individual case safety report (ICSR), populate a FAERS submission, map a narrative to E2B(R3) data elements, classify seriousness (death, life-threatening, hospitalization, disability, congenital anomaly), or assign reaction outcomes. Trigger keywords: adverse event, ADR, ICSR, FAERS, E2B, E2B(R3), suspect drug, seriousness, MedDRA, reaction outcome, pharmacovigilance case. Pairs after Ope
repo: maziyarpanahi/openmed
लोकप्रियता
- GitHub स्टार
- 5.8k
- रैंकिंग में स्थान
- #14725
- लाइसेंस
- Apache-2.0
- अपडेट की गई
- 2/11/2026
कमेंट
- …
इस repository की और skills
annotating-variants
5.8kआपके एजेंट को मुफ़्त सार्वजनिक एनोटेटर से जेनेटिक वेरिएंट का असर बताने, HGVS नामों को जीनोम पोज़िशन में बदलने और जनसंख्या आवृत्ति जोड़ने में मदद करती है।
ask-openmed
5.8kआपके एजेंट को क्लिनिकल टेक्स्ट अनुरोध के लिए सही OpenMed वर्कफ़्लो चुनने में मदद करती है, जहाँ मरीज़ का डेटा हो सकता है वहाँ पहले गोपनीयता जाँच से शुरू करके।
assembling-fhir-bundles
5.8kकई FHIR स्वास्थ्य रिकॉर्ड को एक ट्रांज़ैक्शन Bundle में पैक करती है, जो EHR को भेजने के लिए तैयार हो और आंतरिक संदर्भ सही जुड़े हों।
auditing-deid-leakage
5.8kडी-आइडेंटिफ़ाइड क्लिनिकल टेक्स्ट में बचे पहचानकर्ता जैसे SSN, कार्ड नंबर, ईमेल और तारीखें खोजती है, और कुछ बचा हो तो रिलीज़ रोक देती है।
मिलती-जुलती skills
gitcrawl
394kयह आपके एजेंट को GitHub issues और pull requests के सेव आर्काइव में खोजने, मिलते-जुलते मामलों को समूह में रखने और लाइव स्थिति जांचने देती है।
slacrawl
394kयह आपके एजेंट को स्थानीय Slack आर्काइव में संदेश खोजने और गिनने, उसकी ताज़गी जांचने और ज़रूरत पड़ने पर उसे ताज़ा करने देती है।
goplaces
394kयह आपके एजेंट को Google Places से जगहें खोजने, उनका विवरण और समीक्षाएं पाने, और जगह के नाम हल करने में मदद करती है, स्क्रिप्ट के लिए JSON आउटपुट के साथ।