-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(GDU): modificar email en paciente temporal (#2974)
- Loading branch information
Showing
9 changed files
with
419 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
66 changes: 66 additions & 0 deletions
66
.../rup/mapa-camas/views/listado-internacion-capas/listado-medicamentos-capas.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
<plex-layout [main]="12"> | ||
<plex-layout-main> | ||
<plex-title titulo="Medicamentos"> | ||
<plex-button label="VOLVER" type="danger" (click)="volver()"></plex-button> | ||
</plex-title> | ||
<plex-wrapper> | ||
<plex-select name="unidadOrganizativa" label="Unidad Organizativa" [(ngModel)]="unidadOrg" | ||
idField="conceptId" labelField="term" (change)="filtrar()" | ||
[data]="unidadesOrganizativas$ | async"> | ||
</plex-select> | ||
<plex-select name="sector" label="Sector" [(ngModel)]="sector" idField="nombre" labelField="nombre" | ||
[data]="sectorList$ | async" (change)="filtrar()"> | ||
</plex-select> | ||
<plex-text grow="1" [(ngModel)]="paciente" name="paciente" label="Paciente" [debounce]="500" | ||
(change)="filtrar()"></plex-text> | ||
</plex-wrapper> | ||
<div *ngIf="!(listaMedicamentos$ | async)?.length" class="mt-5"> | ||
<plex-label class="flex-column" icon="magnify" type="info" justify="center" size="xl" direction="column" | ||
titulo="No hay resultados para esta búsqueda" | ||
subtitulo="Se mostraran los medicamentos cargados desde el plan de indicaciones de los pacientes"> | ||
</plex-label> | ||
</div> | ||
<plex-table *ngIf="(listaMedicamentos$ | async)?.length" [columns]="columns" #table="plTable" [offset]="102" | ||
(scroll)="onScroll()" [headOpacity]="50"> | ||
<plex-table-columns> | ||
</plex-table-columns> | ||
<plex-title titulo="Listado de pedidos del día" size="sm"> | ||
<plex-button size="sm" type="info" label="Descargar" (click)="descargarListado()"></plex-button> | ||
<plex-table-columns class="pr-2"> | ||
</plex-table-columns> | ||
</plex-title> | ||
<tr *ngFor="let internacion of (listaMedicamentos$| plSort:table | async)"> | ||
<ng-container *ngIf="internacion.valor?.nombre "> | ||
<td *plTableCol="'paciente'"> | ||
{{internacion.paciente | nombre }} | ||
</td> | ||
<td *plTableCol="'documento'"> | ||
{{ internacion.paciente | documento }} | ||
</td> | ||
<td *plTableCol="'medicamento'"> | ||
<span *ngIf="internacion.valor.nombre || internacion.valor.medicamento?.term"> | ||
{{ internacion.valor.nombre || internacion.valor.medicamento?.term}} | ||
</span> | ||
</td> | ||
<td *plTableCol="'estado'"> | ||
<span *ngIf="internacion.estadoActual?.tipo!=='bypass'"> | ||
{{ internacion.estadoActual?.tipo==='active'? 'Aceptada': | ||
internacion.estadoActual?.tipo}} | ||
</span> | ||
<span *ngIf="internacion.estadoActual?.tipo==='bypass'"> | ||
{{"bypass("+(internacion.estadoActual?.verificacion?.estado==null? | ||
"pendiente": internacion.estadoActual?.verificacion?.estado) +")"}} | ||
</span> | ||
</td> | ||
<td *plTableCol="'sector'"> | ||
{{internacion.sector }} | ||
</td> | ||
<td *plTableCol="'unidadOrganizativa'"> | ||
{{internacion.unidadOrganizativa }} | ||
</td> | ||
</ng-container> | ||
</tr> | ||
</plex-table> | ||
|
||
</plex-layout-main> | ||
</plex-layout> |
Oops, something went wrong.