curl --request PUT \
--url https://api.example.com/api/v1/icsr/{icsr_id}/eventos \
--header 'Content-Type: application/json' \
--data '
{
"eventos": [
{
"texto": "<string>",
"tipo_notificacion": "<string>",
"fecha_inicio": "<string>",
"fecha_fin": "<string>",
"gravedad": "<string>",
"causalidad": "<string>",
"desenlace": "<string>",
"solo_ram_grave": "<string>",
"texto_correo": "<string>",
"doc_fuente_url": "<string>",
"meddra_llt_code": "<string>",
"meddra_llt_term": "<string>",
"meddra_pt_code": "<string>",
"meddra_pt_term": "<string>",
"meddra_pt_manual": "<string>",
"is_from_narrative": true
}
],
"gravedad": "<string>",
"causalidad": "<string>",
"desenlace": "<string>",
"solo_ram_grave": "<string>",
"texto_correo": "<string>",
"doc_fuente_url": "<string>",
"meddra_llt_code": "<string>",
"meddra_llt_term": "<string>",
"meddra_pt_code": "<string>",
"meddra_pt_term": "<string>",
"meddra_pt_manual": "<string>"
}
'{
"id": 123,
"icsr_id": 123,
"texto": "<string>",
"tipo_notificacion": "<string>",
"fecha_inicio": "<string>",
"fecha_fin": "<string>",
"gravedad": "<string>",
"causalidad": "<string>",
"desenlace": "<string>",
"solo_ram_grave": "<string>",
"texto_correo": "<string>",
"doc_fuente_url": "<string>",
"meddra_llt_code": "<string>",
"meddra_llt_term": "<string>",
"meddra_pt_code": "<string>",
"meddra_pt_term": "<string>",
"meddra_pt_manual": "<string>",
"is_from_narrative": true
}Add, update, and manage adverse events for ICSR cases with MedDRA coding support
curl --request PUT \
--url https://api.example.com/api/v1/icsr/{icsr_id}/eventos \
--header 'Content-Type: application/json' \
--data '
{
"eventos": [
{
"texto": "<string>",
"tipo_notificacion": "<string>",
"fecha_inicio": "<string>",
"fecha_fin": "<string>",
"gravedad": "<string>",
"causalidad": "<string>",
"desenlace": "<string>",
"solo_ram_grave": "<string>",
"texto_correo": "<string>",
"doc_fuente_url": "<string>",
"meddra_llt_code": "<string>",
"meddra_llt_term": "<string>",
"meddra_pt_code": "<string>",
"meddra_pt_term": "<string>",
"meddra_pt_manual": "<string>",
"is_from_narrative": true
}
],
"gravedad": "<string>",
"causalidad": "<string>",
"desenlace": "<string>",
"solo_ram_grave": "<string>",
"texto_correo": "<string>",
"doc_fuente_url": "<string>",
"meddra_llt_code": "<string>",
"meddra_llt_term": "<string>",
"meddra_pt_code": "<string>",
"meddra_pt_term": "<string>",
"meddra_pt_manual": "<string>"
}
'{
"id": 123,
"icsr_id": 123,
"texto": "<string>",
"tipo_notificacion": "<string>",
"fecha_inicio": "<string>",
"fecha_fin": "<string>",
"gravedad": "<string>",
"causalidad": "<string>",
"desenlace": "<string>",
"solo_ram_grave": "<string>",
"texto_correo": "<string>",
"doc_fuente_url": "<string>",
"meddra_llt_code": "<string>",
"meddra_llt_term": "<string>",
"meddra_pt_code": "<string>",
"meddra_pt_term": "<string>",
"meddra_pt_manual": "<string>",
"is_from_narrative": true
}Documentation Index
Fetch the complete documentation index at: https://mintlify.com/LuisCastilloCruz/VIGIA/llms.txt
Use this file to discover all available pages before exploring further.
GET /api/v1/icsr/{icsr_id}/eventos
icsr:read
PUT /api/v1/icsr/{icsr_id}/eventos
icsr:update
PUT /api/v1/icsr/{icsr_id}/eventos/{evento_id}
icsr:update
PUT /api/v1/icsr/{icsr_id}/meddra
icsr:update
GET /api/v1/icsr/eventos?ids=1&ids=2&ids=3
GET /api/v1/icsr/_bulk/eventos?ids=1,2,3
icsr:read
Show Event Object Schema
GET /api/v1/icsr/eventos?ids=...), the response is an object keyed by ICSR ID:
{
"1234": [
{
"id": 5001,
"icsr_id": 1234,
"texto": "Rash eritematoso",
"gravedad": "No grave",
"causalidad": "Probable"
}
],
"1235": [
{
"id": 5002,
"icsr_id": 1235,
"texto": "Náuseas",
"gravedad": "No grave",
"causalidad": "Posible"
},
{
"id": 5003,
"icsr_id": 1235,
"texto": "Vómitos",
"gravedad": "No grave",
"causalidad": "Posible"
}
]
}
GET /api/v1/icsr/1234/eventos
[
{
"id": 5001,
"icsr_id": 1234,
"texto": "Rash eritematoso generalizado",
"tipo_notificacion": "Inicial",
"fecha_inicio": "2024-01-15",
"fecha_fin": "2024-01-18",
"gravedad": "No grave",
"causalidad": "Probable",
"desenlace": "Recuperado",
"solo_ram_grave": null,
"meddra_pt_code": "10037844",
"meddra_pt_term": "Rash",
"meddra_llt_code": "10037868",
"meddra_llt_term": "Rash eritematoso",
"is_from_narrative": true
}
]
PUT /api/v1/icsr/1234/eventos
{
"eventos": [
{
"texto": "Rash eritematoso generalizado",
"tipo_notificacion": "Inicial",
"fecha_inicio": "2024-01-15",
"fecha_fin": "2024-01-18",
"gravedad": "No grave",
"causalidad": "Probable",
"desenlace": "Recuperado",
"meddra_pt_code": "10037844",
"meddra_pt_term": "Rash",
"meddra_llt_code": "10037868",
"meddra_llt_term": "Rash eritematoso",
"is_from_narrative": true
},
{
"texto": "Prurito intenso",
"tipo_notificacion": "Inicial",
"fecha_inicio": "2024-01-15",
"fecha_fin": "2024-01-17",
"gravedad": "No grave",
"causalidad": "Probable",
"desenlace": "Recuperado",
"meddra_pt_code": "10037087",
"meddra_pt_term": "Prurito",
"is_from_narrative": true
}
]
}
PUT /api/v1/icsr/1234/eventos/5001
{
"gravedad": "Grave",
"causalidad": "Definitiva",
"solo_ram_grave": "Si"
}
PUT /api/v1/icsr/1234/meddra
{
"eventos": [
{
"texto": "Rash eritematoso generalizado",
"meddra_llt_code": "10037868",
"meddra_llt_term": "Rash eritematoso",
"meddra_pt_code": "10037844",
"meddra_pt_term": "Rash",
"is_from_narrative": true
}
]
}
PUT /api/v1/icsr/1234/eventos
{
"eventos": []
}
nullnullmeddra_llt_code and meddra_pt_code for coded termsmeddra_pt_manual for free-text terms when coding is not availableid in ascending order (insertion order). To reorder events, you must replace the entire array.
texto field is required and non-empty{
"detail": [
{
"loc": ["body", "eventos", 0, "texto"],
"msg": "field required",
"type": "value_error.missing"
}
]
}
{
"detail": "ICSR no encontrado"
}
{
"detail": "Evento no encontrado para este ICSR"
}
/icsr/{id}/eventosis_from_narrative: trueis_from_narrative: falsegravedad field/icsr/{id}/eventos/{evento_id}gravedad field on ICSR model represents overall severitycausalidad: "Posible""Probable""Definitiva"meddra_pt_manual when coding is unavailable/meddra endpoint (same behavior, semantic clarity)