Fix: Reubicación de Antecedentes en Historia Clínica
This commit is contained in:
@@ -270,6 +270,12 @@ export function HistoriaClinica({
|
||||
<CardContent className="p-0">
|
||||
<button type="button" className="w-full p-4 flex items-center justify-between hover:bg-gray-50" onClick={() => setDetalleExpandido(!detalleExpandido)}>
|
||||
<div className="grid grid-cols-2 sm:grid-cols-4 gap-4 text-sm w-full">
|
||||
|
||||
<div>
|
||||
<p className="text-gray-500">Antecedentes</p>
|
||||
<p className="font-medium truncate">{paciente.antecedentes || 'Sin registrados'}</p>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<p className="text-gray-500">Fecha de Ingreso</p>
|
||||
<p className="font-medium">{formatDateDDMMYYYY(internacion.fechaIngreso)}</p>
|
||||
@@ -284,10 +290,7 @@ export function HistoriaClinica({
|
||||
{calcularDiasInternado(internacion.fechaIngreso)} días
|
||||
</Badge>
|
||||
</div>
|
||||
<div>
|
||||
<p className="text-gray-500">Antecedentes</p>
|
||||
<p className="font-medium truncate">{paciente.antecedentes || 'Sin registrados'}</p>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
{detalleExpandido ? <ChevronUp className="h-5 w-5 text-gray-400" /> : <ChevronDown className="h-5 w-5 text-gray-400" />}
|
||||
</button>
|
||||
|
||||
Reference in New Issue
Block a user