Skip to content

Commit

Permalink
feat(elementos-rup): elimina atomos y moléculas que no deberían exist…
Browse files Browse the repository at this point in the history
…ir (#1856)

* refactor(rup): charts niño sano no es un elemento-rup

* refactor(elementos-rup): remove CircunferenciaCinturaComponent

* refactor(elementos-rup): elimina filtrado glomerular

* refactor(elementos-rup): remplaza LugarNacimiento por SelectOrganizacion

* refactor(elementos-rup): remove OdontologiaDefaultComponent

* refactor(elementos-rup): Elimina OtoemisionAcusticaDeOidoXComponent

* refactor(elementos-rup): remove PercentiloDeMasaCorporalComponent

* refactor(elementos-rup): remove PercentiloDeTensionArterialComponent

* refactor(elementos-rup): remove PercentiloPerimetroCefalicoComponent

* refactor(elementos-rup): remove PercentiloPesoComponent

* refactor(elementos-rup): PercentiloTallaComponent

* refactor(elementos-rup): remove PerimetroCefalicoComponent

* refactor(elementos-rup): remove Medidas antropometricas

* refactor(elementos-rup): elimina varias moleculas

* feat(rup): lazy load rup module

* refactor(rup): remove abm tipo prestacion obsoleto

* fix(rup): run guards always

* fix(rup): RouterServer change because lazy load
  • Loading branch information
liquid36 authored Sep 1, 2020
1 parent be39e08 commit 63b9b29
Show file tree
Hide file tree
Showing 55 changed files with 331 additions and 1,278 deletions.
114 changes: 15 additions & 99 deletions src/app/app.module.ts

Large diffs are not rendered by default.

20 changes: 7 additions & 13 deletions src/app/app.routing.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ import { ProfesionalComponent } from './components/profesional/profesional.compo
import { ProfesionalCreateUpdateComponent } from './components/profesional/profesional-create-update.component';
import { OrganizacionComponent } from './components/organizacion/organizacion.component';
import { InicioComponent } from './components/inicio/inicio.component';
import { TipoPrestacionComponent } from './components/tipoPrestacion/tipoPrestacion.component';
import { EspacioFisicoComponent } from './components/turnos/configuracion/espacio-fisico/espacio-fisico.component';
import { OrganizacionSectoresComponent } from './components/organizacion/organizacion-sectores.component';
import { OrganizacionOfertaPrestacionalComponent } from './components/organizacion/organizacion-prestaciones.component';
Expand Down Expand Up @@ -144,15 +143,13 @@ const appRoutes: Routes = [
// { path: 'citas/sobreturnos', component: AgregarSobreturnoComponent, canActivate: [RoutingNavBar, RoutingGuard] },
{ path: 'citas/sobreturnos/:idAgenda', component: AgregarSobreturnoComponent, canActivate: [RoutingNavBar, RoutingGuard] },
{ path: 'citas/paciente/:idAgenda', component: AgregarPacienteComponent, canActivate: [RoutingNavBar, RoutingGuard] },
// RUP
{ path: 'rup', component: PuntoInicioComponent, canActivate: [RoutingNavBar, RoutingGuard] },
{ path: 'rup/crear/:opcion', component: PrestacionCrearComponent, canActivate: [RoutingNavBar, RoutingGuard] },
{ path: 'rup/ejecucion/:id', component: PrestacionEjecucionComponent, canActivate: [RoutingNavBar, RoutingGuard] },
{ path: 'rup/validacion/:id', component: PrestacionValidacionComponent, canActivate: [RoutingNavBar, RoutingGuard] },
{ path: 'rup/vista/:id', component: VistaHudsComponent, canActivate: [RoutingNavBar, RoutingGuard, RoutingHudsGuard] },
{ path: 'rup/huds/paciente/:id', component: VistaHudsComponent, canActivate: [RoutingNavBar, RoutingGuard, RoutingHudsGuard] },
{ path: 'rup/huds', component: HudsBusquedaPacienteComponent, canActivate: [RoutingNavBar, RoutingGuard] },
{ path: 'rup/plantillas', component: PlantillasRUPComponent, canActivate: [RoutingNavBar, RoutingGuard] },

{
path: 'rup',
loadChildren: () => import('./modules/rup/rup.module').then(m => m.RUPModule),
canActivate: [RoutingNavBar, RoutingGuard],
runGuardsAndResolvers: 'always'
},

// Configuraciones / ABM
{ path: 'configuracionPrestacion', component: ConfiguracionPrestacionVisualizarComponent, canActivate: [RoutingNavBar, RoutingGuard] },
Expand Down Expand Up @@ -187,9 +184,6 @@ const appRoutes: Routes = [
{ path: 'top/reglas', component: ReglasComponent, canActivate: [RoutingNavBar, RoutingGuard] },
{ path: 'top/reglasVisualizacion', component: VisualizacionReglasTopComponent, canActivate: [RoutingNavBar, RoutingGuard] },

// TODO: Verificar si estas rutas todavía son válidas, y ubicarlas en los módulos correspondientes
/* VERIFICAR ==> */ { path: 'tipoprestaciones', component: TipoPrestacionComponent, canActivate: [RoutingNavBar, RoutingGuard] },

// Principal
{ path: 'auth', loadChildren: './apps/auth/auth.module#AuthAppModule' },
{ path: 'inicio', component: InicioComponent, canActivate: [RoutingNavBar, RoutingGuard] },
Expand Down

This file was deleted.

This file was deleted.

97 changes: 0 additions & 97 deletions src/app/components/tipoPrestacion/tipoPrestacion.component.ts

This file was deleted.

Loading

0 comments on commit 63b9b29

Please sign in to comment.