public ObservableCollection<ReportesCRViewModel> ListarBusquedaReporteCRViewModel(int iCodigoPaciente, int iCodigoReporte, DateTime dtFecReportePacienteLimInf, DateTime dtFecReportePacienteLimSup)
        {
            ObservableCollection<ReportesCRViewModel> ocltnResultadosR = new ObservableCollection<ReportesCRViewModel>();
            ObservableCollection<ReporteBean> ocltnReporteBeans = ReporteDL.BusquedaReportes(iCodigoPaciente, iCodigoReporte, dtFecReportePacienteLimInf, dtFecReportePacienteLimSup);
            if (ocltnReporteBeans != null)
            {
                foreach (var resultadosBean in ocltnReporteBeans)
                {
                    ReportesCRViewModel rvm = new ReportesCRViewModel();

                    rvm.iCodigoReporte = resultadosBean.iCodigoReporte;
                    rvm.iCodigoPaciente = resultadosBean.iCodigoPaciente;
                    rvm.iCodigoDetalleReporte = resultadosBean.iCodigoDetalleReporte;
                    rvm.iCodigoTipoReporte = resultadosBean.iCodigoTipoReporte;
                    rvm.strNombreTipoReporte = resultadosBean.strNombreTipoReporte;
                    rvm.strFecReportePaciente = resultadosBean.strFecReportePaciente;
                    rvm.strNombresPaciente = resultadosBean.strNombresPaciente;
                    rvm.strApellidosPaciente = resultadosBean.strApellidosPaciente;


                    rvm.strListaAngulosUno = resultadosBean.ObtenerListaAngulos(1);
                    rvm.strListaAngulosDos = resultadosBean.ObtenerListaAngulos(2);
                    rvm.strUnidadPaciente = resultadosBean.strUnidadPaciente;
                    rvm.strLateralidadPaciente = resultadosBean.strLateralidadPaciente;

                    ocltnResultadosR.Add(rvm);
                }
            }
            return ocltnResultadosR;

        }
        public ObservableCollection<ReportesCRViewModel> ListarReportesCRViewModel()
        {
            ObservableCollection<ReportesCRViewModel> ocltnResultadosR = new ObservableCollection<ReportesCRViewModel>();
            ObservableCollection<ReporteBean> ocltnReporteBeans = ReporteDL.ListarReportesPaciente();
            if(ocltnReporteBeans != null)
            {
                foreach (var resultadosBean in ocltnReporteBeans)
                {
                    ReportesCRViewModel rvm = new ReportesCRViewModel();

                    rvm.iCodigoReporte = resultadosBean.iCodigoReporte;
                    rvm.iCodigoPaciente = resultadosBean.iCodigoPaciente;
                    rvm.iCodigoTipoReporte = resultadosBean.iCodigoTipoReporte;
                    rvm.strNombreTipoReporte = resultadosBean.strNombreTipoReporte;
                    rvm.strFecReportePaciente = resultadosBean.strFecReportePaciente;
                    rvm.strNombresPaciente = resultadosBean.strNombresPaciente;
                    rvm.strApellidosPaciente = resultadosBean.strApellidosPaciente;
                    //sacarlos angulos pocodigo
                    rvm.iCodigoDetalleReporte = resultadosBean.iCodigoDetalleReporte;

                    rvm.strListaAngulosUno = resultadosBean.ObtenerListaAngulos(1);
                    rvm.strListaAngulosDos = resultadosBean.ObtenerListaAngulos(2);
                    rvm.strUnidadPaciente = resultadosBean.strUnidadPaciente;
                    rvm.strLateralidadPaciente = resultadosBean.strLateralidadPaciente;

                    ocltnResultadosR.Add(rvm);
                }

            }
            return ocltnResultadosR;
        }