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">
|
<CardContent className="p-0">
|
||||||
<button type="button" className="w-full p-4 flex items-center justify-between hover:bg-gray-50" onClick={() => setDetalleExpandido(!detalleExpandido)}>
|
<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 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>
|
<div>
|
||||||
<p className="text-gray-500">Fecha de Ingreso</p>
|
<p className="text-gray-500">Fecha de Ingreso</p>
|
||||||
<p className="font-medium">{formatDateDDMMYYYY(internacion.fechaIngreso)}</p>
|
<p className="font-medium">{formatDateDDMMYYYY(internacion.fechaIngreso)}</p>
|
||||||
@@ -284,10 +290,7 @@ export function HistoriaClinica({
|
|||||||
{calcularDiasInternado(internacion.fechaIngreso)} días
|
{calcularDiasInternado(internacion.fechaIngreso)} días
|
||||||
</Badge>
|
</Badge>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
|
||||||
<p className="text-gray-500">Antecedentes</p>
|
|
||||||
<p className="font-medium truncate">{paciente.antecedentes || 'Sin registrados'}</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
{detalleExpandido ? <ChevronUp className="h-5 w-5 text-gray-400" /> : <ChevronDown className="h-5 w-5 text-gray-400" />}
|
{detalleExpandido ? <ChevronUp className="h-5 w-5 text-gray-400" /> : <ChevronDown className="h-5 w-5 text-gray-400" />}
|
||||||
</button>
|
</button>
|
||||||
|
|||||||
Reference in New Issue
Block a user