Skip to content

Commit 5a44e58

Browse files
committed
(FEAT) Buscador de turnos y prestaciones - privacidad
1 parent 16305ee commit 5a44e58

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

src/app/components/buscadorTurnosPrestaciones/turnos-prestaciones.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@
281281
</div>
282282

283283
<div *ngIf="prestacion.idPrestacion">
284-
<vista-prestacion [idPrestacion]="prestacion.idPrestacion"></vista-prestacion>
284+
<vista-prestacion [idPrestacion]="prestacion.idPrestacion" [verContenido]="false"></vista-prestacion>
285285
</div>
286286

287287
</plex-layout-sidebar>

src/app/modules/rup/components/huds/vistaPrestacion.html

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,9 @@
7777
<i class="adi {{ elemento | semanticIcon }}"></i>
7878
</div>
7979
<div class="title">
80+
<b *ngIf="!verContenido">
81+
{{ (elemento.esSolicitud) ? 'solicitud' : elemento.concepto.semanticTag}}:&nbsp;
82+
</b>
8083
<ng-container *ngIf="elemento?.nombre">
8184
{{ elemento.nombre[0].toUpperCase() + elemento.nombre.slice(1) }}
8285
</ng-container>
@@ -97,12 +100,12 @@
97100
{{ elemento.relacionadoCon[0].concepto?.term[0].toUpperCase() +
98101
elemento.relacionadoCon[0].concepto?.term.slice(1)}}
99102
</plex-badge>
100-
<plex-badge size="sm" type="info" *ngIf="elemento.esDiagnosticoPrincipal">
103+
<plex-badge *ngIf="elemento.esDiagnosticoPrincipal" size="sm" type="info">
101104
Procedimiento / diagnóstico principal
102105
</plex-badge>
103106
</div>
104107
</div>
105-
<div class="rup-body">
108+
<div *ngIf="verContenido" class="rup-body">
106109
<div class="legend">
107110
<span>
108111
{{ (elemento.esSolicitud) ? 'solicitud' : elemento.concepto.semanticTag}}

src/app/modules/rup/components/huds/vistaPrestacion.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ export class VistaPrestacionComponent implements OnInit {
2121
@Input() paciente: IPaciente;
2222
@Input() prestacion: IPrestacion;
2323
@Input() puedeEditar: boolean;
24+
@Input() verContenido = true;
2425

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

3132
_puedeEditar: boolean;
3233

33-
3434
constructor(
3535
private auth: Auth,
3636
private servicioDocumentos: DocumentosService,

0 commit comments

Comments
 (0)