본문으로 건너뛰기
Skillpedia
분석 및 스프레드시트5.8k · #14725

reporting-adverse-events

하는 일

이 스킬은 부작용 보고를 약물 안전 데이터베이스가 기대하는 항목으로 정리하는 방법을 에이전트에게 가르칩니다. FDA나 EMA 방식의 시스템에 보고서를 준비하는 사람을 위한 스킬입니다.

사용하는 경우

  • ✓환자가 약에 반응한 이야기가 있고 안전 보고서 초안이 필요할 때.
  • ✓입원이나 사망처럼 부작용이 중대한지 분류해야 할 때.
  • ✓FAERS 제출을 준비하며 의심 약물과 반응 항목을 채워야 할 때.

스킬 링크

https://github.com/maziyarpanahi/openmed/blob/master/skills/reporting-adverse-events/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/maziyarpanahi/openmed/blob/master/skills/reporting-adverse-events/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“제가 작성한 메모, 즉 환자가 새 약에 반응해 출혈이 생긴 이야기를 FAERS 보고서 초안으로 바꿔 주실 수 있나요?”

매주 새 스킬 5개. 읽는 데 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 drugcharacterization axis 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

  1. De-identify first. Run openmed.deidentify(narrative, policy=...) and work from result.deidentified_text. Patient name, MRN, and dates must be removed/shifted before the case leaves your environment.
  2. Extract drugs and reactions with the two analyze_text calls above. Keep each entity's start/end offsets for traceability.
  3. 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
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬