Skip to content

Commit

Permalink
(FEAT) Buscador de turnos y prestaciones - privacidad
Browse files Browse the repository at this point in the history
  • Loading branch information
ma7payne committed Jan 11, 2024
1 parent 513b6c2 commit ad050b7
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@
</div>

<div *ngIf="prestacion.idPrestacion">
<vista-prestacion [idPrestacion]="prestacion.idPrestacion"></vista-prestacion>
<vista-prestacion [idPrestacion]="prestacion.idPrestacion" [verContenido]="false"></vista-prestacion>
</div>

</plex-layout-sidebar>
Expand Down
7 changes: 5 additions & 2 deletions src/app/modules/rup/components/huds/vistaPrestacion.html
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,9 @@
<i class="adi {{ elemento | semanticIcon }}"></i>
</div>
<div class="title">
<b *ngIf="!verContenido">
{{ (elemento.esSolicitud) ? 'solicitud' : elemento.concepto.semanticTag}}:&nbsp;
</b>
<ng-container *ngIf="elemento?.nombre">
{{ elemento.nombre[0].toUpperCase() + elemento.nombre.slice(1) }}
</ng-container>
Expand All @@ -97,12 +100,12 @@
{{ elemento.relacionadoCon[0].concepto?.term[0].toUpperCase() +
elemento.relacionadoCon[0].concepto?.term.slice(1)}}
</plex-badge>
<plex-badge size="sm" type="info" *ngIf="elemento.esDiagnosticoPrincipal">
<plex-badge *ngIf="elemento.esDiagnosticoPrincipal" size="sm" type="info">
Procedimiento / diagnóstico principal
</plex-badge>
</div>
</div>
<div class="rup-body">
<div *ngIf="verContenido" class="rup-body">
<div class="legend">
<span>
{{ (elemento.esSolicitud) ? 'solicitud' : elemento.concepto.semanticTag}}
Expand Down
2 changes: 1 addition & 1 deletion src/app/modules/rup/components/huds/vistaPrestacion.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ export class VistaPrestacionComponent implements OnInit {
@Input() paciente: IPaciente;
@Input() prestacion: IPrestacion;
@Input() puedeEditar: boolean;
@Input() verContenido = true;

public ready$ = this.elementosRUPService.ready;
public puedeDescargarInforme: boolean;
Expand All @@ -30,7 +31,6 @@ export class VistaPrestacionComponent implements OnInit {

_puedeEditar: boolean;


constructor(
private auth: Auth,
private servicioDocumentos: DocumentosService,
Expand Down

0 comments on commit ad050b7

Please sign in to comment.