File tree Expand file tree Collapse file tree 3 files changed +7
-4
lines changed
components/buscadorTurnosPrestaciones
modules/rup/components/huds Expand file tree Collapse file tree 3 files changed +7
-4
lines changed Original file line number Diff line number Diff line change 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 >
Original file line number Diff line number Diff line change 7777 < i class ="adi {{ elemento | semanticIcon }} "> </ i >
7878 </ div >
7979 < div class ="title ">
80+ < b *ngIf ="!verContenido ">
81+ {{ (elemento.esSolicitud) ? 'solicitud' : elemento.concepto.semanticTag}}:
82+ </ b >
8083 < ng-container *ngIf ="elemento?.nombre ">
8184 {{ elemento.nombre[0].toUpperCase() + elemento.nombre.slice(1) }}
8285 </ ng-container >
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}}
Original file line number Diff line number Diff 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 ,
You can’t perform that action at this time.
0 commit comments