Agregar pestañas ATB e Interconsultas a HistoriaClinica
This commit is contained in:
@@ -35,7 +35,9 @@ import {
|
||||
ClipboardList,
|
||||
TrendingUp,
|
||||
TypeOutline,
|
||||
Activity
|
||||
Activity,
|
||||
Pill,
|
||||
Users
|
||||
} from 'lucide-react';
|
||||
import { Card, CardContent } from '@/components/ui/card';
|
||||
import { Badge } from '@/components/ui/badge';
|
||||
@@ -485,12 +487,20 @@ export function HistoriaClinica({
|
||||
<span className="sm:hidden">Cult</span>
|
||||
({cultivos.length})
|
||||
</TabsTrigger>
|
||||
<TabsTrigger value="atb" className="flex-shrink-0 flex items-center gap-1 text-xs sm:text-sm">
|
||||
<Pill className="h-3 w-3 sm:h-4 sm:w-4" />
|
||||
<span className="hidden sm:inline">ATB</span>
|
||||
</TabsTrigger>
|
||||
<TabsTrigger value="estudios" className="flex-shrink-0 flex items-center gap-1 text-xs sm:text-sm">
|
||||
<ClipboardList className="h-3 w-3 sm:h-4 sm:w-4" />
|
||||
<span className="hidden sm:inline">Estudios</span>
|
||||
<span className="sm:hidden">Est</span>
|
||||
({estudiosComplementarios.length})
|
||||
</TabsTrigger>
|
||||
<TabsTrigger value="interconsultas" className="flex-shrink-0 flex items-center gap-1 text-xs sm:text-sm">
|
||||
<Users className="h-3 w-3 sm:h-4 sm:w-4" />
|
||||
<span className="hidden sm:inline">Interconsultas</span>
|
||||
</TabsTrigger>
|
||||
</TabsList>
|
||||
|
||||
<TabsContent value="laboratorios" className="mt-4">
|
||||
@@ -509,6 +519,13 @@ export function HistoriaClinica({
|
||||
<SeccionCultivos cults={cultivos} patient={paciente} add={onAgregarCultivo} update={onActualizarCultivo} del={onEliminarCultivo} />
|
||||
</TabsContent>
|
||||
|
||||
<TabsContent value="atb" className="mt-4">
|
||||
<div className="text-center py-8 text-gray-400">
|
||||
<Pill className="h-12 w-12 mx-auto mb-2 opacity-50" />
|
||||
<p>Sección ATB en desarrollo</p>
|
||||
</div>
|
||||
</TabsContent>
|
||||
|
||||
<TabsContent value="estudios" className="mt-4">
|
||||
<SeccionEstudiosComplementarios
|
||||
estudios={estudiosComplementarios}
|
||||
@@ -519,6 +536,13 @@ export function HistoriaClinica({
|
||||
del={onEliminarEstudioComplementario}
|
||||
/>
|
||||
</TabsContent>
|
||||
|
||||
<TabsContent value="interconsultas" className="mt-4">
|
||||
<div className="text-center py-8 text-gray-400">
|
||||
<Users className="h-12 w-12 mx-auto mb-2 opacity-50" />
|
||||
<p>Sección Interconsultas en desarrollo</p>
|
||||
</div>
|
||||
</TabsContent>
|
||||
</Tabs>
|
||||
</div>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user