External Cause
External causes of morbidity and mortality (accidents, violence, etc.) for RIPS Version 2.
Records: 29 | Last Updated: Dec 9, 2024
Schema
Section titled “Schema”| Field | Type | Format |
|---|---|---|
codigo | string | - |
nombre | string | - |
extra_I | string | - |
extra_III | string | - |
extra_IV | string | - |
fechaHoraActualizacion | string | date-time |
id | number | - |
estadoEntidad | boolean | - |
Sample Data
Section titled “Sample Data”[ { "codigo": "21", "nombre": "ACCIDENTE DE TRABAJO", "extra_I": "SI", "extra_III": "SI", "extra_IV": "SI", "fechaHoraActualizacion": "2024-12-09T16:46:38.1966667", "id": 1297104150, "estadoEntidad": true }]Usage Example
Section titled “Usage Example”TypeScript/JavaScript
Section titled “TypeScript/JavaScript”// Fetch from CDNconst data = await fetch('https://cdn-minsalud.pahventure.com/ref/Rips.REFs_CausaMotivoAtencion.json') .then(res => res.json());
// TypeScript interface (generated from schema)interface RipsREFsCausaMotivoAtencion { codigo: string; nombre: string; extra_I: string; extra_III: string; extra_IV: string; fechaHoraActualizacion: string; id: number; estadoEntidad: boolean;}
// Use the dataconst records: RipsREFsCausaMotivoAtencion[] = data;