diff --git a/WebLab/Protocolos/MedicoSel.aspx.cs b/WebLab/Protocolos/MedicoSel.aspx.cs index 606e18c..3a958ae 100644 --- a/WebLab/Protocolos/MedicoSel.aspx.cs +++ b/WebLab/Protocolos/MedicoSel.aspx.cs @@ -1,5 +1,6 @@ using Business.Data; using Business.Data.Laboratorio; +using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Data; @@ -19,14 +20,14 @@ public partial class MedicoSel : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { - if (!Page.IsPostBack) - { - + if (!Page.IsPostBack) + { + Session["matricula"] = null; + Session["apellidoNombre"] = null; } - } - + protected void btnBuscar_Click(object sender, EventArgs e) { @@ -43,28 +44,23 @@ protected void btnBuscar_Click(object sender, EventArgs e) HttpWebRequest request = (HttpWebRequest)WebRequest.Create(s_url); HttpWebResponse ws1 = (HttpWebResponse)request.GetResponse(); JavaScriptSerializer jsonSerializer = new JavaScriptSerializer(); - + Stream st = ws1.GetResponseStream(); StreamReader sr = new StreamReader(st); string s = sr.ReadToEnd(); if (s != "0") { - - //List pro = jsonSerializer.Deserialize>(s); - - DataTable t = GetJSONToDataTableUsingMethod(s); + DataTable t = GetDataTableMatriculaciones(s); //GetJSONToDataTableUsingMethod(s); gvMedico.DataSource = t; gvMedico.DataBind(); - - } } catch (Exception ex) { - + } - + } public static DataTable GetJSONToDataTableUsingMethod(string JSONData) @@ -119,13 +115,41 @@ public static DataTable GetJSONToDataTableUsingMethod(string JSONData) } return dtUsingMethodReturn; } + + private static DataTable GetDataTableMatriculaciones(string json) + { + //Pasa de JSON al tipo de objeto ProfesionalMatriculado + List personas = JsonConvert.DeserializeObject>(json); + DataTable dt = new DataTable(); + + if (personas.Count > 0) + { + //Guardo solo en la tabla aquellos datos que necesito + dt.Columns.Add("nombre"); + dt.Columns.Add("apellido"); + dt.Columns.Add("titulo"); + dt.Columns.Add("matriculaNumero"); + + foreach (Protocolos.ProtocoloEdit2.ProfesionalMatriculado persona in personas) + { + foreach (Protocolos.ProtocoloEdit2.Profesiones prof in persona.profesiones) + { + foreach (Protocolos.ProtocoloEdit2.Matricula mat in prof.matriculacion) + { + if (DateTime.Compare(mat.fin, DateTime.Now) > 0) //Solo agrega las matriculas no vencidas + { + dt.Rows.Add(persona.nombre, persona.apellido, prof.titulo, mat.matriculaNumero); + } + } + } + } + } + return dt; + } protected void gvMedico_RowDataBound(object sender, GridViewRowEventArgs e) { if (e.Row.Cells.Count > 1) { - - - if (e.Row.RowType == DataControlRowType.DataRow) { LinkButton CmdModificar = (LinkButton)e.Row.Cells[3].Controls[1]; @@ -134,21 +158,21 @@ protected void gvMedico_RowDataBound(object sender, GridViewRowEventArgs e) CmdModificar.ToolTip = "Seleccionar"; + // Valor adicional (Nombre y apellido) + DataRow rowData = ((DataRowView)e.Row.DataItem).Row; + CmdModificar.Attributes["nombre"] = rowData.ItemArray[0].ToString(); + CmdModificar.Attributes["apellido"] = rowData.ItemArray[1].ToString(); } - - } } protected void gvMedico_RowCommand(object sender, GridViewCommandEventArgs e) { - if (e.CommandName== "Seleccionar") + if (e.CommandName == "Seleccionar") { - - Session["matricula"] = e.CommandArgument.ToString(); - - - + Session["matricula"] = e.CommandArgument.ToString(); + LinkButton boton = (LinkButton)e.CommandSource; + Session["apellidoNombre"] = boton.Attributes["apellido"] + " " + boton.Attributes["nombre"]; } } } diff --git a/WebLab/Protocolos/ProtocoloEdit2.aspx b/WebLab/Protocolos/ProtocoloEdit2.aspx index 8825baf..b534308 100644 --- a/WebLab/Protocolos/ProtocoloEdit2.aspx +++ b/WebLab/Protocolos/ProtocoloEdit2.aspx @@ -2,716 +2,718 @@ <%@ Register Src="~/Services/ObrasSociales.ascx" TagName="OSociales" TagPrefix="uc1" %> -<%@ Register assembly="Anthem" namespace="Anthem" tagprefix="anthem" %> +<%@ Register Assembly="Anthem" Namespace="Anthem" TagPrefix="anthem" %> -<%@ Register src="../Calidad/IncidenciaEdit.ascx" tagname="IncidenciaEdit" tagprefix="uc1" %> +<%@ Register Src="../Calidad/IncidenciaEdit.ascx" TagName="IncidenciaEdit" TagPrefix="uc1" %> - - - - - + + + + + - + + - - - - - - - - - - - - - + } + + - - + + + + + + + + + + - - - -
- - - - - - - - - -
-   + + + +
+ + + + - + - + - - - - - - - - - - - - -
  - -
-
-

Protocolos

+
+
+
+

Protocolos

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
-
-   +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
  - - - - - -

-

- -
- - - -
    -
  • - <Anterior -
  • -
  • - Siguiente> -
  • -
- - -
- -
-
-
- - - + + + + + + + + + + + + + +
+ + + + + + +
+

+ +

+ +
+ + + + +
    +
  • + <Anterior +
  • +
  • + Siguiente> +
  • +
+ + +
+
+ +
+
+
+ + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + Cambiar Paciente +  Datos del Paciente + + + + +

+ +

+
+ +
+ +
+ +
+ + + + + +
+ + + + +
+ + + + + + +     + + Validar con Renaper + +
+ + + <%-- --%> + + + + +
+ : + +
+
+
+
+ +
+ + + + + + + +
+ + + + + + + + - - - - + + + + + + - + + - + + + - + + + + + + + + + + - + + + + + - +
- - - - - - - Cambiar Paciente -  Datos del Paciente - - - - -

-

-
- -
- -
- -
- - - - - -
- - - - +
- - - - - - -     - - Validar con Renaper - + + + + + + + + + + + + + + + + + + + +
- - <%-- --%> + + + + + + + + + + + + + + + + + + + + + - - -
: - + + + + + + + + + + + + + + + + + + +
- + + + + + + + + + + + + + + + + + +
- - -
- - - - - - - - - - - - - - - -
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - + - - - +
+
+
- - - - - - - - - - - - - - - - -
- - -

- -
- - -
- - - + +
- - - - - - - - -
- - Codigo - Descripcion - S/ Muestra -
- -
- - - - - -
- - - -
-
- - - - - - - -
-
- -
- - - - + - - - -
- - - -
- - + +
+ + +
+ + +
+ + + + + + - -
+ + + + + + + + +
CodigoDescripcionS/ Muestra
+ +
+ + + + +
+ + + +
+
+ + + + + + + + +
+
+ +
+ + + + + - - + + - + + - - - -
+ + + - -
- - +
+ + + + + -
-
-
-
- - Impresora de Etiquetas: - -
- - - +
- - - - + +
- - - - - - - - - - - - - - - - - - - - - - -
- Codigo: -
- -
- Nombre:
-
-
- -
- -
-
- -
-
- - - -
- - Diagnósticos encontrados - - - - - - +
+
+
+
+ Impresora de Etiquetas: + + +
+ + + + + +
+ +
+ + + + + + + + + + + + + + + + + + + + + + - - - -
+ + + + + - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + +
Codigo:
- - -
-

Diagnósticos del Paciente

-
-  
- - - - - - -
-
  - -   - -      + +
Nombre: +
+ +
+
+ +
+ +
+
+ +
+
+ + + +
Diagnósticos encontrados + + + + + + +
+   + + +
+

Diagnósticos del Paciente

+
 
+ + + + + + +
+
+   + +   + + +      -   - -
-  
- - -
- - - -
- <%--
+   + + +
+
 
+ + +
+ + + +
+ <%--
@@ -730,724 +732,840 @@
--%> - - - - - - - - Marcar Todas - Desmarcar Todas - - - -
    -
  • - -
  • -
- -
-
- Impresora de Etiquetas: - - - - + + + + + + + + Marcar Todas + Desmarcar Todas + + + +
    +
  • + +
  • +
+ +
+
+ Impresora de Etiquetas: + + + + +
- -
- - - - - -
- -
- - - - -
- - - - -
- + +
+ + + + + + + +
+ + + + +
+ + + + +
+ +
+ + + + + +
+ + + + + + + + + +
+ + +
+
+ +
- - - - - -
- - - - - - - - - -
- - -
-
- - - - - -
- -
-
- - - - - -
+ + + diff --git a/WebLab/Protocolos/ProtocoloEdit2.aspx.cs b/WebLab/Protocolos/ProtocoloEdit2.aspx.cs index 40539b2..2010aad 100644 --- a/WebLab/Protocolos/ProtocoloEdit2.aspx.cs +++ b/WebLab/Protocolos/ProtocoloEdit2.aspx.cs @@ -141,7 +141,8 @@ protected void Page_Load(object sender, EventArgs e) { if (!Page.IsPostBack) - { + { + Session["matricula"] = ""; //para que lo borre de la sesion al entrar a un nuevo protocolo SetToken(); PreventingDoubleSubmit(btnGuardar); if (Session["idUsuario"] != null) @@ -3658,32 +3659,32 @@ protected void cvAnalisis_ServerValidate(object source, ServerValidateEventArgs } protected void cvValidacionInput_ServerValidate(object source, ServerValidateEventArgs args) - { - + { - TxtDatosCargados.Value = TxtDatos.Value; - string sDatos = ""; + /* TxtDatosCargados.Value = TxtDatos.Value; // => Esta pisando los valores de la grilla TxtDatosCargados y TxtDatos no tiene guardada correctamente s/muestra - string[] tabla = TxtDatos.Value.Split('@'); - - for (int i = 0; i < tabla.Length - 1; i++) - { - string[] fila = tabla[i].Split('#'); - string codigo = fila[1].ToString(); - string muestra= fila[2].ToString(); - - if (sDatos == "") - sDatos = codigo + "#" + muestra; - else - sDatos += ";" + codigo + "#" + muestra; + string sDatos = ""; - } + string[] tabla = TxtDatos.Value.Split('@'); - + for (int i = 0; i < tabla.Length - 1; i++) + { + string[] fila = tabla[i].Split('#'); + string codigo = fila[1].ToString(); + string muestra= fila[2].ToString(); + if (sDatos == "") + sDatos = codigo + "#" + muestra; + else + sDatos += ";" + codigo + "#" + muestra; - TxtDatosCargados.Value = sDatos; + } + + + + + TxtDatosCargados.Value = sDatos;*/ //saco restriccion de forma temporal //if (Request["Operacion"].ToString()!="Modifica") // if (!VerificarFechaPacienteMuestra()) @@ -3786,7 +3787,7 @@ protected void cvValidacionInput_ServerValidate(object source, ServerValidateEve - if ((VerificaRequiereCaracter(sDatos)) && (ddlCaracter.SelectedValue == "0")) + if ((VerificaRequiereCaracter(TxtDatosCargados.Value)) && (ddlCaracter.SelectedValue == "0")) //if ((sDatos.Contains(oC.CodigoCovid) && (ddlCaracter.SelectedValue=="0"))) { TxtDatos.Value = ""; @@ -3970,6 +3971,15 @@ protected void cvValidacionInput_ServerValidate(object source, ServerValidateEve } }//fin control + if(txtEspecialista.Text != "0" && ddlEspecialista.SelectedValue == "0") + { + args.IsValid = false; + this.cvValidacionInput.ErrorMessage = "Debe seleccionar un medico del listado"; + return; + } + + + } } @@ -4426,10 +4436,44 @@ private void MostrarMedico() //documento = pro[i].documento.ToString(); ddlEspecialista.Items.Insert(0, new ListItem(espe, matricula+ '#' + espe)); } + if (pro.Count > 1) + { if (Request["idProtocolo"] == null) { ddlEspecialista.Items.Insert(0, new ListItem("--Seleccione--", "0")); } + #region SelecionProfesional + if (Session["apellidoNombre"] != null) + { + foreach (ListItem item in ddlEspecialista.Items) + { + + //EJEMPLO DE item.Value: + //1541#CAVIEZA NAIR AMANCAY - TÉCNICO SUPERIOR EN RADIOLOGIA# + int positionFinal = item.Value.IndexOf("-"); + if (positionFinal < 0) + continue; //Es el caso de "--Seleccione--", "0" + + string apellidoNombre = item.Value.Substring(0, positionFinal); + int posicion = apellidoNombre.IndexOf("#"); + + if (posicion < 0) + continue; + + apellidoNombre = apellidoNombre.Substring(posicion + 1).Trim(); + + + if (apellidoNombre.Equals(Session["apellidoNombre"].ToString())) + { + ddlEspecialista.SelectedValue = item.Value; + break; + } + } + } + #endregion + } + + lblErrorMedico.Visible = false; } @@ -4464,13 +4508,15 @@ public class Profesiones { public List matriculacion { get; set; } public string titulo { get; set; } + public string codigo { get; set; } } public class Matricula { public string matriculaNumero { get; set; } - + public DateTime fin { get; set; } + } @@ -4480,6 +4526,8 @@ public class ProfesionalMatriculado public string nombre { get; set; } public string apellido { get; set; } public List profesiones { get; set; } + public string cuit { get; set; } + public string id { get; set; } //id que trae de ANDES //public string Nombre { get; set; } //public string FechaNacimiento { get; set; } //public string FechaNac { get; set; } @@ -4539,7 +4587,10 @@ public class ProfesionalMatriculado protected void Button1_Click(object sender, EventArgs e) { - if (Session["matricula"] != null) + if (Session["matricula"] != null && Session["matricula"].ToString() != "") + //Agregue que sea distinto de vacio porque al Cancelar sin traer matricula, + //deja un string vacio, que hacia que entrara al if y buscara nuevamente un medico + //haciendo que la ejecucion se extendiera innecesariamente { txtEspecialista.Text = Session["matricula"].ToString(); diff --git a/WebLab/Protocolos/ProtocoloEdit2.aspx.designer.cs b/WebLab/Protocolos/ProtocoloEdit2.aspx.designer.cs index 8ff1ffc..372a028 100644 --- a/WebLab/Protocolos/ProtocoloEdit2.aspx.designer.cs +++ b/WebLab/Protocolos/ProtocoloEdit2.aspx.designer.cs @@ -7,11 +7,13 @@ // //------------------------------------------------------------------------------ -namespace WebLab.Protocolos { - - - public partial class ProtocoloEdit2 { - +namespace WebLab.Protocolos +{ + + + public partial class ProtocoloEdit2 + { + /// /// pnlLista control. /// @@ -20,7 +22,7 @@ public partial class ProtocoloEdit2 { /// To modify move field declaration from designer file to code-behind file. /// protected global::System.Web.UI.HtmlControls.HtmlGenericControl pnlLista; - + /// /// gvLista control. /// @@ -29,7 +31,7 @@ public partial class ProtocoloEdit2 { /// To modify move field declaration from designer file to code-behind file. /// protected global::System.Web.UI.WebControls.GridView gvLista; - + /// /// lblServicio control. /// @@ -38,7 +40,7 @@ public partial class ProtocoloEdit2 { /// To modify move field declaration from designer file to code-behind file. /// protected global::System.Web.UI.WebControls.Label lblServicio; - + /// /// pnlNavegacion control. /// @@ -47,7 +49,7 @@ public partial class ProtocoloEdit2 { /// To modify move field declaration from designer file to code-behind file. /// protected global::System.Web.UI.WebControls.Panel pnlNavegacion; - + /// /// lblEstado control. /// @@ -56,7 +58,7 @@ public partial class ProtocoloEdit2 { /// To modify move field declaration from designer file to code-behind file. /// protected global::System.Web.UI.WebControls.Label lblEstado; - + /// /// lnkAnterior control. /// @@ -65,7 +67,7 @@ public partial class ProtocoloEdit2 { /// To modify move field declaration from designer file to code-behind file. /// protected global::System.Web.UI.WebControls.LinkButton lnkAnterior; - + /// /// lnkSiguiente control. /// @@ -74,7 +76,7 @@ public partial class ProtocoloEdit2 { /// To modify move field declaration from designer file to code-behind file. /// protected global::System.Web.UI.WebControls.LinkButton lnkSiguiente; - + /// /// pnlTitulo control. /// @@ -83,7 +85,7 @@ public partial class ProtocoloEdit2 { /// To modify move field declaration from designer file to code-behind file. /// protected global::System.Web.UI.HtmlControls.HtmlGenericControl pnlTitulo; - + /// /// pnlPaciente control. /// @@ -92,7 +94,7 @@ public partial class ProtocoloEdit2 { /// To modify move field declaration from designer file to code-behind file. /// protected global::System.Web.UI.WebControls.Panel pnlPaciente; - + /// /// logoRenaper control. /// @@ -101,7 +103,7 @@ public partial class ProtocoloEdit2 { /// To modify move field declaration from designer file to code-behind file. /// protected global::System.Web.UI.HtmlControls.HtmlImage logoRenaper; - + /// /// lblPaciente control. /// @@ -110,7 +112,7 @@ public partial class ProtocoloEdit2 { /// To modify move field declaration from designer file to code-behind file. /// protected global::System.Web.UI.WebControls.Label lblPaciente; - + /// /// HFIdPaciente control. /// @@ -119,7 +121,7 @@ public partial class ProtocoloEdit2 { /// To modify move field declaration from designer file to code-behind file. /// protected global::System.Web.UI.WebControls.HiddenField HFIdPaciente; - + /// /// HFNumeroDocumento control. /// @@ -128,7 +130,7 @@ public partial class ProtocoloEdit2 { /// To modify move field declaration from designer file to code-behind file. /// protected global::System.Web.UI.WebControls.HiddenField HFNumeroDocumento; - + /// /// HFSexo control. /// @@ -137,7 +139,7 @@ public partial class ProtocoloEdit2 { /// To modify move field declaration from designer file to code-behind file. /// protected global::System.Web.UI.WebControls.HiddenField HFSexo; - + /// /// hplModificarPaciente control. /// @@ -146,7 +148,7 @@ public partial class ProtocoloEdit2 { /// To modify move field declaration from designer file to code-behind file. /// protected global::System.Web.UI.WebControls.HyperLink hplModificarPaciente; - + /// /// hplActualizarPaciente control. /// @@ -155,7 +157,7 @@ public partial class ProtocoloEdit2 { /// To modify move field declaration from designer file to code-behind file. /// protected global::System.Web.UI.WebControls.HyperLink hplActualizarPaciente; - + /// /// lblAlertaProtocolo control. /// @@ -164,7 +166,7 @@ public partial class ProtocoloEdit2 { /// To modify move field declaration from designer file to code-behind file. /// protected global::System.Web.UI.WebControls.Label lblAlertaProtocolo; - + /// /// pnlNumero control. /// @@ -173,7 +175,7 @@ public partial class ProtocoloEdit2 { /// To modify move field declaration from designer file to code-behind file. /// protected global::System.Web.UI.WebControls.Panel pnlNumero; - + /// /// lblTitulo control. /// @@ -182,7 +184,7 @@ public partial class ProtocoloEdit2 { /// To modify move field declaration from designer file to code-behind file. /// protected global::System.Web.UI.WebControls.Label lblTitulo; - + /// /// lblUsuario control. /// @@ -191,7 +193,7 @@ public partial class ProtocoloEdit2 { /// To modify move field declaration from designer file to code-behind file. /// protected global::System.Web.UI.WebControls.Label lblUsuario; - + /// /// btnNotificarSISA control. /// @@ -200,7 +202,7 @@ public partial class ProtocoloEdit2 { /// To modify move field declaration from designer file to code-behind file. /// protected global::System.Web.UI.WebControls.Button btnNotificarSISA; - + /// /// lblNroSISA control. /// @@ -209,7 +211,7 @@ public partial class ProtocoloEdit2 { /// To modify move field declaration from designer file to code-behind file. /// protected global::System.Web.UI.WebControls.Label lblNroSISA; - + /// /// spanadjunto control. /// @@ -218,7 +220,7 @@ public partial class ProtocoloEdit2 { /// To modify move field declaration from designer file to code-behind file. /// protected global::System.Web.UI.HtmlControls.HtmlGenericControl spanadjunto; - + /// /// lblAdjunto control. /// @@ -227,7 +229,7 @@ public partial class ProtocoloEdit2 { /// To modify move field declaration from designer file to code-behind file. /// protected global::System.Web.UI.WebControls.Label lblAdjunto; - + /// /// lblFechaNacimiento control. /// @@ -236,7 +238,7 @@ public partial class ProtocoloEdit2 { /// To modify move field declaration from designer file to code-behind file. /// protected global::System.Web.UI.WebControls.Label lblFechaNacimiento; - + /// /// lblEdad control. /// @@ -245,7 +247,7 @@ public partial class ProtocoloEdit2 { /// To modify move field declaration from designer file to code-behind file. /// protected global::System.Web.UI.WebControls.Label lblEdad; - + /// /// lblUnidadEdad control. /// @@ -254,7 +256,7 @@ public partial class ProtocoloEdit2 { /// To modify move field declaration from designer file to code-behind file. /// protected global::System.Web.UI.WebControls.Label lblUnidadEdad; - + /// /// lblSexo control. /// @@ -263,7 +265,7 @@ public partial class ProtocoloEdit2 { /// To modify move field declaration from designer file to code-behind file. /// protected global::System.Web.UI.WebControls.Label lblSexo; - + /// /// lnkValidarRenaper control. /// @@ -272,7 +274,7 @@ public partial class ProtocoloEdit2 { /// To modify move field declaration from designer file to code-behind file. /// protected global::System.Web.UI.WebControls.LinkButton lnkValidarRenaper; - + /// /// lblObraSocial control. /// @@ -281,7 +283,7 @@ public partial class ProtocoloEdit2 { /// To modify move field declaration from designer file to code-behind file. /// protected global::System.Web.UI.WebControls.Label lblObraSocial; - + /// /// btnSelObraSocial control. /// @@ -290,7 +292,7 @@ public partial class ProtocoloEdit2 { /// To modify move field declaration from designer file to code-behind file. /// protected global::System.Web.UI.WebControls.LinkButton btnSelObraSocial; - + /// /// lblAlertaObraSocial control. /// @@ -299,7 +301,7 @@ public partial class ProtocoloEdit2 { /// To modify move field declaration from designer file to code-behind file. /// protected global::Anthem.Label lblAlertaObraSocial; - + /// /// txtTelefono control. /// @@ -308,7 +310,7 @@ public partial class ProtocoloEdit2 { /// To modify move field declaration from designer file to code-behind file. /// protected global::System.Web.UI.WebControls.TextBox txtTelefono; - + /// /// cvValidacionInput control. /// @@ -317,7 +319,7 @@ public partial class ProtocoloEdit2 { /// To modify move field declaration from designer file to code-behind file. /// protected global::System.Web.UI.WebControls.CustomValidator cvValidacionInput; - + /// /// lblIdPaciente control. /// @@ -326,7 +328,7 @@ public partial class ProtocoloEdit2 { /// To modify move field declaration from designer file to code-behind file. /// protected global::System.Web.UI.WebControls.Label lblIdPaciente; - + /// /// txtFecha control. /// @@ -335,7 +337,7 @@ public partial class ProtocoloEdit2 { /// To modify move field declaration from designer file to code-behind file. /// protected global::System.Web.UI.HtmlControls.HtmlInputText txtFecha; - + /// /// txtFechaOrden control. /// @@ -344,7 +346,7 @@ public partial class ProtocoloEdit2 { /// To modify move field declaration from designer file to code-behind file. /// protected global::System.Web.UI.HtmlControls.HtmlInputText txtFechaOrden; - + /// /// txtFechaTomaMuestra control. /// @@ -353,7 +355,7 @@ public partial class ProtocoloEdit2 { /// To modify move field declaration from designer file to code-behind file. /// protected global::System.Web.UI.HtmlControls.HtmlInputText txtFechaTomaMuestra; - + /// /// txtNumeroOrigen control. /// @@ -362,7 +364,7 @@ public partial class ProtocoloEdit2 { /// To modify move field declaration from designer file to code-behind file. /// protected global::System.Web.UI.WebControls.TextBox txtNumeroOrigen; - + /// /// ddlEfector control. /// @@ -371,7 +373,7 @@ public partial class ProtocoloEdit2 { /// To modify move field declaration from designer file to code-behind file. /// protected global::Anthem.DropDownList ddlEfector; - + /// /// txtEspecialista control. /// @@ -380,7 +382,7 @@ public partial class ProtocoloEdit2 { /// To modify move field declaration from designer file to code-behind file. /// protected global::Anthem.TextBox txtEspecialista; - + /// /// ddlEspecialista control. /// @@ -389,7 +391,7 @@ public partial class ProtocoloEdit2 { /// To modify move field declaration from designer file to code-behind file. /// protected global::Anthem.DropDownList ddlEspecialista; - + /// /// LinkButton1 control. /// @@ -398,7 +400,16 @@ public partial class ProtocoloEdit2 { /// To modify move field declaration from designer file to code-behind file. /// protected global::System.Web.UI.WebControls.LinkButton LinkButton1; - + + /// + /// hf_selMedico control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.HiddenField hf_selMedico; + /// /// ddlOrigen control. /// @@ -407,7 +418,7 @@ public partial class ProtocoloEdit2 { /// To modify move field declaration from designer file to code-behind file. /// protected global::Anthem.DropDownList ddlOrigen; - + /// /// ddlSectorServicio control. /// @@ -416,7 +427,7 @@ public partial class ProtocoloEdit2 { /// To modify move field declaration from designer file to code-behind file. /// protected global::System.Web.UI.WebControls.DropDownList ddlSectorServicio; - + /// /// ddlPrioridad control. /// @@ -425,7 +436,7 @@ public partial class ProtocoloEdit2 { /// To modify move field declaration from designer file to code-behind file. /// protected global::System.Web.UI.WebControls.DropDownList ddlPrioridad; - + /// /// lblSalaCama control. /// @@ -434,7 +445,7 @@ public partial class ProtocoloEdit2 { /// To modify move field declaration from designer file to code-behind file. /// protected global::System.Web.UI.WebControls.Label lblSalaCama; - + /// /// txtSala control. /// @@ -443,7 +454,7 @@ public partial class ProtocoloEdit2 { /// To modify move field declaration from designer file to code-behind file. /// protected global::System.Web.UI.WebControls.TextBox txtSala; - + /// /// txtCama control. /// @@ -452,7 +463,7 @@ public partial class ProtocoloEdit2 { /// To modify move field declaration from designer file to code-behind file. /// protected global::System.Web.UI.WebControls.TextBox txtCama; - + /// /// pnlMuestra control. /// @@ -461,7 +472,7 @@ public partial class ProtocoloEdit2 { /// To modify move field declaration from designer file to code-behind file. /// protected global::System.Web.UI.WebControls.Panel pnlMuestra; - + /// /// txtCodigoMuestra control. /// @@ -470,7 +481,7 @@ public partial class ProtocoloEdit2 { /// To modify move field declaration from designer file to code-behind file. /// protected global::Anthem.TextBox txtCodigoMuestra; - + /// /// ddlMuestra control. /// @@ -479,7 +490,7 @@ public partial class ProtocoloEdit2 { /// To modify move field declaration from designer file to code-behind file. /// protected global::Anthem.DropDownList ddlMuestra; - + /// /// lblCaracterSisa control. /// @@ -488,7 +499,7 @@ public partial class ProtocoloEdit2 { /// To modify move field declaration from designer file to code-behind file. /// protected global::System.Web.UI.HtmlControls.HtmlGenericControl lblCaracterSisa; - + /// /// ddlCaracter control. /// @@ -497,7 +508,7 @@ public partial class ProtocoloEdit2 { /// To modify move field declaration from designer file to code-behind file. /// protected global::Anthem.DropDownList ddlCaracter; - + /// /// lblNroHisopado control. /// @@ -506,7 +517,7 @@ public partial class ProtocoloEdit2 { /// To modify move field declaration from designer file to code-behind file. /// protected global::System.Web.UI.HtmlControls.HtmlGenericControl lblNroHisopado; - + /// /// txtNumeroOrigen2 control. /// @@ -515,7 +526,7 @@ public partial class ProtocoloEdit2 { /// To modify move field declaration from designer file to code-behind file. /// protected global::System.Web.UI.WebControls.TextBox txtNumeroOrigen2; - + /// /// lblErrorMedico control. /// @@ -524,7 +535,7 @@ public partial class ProtocoloEdit2 { /// To modify move field declaration from designer file to code-behind file. /// protected global::Anthem.Label lblErrorMedico; - + /// /// diag control. /// @@ -533,7 +544,7 @@ public partial class ProtocoloEdit2 { /// To modify move field declaration from designer file to code-behind file. /// protected global::System.Web.UI.HtmlControls.HtmlImage diag; - + /// /// tab3Titulo control. /// @@ -542,7 +553,7 @@ public partial class ProtocoloEdit2 { /// To modify move field declaration from designer file to code-behind file. /// protected global::System.Web.UI.HtmlControls.HtmlGenericControl tab3Titulo; - + /// /// tituloCalidad control. /// @@ -551,7 +562,7 @@ public partial class ProtocoloEdit2 { /// To modify move field declaration from designer file to code-behind file. /// protected global::System.Web.UI.HtmlControls.HtmlGenericControl tituloCalidad; - + /// /// inci control. /// @@ -560,7 +571,7 @@ public partial class ProtocoloEdit2 { /// To modify move field declaration from designer file to code-behind file. /// protected global::System.Web.UI.HtmlControls.HtmlImage inci; - + /// /// tableTitulo control. /// @@ -569,7 +580,7 @@ public partial class ProtocoloEdit2 { /// To modify move field declaration from designer file to code-behind file. /// protected global::System.Web.UI.HtmlControls.HtmlTable tableTitulo; - + /// /// TxtCantidadFilas control. /// @@ -578,7 +589,7 @@ public partial class ProtocoloEdit2 { /// To modify move field declaration from designer file to code-behind file. /// protected global::System.Web.UI.HtmlControls.HtmlInputHidden TxtCantidadFilas; - + /// /// CodOS control. /// @@ -587,7 +598,7 @@ public partial class ProtocoloEdit2 { /// To modify move field declaration from designer file to code-behind file. /// protected global::System.Web.UI.HtmlControls.HtmlInputHidden CodOS; - + /// /// chkRecordarPractica control. /// @@ -596,7 +607,7 @@ public partial class ProtocoloEdit2 { /// To modify move field declaration from designer file to code-behind file. /// protected global::System.Web.UI.WebControls.CheckBox chkRecordarPractica; - + /// /// ddlRutina control. /// @@ -605,7 +616,7 @@ public partial class ProtocoloEdit2 { /// To modify move field declaration from designer file to code-behind file. /// protected global::Anthem.DropDownList ddlRutina; - + /// /// lnkAgregarRutina control. /// @@ -614,7 +625,7 @@ public partial class ProtocoloEdit2 { /// To modify move field declaration from designer file to code-behind file. /// protected global::Anthem.LinkButton lnkAgregarRutina; - + /// /// ddlItem control. /// @@ -623,7 +634,7 @@ public partial class ProtocoloEdit2 { /// To modify move field declaration from designer file to code-behind file. /// protected global::Anthem.DropDownList ddlItem; - + /// /// lnkAgregarItem control. /// @@ -632,7 +643,7 @@ public partial class ProtocoloEdit2 { /// To modify move field declaration from designer file to code-behind file. /// protected global::Anthem.LinkButton lnkAgregarItem; - + /// /// pnlImpresoraAlta control. /// @@ -641,7 +652,7 @@ public partial class ProtocoloEdit2 { /// To modify move field declaration from designer file to code-behind file. /// protected global::System.Web.UI.HtmlControls.HtmlGenericControl pnlImpresoraAlta; - + /// /// ddlImpresoraEtiqueta control. /// @@ -650,7 +661,7 @@ public partial class ProtocoloEdit2 { /// To modify move field declaration from designer file to code-behind file. /// protected global::System.Web.UI.WebControls.DropDownList ddlImpresoraEtiqueta; - + /// /// TxtDatosCargados control. /// @@ -659,7 +670,7 @@ public partial class ProtocoloEdit2 { /// To modify move field declaration from designer file to code-behind file. /// protected global::System.Web.UI.HtmlControls.HtmlInputHidden TxtDatosCargados; - + /// /// TxtDatos control. /// @@ -668,7 +679,7 @@ public partial class ProtocoloEdit2 { /// To modify move field declaration from designer file to code-behind file. /// protected global::System.Web.UI.HtmlControls.HtmlInputHidden TxtDatos; - + /// /// txtTareas control. /// @@ -677,7 +688,7 @@ public partial class ProtocoloEdit2 { /// To modify move field declaration from designer file to code-behind file. /// protected global::System.Web.UI.HtmlControls.HtmlInputHidden txtTareas; - + /// /// txtCodigoDiagnostico control. /// @@ -686,7 +697,7 @@ public partial class ProtocoloEdit2 { /// To modify move field declaration from designer file to code-behind file. /// protected global::Anthem.TextBox txtCodigoDiagnostico; - + /// /// txtNombreDiagnostico control. /// @@ -695,7 +706,7 @@ public partial class ProtocoloEdit2 { /// To modify move field declaration from designer file to code-behind file. /// protected global::Anthem.TextBox txtNombreDiagnostico; - + /// /// btnBusquedaDiagnostico control. /// @@ -704,7 +715,7 @@ public partial class ProtocoloEdit2 { /// To modify move field declaration from designer file to code-behind file. /// protected global::Anthem.Button btnBusquedaDiagnostico; - + /// /// btnBusquedaFrecuente control. /// @@ -713,7 +724,7 @@ public partial class ProtocoloEdit2 { /// To modify move field declaration from designer file to code-behind file. /// protected global::Anthem.Button btnBusquedaFrecuente; - + /// /// btnRecordarDiagnostico control. /// @@ -722,7 +733,7 @@ public partial class ProtocoloEdit2 { /// To modify move field declaration from designer file to code-behind file. /// protected global::Anthem.Button btnRecordarDiagnostico; - + /// /// lstDiagnosticos control. /// @@ -731,7 +742,7 @@ public partial class ProtocoloEdit2 { /// To modify move field declaration from designer file to code-behind file. /// protected global::Anthem.ListBox lstDiagnosticos; - + /// /// lblMensajeDiagnostico control. /// @@ -740,7 +751,7 @@ public partial class ProtocoloEdit2 { /// To modify move field declaration from designer file to code-behind file. /// protected global::Anthem.Label lblMensajeDiagnostico; - + /// /// btnAgregarDiagnostico control. /// @@ -749,7 +760,7 @@ public partial class ProtocoloEdit2 { /// To modify move field declaration from designer file to code-behind file. /// protected global::Anthem.ImageButton btnAgregarDiagnostico; - + /// /// lstDiagnosticosFinal control. /// @@ -758,7 +769,7 @@ public partial class ProtocoloEdit2 { /// To modify move field declaration from designer file to code-behind file. /// protected global::Anthem.ListBox lstDiagnosticosFinal; - + /// /// btnSacarDiagnostico control. /// @@ -767,7 +778,7 @@ public partial class ProtocoloEdit2 { /// To modify move field declaration from designer file to code-behind file. /// protected global::Anthem.ImageButton btnSacarDiagnostico; - + /// /// lblFechaFIS control. /// @@ -776,7 +787,7 @@ public partial class ProtocoloEdit2 { /// To modify move field declaration from designer file to code-behind file. /// protected global::Anthem.Label lblFechaFIS; - + /// /// txtFechaFIS control. /// @@ -785,7 +796,7 @@ public partial class ProtocoloEdit2 { /// To modify move field declaration from designer file to code-behind file. /// protected global::System.Web.UI.HtmlControls.HtmlInputText txtFechaFIS; - + /// /// chkSinFIS control. /// @@ -794,7 +805,7 @@ public partial class ProtocoloEdit2 { /// To modify move field declaration from designer file to code-behind file. /// protected global::System.Web.UI.WebControls.CheckBox chkSinFIS; - + /// /// Label1 control. /// @@ -803,7 +814,7 @@ public partial class ProtocoloEdit2 { /// To modify move field declaration from designer file to code-behind file. /// protected global::Anthem.Label Label1; - + /// /// txtFechaFUC control. /// @@ -812,7 +823,7 @@ public partial class ProtocoloEdit2 { /// To modify move field declaration from designer file to code-behind file. /// protected global::System.Web.UI.HtmlControls.HtmlInputText txtFechaFUC; - + /// /// chkSinFUC control. /// @@ -821,7 +832,7 @@ public partial class ProtocoloEdit2 { /// To modify move field declaration from designer file to code-behind file. /// protected global::System.Web.UI.WebControls.CheckBox chkSinFUC; - + /// /// pnlEtiquetas control. /// @@ -830,7 +841,7 @@ public partial class ProtocoloEdit2 { /// To modify move field declaration from designer file to code-behind file. /// protected global::System.Web.UI.WebControls.Panel pnlEtiquetas; - + /// /// rdbSeleccionarAreasEtiquetas control. /// @@ -839,7 +850,7 @@ public partial class ProtocoloEdit2 { /// To modify move field declaration from designer file to code-behind file. /// protected global::Anthem.RadioButtonList rdbSeleccionarAreasEtiquetas; - + /// /// chkAreaCodigoBarra control. /// @@ -848,7 +859,7 @@ public partial class ProtocoloEdit2 { /// To modify move field declaration from designer file to code-behind file. /// protected global::Anthem.CheckBoxList chkAreaCodigoBarra; - + /// /// ddlImpresora2 control. /// @@ -857,7 +868,7 @@ public partial class ProtocoloEdit2 { /// To modify move field declaration from designer file to code-behind file. /// protected global::Anthem.DropDownList ddlImpresora2; - + /// /// btnReimprimirCodigoBarras control. /// @@ -866,7 +877,7 @@ public partial class ProtocoloEdit2 { /// To modify move field declaration from designer file to code-behind file. /// protected global::Anthem.Button btnReimprimirCodigoBarras; - + /// /// lblMensajeImpresion control. /// @@ -875,7 +886,7 @@ public partial class ProtocoloEdit2 { /// To modify move field declaration from designer file to code-behind file. /// protected global::Anthem.Label lblMensajeImpresion; - + /// /// chkRecordarConfiguracion control. /// @@ -884,7 +895,7 @@ public partial class ProtocoloEdit2 { /// To modify move field declaration from designer file to code-behind file. /// protected global::Anthem.CheckBox chkRecordarConfiguracion; - + /// /// chkCodificaPaciente control. /// @@ -893,7 +904,7 @@ public partial class ProtocoloEdit2 { /// To modify move field declaration from designer file to code-behind file. /// protected global::Anthem.CheckBox chkCodificaPaciente; - + /// /// pnlIncidencia control. /// @@ -902,7 +913,7 @@ public partial class ProtocoloEdit2 { /// To modify move field declaration from designer file to code-behind file. /// protected global::System.Web.UI.WebControls.Panel pnlIncidencia; - + /// /// IncidenciaEdit1 control. /// @@ -911,7 +922,7 @@ public partial class ProtocoloEdit2 { /// To modify move field declaration from designer file to code-behind file. /// protected global::WebLab.Calidad.IncidenciaEdit IncidenciaEdit1; - + /// /// txtObservacion control. /// @@ -920,7 +931,7 @@ public partial class ProtocoloEdit2 { /// To modify move field declaration from designer file to code-behind file. /// protected global::System.Web.UI.WebControls.TextBox txtObservacion; - + /// /// chkNotificar control. /// @@ -929,7 +940,7 @@ public partial class ProtocoloEdit2 { /// To modify move field declaration from designer file to code-behind file. /// protected global::System.Web.UI.WebControls.CheckBox chkNotificar; - + /// /// hidToken control. /// @@ -938,7 +949,7 @@ public partial class ProtocoloEdit2 { /// To modify move field declaration from designer file to code-behind file. /// protected global::System.Web.UI.HtmlControls.HtmlInputHidden hidToken; - + /// /// txtCodigo control. /// @@ -947,7 +958,7 @@ public partial class ProtocoloEdit2 { /// To modify move field declaration from designer file to code-behind file. /// protected global::Anthem.TextBox txtCodigo; - + /// /// txtCodigosRutina control. /// @@ -956,7 +967,7 @@ public partial class ProtocoloEdit2 { /// To modify move field declaration from designer file to code-behind file. /// protected global::Anthem.TextBox txtCodigosRutina; - + /// /// btnCancelar control. /// @@ -965,7 +976,7 @@ public partial class ProtocoloEdit2 { /// To modify move field declaration from designer file to code-behind file. /// protected global::System.Web.UI.WebControls.Button btnCancelar; - + /// /// btnGuardar control. /// @@ -974,7 +985,7 @@ public partial class ProtocoloEdit2 { /// To modify move field declaration from designer file to code-behind file. /// protected global::System.Web.UI.WebControls.Button btnGuardar; - + /// /// ValidationSummary1 control. /// diff --git a/WebLab/WebLab.csproj b/WebLab/WebLab.csproj index 3df8036..44d1251 100644 --- a/WebLab/WebLab.csproj +++ b/WebLab/WebLab.csproj @@ -192,6 +192,9 @@ ..\Referencias\MathParser.dll + + ..\packages\Newtonsoft.Json.6.0.4\lib\net45\Newtonsoft.Json.dll + False ..\Referencias\NHibernate.dll diff --git a/WebLab/packages.config b/WebLab/packages.config index c75b1bd..db754f1 100644 --- a/WebLab/packages.config +++ b/WebLab/packages.config @@ -11,6 +11,7 @@ + \ No newline at end of file