Medication Type
Medication type classification (POS, non-POS) for RIPS Version 2.
Records: 5 | Last Updated: Feb 26, 2024
Schema
Section titled “Schema”| Field | Type | Format |
|---|---|---|
codigo | string | - |
nombre | string | - |
fechaHoraActualizacion | string | date-time |
id | number | - |
estadoEntidad | boolean | - |
Sample Data
Section titled “Sample Data”[ { "codigo": "01", "nombre": "Medicamento con uso con registro sanitario", "fechaHoraActualizacion": "2023-03-31T15:32:29.6066667", "id": 1297104087, "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_TipoMedicamento.json') .then(res => res.json());
// TypeScript interface (generated from schema)interface RipsREFsTipoMedicamento { codigo: string; nombre: string; fechaHoraActualizacion: string; id: number; estadoEntidad: boolean;}
// Use the dataconst records: RipsREFsTipoMedicamento[] = data;