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가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
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
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
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
annotating-variants
5.8k에이전트가 유전 변이의 효과를 예측하고, HGVS 이름을 게놈 위치로 바꾸고, 무료 공개 주석 도구를 사용해 인구 빈도를 붙이도록 돕습니다.
ask-openmed
5.8k에이전트가 임상 텍스트 요청에 맞는 OpenMed 워크플로를 고르도록 돕되, 환자 데이터가 있을 수 있으면 먼저 개인 정보 확인을 거치게 합니다.
assembling-fhir-bundles
5.8k여러 FHIR 건강 기록을 EHR로 보낼 수 있도록 하나의 트랜잭션 Bundle로 묶고, 내부 참조를 올바르게 연결하도록 에이전트를 돕습니다.
auditing-deid-leakage
5.8k비식별화된 임상 텍스트에 남은 SSN, 카드 번호, 이메일, 날짜 같은 식별자를 검사하고, 남은 것이 있으면 공개를 막도록 돕습니다.
비슷한 스킬
gitcrawl
394k에이전트가 저장된 GitHub 이슈와 풀 리퀘스트 보관본을 검색하고, 중복 항목을 묶고, GitHub에서 현재 상태를 확인하도록 돕습니다.
slacrawl
394k에이전트가 로컬 Slack 보관본에서 메시지를 검색하고 개수를 세며, 보관본이 얼마나 최신인지 확인하고 필요할 때 새로 고치도록 돕습니다.
goplaces
394k에이전트가 Google Places로 장소를 검색하고, 세부 정보와 리뷰를 가져오고, 장소 이름을 확인하며, 스크립트용 JSON을 출력하도록 돕습니다.