diff --git a/src/sections/Cultivos.tsx b/src/sections/Cultivos.tsx index 7af4140..4e4a14e 100644 --- a/src/sections/Cultivos.tsx +++ b/src/sections/Cultivos.tsx @@ -198,32 +198,34 @@ export function Cultivos({ )} {cultivo.estado === 'Positivo' && cultivo.germen && ( -
-

- - Germen: {cultivo.germen} -

- {cultivo.fechaResultado && ( -

- Resultado: {cultivo.fechaResultado} -

- )} - {(cultivo.sensible || cultivo.resistente) && ( -
- {cultivo.sensible && ( -
-

Sensible a:

-

{cultivo.sensible}

-
- )} - {cultivo.resistente && ( -
-

Resistente a:

-

{cultivo.resistente}

-
- )} -
- )} +
+
+ + + Germen: {cultivo.germen} {cultivo.fechaResultado ? `(Definitivo: ${cultivo.fechaResultado})` : ''} + + + {cultivo.sensible && ( + + Sensibilidad: {cultivo.sensible} + + )} + + {cultivo.resistente && ( + + Resistencia: {cultivo.resistente} + + )} +
)} diff --git a/src/sections/HistoriaClinica.tsx b/src/sections/HistoriaClinica.tsx index 6bc48d0..3f06d72 100644 --- a/src/sections/HistoriaClinica.tsx +++ b/src/sections/HistoriaClinica.tsx @@ -2416,6 +2416,7 @@ function SeccionCultivos({ cults, patient, internacionId, add, update, del, canE LAsc LAbd Coleccion + Partes Blandas
@@ -2521,15 +2522,34 @@ function SeccionCultivos({ cults, patient, internacionId, add, update, del, canE )} {c.estado === 'Positivo' && c.germen && ( -
-

Germen: {c.germen}

- {c.fechaResultado &&

Resultado: {c.fechaResultado}

} - {(c.sensible || c.resistente) && ( -
- {c.sensible &&

Sensible a:

{c.sensible}

} - {c.resistente &&

Resistente a:

{c.resistente}

} -
- )} +
+
+ + + Germen: {c.germen} {c.fechaResultado ? `(Definitivo: ${c.fechaResultado})` : ''} + + + {c.sensible && ( + + Sensibilidad: {c.sensible} + + )} + + {c.resistente && ( + + Resistencia: {c.resistente} + + )} +
)} {c.estado === 'Negativo' && ( diff --git a/src/types/index.ts b/src/types/index.ts index 47ff133..b014735 100644 --- a/src/types/index.ts +++ b/src/types/index.ts @@ -155,7 +155,7 @@ export interface Cultivo { fechaToma: string; protocolo?: string; fechaResultado?: string; - tipoMuestra: 'HMCx2' | 'RC' | 'PC' | 'UC' | 'LCR' | 'LP' | 'LAsc' | 'LAbd' | 'Coleccion'; + tipoMuestra: 'HMCx2' | 'RC' | 'PC' | 'UC' | 'LCR' | 'LP' | 'LAsc' | 'LAbd' | 'Coleccion' | 'Partes Blandas'; germen?: string; sensible?: string; resistente?: string;