-
Notifications
You must be signed in to change notification settings - Fork 6
feat(HUDS-177):"Actualizar vista de laboratorios" #3284
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
AgosLizzi
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Buenas,ya se realizo el cambio. Saludos. |
| } | ||
|
|
||
| ngOnChanges(changes: SimpleChanges) { | ||
| if (changes.paciente && changes.paciente.currentValue) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Aca alcanzaria con utilizar la de condicion no nula o vacia (?), para simplificar código... algo asi if ( changes.paciente?.currentValue)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Se realizo el cambio , muchas gracias por la corrección.
| <div class="row vista-badges" | ||
| *ngIf="grupo.recetaVisible?.medicamento?.tratamientoProlongado"> | ||
| <span class="pl-2 pr-2 mr-3 upTag" [ngClass]="{'active': huds.isOpen(grupo, 'receta')}"> | ||
| Tratamiento prolongado: {{ (grupo.recetaVisible?.medicamento?.ordenTratamiento !== |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Estaria bueno refactorizar esta parte de la vista, para hacer mas legilbe de código y menos lógica del lado del html... por ejemplo (sujeto a chequeo) .... en html: <span class="pl-2 pr-2 mr-3 upTag" [ngClass]="{'active': huds.isOpen(grupo, 'receta')}">{{ textoTratamientoProlongado(grupo) }}... en .ts: textoTratamientoProlongado(grupo: any): string {
const medicamento = grupo?.recetaVisible?.medicamento;
if (!medicamento) {
return '';
}
const orden =
medicamento.ordenTratamiento != null
? medicamento.ordenTratamiento + 1
: 0;
const tiempo = medicamento.tiempoTratamiento?.id ?? '';
return Tratamiento prolongado: ${orden} de ${tiempo};
}
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Se realizo el cambio , muchas gracias por la corrección.



Requerimiento
HUDS-177
Funcionalidad desarrollada
Una vez que esta búsqueda fue realizada, actualizar la vista después de 15 segundos.
Mostrar un mensaje que aclare el tiempo de espera para dicha actualización
UserStory llegó a completarse
Requiere actualizaciones en la base de datos
Requiere actualizaciones en la API
Requiere actualizaciones en andes-test-integracion