-
Notifications
You must be signed in to change notification settings - Fork 5
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
CIT: carga masiva de pacientes #2526
Conversation
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.
- Cuando asignas los turnos, queda un disponible medio raro en los turnos
- Por otro lado vamos a validar si con el permiso y que la agenda tenga pacientes simultáneos alcanza para que ya se pueda cargar masivamente. O que pueda llegar a haber agendas sin pacientes simultáneos que también se quieran cargar.
@@ -138,6 +139,7 @@ export class BotonesAgendaComponent implements OnInit { | |||
const puedeBorrar = this.auth.getPermissions('turnos:agenda:puedeBorrar:').length > 0; | |||
const puedeRevisar = this.auth.getPermissions('turnos:agenda:puedeRevision:').length > 0; | |||
const puedeNota = this.auth.getPermissions('turnos:agenda:puedeNota:').length > 0; | |||
const puedeCargar = true; |
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.
const puedeCargar = true; | |
const puedeCargar = this.auth.getPermissions('turnos:agenda:asignacionMasiva:').length > 0; |
src/app/modules/visualizacion-informacion/components/bi-queries/bi-queries.component.html
Outdated
Show resolved
Hide resolved
})); | ||
|
||
let turnos = []; | ||
this.agendasSeleccionadas[0].bloques.forEach(b => { |
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.
Para analizar, si no hay lugar en la agenda no metería la mitad de los pacientes. Arrojaría un error.
Si la agenda es dinámica que pasa?
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.
Queda pendiente sacar las queries desde los conceptos turneables.
@@ -190,6 +191,12 @@ | |||
</suspender-agenda> | |||
</div> | |||
</plex-box> | |||
<plex-box *ngIf="enableQueries"> | |||
<app-bi-queries type="inscriptos-vacunacion"> |
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.
Esta prohibido meter un plex-layout
dentro de otro plex-layout
. Acostumbrense a refactorizar componentes para que sean más reutilizables intramodulos.
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.
La componente de bi-query debería quedar separada en dos. Una es la componente del routing y otra el motor que genera los argumentos dinámicamente.
f9bf0da
to
4e467f6
Compare
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.
No entiendo la separación de componentes bi, hay dos exactamente iguales y solo cambia la vista que uno llama al otro. Se hace por algo en especial así??
@@ -15,6 +15,8 @@ import { IZonaSanitaria } from 'src/app/interfaces/IZonaSanitaria'; | |||
styleUrls: ['./bi-queries.component.scss'] | |||
}) | |||
export class BiQueriesComponent implements OnInit { | |||
@Input() type; |
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.
Teniendo el array de queries, el type seguiría siendo necesario?? yo pensaba controlar lo que se hacia por el type, ahora por el array
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.
removido el type
@@ -1,9 +1,10 @@ | |||
<plex-layout> | |||
<plex-layout-main> | |||
<plex-title titulo="Ejecutar consultas"> | |||
<plex-button size="sm" type="success" (click)="descargar()" [disabled]="form.invalid"> | |||
<plex-button *ngIf="!type" size="sm" type="success" (click)="descargar()" [disabled]="form.invalid"> |
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.
<plex-button *ngIf="!type" size="sm" type="success" (click)="descargar()" [disabled]="form.invalid"> | |
<plex-button *ngIf="!queries.length" size="sm" type="success" (click)="descargar()" [disabled]="form.invalid"> |
@@ -67,9 +68,9 @@ | |||
</ng-container> | |||
</form> | |||
<div justify="center" class="h-75"> | |||
<plex-label titulo="Comience seleccionando una consulta" direction="column" | |||
<plex-label *ngIf="!type" titulo="Comience seleccionando una consulta" direction="column" |
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.
<plex-label *ngIf="!type" titulo="Comience seleccionando una consulta" direction="column" | |
<plex-label *ngIf="!queries.length" titulo="Comience seleccionando una consulta" direction="column" |
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.
hecho!
@@ -190,6 +191,12 @@ | |||
</suspender-agenda> | |||
</div> | |||
</plex-box> | |||
<plex-box *ngIf="enableQueries"> | |||
<app-bi-queries [queries]="queries"> | |||
<plex-button size="sm" type="danger" (click)="cerrarCargarPacientes()">Cerrara</plex-button> |
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.
<plex-button size="sm" type="danger" (click)="cerrarCargarPacientes()">Cerrara</plex-button> | |
<plex-button size="sm" type="danger" (click)="cerrarCargarPacientes()">Cerrar</plex-button> |
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.
Revisar que hay casos donde no se estan setenado los id de los pacientes en el turno y por ese motivo se asignan los turnos pero no se muestran en el sidebar
3b14179
to
ae64c84
Compare
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.
15a6404
to
556fe44
Compare
5f96244
to
d71be98
Compare
Requerimiento
https://proyectos.andes.gob.ar/browse/CIT-134
https://proyectos.andes.gob.ar/browse/CIT-153
Funcionalidad desarrollada
UserStory llegó a completarse
Requiere actualizaciones en la base de datos
Requiere actualizaciones en la API
Requiere actualizaciones en andes-test-integracion
Requiere actualizaciones en andesMicroservices