public void getCombos() { SelectViewModel select = new SelectViewModel(); this.lstEspecialidades = new List <FiltroModel>(); this.lstEspecialidades = select.listaEspecialidades(); this.lstTipoDocumentos = new List <FiltroModel>(); this.lstTipoDocumentos = select.listaTipoDocumento(); }
public void getCombosProgramadorSala() { SelectViewModel select = new SelectViewModel(); this.lstEstadosPreQx = new List <FiltroModel>(); this.lstEstados = new List <FiltroModel>(); this.lstEstadosPreQx = select.listaEstadosPreQx(); this.lstEstados = select.listaEstados(); }
public void getCombosPreQX() { SelectViewModel select = new SelectViewModel(); this.lstEstadosPreQx = new List <FiltroModel>(); this.lstEspecialidades = new List <FiltroModel>(); this.lstTipoDocumentos = new List <FiltroModel>(); this.lstEstadosPreQx = select.listaEstadosPreQx(); this.lstEspecialidades = select.listaEspecialidades(); this.lstTipoCirugia = select.listaTipoCirugia(); }
public void getPreQxyEstadoPreqx(int id) { SelectViewModel select = new SelectViewModel(); this.lstEstadosPreQx = new List <FiltroModel>(); this.lstEstadosPreQx = select.listaEstadosPreQx(); this.lstTipoAnestesia = new List <FiltroModel>(); this.lstTipoAnestesia = select.listaTipoAnestesia(); this.lstPreQx = new List <ListaPreQx>(); ICartaGarantiaService _service = new CartaGarantiaService(); this.lstPreQx = DTOToModel.listarPreQx(_service.preqxXcarta(id)); }
public void getCombos() { SelectViewModel select = new SelectViewModel(); this.lstEspecialidades = new List <FiltroModel>(); this.lstEspecialidades = select.listaEspecialidadesMedicas(); this.lstFinanciador = new List <FiltroModel>(); this.lstTipoCirugia = new List <FiltroModel>(); this.lstTipoDocumentos = new List <FiltroModel>(); this.lstTipoDocumentos = select.listaTipoDocumento(); this.lstFinanciador = select.listaFinanciador(); this.lstTipoCirugia = select.listaTipoCirugia(); }
public void getProgramadorCartaEstadoOIqx(int id) { SelectViewModel select = new SelectViewModel(); this.quirurgicaModel = new OIQuirurgicaModel(); IOrdenIQxService _service = new OrdenIQxService(); var oiq = _service.getCartaOrden(id); this.quirurgicaModel = DTOToModel.getCartaOIQx(oiq); if (oiq.cirugias != null) { this.quirurgicaModel.Procedimientos = DTOToModel.filtroModel(oiq.cirugias); } this.lstPreQx = new List <ListaPreQx>(); ICartaGarantiaService _servicepreqx = new CartaGarantiaService(); var pre = _servicepreqx.preqxXcarta(id); if (pre.Count > 0) { this.lstPreQx = DTOToModel.listarPreQx(pre); } }