Countries
International countries catalog for patient nationality and origin.
Records: 249 | Last Updated: Feb 26, 2024
Schema
Section titled “Schema”| Field | Type | Format |
|---|---|---|
codigo | string | - |
nombre | string | - |
extra_II | string | - |
extra_III | string | - |
fechaHoraActualizacion | string | date-time |
id | number | - |
estadoEntidad | boolean | - |
Sample Data
Section titled “Sample Data”[ { "codigo": "004", "nombre": "AFGANISTÁN", "extra_II": "AF", "extra_III": "AFG", "fechaHoraActualizacion": "2018-10-03T14:02:21.9433333", "id": 858243984, "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_Pais.json') .then(res => res.json());
// TypeScript interface (generated from schema)interface RipsREFsPais { codigo: string; nombre: string; extra_II: string; extra_III: string; fechaHoraActualizacion: string; id: number; estadoEntidad: boolean;}
// Use the dataconst records: RipsREFsPais[] = data;