Presentation Unit
Units for medication presentation and packaging.
Records: 78 | Last Updated: Feb 26, 2024
Schema
Section titled “Schema”| Field | Type | Format |
|---|---|---|
codigo | number | - |
nombre | string | - |
habilitado | boolean | - |
fechaHoraActualizacion | string | date-time |
id | number | - |
estadoEntidad | boolean | - |
Sample Data
Section titled “Sample Data”[ { "codigo": 1, "nombre": "AMPOLLA", "habilitado": true, "fechaHoraActualizacion": "2019-08-12T16:53:56.12", "id": 676628167, "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_UPR.json') .then(res => res.json());
// TypeScript interface (generated from schema)interface RipsREFsUPR { codigo: number; nombre: string; habilitado: boolean; fechaHoraActualizacion: string; id: number; estadoEntidad: boolean;}
// Use the dataconst records: RipsREFsUPR[] = data;