Fix: Leucocitos range in lab values

This commit is contained in:
2026-04-21 09:59:55 -03:00
parent 006b0c7a50
commit a968bc34cc
+2 -2
View File
@@ -119,7 +119,7 @@ const RANGOS_LABORATORIO: Record<string, { min: number; max: number }> = {
'Hemoglobina': { min: 12, max: 14 }, 'Hemoglobina': { min: 12, max: 14 },
'Leucocitos': { min: 4000, max: 11000 }, 'Leucocitos': { min: 4000, max: 11000 },
'Plaquetas': { min: 150000, max: 400000 }, 'Plaquetas': { min: 150000, max: 400000 },
'Glucemia': { min: 70, max: 100 }, 'Glucosa': { min: 70, max: 100 },
'Urea': { min: 17, max: 48.5 }, 'Urea': { min: 17, max: 48.5 },
'Creatinina': { min: 0.5, max: 1.2 }, 'Creatinina': { min: 0.5, max: 1.2 },
'Sodio': { min: 135, max: 145 }, 'Sodio': { min: 135, max: 145 },
@@ -653,7 +653,7 @@ function SeccionLaboratorios({ lab, patientId, add, update, del, addAcidoBase }:
const r = l.resultados.find(r => r.parametro === param); const r = l.resultados.find(r => r.parametro === param);
if (!r) return ''; if (!r) return '';
if (r.estado === 'Normal') return 'text-green-600 font-medium'; if (r.estado === 'Normal') return 'text-green-600 font-medium';
return 'text-red-600 font-bold'; return 'text-red-600 font-medium';
}; };
const buildResultados = (): ResultadoLaboratorio[] => { const buildResultados = (): ResultadoLaboratorio[] => {