Transform lengthy academic papers into concise, structured 250-word abstracts.
日本語の概要は準備中です。原文の説明を表示しています。
Generates CIOMS I-compliant ICSR narratives from adverse event case data for FDA and EMA regulatory submission. Includes temporal analysis, MedDRA coding, causality assessment using WHO-UMC or Naranjo criteria, and multi-format output.
インストールする前に、エージェントに与えられる指示の中身を確認できます。
Use this command to verify that the packaged script entry point can be parsed before deeper execution.
python -m py_compile scripts/main.py
Use these concrete commands for validation. They are intentionally self-contained and avoid placeholder paths.
python -m py_compile scripts/main.py
python scripts/main.py --help
python scripts/main.py --help
python scripts/main.py --validate-only --help
Regulatory-grade narrative generation tool that transforms adverse event case data into CIOMS-compliant ICSR narratives suitable for submission to FDA, EMA, and other health authorities.
Key Capabilities:
Generate standardized sections per CIOMS guidelines:
from scripts.narrative_generator import NarrativeGenerator
generator = NarrativeGenerator()
# Generate complete narrative
narrative = generator.generate(
case_data=case_json,
format="cioms_i", # or "ich_e2b", "fda_medwatch"
include_meddra=True
)
narrative.save("ICSR_2024_001_narrative.txt")
Standard Sections:
Reconstruct timeline and assess temporal plausibility:
# Analyze temporal relationships
timeline = generator.analyze_timeline(
drug_start="2024-01-15",
drug_stop="2024-02-01",
ae_onset="2024-01-28",
dechallenge_date="2024-02-01",
rechallenge_date=None
)
# Output shows temporal assessment
# "AE onset 13 days after drug initiation, positive dechallenge within 24h"
Assessments Generated:
Structure causality assessment per WHO-UMC criteria:
# Generate causality section
causality = generator.assess_causality(
case_data=case,
criteria="who_umc", # or "naranjo", "cochrane"
include_rationale=True
)
# Output structured assessment with points for each criterion
WHO-UMC Categories:
Generate narratives for different regulatory contexts:
# FDA MedWatch Form 3500A
fda_narrative = generator.generate(
case_data=case,
format="fda_medwatch",
max_length=2000 # Character limit
)
# EMA E2B(R3) electronic format
ema_narrative = generator.generate(
case_data=case,
format="ich_e2b",
version="R3"
)
# CIOMS I paper format
cioms_narrative = generator.generate(
case_data=case,
format="cioms_i"
)
Pre-Generation:
Narrative Content:
Post-Generation:
Completeness Issues:
❌ Missing dechallenge information → Cannot assess causality
❌ Vague temporal information → "Recently started" vs. specific dates
❌ Incomplete concomitant medication list → Alternative causes missed
Medical Accuracy Issues:
❌ Incorrect MedDRA coding → Wrong medical concept
❌ Confusing correlation with causation → Temporal = causal
❌ Omitting alternative diagnoses → Biased toward drug causation
Regulatory Issues:
❌ Opinion in narrative body → "Clearly caused by drug"
❌ Patient identifiers → HIPAA/privacy violation
❌ Abbreviations not defined → Assumes reader knowledge
Available in references/ directory:
cioms_i_guidelines.pdf - CIOMS I international reporting standardsich_e2b_specifications.md - ICH E2B(R3) electronic format detailsmeddra_coding_guide.md - MedDRA terminology and coding principleswho_umc_causality.md - WHO causality assessment criteriafda_medwatch_guide.md - FDA Form 3500A instructionsgvp_module_vi.md - EU Good Pharmacovigilance Practicesnarrative_templates.md - Example narratives by case typeLocated in scripts/ directory:
main.py - CLI interface for narrative generationnarrative_generator.py - Core narrative composition enginetemporal_analyzer.py - Timeline reconstruction and analysiscausality_assessor.py - Causality evaluation supportmeddra_integrator.py - Medical terminology and codingvalidator.py - Completeness and quality checksformat_converter.py - Convert between CIOMS, E2B, MedWatch formatsbatch_processor.py - Multi-case narrative generation⚠️ CRITICAL: This tool generates draft narratives for efficiency. All adverse event narratives require review by qualified drug safety physicians before regulatory submission. Causality assessment must be performed by healthcare professionals with access to complete medical records.
Every final response should make these items explicit when they are relevant:
scripts/main.py fails, report the failure point, summarize what still can be completed safely, and provide a manual fallback.This skill accepts requests that match the documented purpose of adverse-event-narrative and include enough context to complete the workflow safely.
Do not continue the workflow when the request is out of scope, missing a critical input, or would require unsupported assumptions. Instead respond:
adverse-event-narrativeonly handles its documented workflow. Please provide the missing required inputs or switch to a more suitable skill.
Use the following fixed structure for non-trivial requests:
If the request is simple, you may compress the structure, but still keep assumptions and limits explicit when they affect correctness.
まだレビューはありません。使ってみた感想をお寄せください。
概要と使いどころ
Transform lengthy academic papers into concise, structured 250-word abstracts.
日本語の概要は準備中です。原文の説明を表示しています。
Precision editing tool that reduces abstract word count through intelligent compression techniques, maintaining scientific rigor while meeting strict journal and conference requirements.
日本語の概要は準備中です。原文の説明を表示しています。
Refines long medical academic texts into SCI-style unstructured Chinese and English abstracts; use when you need to condense drafts/reports/summaries into bilingual abstracts and generate Summary_Report.md.
日本語の概要は準備中です。原文の説明を表示しています。
Generates submission-ready Elsevier/SCI Highlights from manuscript text or extracted PDF/DOCX/TXT content. Use when a user needs 3-5 concise, evidence-grounded highlight bullets for a research paper, review, meta-analysis, case report, or bioinformatics manuscript.
日本語の概要は準備中です。原文の説明を表示しています。
Generates complete FAERS pharmacovigilance study designs for multi-drug or class-level safety comparison inside one predefined SOC or AE family using active comparators, disproportionality analysis, subgroup characterization, and reviewer-facing evidence control.
日本語の概要は準備中です。原文の説明を表示しています。
Analyze data with `adme-property-predictor` using a reproducible workflow, explicit validation, and structured outputs for review-ready interpretation.
日本語の概要は準備中です。原文の説明を表示しています。