Skip to content

Commit

Permalink
correcciones
Browse files Browse the repository at this point in the history
  • Loading branch information
negro89 committed Dec 16, 2021
1 parent 53ae7f5 commit 5430e85
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 89 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<plex-tabs size="full" [activeIndex]="tabIndex" (change)="cambiarTab($event)" *ngIf="cama$ | async as cama">
<plex-tab label="CAMA">
<ng-container *ngIf="estadoCama$ | async as estadoCama">
<plex-title titulo="DATOS DE CAMA">
<plex-title titulo="DATOS DE CAMA" size="md">
<ng-container *ngIf="permisosMapaCamasService.movimientos">
<ng-container *ngFor="let relacion of relaciones$ | async">
<ng-container
Expand Down Expand Up @@ -71,12 +71,11 @@
</fieldset>
</ng-container>
<ng-container *ngIf="cama.paciente">
<plex-title size="sm" justify titulo="DATOS DE PACIENTE">
<plex-title size="md" justify titulo="DATOS DE PACIENTE">

<ng-container *ngIf="pacienteResumen$ | async as pacienteResumen">
<plex-badge *ngIf="registraRespirador(pacienteResumen.registros?.valor)" class="pr-1" type="info">
Respirador
<plex-icon name="{{ pacienteResumen.registros.valor.dispositivo?.icono }}"> </plex-icon>
</plex-badge>
</ng-container>

Expand All @@ -88,17 +87,17 @@

<plex-dropdown right="true" size="sm" type="primary" icon='chevron-down' tooltip="Opciones">
<div class="text-right">
<plex-button *ngIf="capa !== 'enfermeria'" label="EXPLORACIÓN VISUAL" size="sm" type="info" (click)="onVerResumen(cama)">
<plex-button *ngIf="capa !== 'enfermeria'" label="EXPLORACIÓN VISUAL" size="sm" type="link" (click)="onVerResumen(cama)">
</plex-button>

<ng-container *ngIf="turnero$ | async as pantalla">
<plex-button (click)="llamarTurnero(pantalla, cama)" size="sm" type="info">
<plex-button (click)="llamarTurnero(pantalla, cama)" size="sm" type="link">
<plex-icon name="bell-ring-outline"></plex-icon>
</plex-button>
</ng-container>

<ng-container *ngIf="(accionesEstado$ | async)?.length > 0 && permisosMapaCamasService.registros">
<plex-button size="sm" type="success" (click)="onNuevoRegistrio()"> NUEVO REGISTRO </plex-button>
<plex-button size="sm" type="link" (click)="onNuevoRegistrio()"> NUEVO REGISTRO </plex-button>
</ng-container>
</div>
</plex-dropdown>
Expand All @@ -109,7 +108,7 @@
</fieldset>
</ng-container>
<ng-container *ngIf="cama.estado === 'ocupada' && !cama.sala">
<plex-title titulo="Nota">
<plex-title titulo="Nota" size="md">
<plex-button *ngIf="!editNota" size="sm" title="Editar nota" type="warning" icon="documento"
(click)="toggleEditNota(true, cama.nota)"></plex-button>
</plex-title>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,6 @@ export class CamaDetalleComponent implements OnInit {
}

registraRespirador(respirador) {
return respirador?.fechaDesde;
return respirador?.fechaDesde && !respirador.fechaHasta;
}
}

This file was deleted.

This file was deleted.

This file was deleted.

17 changes: 0 additions & 17 deletions src/app/modules/rup/components/elementos/respiracionAsistida.html

This file was deleted.

6 changes: 1 addition & 5 deletions src/app/modules/rup/elementos-rup.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,6 @@ import { VistaPrestacionComponent } from './components/huds/vistaPrestacion';
import { ElementoRUPByIdPipes } from './pipes/elemento-rup-id.pipes';
import { SemanticClassPipe } from './pipes/semantic-class.pipes';
import { SemanticIconPipe } from './pipes/semantic-icon.pipes';
import { RespiracionAsistidaComponent } from './components/elementos/respiracionAsistida.component';
import { DesteteVentilacionMecanicaComponent } from './components/elementos/desteteVentilacionMecanica.component';


const RUPComponentsArray = [
Expand Down Expand Up @@ -127,9 +125,7 @@ const RUPComponentsArray = [
InternacionIngresoComponent,
ChecklistComponent,
VacunasComponent,
SolicitudPrescripcionMedicamentoComponent,
RespiracionAsistidaComponent,
DesteteVentilacionMecanicaComponent
SolicitudPrescripcionMedicamentoComponent
];

@NgModule({
Expand Down

0 comments on commit 5430e85

Please sign in to comment.