Admission Route
Routes of patient admission to health services (emergency, referral, etc.).
Records: 14 | Last Updated: Aug 16, 2024
Schema
Section titled “Schema”| Field | Type | Format |
|---|---|---|
codigo | string | - |
nombre | string | - |
extra_II | string | - |
extra_IV | string | - |
fechaHoraActualizacion | string | date-time |
id | number | - |
estadoEntidad | boolean | - |
Sample Data
Section titled “Sample Data”[ { "codigo": "01", "nombre": "DEMANDA ESPONTANEA", "extra_II": "SI", "extra_IV": "NO", "fechaHoraActualizacion": "2024-08-16T17:01:48.0133333", "id": 1297104136, "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_ViaIngresoServicioSalud.json') .then(res => res.json());
// TypeScript interface (generated from schema)interface RipsREFsViaIngresoServicioSalud { codigo: string; nombre: string; extra_II: string; extra_IV: string; fechaHoraActualizacion: string; id: number; estadoEntidad: boolean;}
// Use the dataconst records: RipsREFsViaIngresoServicioSalud[] = data;