Overview
VIGIA supports:- IPS/PSUR Reports: ICH E2C(R2) compliant periodic safety reports
- DIGEMID Exports: Peru regulatory authority format (Modelo B, RAM forms)
- Signal Detection: Aggregate analysis and trend identification
- Document Templates: Customizable DOCX/PDF generation
- Calendar Management: Automated report scheduling by product
IPS/PSUR Report Generation
Overview
IPS (Informe Periódico de Seguridad) / PSUR (Periodic Safety Update Report) summarizes the safety profile of a product over a defined period. Structure (ICH E2C R2):- Executive Summary
- Product Information
- Data Sources
- Cumulative Summary of Safety Data
- Benefit-Risk Analysis
- Signal Evaluation
- Literature Search Results
- Conclusion
Workflow
Access IPS Calendar
Navigate to Reports > IPS CalendarURL:
/calendario-ipsView scheduled IPS reports by product:| Product | Period | Due Date | Status |
|---|---|---|---|
| Paracetamol 500mg | Q1 2024 (Jan-Mar) | 2024-04-15 | Draft |
| Ibuprofeno 400mg | 6M 2023-2 (Jul-Dec) | 2024-01-31 | Submitted |
| Omeprazol 20mg | Annual 2023 | 2024-02-28 | In Progress |
Configure Data Sources
Select which data sources to include:Configure search parameters:
Internal Cases (VIGIA database)
Literature (PubMed, LILACS, SciELO)
Regulatory Databases (DIGEMID, FDA FAERS, EMA EudraVigilance)
Clinical Trials (if applicable)
Run Data Collection
Click Collect Data. The system:
-
Internal Cases:
Groups cases by:
- Severity (grave/no grave)
- Outcome (recovered, ongoing, death)
- MedDRA SOC (System Organ Class)
-
Literature Search:
AI screening for safety signals:
-
Regulatory Database Queries:
- DIGEMID:
search_digemid_nordic(product, period) - FDA FAERS:
search_fda(product, period) - EMA:
search_ema(product, period)
- DIGEMID:
Aggregate Analysis
Navigate to Analysis tab. The system auto-calculates:Cumulative Exposure:Incidence Rates:Case Distribution by SOC:
Signal Detection:
| SOC | Count | % |
|---|---|---|
| Gastrointestinal disorders | 18 | 40% |
| Skin and subcutaneous tissue disorders | 12 | 27% |
| Hepatobiliary disorders | 8 | 18% |
| General disorders | 7 | 15% |
- Disproportionality analysis (PRR, ROR)
- Emerging patterns
- Serious unlisted events
Generate Document
Click Generate Report > Select format:API:The system:
- Loads template:
app/templates/docs/IPS_REPORTE GENERAL.docx - Builds context:
- Renders with Jinja2:
- Optional: Convert to PDF via LibreOffice:
Review and Edit
Download the generated document. Review and edit:Sections to customize:
- Executive summary (auto-generated is generic)
- Benefit-risk conclusion
- Signal interpretation
- Recommendations
- Case counts and tables
- Literature references
- MedDRA coding summaries
DIGEMID Exports
Modelo B (Individual Case Report)
DIGEMID (Peru’s regulatory authority) requires specific formats for case submissions.Download and Submit
Download generated files:Submit to DIGEMID:
- Via online portal: https://www.digemid.minsa.gob.pe/
- Via email: [email protected]
- In person (for serious cases)
Reporting Timelines (DIGEMID)
| Event Type | Timeline | Submission Method |
|---|---|---|
| Fatal | 15 calendar days | Electronic + physical |
| Serious (non-fatal) | 30 calendar days | Electronic |
| Non-serious | Quarterly reports | Electronic batch |
| Unexpected serious | 15 calendar days | Electronic + physical |
Custom Document Templates
Creating Templates
VIGIA uses DocxTemplate (python-docx-template) for DOCX generation.Prepare Base Document
Create a DOCX file in Microsoft Word with:
- Desired layout and styles
- Placeholder tables (if needed)
- Images/logos (static content)
Add Jinja2 Placeholders
Insert dynamic fields using Jinja2 syntax:Simple variables:Conditionals:Loops:Tables (use subdoc):