Cmpletato gestioen VCP (read/insert/update/delete)

This commit is contained in:
Samuele E. Locatelli
2014-08-06 15:26:51 +02:00
parent 4f0f90d128
commit b47cb569a0
17 changed files with 3042 additions and 3321 deletions
+11
View File
@@ -28,3 +28,14 @@
text-align: center;
margin: auto;
}
.text-center {
text-align: center;
margin: auto;
}
.tStrong {
font-weight: bold;
font-size: 1.3em;
}
.flRight {
float: right;
}
+14
View File
@@ -43,3 +43,17 @@
text-align: center;
margin: auto;
}
.text-center {
text-align: center;
margin: auto;
}
.tStrong {
font-weight: bold;
font-size: 1.3em;
}
.flRight
{
float: right;
}
+1 -1
View File
@@ -1 +1 @@
.baseRow{background-color:#eff3fb}.altRow{background-color:#fff}.editRow{background-color:#2461bf}.selectedRow{background-color:#d1ddf1;font-weight:600;color:#333}.headerRow{background-color:#507cd1;font-weight:600;color:#fff}.footerRow{background-color:#507cd1;font-weight:600;color:#fff}.pagerRow{background-color:#2461bf;color:#fff;text-align:center;margin:auto}
.baseRow{background-color:#eff3fb}.altRow{background-color:#fff}.editRow{background-color:#2461bf}.selectedRow{background-color:#d1ddf1;font-weight:600;color:#333}.headerRow{background-color:#507cd1;font-weight:600;color:#fff}.footerRow{background-color:#507cd1;font-weight:600;color:#fff}.pagerRow{background-color:#2461bf;color:#fff;text-align:center;margin:auto}.text-center{text-align:center;margin:auto}.tStrong{font-weight:bold;font-size:1.3em}.flRight{float:right}
+13 -13
View File
@@ -327,8 +327,8 @@
</Content>
<Content Include="Unauth.aspx" />
<Content Include="VAC.aspx" />
<Content Include="VCiclo.aspx" />
<Content Include="VEco.aspx" />
<Content Include="VCP.aspx" />
<Content Include="VL.aspx" />
<Content Include="VLab.aspx" />
<Content Include="WebUserControls\mod_ElencoVisitePaziente.ascx" />
<Content Include="WebUserControls\mod_footer.ascx" />
@@ -420,19 +420,12 @@
<Compile Include="VAC.aspx.designer.cs">
<DependentUpon>VAC.aspx</DependentUpon>
</Compile>
<Compile Include="VCiclo.aspx.cs">
<DependentUpon>VCiclo.aspx</DependentUpon>
<Compile Include="VCP.aspx.cs">
<DependentUpon>VCP.aspx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="VCiclo.aspx.designer.cs">
<DependentUpon>VCiclo.aspx</DependentUpon>
</Compile>
<Compile Include="VEco.aspx.cs">
<DependentUpon>VEco.aspx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="VEco.aspx.designer.cs">
<DependentUpon>VEco.aspx</DependentUpon>
<Compile Include="VCP.aspx.designer.cs">
<DependentUpon>VCP.aspx</DependentUpon>
</Compile>
<Compile Include="Visite.aspx.cs">
<DependentUpon>Visite.aspx</DependentUpon>
@@ -441,6 +434,13 @@
<Compile Include="Visite.aspx.designer.cs">
<DependentUpon>Visite.aspx</DependentUpon>
</Compile>
<Compile Include="VL.aspx.cs">
<DependentUpon>VL.aspx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="VL.aspx.designer.cs">
<DependentUpon>VL.aspx</DependentUpon>
</Compile>
<Compile Include="VLab.aspx.cs">
<DependentUpon>VLab.aspx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
-8
View File
@@ -1,11 +1,6 @@
<%@ Page Title="" Language="C#" MasterPageFile="~/JQMob.Master" AutoEventWireup="true" CodeBehind="VAC.aspx.cs" Inherits="MedPred.VAC" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
<%-- <script>
function confermaDel() {
<%=SteamWare.jsUtils.getCBE("Sei sicuro di voler eliminare il record corrente?","false") %>
}
</script>--%>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<div style="font-size: 0.8em;">
@@ -16,7 +11,6 @@
<ul data-role="listview" data-inset="true">
<li data-role="list-divider">Data:</li>
<li class="ui-field-contain">
<%--<asp:TextBox Enabled="false" runat="server" ID="txtDataVisita" Text='<%# Bind("DataVisita", "{0:yyyy-MM-dd}") %>' />--%>
<asp:Label runat="server" ID="lblDataVisita"><%: Request.QueryString["DataVisita"] %></asp:Label>
</li>
<li data-role="list-divider">Fam MCCV:</li>
@@ -350,8 +344,6 @@
<DeleteParameters>
<asp:SessionParameter DefaultValue="0" Name="Original_IdxPaziente" SessionField="IdxPaziente" Type="Int32" />
<asp:QueryStringParameter DefaultValue="0" Name="Original_DataVisita" QueryStringField="DataVisita" Type="DateTime" />
<%--<asp:Parameter Name="Original_IdxPaziente" Type="Int32" />
<asp:Parameter Name="Original_DataVisita" Type="DateTime" />--%>
</DeleteParameters>
<InsertParameters>
<asp:SessionParameter DefaultValue="0" Name="IdxPaziente" SessionField="IdxPaziente" Type="Int32" />
+375
View File
@@ -0,0 +1,375 @@
<%@ Page Title="" Language="C#" MasterPageFile="~/JQMob.Master" AutoEventWireup="true" CodeBehind="VCP.aspx.cs" Inherits="MedPred.VCP" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<div style="font-size: 0.8em;">
<asp:FormView ID="frmView" runat="server" DataSourceID="ods" RenderOuterTable="False" OnModeChanged="frmView_ModeChanged" OnModeChanging="frmView_ModeChanging">
<ItemTemplate>
<div class="ui-grid-c">
<div class="ui-block-a" style="padding: 4px;">
<ul data-role="listview" data-inset="true">
<li data-role="list-divider">Data:</li>
<li class="ui-field-contain">
<asp:Label runat="server" ID="lblDataVisita"><%: Request.QueryString["DataVisita"] %></asp:Label>
</li>
</ul>
<ul data-role="listview" data-inset="true">
<li data-role="list-divider">Pressione Arteriosa:</li>
<li class="ui-field-contain">
<asp:Label runat="server" ID="lblPaSis" AssociatedControlID="txtPaSis">Sistolica</asp:Label>
<asp:Label runat="server" CssClass="tStrong flRight" ID="txtPaSis" Text='<%# Eval("PaSis") %>' />
</li>
<li class="ui-field-contain">
<asp:Label runat="server" ID="lblPaDia" AssociatedControlID="txtPaDia">Diastolica</asp:Label>
<asp:Label runat="server" CssClass="tStrong flRight" ID="txtPaDia" Text='<%# Eval("PaDia") %>' />
</li>
</ul>
</div>
<div class="ui-block-b" style="padding: 4px;">
<ul data-role="listview" data-inset="true">
<li data-role="list-divider">Capacit&agrave; Lavoro Muscolare:</li>
<li class="ui-field-contain">
<asp:Label runat="server" ID="lblQR1" AssociatedControlID="txtQR1">QR1</asp:Label>
<asp:Label runat="server" CssClass="tStrong flRight" ID="txtQR1" Text='<%# Eval("QR1") %>' />
</li>
<li class="ui-field-contain">
<asp:Label runat="server" ID="lblQR1_Kg" AssociatedControlID="txtQR1_Kg">QR1/Massa</asp:Label>
<asp:Label runat="server" CssClass="tStrong flRight" ID="txtQR1_Kg" Text='<%# Eval("QR1_Kg") %>' />
</li>
</ul>
<ul data-role="listview" data-inset="true">
<li data-role="list-divider">Consumo VO2:</li>
<li class="ui-field-contain">
<asp:Label runat="server" ID="lblVO2" AssociatedControlID="txtVO2">VO2</asp:Label>
<asp:Label runat="server" CssClass="tStrong flRight" ID="txtVO2" Text='<%# Eval("VO2") %>' />
</li>
<li class="ui-field-contain">
<asp:Label runat="server" ID="lblVO2_Kg" AssociatedControlID="txtVO2_Kg">VO2/Massa</asp:Label>
<asp:Label runat="server" CssClass="tStrong flRight" ID="txtVO2_Kg" Text='<%# Eval("VO2_Kg") %>' />
</li>
</ul>
</div>
<div class="ui-block-c" style="padding: 4px;">
<ul data-role="listview" data-inset="true">
<li data-role="list-divider">Bpm:</li>
<li class="ui-field-contain">
<asp:Label runat="server" ID="lblFC_QR1" AssociatedControlID="txtFC_QR1">FC a QR1</asp:Label>
<asp:Label runat="server" CssClass="tStrong flRight" ID="txtFC_QR1" Text='<%# Eval("FC_QR1") %>' />
</li>
<li class="ui-field-contain">
<asp:Label runat="server" ID="lblPolsoO2" AssociatedControlID="txtPolsoO2">Polso O2</asp:Label>
<asp:Label runat="server" CssClass="tStrong flRight" ID="txtPolsoO2" Text='<%# Eval("PolsoO2") %>' />
</li>
</ul>
<ul data-role="listview" data-inset="true">
<li data-role="list-divider">Pressione Arteriosa MAX:</li>
<li class="ui-field-contain">
<asp:Label runat="server" ID="lblPaSisMax" AssociatedControlID="txtPaSisMax">Sistolica</asp:Label>
<asp:Label runat="server" CssClass="tStrong flRight" ID="txtPaSisMax" Text='<%# Eval("PaSisMax") %>' />
</li>
<li class="ui-field-contain">
<asp:Label runat="server" ID="lblPaDiaMax" AssociatedControlID="txtPaDiaMax">Diastolica</asp:Label>
<asp:Label runat="server" CssClass="tStrong flRight" ID="txtPaDiaMax" Text='<%# Eval("PaDiaMax") %>' />
</li>
</ul>
</div>
<div class="ui-block-d" style="padding: 4px;">
<ul data-role="listview" data-inset="true">
<li data-role="list-divider">Frazione Eiezione:</li>
<li class="ui-field-contain">
<asp:Label runat="server" CssClass="tStrong flRight" ID="txtFrazEiez" Text='<%# Eval("FrazEiez") %>' />
</li>
</ul>
<ul data-role="listview" data-inset="true">
<li data-role="list-divider">TDI:</li>
<li class="ui-field-contain">
<asp:Label runat="server" CssClass="tStrong flRight" ID="txtTDI" Text='<%# Eval("TDI") %>' />
</li>
</ul>
<ul data-role="listview" data-inset="true">
<li data-role="list-divider">Placche Vasali (Carotidi):</li>
<li class="ui-field-contain">
<asp:Label runat="server" CssClass="tStrong flRight" ID="txtPlaccheVas" Text='<%# Eval("PlaccheVas") %>' />
</li>
</ul>
</div>
</div>
<div class="ui-grid-solo">
<div class="ui-block-a">
<ul data-role="listview" data-inset="true">
<li class="ui-body ui-body-b">
<fieldset class="ui-grid-a">
<div class="ui-block-a">
<asp:Button runat="server" CssClass="ui-btn ui-shadow ui-corner-all ui-icon-check" ID="btnEdit" CausesValidation="False" CommandName="Edit" Text="Modifica" data-theme="a" />
</div>
<div class="ui-block-b">
<asp:Button runat="server" CssClass="ui-btn ui-icon-delete ui-shadow ui-corner-all" ID="btnDelete" CausesValidation="False" CommandName="Delete" Text="Elimina" data-theme="b" OnClientClick="return confirm('Sei sicuro di voler eliminare il record?')" />
</div>
</fieldset>
</li>
</ul>
</div>
</div>
</ItemTemplate>
<InsertItemTemplate>
<div class="ui-grid-c">
<div class="ui-block-a" style="padding: 4px;">
<ul data-role="listview" data-inset="true">
<li data-role="list-divider">Data:</li>
<li class="ui-field-contain">
<asp:Label runat="server" ID="lblDataVisita"><%: Request.QueryString["DataVisita"] %></asp:Label>
</li>
</ul>
<ul data-role="listview" data-inset="true">
<li data-role="list-divider">Pressione Arteriosa:</li>
<li class="ui-field-contain">
<asp:Label runat="server" ID="lblPaSis" AssociatedControlID="txtPaSis">Sistolica</asp:Label>
<asp:TextBox runat="server" ID="txtPaSis" Text='<%# Bind("PaSis") %>' />
</li>
<li class="ui-field-contain">
<asp:Label runat="server" ID="lblPaDia" AssociatedControlID="txtPaDia">Diastolica</asp:Label>
<asp:TextBox runat="server" ID="txtPaDia" Text='<%# Bind("PaDia") %>' />
</li>
</ul>
</div>
<div class="ui-block-b" style="padding: 4px;">
<ul data-role="listview" data-inset="true">
<li data-role="list-divider">Capacit&agrave; Lavoro Muscolare:</li>
<li class="ui-field-contain">
<asp:Label runat="server" ID="lblQR1" AssociatedControlID="txtQR1">QR1</asp:Label>
<asp:TextBox runat="server" ID="txtQR1" Text='<%# Bind("QR1") %>' />
</li>
<li class="ui-field-contain">
<asp:Label runat="server" ID="lblQR1_Kg" AssociatedControlID="txtQR1_Kg">QR1/Massa</asp:Label>
<asp:TextBox runat="server" ID="txtQR1_Kg" Text='<%# Bind("QR1_Kg") %>' />
</li>
</ul>
<ul data-role="listview" data-inset="true">
<li data-role="list-divider">Consumo VO2:</li>
<li class="ui-field-contain">
<asp:Label runat="server" ID="lblVO2" AssociatedControlID="txtVO2">VO2</asp:Label>
<asp:TextBox runat="server" ID="txtVO2" Text='<%# Bind("VO2") %>' />
</li>
<li class="ui-field-contain">
<asp:Label runat="server" ID="lblVO2_Kg" AssociatedControlID="txtVO2_Kg">VO2/Massa</asp:Label>
<asp:TextBox runat="server" ID="txtVO2_Kg" Text='<%# Bind("VO2_Kg") %>' />
</li>
</ul>
</div>
<div class="ui-block-c" style="padding: 4px;">
<ul data-role="listview" data-inset="true">
<li data-role="list-divider">Bpm:</li>
<li class="ui-field-contain">
<asp:Label runat="server" ID="lblFC_QR1" AssociatedControlID="txtFC_QR1">FC a QR1</asp:Label>
<asp:TextBox runat="server" ID="txtFC_QR1" Text='<%# Bind("FC_QR1") %>' />
</li>
<li class="ui-field-contain">
<asp:Label runat="server" ID="lblPolsoO2" AssociatedControlID="txtPolsoO2">Polso O2</asp:Label>
<asp:TextBox runat="server" ID="txtPolsoO2" Text='<%# Bind("PolsoO2") %>' />
</li>
</ul>
<ul data-role="listview" data-inset="true">
<li data-role="list-divider">Pressione Arteriosa MAX:</li>
<li class="ui-field-contain">
<asp:Label runat="server" ID="lblPaSisMax" AssociatedControlID="txtPaSisMax">Sistolica</asp:Label>
<asp:TextBox runat="server" ID="txtPaSisMax" Text='<%# Bind("PaSisMax") %>' />
</li>
<li class="ui-field-contain">
<asp:Label runat="server" ID="lblPaDiaMax" AssociatedControlID="txtPaDiaMax">Diastolica</asp:Label>
<asp:TextBox runat="server" ID="txtPaDiaMax" Text='<%# Bind("PaDiaMax") %>' />
</li>
</ul>
</div>
<div class="ui-block-d" style="padding: 4px;">
<ul data-role="listview" data-inset="true">
<li data-role="list-divider">Frazione Eiezione:</li>
<li class="ui-field-contain">
<asp:TextBox runat="server" ID="txtFrazEiez" Text='<%# Bind("FrazEiez") %>' />
</li>
</ul>
<ul data-role="listview" data-inset="true">
<li data-role="list-divider">TDI:</li>
<li class="ui-field-contain">
<asp:TextBox runat="server" ID="txtTDI" Text='<%# Bind("TDI") %>' />
</li>
</ul>
<ul data-role="listview" data-inset="true">
<li data-role="list-divider">Placche Vasali (Carotidi):</li>
<li class="ui-field-contain">
<asp:TextBox runat="server" ID="txtPlaccheVas" Text='<%# Bind("PlaccheVas") %>' />
</li>
</ul>
</div>
</div>
<div class="ui-grid-solo">
<div class="ui-block-a">
<ul data-role="listview" data-inset="true">
<li class="ui-body ui-body-b">
<fieldset class="ui-grid-a">
<div class="ui-block-a">
<asp:Button runat="server" CssClass="ui-btn ui-shadow ui-corner-all ui-icon-check" ID="btnInsert" CausesValidation="False" CommandName="Insert" Text="Salva" data-theme="a" />
</div>
<div class="ui-block-b">
<asp:Button runat="server" CssClass="ui-btn ui-shadow ui-corner-all ui-icon-delete" ID="btnCancel" CausesValidation="False" CommandName="Cancel" Text="Cancel" data-theme="b" />
</div>
</fieldset>
</li>
</ul>
</div>
</div>
</InsertItemTemplate>
<EditItemTemplate>
<div class="ui-grid-c">
<div class="ui-block-a" style="padding: 4px;">
<ul data-role="listview" data-inset="true">
<li data-role="list-divider">Data:</li>
<li class="ui-field-contain">
<asp:Label runat="server" ID="lblDataVisita"><%: Request.QueryString["DataVisita"] %></asp:Label>
</li>
</ul>
<ul data-role="listview" data-inset="true">
<li data-role="list-divider">Pressione Arteriosa:</li>
<li class="ui-field-contain">
<asp:Label runat="server" ID="lblPaSis" AssociatedControlID="txtPaSis">Sistolica</asp:Label>
<asp:TextBox runat="server" ID="txtPaSis" Text='<%# Bind("PaSis") %>' />
</li>
<li class="ui-field-contain">
<asp:Label runat="server" ID="lblPaDia" AssociatedControlID="txtPaDia">Diastolica</asp:Label>
<asp:TextBox runat="server" ID="txtPaDia" Text='<%# Bind("PaDia") %>' />
</li>
</ul>
</div>
<div class="ui-block-b" style="padding: 4px;">
<ul data-role="listview" data-inset="true">
<li data-role="list-divider">Capacit&agrave; Lavoro Muscolare:</li>
<li class="ui-field-contain">
<asp:Label runat="server" ID="lblQR1" AssociatedControlID="txtQR1">QR1</asp:Label>
<asp:TextBox runat="server" ID="txtQR1" Text='<%# Bind("QR1") %>' />
</li>
<li class="ui-field-contain">
<asp:Label runat="server" ID="lblQR1_Kg" AssociatedControlID="txtQR1_Kg">QR1/Massa</asp:Label>
<asp:TextBox runat="server" ID="txtQR1_Kg" Text='<%# Bind("QR1_Kg") %>' />
</li>
</ul>
<ul data-role="listview" data-inset="true">
<li data-role="list-divider">Consumo VO2:</li>
<li class="ui-field-contain">
<asp:Label runat="server" ID="lblVO2" AssociatedControlID="txtVO2">VO2</asp:Label>
<asp:TextBox runat="server" ID="txtVO2" Text='<%# Bind("VO2") %>' />
</li>
<li class="ui-field-contain">
<asp:Label runat="server" ID="lblVO2_Kg" AssociatedControlID="txtVO2_Kg">VO2/Massa</asp:Label>
<asp:TextBox runat="server" ID="txtVO2_Kg" Text='<%# Bind("VO2_Kg") %>' />
</li>
</ul>
</div>
<div class="ui-block-c" style="padding: 4px;">
<ul data-role="listview" data-inset="true">
<li data-role="list-divider">Bpm:</li>
<li class="ui-field-contain">
<asp:Label runat="server" ID="lblFC_QR1" AssociatedControlID="txtFC_QR1">FC a QR1</asp:Label>
<asp:TextBox runat="server" ID="txtFC_QR1" Text='<%# Bind("FC_QR1") %>' />
</li>
<li class="ui-field-contain">
<asp:Label runat="server" ID="lblPolsoO2" AssociatedControlID="txtPolsoO2">Polso O2</asp:Label>
<asp:TextBox runat="server" ID="txtPolsoO2" Text='<%# Bind("PolsoO2") %>' />
</li>
</ul>
<ul data-role="listview" data-inset="true">
<li data-role="list-divider">Pressione Arteriosa MAX:</li>
<li class="ui-field-contain">
<asp:Label runat="server" ID="lblPaSisMax" AssociatedControlID="txtPaSisMax">Sistolica</asp:Label>
<asp:TextBox runat="server" ID="txtPaSisMax" Text='<%# Bind("PaSisMax") %>' />
</li>
<li class="ui-field-contain">
<asp:Label runat="server" ID="lblPaDiaMax" AssociatedControlID="txtPaDiaMax">Diastolica</asp:Label>
<asp:TextBox runat="server" ID="txtPaDiaMax" Text='<%# Bind("PaDiaMax") %>' />
</li>
</ul>
</div>
<div class="ui-block-d" style="padding: 4px;">
<ul data-role="listview" data-inset="true">
<li data-role="list-divider">Frazione Eiezione:</li>
<li class="ui-field-contain">
<asp:TextBox runat="server" ID="txtFrazEiez" Text='<%# Bind("FrazEiez") %>' />
</li>
</ul>
<ul data-role="listview" data-inset="true">
<li data-role="list-divider">TDI:</li>
<li class="ui-field-contain">
<asp:TextBox runat="server" ID="txtTDI" Text='<%# Bind("TDI") %>' />
</li>
</ul>
<ul data-role="listview" data-inset="true">
<li data-role="list-divider">Placche Vasali (Carotidi):</li>
<li class="ui-field-contain">
<asp:TextBox runat="server" ID="txtPlaccheVas" Text='<%# Bind("PlaccheVas") %>' />
</li>
</ul>
</div>
</div>
<div class="ui-grid-solo">
<div class="ui-block-a">
<ul data-role="listview" data-inset="true">
<li class="ui-body ui-body-b">
<fieldset class="ui-grid-a">
<div class="ui-block-a">
<asp:Button runat="server" CssClass="ui-btn ui-shadow ui-corner-all ui-icon-check" ID="btnUpdate" CausesValidation="False" CommandName="Update" Text="Salva" data-theme="a" />
</div>
<div class="ui-block-b">
<asp:Button runat="server" CssClass="ui-btn ui-shadow ui-corner-all ui-icon-delete" ID="btnCancel" CausesValidation="False" CommandName="Cancel" Text="Cancel" data-theme="b" />
</div>
</fieldset>
</li>
</ul>
</div>
</div>
</EditItemTemplate>
</asp:FormView>
<asp:ObjectDataSource ID="ods" runat="server" OldValuesParameterFormatString="Original_{0}" SelectMethod="getByPaziente" TypeName="MedPred_Data.DS_ApplicazioneTableAdapters.VisCardioPolTableAdapter" DeleteMethod="DeleteQuery" InsertMethod="InsertQuery" UpdateMethod="UpdateQuery" OnDeleted="ods_Deleted">
<DeleteParameters>
<asp:SessionParameter DefaultValue="0" Name="Original_IdxPaziente" SessionField="IdxPaziente" Type="Int32" />
<asp:QueryStringParameter DefaultValue="0" Name="Original_DataVisita" QueryStringField="DataVisita" Type="DateTime" />
</DeleteParameters>
<InsertParameters>
<asp:SessionParameter DefaultValue="0" Name="IdxPaziente" SessionField="IdxPaziente" Type="Int32" />
<asp:QueryStringParameter DefaultValue="0" Name="DataVisita" QueryStringField="DataVisita" Type="DateTime" />
<asp:Parameter Name="PaSis" Type="Int32" />
<asp:Parameter Name="PaDia" Type="Int32" />
<asp:Parameter Name="QR1" Type="Double" />
<asp:Parameter Name="QR1_Kg" Type="Double" />
<asp:Parameter Name="VO2" Type="Double" />
<asp:Parameter Name="VO2_Kg" Type="Double" />
<asp:Parameter Name="FC_QR1" Type="Int32" />
<asp:Parameter Name="PolsoO2" Type="Double" />
<asp:Parameter Name="PaSisMax" Type="Int32" />
<asp:Parameter Name="PaDiaMax" Type="Int32" />
<asp:Parameter Name="FrazEiez" Type="Double" />
<asp:Parameter Name="TDI" Type="Double" />
<asp:Parameter Name="PlaccheVas" Type="Double" />
</InsertParameters>
<SelectParameters>
<asp:SessionParameter DefaultValue="0" Name="IdxPaziente" SessionField="IdxPaziente" Type="Int32" />
<asp:QueryStringParameter DefaultValue="" Name="DataVisita" QueryStringField="DataVisita" Type="DateTime" />
</SelectParameters>
<UpdateParameters>
<asp:Parameter Name="PaSis" Type="Int32" />
<asp:Parameter Name="PaDia" Type="Int32" />
<asp:Parameter Name="QR1" Type="Double" />
<asp:Parameter Name="QR1_Kg" Type="Double" />
<asp:Parameter Name="VO2" Type="Double" />
<asp:Parameter Name="VO2_Kg" Type="Double" />
<asp:Parameter Name="FC_QR1" Type="Int32" />
<asp:Parameter Name="PolsoO2" Type="Double" />
<asp:Parameter Name="PaSisMax" Type="Int32" />
<asp:Parameter Name="PaDiaMax" Type="Int32" />
<asp:Parameter Name="FrazEiez" Type="Double" />
<asp:Parameter Name="TDI" Type="Double" />
<asp:Parameter Name="PlaccheVas" Type="Double" />
<asp:SessionParameter DefaultValue="0" Name="Original_IdxPaziente" SessionField="IdxPaziente" Type="Int32" />
<asp:QueryStringParameter DefaultValue="0" Name="Original_DataVisita" QueryStringField="DataVisita" Type="DateTime" />
</UpdateParameters>
</asp:ObjectDataSource>
</div>
</asp:Content>
+68
View File
@@ -0,0 +1,68 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace MedPred
{
public partial class VCP : System.Web.UI.Page
{
/// <summary>
/// pagina caricata
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void Page_Load(object sender, EventArgs e)
{
if (!Page.IsPostBack)
{
// verifico se sia con parametro paziente o NEW...
string cmd = Request.QueryString["cmd"];
if (cmd == "" || cmd == null || cmd == "sel")
{
frmView.ChangeMode(FormViewMode.ReadOnly);
}
else if (cmd == "new")
{
frmView.ChangeMode(FormViewMode.Insert);
}
}
}
/// <summary>
/// modo formview cambiato
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void frmView_ModeChanged(object sender, EventArgs e)
{
if (frmView.CurrentMode == FormViewMode.ReadOnly && prevMode == FormViewMode.Insert)
{
Response.Redirect("Visite");
}
}
/// <summary>
/// evento delete
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void ods_Deleted(object sender, ObjectDataSourceStatusEventArgs e)
{
Response.Redirect("Visite");
}
/// <summary>
/// variabile per modo pre comando di update mode...
/// </summary>
public FormViewMode prevMode { get; set; }
/// <summary>
/// evento pre-cambio modo
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void frmView_ModeChanging(object sender, FormViewModeEventArgs e)
{
prevMode = frmView.CurrentMode;
}
}
}
+33
View File
@@ -0,0 +1,33 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace MedPred {
public partial class VCP {
/// <summary>
/// frmView control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.FormView frmView;
/// <summary>
/// ods control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.ObjectDataSource ods;
}
}
+482
View File
@@ -0,0 +1,482 @@
<%@ Page Title="" Language="C#" MasterPageFile="~/JQMob.Master" AutoEventWireup="true" CodeBehind="VL.aspx.cs" Inherits="MedPred.VL" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<div style="font-size: 0.8em;">
<asp:FormView ID="frmView" runat="server" DataSourceID="ods" RenderOuterTable="False" OnModeChanged="frmView_ModeChanged" OnModeChanging="frmView_ModeChanging">
<ItemTemplate>
<div class="ui-grid-c">
<div class="ui-block-a" style="padding: 4px;">
<ul data-role="listview" data-inset="true">
<li data-role="list-divider">Data:</li>
<li class="ui-field-contain">
<asp:Label runat="server" ID="lblDataVisita"><%: Request.QueryString["DataVisita"] %></asp:Label>
</li>
<li data-role="list-divider">Fam MCCV:</li>
<li class="ui-field-contain">
<asp:DropDownList Enabled="false" runat="server" ID="ddlFamMCCV" DataSourceID="odsFamMCCV" DataValueField="value" DataTextField="label" SelectedValue='<%# Bind("FamMCCV") %>' />
</li>
<%--</ul>
<ul data-role="listview" data-inset="true">--%>
<li data-role="list-divider">Adesione Terapie:</li>
<li class="ui-field-contain">
<asp:DropDownList Enabled="false" runat="server" ID="DropDownList8" DataSourceID="odsAdesTerap" DataValueField="value" DataTextField="label" SelectedValue='<%# Bind("AdesTerap") %>' />
</li>
<%--</ul>
<ul data-role="listview" data-inset="true">--%>
<li data-role="list-divider">Sedentariert&agrave;:</li>
<li class="ui-field-contain">
<asp:DropDownList Enabled="false" runat="server" ID="ddlSedent" DataSourceID="odsSedent" DataValueField="value" DataTextField="label" SelectedValue='<%# Bind("Sedent") %>' />
</li>
</ul>
</div>
<div class="ui-block-b" style="padding: 4px;">
<ul data-role="listview" data-inset="true">
<li data-role="list-divider">Ipertensione:</li>
<li class="ui-field-contain">
<asp:DropDownList Enabled="false" runat="server" ID="ddlIpertens" DataSourceID="odsIpertens" DataValueField="value" DataTextField="label" SelectedValue='<%# Bind("Ipertens") %>' />
</li>
<li class="ui-field-contain">
<label for="ddlIpertensYtd">da anni:</label>
<asp:DropDownList Enabled="false" runat="server" ID="ddlIpertensYtd" DataSourceID="odsIpertensYtd" DataValueField="value" DataTextField="label" SelectedValue='<%# Bind("IpertensYtd") %>' />
</li>
</ul>
<ul data-role="listview" data-inset="true">
<li data-role="list-divider">Diabete:</li>
<li class="ui-field-contain">
<asp:DropDownList Enabled="false" runat="server" ID="ddlDiabete" DataSourceID="odsDiabete" DataValueField="value" DataTextField="label" SelectedValue='<%# Bind("Diabete") %>' />
</li>
<li class="ui-field-contain">
<label for="ddlDiabeteYtd">da anni:</label>
<asp:DropDownList Enabled="false" runat="server" ID="ddlDiabeteYtd" DataSourceID="odsDiabeteYtd" DataValueField="value" DataTextField="label" SelectedValue='<%# Bind("DiabeteYtd") %>' />
</li>
</ul>
</div>
<div class="ui-block-c" style="padding: 4px;">
<ul data-role="listview" data-inset="true">
<li data-role="list-divider">Ipercolesterolemia:</li>
<li class="ui-field-contain">
<asp:DropDownList Enabled="false" runat="server" ID="ddlIpercolest" DataSourceID="odsIpercolest" DataValueField="value" DataTextField="label" SelectedValue='<%# Bind("Ipercolest") %>' />
</li>
<li class="ui-field-contain">
<label for="ddlIpercolestYtd">da anni:</label>
<asp:DropDownList Enabled="false" runat="server" ID="ddlIpercolestYtd" DataSourceID="odsIpercolestYtd" DataValueField="value" DataTextField="label" SelectedValue='<%# Bind("IpercolestYtd") %>' />
</li>
</ul>
<ul data-role="listview" data-inset="true">
<li data-role="list-divider">Fumo:</li>
<li class="ui-field-contain">
<asp:DropDownList Enabled="false" runat="server" ID="ddlFumo" DataSourceID="odsFumo" DataValueField="value" DataTextField="label" SelectedValue='<%# Bind("Fumo") %>' />
</li>
<li class="ui-field-contain">
<label for="ddlFumoYtd">da anni:</label>
<asp:DropDownList Enabled="false" runat="server" ID="ddlFumoYtd" DataSourceID="odsFumoYtd" DataValueField="value" DataTextField="label" SelectedValue='<%# Bind("FumoYtd") %>' />
</li>
</ul>
</div>
<div class="ui-block-d" style="padding: 4px;">
<ul data-role="listview" data-inset="true">
<li data-role="list-divider">Alcool:</li>
<li class="ui-field-contain">
<asp:DropDownList Enabled="false" runat="server" ID="ddlAlcool" DataSourceID="odsAlcool" DataValueField="value" DataTextField="label" SelectedValue='<%# Bind("Alcool") %>' />
</li>
<li class="ui-field-contain">
<label for="ddlAlcoolYtd">da anni:</label>
<asp:DropDownList Enabled="false" runat="server" ID="ddlAlcoolYtd" DataSourceID="odsAlcoolYtd" DataValueField="value" DataTextField="label" SelectedValue='<%# Bind("AlcoolYtd") %>' />
</li>
</ul>
<ul data-role="listview" data-inset="true">
<li data-role="list-divider">Sovrappeso:</li>
<li class="ui-field-contain">
<asp:DropDownList Enabled="false" runat="server" ID="ddlSovrapp" DataSourceID="odsSovrapp" DataValueField="value" DataTextField="label" SelectedValue='<%# Bind("Sovrapp") %>' />
</li>
<li class="ui-field-contain">
<label for="ddlSovrappYtd">da anni:</label>
<asp:DropDownList Enabled="false" runat="server" ID="ddlSovrappYtd" DataSourceID="odsSovrappYtd" DataValueField="value" DataTextField="label" SelectedValue='<%# Bind("SovrappYtd") %>' />
</li>
</ul>
</div>
</div>
<div class="ui-grid-solo">
<div class="ui-block-a">
<ul data-role="listview" data-inset="true">
<li class="ui-body ui-body-b">
<fieldset class="ui-grid-a">
<div class="ui-block-a">
<asp:Button runat="server" CssClass="ui-btn ui-shadow ui-corner-all ui-icon-check" ID="btnEdit" CausesValidation="False" CommandName="Edit" Text="Modifica" data-theme="a" />
</div>
<div class="ui-block-b">
<asp:Button runat="server" CssClass="ui-btn ui-icon-delete ui-shadow ui-corner-all" ID="btnDelete" CausesValidation="False" CommandName="Delete" Text="Elimina" data-theme="b" OnClientClick="return confirm('Sei sicuro di voler eliminare il record?')" />
</div>
</fieldset>
</li>
</ul>
</div>
</div>
</ItemTemplate>
<InsertItemTemplate>
<div class="ui-grid-c">
<div class="ui-block-a" style="padding: 4px;">
<ul data-role="listview" data-inset="true">
<li data-role="list-divider">Data:</li>
<li class="ui-field-contain">
<asp:Label runat="server" ID="lblDataVisita"><%: Request.QueryString["DataVisita"] %></asp:Label>
</li>
<li data-role="list-divider">Fam MCCV:</li>
<li class="ui-field-contain">
<asp:DropDownList runat="server" ID="ddlFamMCCV" DataSourceID="odsFamMCCV" DataValueField="value" DataTextField="label" SelectedValue='<%# Bind("FamMCCV") %>' />
</li>
<%--</ul>
<ul data-role="listview" data-inset="true">--%>
<li data-role="list-divider">Adesione Terapie:</li>
<li class="ui-field-contain">
<asp:DropDownList runat="server" ID="DropDownList8" DataSourceID="odsAdesTerap" DataValueField="value" DataTextField="label" SelectedValue='<%# Bind("AdesTerap") %>' />
</li>
<%--</ul>
<ul data-role="listview" data-inset="true">--%>
<li data-role="list-divider">Sedentariert&agrave;:</li>
<li class="ui-field-contain">
<asp:DropDownList runat="server" ID="ddlSedent" DataSourceID="odsSedent" DataValueField="value" DataTextField="label" SelectedValue='<%# Bind("Sedent") %>' />
</li>
</ul>
</div>
<div class="ui-block-b" style="padding: 4px;">
<ul data-role="listview" data-inset="true">
<li data-role="list-divider">Ipertensione:</li>
<li class="ui-field-contain">
<asp:DropDownList runat="server" ID="ddlIpertens" DataSourceID="odsIpertens" DataValueField="value" DataTextField="label" SelectedValue='<%# Bind("Ipertens") %>' />
</li>
<li class="ui-field-contain">
<label for="ddlIpertensYtd">da anni:</label>
<asp:DropDownList runat="server" ID="ddlIpertensYtd" DataSourceID="odsIpertensYtd" DataValueField="value" DataTextField="label" SelectedValue='<%# Bind("IpertensYtd") %>' />
</li>
</ul>
<ul data-role="listview" data-inset="true">
<li data-role="list-divider">Diabete:</li>
<li class="ui-field-contain">
<asp:DropDownList runat="server" ID="ddlDiabete" DataSourceID="odsDiabete" DataValueField="value" DataTextField="label" SelectedValue='<%# Bind("Diabete") %>' />
</li>
<li class="ui-field-contain">
<label for="ddlDiabeteYtd">da anni:</label>
<asp:DropDownList runat="server" ID="ddlDiabeteYtd" DataSourceID="odsDiabeteYtd" DataValueField="value" DataTextField="label" SelectedValue='<%# Bind("DiabeteYtd") %>' />
</li>
</ul>
</div>
<div class="ui-block-c" style="padding: 4px;">
<ul data-role="listview" data-inset="true">
<li data-role="list-divider">Ipercolesterolemia:</li>
<li class="ui-field-contain">
<asp:DropDownList runat="server" ID="ddlIpercolest" DataSourceID="odsIpercolest" DataValueField="value" DataTextField="label" SelectedValue='<%# Bind("Ipercolest") %>' />
</li>
<li class="ui-field-contain">
<label for="ddlIpercolestYtd">da anni:</label>
<asp:DropDownList runat="server" ID="ddlIpercolestYtd" DataSourceID="odsIpercolestYtd" DataValueField="value" DataTextField="label" SelectedValue='<%# Bind("IpercolestYtd") %>' />
</li>
</ul>
<ul data-role="listview" data-inset="true">
<li data-role="list-divider">Fumo:</li>
<li class="ui-field-contain">
<asp:DropDownList runat="server" ID="ddlFumo" DataSourceID="odsFumo" DataValueField="value" DataTextField="label" SelectedValue='<%# Bind("Fumo") %>' />
</li>
<li class="ui-field-contain">
<label for="ddlFumoYtd">da anni:</label>
<asp:DropDownList runat="server" ID="ddlFumoYtd" DataSourceID="odsFumoYtd" DataValueField="value" DataTextField="label" SelectedValue='<%# Bind("FumoYtd") %>' />
</li>
</ul>
</div>
<div class="ui-block-d" style="padding: 4px;">
<ul data-role="listview" data-inset="true">
<li data-role="list-divider">Alcool:</li>
<li class="ui-field-contain">
<asp:DropDownList runat="server" ID="ddlAlcool" DataSourceID="odsAlcool" DataValueField="value" DataTextField="label" SelectedValue='<%# Bind("Alcool") %>' />
</li>
<li class="ui-field-contain">
<label for="ddlAlcoolYtd">da anni:</label>
<asp:DropDownList runat="server" ID="ddlAlcoolYtd" DataSourceID="odsAlcoolYtd" DataValueField="value" DataTextField="label" SelectedValue='<%# Bind("AlcoolYtd") %>' />
</li>
</ul>
<ul data-role="listview" data-inset="true">
<li data-role="list-divider">Sovrappeso:</li>
<li class="ui-field-contain">
<asp:DropDownList runat="server" ID="ddlSovrapp" DataSourceID="odsSovrapp" DataValueField="value" DataTextField="label" SelectedValue='<%# Bind("Sovrapp") %>' />
</li>
<li class="ui-field-contain">
<label for="ddlSovrappYtd">da anni:</label>
<asp:DropDownList runat="server" ID="ddlSovrappYtd" DataSourceID="odsSovrappYtd" DataValueField="value" DataTextField="label" SelectedValue='<%# Bind("SovrappYtd") %>' />
</li>
</ul>
</div>
</div>
<div class="ui-grid-solo">
<div class="ui-block-a">
<ul data-role="listview" data-inset="true">
<li class="ui-body ui-body-b">
<fieldset class="ui-grid-a">
<div class="ui-block-a">
<asp:Button runat="server" CssClass="ui-btn ui-shadow ui-corner-all ui-icon-check" ID="btnInsert" CausesValidation="False" CommandName="Insert" Text="Salva" data-theme="a" />
</div>
<div class="ui-block-b">
<asp:Button runat="server" CssClass="ui-btn ui-shadow ui-corner-all ui-icon-delete" ID="btnCancel" CausesValidation="False" CommandName="Cancel" Text="Cancel" data-theme="b" />
</div>
</fieldset>
</li>
</ul>
</div>
</div>
</InsertItemTemplate>
<EditItemTemplate>
<div class="ui-grid-c">
<div class="ui-block-a" style="padding: 4px;">
<ul data-role="listview" data-inset="true">
<li data-role="list-divider">Data:</li>
<li class="ui-field-contain">
<asp:Label runat="server" ID="lblDataVisita"><%: Request.QueryString["DataVisita"] %></asp:Label>
<%--<asp:TextBox runat="server" ID="txtDataVisita" Text='<%# Bind("DataVisita", "{0:yyyy-MM-dd}") %>' TextMode="Date" />--%>
</li>
<li data-role="list-divider">Fam MCCV:</li>
<li class="ui-field-contain">
<asp:DropDownList runat="server" ID="ddlFamMCCV" DataSourceID="odsFamMCCV" DataValueField="value" DataTextField="label" SelectedValue='<%# Bind("FamMCCV") %>' />
</li>
<%--</ul>
<ul data-role="listview" data-inset="true">--%>
<li data-role="list-divider">Adesione Terapie:</li>
<li class="ui-field-contain">
<asp:DropDownList runat="server" ID="DropDownList8" DataSourceID="odsAdesTerap" DataValueField="value" DataTextField="label" SelectedValue='<%# Bind("AdesTerap") %>' />
</li>
<%--</ul>
<ul data-role="listview" data-inset="true">--%>
<li data-role="list-divider">Sedentariert&agrave;:</li>
<li class="ui-field-contain">
<asp:DropDownList runat="server" ID="ddlSedent" DataSourceID="odsSedent" DataValueField="value" DataTextField="label" SelectedValue='<%# Bind("Sedent") %>' />
</li>
</ul>
</div>
<div class="ui-block-b" style="padding: 4px;">
<ul data-role="listview" data-inset="true">
<li data-role="list-divider">Ipertensione:</li>
<li class="ui-field-contain">
<asp:DropDownList runat="server" ID="ddlIpertens" DataSourceID="odsIpertens" DataValueField="value" DataTextField="label" SelectedValue='<%# Bind("Ipertens") %>' />
</li>
<li class="ui-field-contain">
<label for="ddlIpertensYtd">da anni:</label>
<asp:DropDownList runat="server" ID="ddlIpertensYtd" DataSourceID="odsIpertensYtd" DataValueField="value" DataTextField="label" SelectedValue='<%# Bind("IpertensYtd") %>' />
</li>
</ul>
<ul data-role="listview" data-inset="true">
<li data-role="list-divider">Diabete:</li>
<li class="ui-field-contain">
<asp:DropDownList runat="server" ID="ddlDiabete" DataSourceID="odsDiabete" DataValueField="value" DataTextField="label" SelectedValue='<%# Bind("Diabete") %>' />
</li>
<li class="ui-field-contain">
<label for="ddlDiabeteYtd">da anni:</label>
<asp:DropDownList runat="server" ID="ddlDiabeteYtd" DataSourceID="odsDiabeteYtd" DataValueField="value" DataTextField="label" SelectedValue='<%# Bind("DiabeteYtd") %>' />
</li>
</ul>
</div>
<div class="ui-block-c" style="padding: 4px;">
<ul data-role="listview" data-inset="true">
<li data-role="list-divider">Ipercolesterolemia:</li>
<li class="ui-field-contain">
<asp:DropDownList runat="server" ID="ddlIpercolest" DataSourceID="odsIpercolest" DataValueField="value" DataTextField="label" SelectedValue='<%# Bind("Ipercolest") %>' />
</li>
<li class="ui-field-contain">
<label for="ddlIpercolestYtd">da anni:</label>
<asp:DropDownList runat="server" ID="ddlIpercolestYtd" DataSourceID="odsIpercolestYtd" DataValueField="value" DataTextField="label" SelectedValue='<%# Bind("IpercolestYtd") %>' />
</li>
</ul>
<ul data-role="listview" data-inset="true">
<li data-role="list-divider">Fumo:</li>
<li class="ui-field-contain">
<asp:DropDownList runat="server" ID="ddlFumo" DataSourceID="odsFumo" DataValueField="value" DataTextField="label" SelectedValue='<%# Bind("Fumo") %>' />
</li>
<li class="ui-field-contain">
<label for="ddlFumoYtd">da anni:</label>
<asp:DropDownList runat="server" ID="ddlFumoYtd" DataSourceID="odsFumoYtd" DataValueField="value" DataTextField="label" SelectedValue='<%# Bind("FumoYtd") %>' />
</li>
</ul>
</div>
<div class="ui-block-d" style="padding: 4px;">
<ul data-role="listview" data-inset="true">
<li data-role="list-divider">Alcool:</li>
<li class="ui-field-contain">
<asp:DropDownList runat="server" ID="ddlAlcool" DataSourceID="odsAlcool" DataValueField="value" DataTextField="label" SelectedValue='<%# Bind("Alcool") %>' />
</li>
<li class="ui-field-contain">
<label for="ddlAlcoolYtd">da anni:</label>
<asp:DropDownList runat="server" ID="ddlAlcoolYtd" DataSourceID="odsAlcoolYtd" DataValueField="value" DataTextField="label" SelectedValue='<%# Bind("AlcoolYtd") %>' />
</li>
</ul>
<ul data-role="listview" data-inset="true">
<li data-role="list-divider">Sovrappeso:</li>
<li class="ui-field-contain">
<asp:DropDownList runat="server" ID="ddlSovrapp" DataSourceID="odsSovrapp" DataValueField="value" DataTextField="label" SelectedValue='<%# Bind("Sovrapp") %>' />
</li>
<li class="ui-field-contain">
<label for="ddlSovrappYtd">da anni:</label>
<asp:DropDownList runat="server" ID="ddlSovrappYtd" DataSourceID="odsSovrappYtd" DataValueField="value" DataTextField="label" SelectedValue='<%# Bind("SovrappYtd") %>' />
</li>
</ul>
</div>
</div>
<div class="ui-grid-solo">
<div class="ui-block-a">
<ul data-role="listview" data-inset="true">
<li class="ui-body ui-body-b">
<fieldset class="ui-grid-a">
<div class="ui-block-a">
<asp:Button runat="server" CssClass="ui-btn ui-shadow ui-corner-all ui-icon-check" ID="btnUpdate" CausesValidation="False" CommandName="Update" Text="Salva" data-theme="a" />
</div>
<div class="ui-block-b">
<asp:Button runat="server" CssClass="ui-btn ui-shadow ui-corner-all ui-icon-delete" ID="btnCancel" CausesValidation="False" CommandName="Cancel" Text="Cancel" data-theme="b" />
</div>
</fieldset>
</li>
</ul>
</div>
</div>
</EditItemTemplate>
</asp:FormView>
<asp:ObjectDataSource ID="ods" runat="server" OldValuesParameterFormatString="Original_{0}" SelectMethod="getByPaziente" TypeName="MedPred_Data.DS_ApplicazioneTableAdapters.VisAnamCliTableAdapter" DeleteMethod="DeleteQuery" InsertMethod="InsertQuery" UpdateMethod="UpdateQuery" OnDeleted="ods_Deleted">
<DeleteParameters>
<asp:SessionParameter DefaultValue="0" Name="Original_IdxPaziente" SessionField="IdxPaziente" Type="Int32" />
<asp:QueryStringParameter DefaultValue="0" Name="Original_DataVisita" QueryStringField="DataVisita" Type="DateTime" />
</DeleteParameters>
<InsertParameters>
<asp:SessionParameter DefaultValue="0" Name="IdxPaziente" SessionField="IdxPaziente" Type="Int32" />
<asp:QueryStringParameter DefaultValue="0" Name="DataVisita" QueryStringField="DataVisita" Type="DateTime" />
<asp:Parameter Name="FamMCCV" Type="Int32" />
<asp:Parameter Name="Ipertens" Type="Int32" />
<asp:Parameter Name="IpertensYtd" Type="Int32" />
<asp:Parameter Name="Diabete" Type="Int32" />
<asp:Parameter Name="DiabeteYtd" Type="Int32" />
<asp:Parameter Name="Ipercolest" Type="Int32" />
<asp:Parameter Name="IpercolestYtd" Type="Int32" />
<asp:Parameter Name="Fumo" Type="Int32" />
<asp:Parameter Name="FumoYtd" Type="Int32" />
<asp:Parameter Name="Alcool" Type="Int32" />
<asp:Parameter Name="AlcoolYtd" Type="Int32" />
<asp:Parameter Name="Sovrapp" Type="Int32" />
<asp:Parameter Name="SovrappYtd" Type="Int32" />
<asp:Parameter Name="Sedent" Type="Int32" />
<asp:Parameter Name="AdesTerap" Type="Int32" />
</InsertParameters>
<SelectParameters>
<asp:SessionParameter DefaultValue="0" Name="IdxPaziente" SessionField="IdxPaziente" Type="Int32" />
<asp:QueryStringParameter DefaultValue="" Name="DataVisita" QueryStringField="DataVisita" Type="DateTime" />
</SelectParameters>
<UpdateParameters>
<asp:QueryStringParameter DefaultValue="0" Name="DataVisita" QueryStringField="DataVisita" Type="DateTime" />
<asp:Parameter Name="FamMCCV" Type="Int32" />
<asp:Parameter Name="Ipertens" Type="Int32" />
<asp:Parameter Name="IpertensYtd" Type="Int32" />
<asp:Parameter Name="Diabete" Type="Int32" />
<asp:Parameter Name="DiabeteYtd" Type="Int32" />
<asp:Parameter Name="Ipercolest" Type="Int32" />
<asp:Parameter Name="IpercolestYtd" Type="Int32" />
<asp:Parameter Name="Fumo" Type="Int32" />
<asp:Parameter Name="FumoYtd" Type="Int32" />
<asp:Parameter Name="Alcool" Type="Int32" />
<asp:Parameter Name="AlcoolYtd" Type="Int32" />
<asp:Parameter Name="Sovrapp" Type="Int32" />
<asp:Parameter Name="SovrappYtd" Type="Int32" />
<asp:Parameter Name="Sedent" Type="Int32" />
<asp:Parameter Name="AdesTerap" Type="Int32" />
<asp:SessionParameter DefaultValue="0" Name="Original_IdxPaziente" SessionField="IdxPaziente" Type="Int32" />
<asp:QueryStringParameter DefaultValue="0" Name="Original_DataVisita" QueryStringField="DataVisita" Type="DateTime" />
</UpdateParameters>
</asp:ObjectDataSource>
<asp:ObjectDataSource ID="odsFamMCCV" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="getByTableField" TypeName="MedPred_Data.DS_UtilityTableAdapters.v_selListValTableAdapter">
<SelectParameters>
<asp:Parameter DefaultValue="VisAnamCli" Name="TableName" Type="String" />
<asp:Parameter DefaultValue="FamMCCV" Name="FieldName" Type="String" />
</SelectParameters>
</asp:ObjectDataSource>
<asp:ObjectDataSource ID="odsIpertens" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="getByTableField" TypeName="MedPred_Data.DS_UtilityTableAdapters.v_selListValTableAdapter">
<SelectParameters>
<asp:Parameter DefaultValue="VisAnamCli" Name="TableName" Type="String" />
<asp:Parameter DefaultValue="Ipertens" Name="FieldName" Type="String" />
</SelectParameters>
</asp:ObjectDataSource>
<asp:ObjectDataSource ID="odsIpertensYtd" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="getByTableField" TypeName="MedPred_Data.DS_UtilityTableAdapters.v_selListValTableAdapter">
<SelectParameters>
<asp:Parameter DefaultValue="VisAnamCli" Name="TableName" Type="String" />
<asp:Parameter DefaultValue="IpertensYtd" Name="FieldName" Type="String" />
</SelectParameters>
</asp:ObjectDataSource>
<asp:ObjectDataSource ID="odsDiabete" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="getByTableField" TypeName="MedPred_Data.DS_UtilityTableAdapters.v_selListValTableAdapter">
<SelectParameters>
<asp:Parameter DefaultValue="VisAnamCli" Name="TableName" Type="String" />
<asp:Parameter DefaultValue="Diabete" Name="FieldName" Type="String" />
</SelectParameters>
</asp:ObjectDataSource>
<asp:ObjectDataSource ID="odsDiabeteYtd" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="getByTableField" TypeName="MedPred_Data.DS_UtilityTableAdapters.v_selListValTableAdapter">
<SelectParameters>
<asp:Parameter DefaultValue="VisAnamCli" Name="TableName" Type="String" />
<asp:Parameter DefaultValue="DiabeteYtd" Name="FieldName" Type="String" />
</SelectParameters>
</asp:ObjectDataSource>
<asp:ObjectDataSource ID="odsIpercolest" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="getByTableField" TypeName="MedPred_Data.DS_UtilityTableAdapters.v_selListValTableAdapter">
<SelectParameters>
<asp:Parameter DefaultValue="VisAnamCli" Name="TableName" Type="String" />
<asp:Parameter DefaultValue="Ipercolest" Name="FieldName" Type="String" />
</SelectParameters>
</asp:ObjectDataSource>
<asp:ObjectDataSource ID="odsIpercolestYtd" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="getByTableField" TypeName="MedPred_Data.DS_UtilityTableAdapters.v_selListValTableAdapter">
<SelectParameters>
<asp:Parameter DefaultValue="VisAnamCli" Name="TableName" Type="String" />
<asp:Parameter DefaultValue="IpercolestYtd" Name="FieldName" Type="String" />
</SelectParameters>
</asp:ObjectDataSource>
<asp:ObjectDataSource ID="odsFumo" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="getByTableField" TypeName="MedPred_Data.DS_UtilityTableAdapters.v_selListValTableAdapter">
<SelectParameters>
<asp:Parameter DefaultValue="VisAnamCli" Name="TableName" Type="String" />
<asp:Parameter DefaultValue="Fumo" Name="FieldName" Type="String" />
</SelectParameters>
</asp:ObjectDataSource>
<asp:ObjectDataSource ID="odsFumoYtd" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="getByTableField" TypeName="MedPred_Data.DS_UtilityTableAdapters.v_selListValTableAdapter">
<SelectParameters>
<asp:Parameter DefaultValue="VisAnamCli" Name="TableName" Type="String" />
<asp:Parameter DefaultValue="FumoYtd" Name="FieldName" Type="String" />
</SelectParameters>
</asp:ObjectDataSource>
<asp:ObjectDataSource ID="odsAlcool" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="getByTableField" TypeName="MedPred_Data.DS_UtilityTableAdapters.v_selListValTableAdapter">
<SelectParameters>
<asp:Parameter DefaultValue="VisAnamCli" Name="TableName" Type="String" />
<asp:Parameter DefaultValue="Alcool" Name="FieldName" Type="String" />
</SelectParameters>
</asp:ObjectDataSource>
<asp:ObjectDataSource ID="odsAlcoolYtd" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="getByTableField" TypeName="MedPred_Data.DS_UtilityTableAdapters.v_selListValTableAdapter">
<SelectParameters>
<asp:Parameter DefaultValue="VisAnamCli" Name="TableName" Type="String" />
<asp:Parameter DefaultValue="AlcoolYtd" Name="FieldName" Type="String" />
</SelectParameters>
</asp:ObjectDataSource>
<asp:ObjectDataSource ID="odsSovrapp" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="getByTableField" TypeName="MedPred_Data.DS_UtilityTableAdapters.v_selListValTableAdapter">
<SelectParameters>
<asp:Parameter DefaultValue="VisAnamCli" Name="TableName" Type="String" />
<asp:Parameter DefaultValue="Sovrapp" Name="FieldName" Type="String" />
</SelectParameters>
</asp:ObjectDataSource>
<asp:ObjectDataSource ID="odsSovrappYtd" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="getByTableField" TypeName="MedPred_Data.DS_UtilityTableAdapters.v_selListValTableAdapter">
<SelectParameters>
<asp:Parameter DefaultValue="VisAnamCli" Name="TableName" Type="String" />
<asp:Parameter DefaultValue="SovrappYtd" Name="FieldName" Type="String" />
</SelectParameters>
</asp:ObjectDataSource>
<asp:ObjectDataSource ID="odsSedent" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="getByTableField" TypeName="MedPred_Data.DS_UtilityTableAdapters.v_selListValTableAdapter">
<SelectParameters>
<asp:Parameter DefaultValue="VisAnamCli" Name="TableName" Type="String" />
<asp:Parameter DefaultValue="Sedent" Name="FieldName" Type="String" />
</SelectParameters>
</asp:ObjectDataSource>
<asp:ObjectDataSource ID="odsAdesTerap" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="getByTableField" TypeName="MedPred_Data.DS_UtilityTableAdapters.v_selListValTableAdapter">
<SelectParameters>
<asp:Parameter DefaultValue="VisAnamCli" Name="TableName" Type="String" />
<asp:Parameter DefaultValue="AdesTerap" Name="FieldName" Type="String" />
</SelectParameters>
</asp:ObjectDataSource>
</div>
</asp:Content>
+68
View File
@@ -0,0 +1,68 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace MedPred
{
public partial class VL : System.Web.UI.Page
{
/// <summary>
/// pagina caricata
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void Page_Load(object sender, EventArgs e)
{
if (!Page.IsPostBack)
{
// verifico se sia con parametro paziente o NEW...
string cmd = Request.QueryString["cmd"];
if (cmd == "" || cmd == null || cmd == "sel")
{
frmView.ChangeMode(FormViewMode.ReadOnly);
}
else if (cmd == "new")
{
frmView.ChangeMode(FormViewMode.Insert);
}
}
}
/// <summary>
/// modo formview cambiato
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void frmView_ModeChanged(object sender, EventArgs e)
{
if (frmView.CurrentMode == FormViewMode.ReadOnly && prevMode == FormViewMode.Insert)
{
Response.Redirect("Visite");
}
}
/// <summary>
/// evento delete
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void ods_Deleted(object sender, ObjectDataSourceStatusEventArgs e)
{
Response.Redirect("Visite");
}
/// <summary>
/// variabile per modo pre comando di update mode...
/// </summary>
public FormViewMode prevMode { get; set; }
/// <summary>
/// evento pre-cambio modo
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void frmView_ModeChanging(object sender, FormViewModeEventArgs e)
{
prevMode = frmView.CurrentMode;
}
}
}
+168
View File
@@ -0,0 +1,168 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace MedPred {
public partial class VL {
/// <summary>
/// frmView control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.FormView frmView;
/// <summary>
/// ods control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.ObjectDataSource ods;
/// <summary>
/// odsFamMCCV control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.ObjectDataSource odsFamMCCV;
/// <summary>
/// odsIpertens control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.ObjectDataSource odsIpertens;
/// <summary>
/// odsIpertensYtd control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.ObjectDataSource odsIpertensYtd;
/// <summary>
/// odsDiabete control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.ObjectDataSource odsDiabete;
/// <summary>
/// odsDiabeteYtd control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.ObjectDataSource odsDiabeteYtd;
/// <summary>
/// odsIpercolest control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.ObjectDataSource odsIpercolest;
/// <summary>
/// odsIpercolestYtd control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.ObjectDataSource odsIpercolestYtd;
/// <summary>
/// odsFumo control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.ObjectDataSource odsFumo;
/// <summary>
/// odsFumoYtd control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.ObjectDataSource odsFumoYtd;
/// <summary>
/// odsAlcool control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.ObjectDataSource odsAlcool;
/// <summary>
/// odsAlcoolYtd control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.ObjectDataSource odsAlcoolYtd;
/// <summary>
/// odsSovrapp control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.ObjectDataSource odsSovrapp;
/// <summary>
/// odsSovrappYtd control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.ObjectDataSource odsSovrappYtd;
/// <summary>
/// odsSedent control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.ObjectDataSource odsSedent;
/// <summary>
/// odsAdesTerap control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.ObjectDataSource odsAdesTerap;
}
}
@@ -34,10 +34,10 @@
<asp:LinkButton ID="lbNewVAC" CssClass="ui-btn ui-shadow ui-corner-all ui-icon-plus ui-btn-icon-notext ui-btn-inline" runat="server" CausesValidation="False" CommandArgument="NewVAC" CommandName="Select" Visible='<%# !Convert.ToBoolean(Eval("VAC")) %>'></asp:LinkButton>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="VCP" SortExpression="VCP" ItemStyle-HorizontalAlign="Center">
<asp:TemplateField HeaderText="VSV" SortExpression="VSV" ItemStyle-HorizontalAlign="Center">
<ItemTemplate>
<asp:LinkButton CssClass="ui-btn ui-shadow ui-corner-all ui-icon-search ui-btn-icon-notext ui-btn-inline" ID="lbSelVCP" data-icon="star" runat="server" CausesValidation="False" CommandArgument="SelVCP" CommandName="Select" Visible='<%# Convert.ToBoolean(Eval("VCP")) %>'></asp:LinkButton>
<asp:LinkButton ID="lbNewVCP" CssClass="ui-btn ui-shadow ui-corner-all ui-icon-plus ui-btn-icon-notext ui-btn-inline" runat="server" CausesValidation="False" CommandArgument="NewVCP" CommandName="Select" Visible='<%# !Convert.ToBoolean(Eval("VCP")) %>'></asp:LinkButton>
<asp:LinkButton CssClass="ui-btn ui-shadow ui-corner-all ui-icon-search ui-btn-icon-notext ui-btn-inline" ID="lbSelVSV" data-icon="star" runat="server" CausesValidation="False" CommandArgument="SelVSV" CommandName="Select" Visible='<%# Convert.ToBoolean(Eval("VSV")) %>'></asp:LinkButton>
<asp:LinkButton ID="lbNewVSV" CssClass="ui-btn ui-shadow ui-corner-all ui-icon-plus ui-btn-icon-notext ui-btn-inline" runat="server" CausesValidation="False" CommandArgument="NewVSV" CommandName="Select" Visible='<%# !Convert.ToBoolean(Eval("VSV")) %>'></asp:LinkButton>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="VBMA" SortExpression="VBMA" ItemStyle-HorizontalAlign="Center">
@@ -46,6 +46,12 @@
<asp:LinkButton ID="lbNewVBMA" CssClass="ui-btn ui-shadow ui-corner-all ui-icon-plus ui-btn-icon-notext ui-btn-inline" runat="server" CausesValidation="False" CommandArgument="NewVBMA" CommandName="Select" Visible='<%# !Convert.ToBoolean(Eval("VBMA")) %>'></asp:LinkButton>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="VCP" SortExpression="VCP" ItemStyle-HorizontalAlign="Center">
<ItemTemplate>
<asp:LinkButton CssClass="ui-btn ui-shadow ui-corner-all ui-icon-search ui-btn-icon-notext ui-btn-inline" ID="lbSelVCP" data-icon="star" runat="server" CausesValidation="False" CommandArgument="SelVCP" CommandName="Select" Visible='<%# Convert.ToBoolean(Eval("VCP")) %>'></asp:LinkButton>
<asp:LinkButton ID="lbNewVCP" CssClass="ui-btn ui-shadow ui-corner-all ui-icon-plus ui-btn-icon-notext ui-btn-inline" runat="server" CausesValidation="False" CommandArgument="NewVCP" CommandName="Select" Visible='<%# !Convert.ToBoolean(Eval("VCP")) %>'></asp:LinkButton>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="VL" SortExpression="VL" ItemStyle-HorizontalAlign="Center">
<ItemTemplate>
<asp:LinkButton CssClass="ui-btn ui-shadow ui-corner-all ui-icon-search ui-btn-icon-notext ui-btn-inline" ID="lbSelVL" data-icon="star" runat="server" CausesValidation="False" CommandArgument="SelVL" CommandName="Select" Visible='<%# Convert.ToBoolean(Eval("VL")) %>'></asp:LinkButton>
@@ -58,18 +64,12 @@
<asp:LinkButton ID="lbNewVP" CssClass="ui-btn ui-shadow ui-corner-all ui-icon-plus ui-btn-icon-notext ui-btn-inline" runat="server" CausesValidation="False" CommandArgument="NewVP" CommandName="Select" Visible='<%# !Convert.ToBoolean(Eval("VP")) %>'></asp:LinkButton>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="VSV" SortExpression="VSV" ItemStyle-HorizontalAlign="Center">
<ItemTemplate>
<asp:LinkButton CssClass="ui-btn ui-shadow ui-corner-all ui-icon-search ui-btn-icon-notext ui-btn-inline" ID="lbSelVSV" data-icon="star" runat="server" CausesValidation="False" CommandArgument="SelVSV" CommandName="Select" Visible='<%# Convert.ToBoolean(Eval("VSV")) %>'></asp:LinkButton>
<asp:LinkButton ID="lbNewVSV" CssClass="ui-btn ui-shadow ui-corner-all ui-icon-plus ui-btn-icon-notext ui-btn-inline" runat="server" CausesValidation="False" CommandArgument="NewVSV" CommandName="Select" Visible='<%# !Convert.ToBoolean(Eval("VSV")) %>'></asp:LinkButton>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="VRF" SortExpression="VRF" ItemStyle-HorizontalAlign="Center">
<%--<asp:TemplateField HeaderText="VRF" SortExpression="VRF" ItemStyle-HorizontalAlign="Center">
<ItemTemplate>
<asp:LinkButton CssClass="ui-btn ui-shadow ui-corner-all ui-icon-search ui-btn-icon-notext ui-btn-inline" ID="lbSelVRF" data-icon="star" runat="server" CausesValidation="False" CommandArgument="SelVRF" CommandName="Select" Visible='<%# Convert.ToBoolean(Eval("VRF")) %>'></asp:LinkButton>
<asp:LinkButton ID="lbNewVRF" CssClass="ui-btn ui-shadow ui-corner-all ui-icon-plus ui-btn-icon-notext ui-btn-inline" runat="server" CausesValidation="False" CommandArgument="NewVRF" CommandName="Select" Visible='<%# !Convert.ToBoolean(Eval("VRF")) %>'></asp:LinkButton>
</ItemTemplate>
</asp:TemplateField>
</asp:TemplateField>--%>
</Columns>
</asp:GridView>
<asp:ObjectDataSource ID="ods" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="GetData" TypeName="MedPred_Data.DS_ApplicazioneTableAdapters.ElencoVisiteTableAdapter">
+1
View File
@@ -1,6 +1,7 @@
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_header.ascx.cs" Inherits="MedPred.WebUserControls.mod_header" %>
<a href="http://medpred.steamware.net" style="font-size: 0.7em;" data-icon="home" class="ui-btn-left"><asp:Label ID="lblVers" runat="server" Font-Bold="false" Font-Size="0.8em" /></a>
<h1>MedPred - <%: titolo %></h1>
<a href="#" data-icon="gear" class="ui-btn-right">Options</a>
<div style="text-align: center; font-size: 0.8em; font-weight: 100;">
+1555 -2873
View File
File diff suppressed because it is too large Load Diff
+221 -374
View File
@@ -180,124 +180,6 @@ SELECT IdxPaziente, Cognome, Nome, DataNasc, LuogoNascita, Sesso, CodF, Indirizz
</Mappings>
<Sources />
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="VisCardioTableAdapter" GeneratorDataComponentClassName="VisCardioTableAdapter" Name="VisCardio" UserDataComponentName="VisCardioTableAdapter">
<MainSource>
<DbSource ConnectionRef="MedPredConnectionString (Settings)" DbObjectName="MedPred.dbo.VisCardio" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
<DeleteCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>DELETE FROM [dbo].[VisCardio] WHERE (([IdxPaziente] = @Original_IdxPaziente) AND ([DataVisita] = @Original_DataVisita) AND ([FrazEiez] = @Original_FrazEiez) AND ([TDI] = @Original_TDI) AND ([PlaccheVas] = @Original_PlaccheVas))</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_IdxPaziente" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IdxPaziente" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_DataVisita" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="DataVisita" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Original_FrazEiez" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="FrazEiez" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Original_TDI" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="TDI" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Original_PlaccheVas" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="PlaccheVas" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</DeleteCommand>
<InsertCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>INSERT INTO [dbo].[VisCardio] ([IdxPaziente], [DataVisita], [FrazEiez], [TDI], [PlaccheVas]) VALUES (@IdxPaziente, @DataVisita, @FrazEiez, @TDI, @PlaccheVas);
SELECT IdxPaziente, DataVisita, FrazEiez, TDI, PlaccheVas FROM VisCardio WHERE (DataVisita = @DataVisita) AND (IdxPaziente = @IdxPaziente)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IdxPaziente" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IdxPaziente" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@DataVisita" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="DataVisita" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@FrazEiez" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="FrazEiez" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@TDI" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="TDI" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@PlaccheVas" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="PlaccheVas" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</InsertCommand>
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>SELECT IdxPaziente, DataVisita, FrazEiez, TDI, PlaccheVas FROM dbo.VisCardio</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
<UpdateCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>UPDATE [dbo].[VisCardio] SET [IdxPaziente] = @IdxPaziente, [DataVisita] = @DataVisita, [FrazEiez] = @FrazEiez, [TDI] = @TDI, [PlaccheVas] = @PlaccheVas WHERE (([IdxPaziente] = @Original_IdxPaziente) AND ([DataVisita] = @Original_DataVisita) AND ([FrazEiez] = @Original_FrazEiez) AND ([TDI] = @Original_TDI) AND ([PlaccheVas] = @Original_PlaccheVas));
SELECT IdxPaziente, DataVisita, FrazEiez, TDI, PlaccheVas FROM VisCardio WHERE (DataVisita = @DataVisita) AND (IdxPaziente = @IdxPaziente)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IdxPaziente" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IdxPaziente" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@DataVisita" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="DataVisita" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@FrazEiez" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="FrazEiez" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@TDI" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="TDI" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@PlaccheVas" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="PlaccheVas" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_IdxPaziente" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IdxPaziente" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_DataVisita" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="DataVisita" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Original_FrazEiez" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="FrazEiez" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Original_TDI" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="TDI" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Original_PlaccheVas" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="PlaccheVas" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</UpdateCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="IdxPaziente" DataSetColumn="IdxPaziente" />
<Mapping SourceColumn="DataVisita" DataSetColumn="DataVisita" />
<Mapping SourceColumn="FrazEiez" DataSetColumn="FrazEiez" />
<Mapping SourceColumn="TDI" DataSetColumn="TDI" />
<Mapping SourceColumn="PlaccheVas" DataSetColumn="PlaccheVas" />
</Mappings>
<Sources>
<DbSource ConnectionRef="MedPredConnectionString (Settings)" DbObjectName="MedPred.dbo.stp_&#xD;&#xA; _DeleteQuery" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="DeleteQuery" Modifier="Public" Name="DeleteQuery" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="DeleteQuery">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_VCardio_DeleteQuery</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Original_IdxPaziente" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="datetime" DbType="DateTime" Direction="Input" ParameterName="@Original_DataVisita" Precision="23" ProviderType="DateTime" Scale="3" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="MedPredConnectionString (Settings)" DbObjectName="MedPred.dbo.stp_VCardio_getByPaziente" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByPaziente" GetMethodModifier="Public" GetMethodName="getByPaziente" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByPaziente" UserSourceName="getByPaziente">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_VCardio_getByPaziente</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@IdxPaziente" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="MedPredConnectionString (Settings)" DbObjectName="MedPred.dbo.stp_VCardio_InsertQuery" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="InsertQuery" Modifier="Public" Name="InsertQuery" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy1" UserSourceName="InsertQuery">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_VCardio_InsertQuery</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@IdxPaziente" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="datetime" DbType="DateTime" Direction="Input" ParameterName="@DataVisita" Precision="23" ProviderType="DateTime" Scale="3" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="float" DbType="Double" Direction="Input" ParameterName="@FrazEiez" Precision="53" ProviderType="Float" Scale="0" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="float" DbType="Double" Direction="Input" ParameterName="@TDI" Precision="53" ProviderType="Float" Scale="0" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="float" DbType="Double" Direction="Input" ParameterName="@PlaccheVas" Precision="53" ProviderType="Float" Scale="0" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="MedPredConnectionString (Settings)" DbObjectName="MedPred.dbo.stp_VCardio_UpdateQuery" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="updateQuery" GetMethodModifier="Public" GetMethodName="updateQuery" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="updateQuery" UserSourceName="updateQuery">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_VCardio_UpdateQuery</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="datetime" DbType="DateTime" Direction="Input" ParameterName="@DataVisita" Precision="23" ProviderType="DateTime" Scale="3" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="float" DbType="Double" Direction="Input" ParameterName="@FrazEiez" Precision="53" ProviderType="Float" Scale="0" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="float" DbType="Double" Direction="Input" ParameterName="@TDI" Precision="53" ProviderType="Float" Scale="0" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="float" DbType="Double" Direction="Input" ParameterName="@PlaccheVas" Precision="53" ProviderType="Float" Scale="0" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="datetime" DbType="DateTime" Direction="Input" ParameterName="@Original_DataVisita" Precision="23" ProviderType="DateTime" Scale="3" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Original_IdxPaziente" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
</Sources>
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="VisLabTableAdapter" GeneratorDataComponentClassName="VisLabTableAdapter" Name="VisLab" UserDataComponentName="VisLabTableAdapter">
<MainSource>
<DbSource ConnectionRef="MedPredConnectionString (Settings)" DbObjectName="MedPred.dbo.VisLab" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
@@ -468,209 +350,6 @@ SELECT IdxPaziente, DataVisita, Glicemia, ColesTot, LDL, HDL, Trigliceridi, ColR
</DbSource>
</Sources>
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="VisCicloTableAdapter" GeneratorDataComponentClassName="VisCicloTableAdapter" Name="VisCiclo" UserDataComponentName="VisCicloTableAdapter">
<MainSource>
<DbSource ConnectionRef="MedPredConnectionString (Settings)" DbObjectName="MedPred.dbo.VisCiclo" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
<DeleteCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>DELETE FROM [dbo].[VisCiclo] WHERE (([IdxPaziente] = @Original_IdxPaziente) AND ([DataVisita] = @Original_DataVisita) AND ([PaSis] = @Original_PaSis) AND ([PaDia] = @Original_PaDia) AND ([QR1] = @Original_QR1) AND ((@IsNull_QR1_Mas = 1 AND [QR1_Mas] IS NULL) OR ([QR1_Mas] = @Original_QR1_Mas)) AND ([VO2] = @Original_VO2) AND ([VO2_a] = @Original_VO2_a) AND ([FC_QR1] = @Original_FC_QR1) AND ([PolsoO2] = @Original_PolsoO2) AND ([PaSisMax] = @Original_PaSisMax) AND ([PaDiaMax] = @Original_PaDiaMax) AND ([VO2_rip] = @Original_VO2_rip) AND ([KCal_gg] = @Original_KCal_gg) AND ([KCal_cam] = @Original_KCal_cam) AND ((@IsNull_KCal_peso = 1 AND [KCal_peso] IS NULL) OR ([KCal_peso] = @Original_KCal_peso)) AND ((@IsNull_KCal_MM = 1 AND [KCal_MM] IS NULL) OR ([KCal_MM] = @Original_KCal_MM)) AND ([RischioCuore] = @Original_RischioCuore))</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_IdxPaziente" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IdxPaziente" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_DataVisita" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="DataVisita" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_PaSis" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PaSis" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_PaDia" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PaDia" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Original_QR1" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="QR1" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_QR1_Mas" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="QR1_Mas" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Original_QR1_Mas" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="QR1_Mas" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Original_VO2" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="VO2" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Original_VO2_a" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="VO2_a" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_FC_QR1" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="FC_QR1" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Original_PolsoO2" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="PolsoO2" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_PaSisMax" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PaSisMax" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_PaDiaMax" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PaDiaMax" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Original_VO2_rip" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="VO2_rip" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Original_KCal_gg" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="KCal_gg" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Original_KCal_cam" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="KCal_cam" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_KCal_peso" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="KCal_peso" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Original_KCal_peso" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="KCal_peso" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_KCal_MM" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="KCal_MM" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Original_KCal_MM" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="KCal_MM" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Original_RischioCuore" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="RischioCuore" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</DeleteCommand>
<InsertCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>INSERT INTO [dbo].[VisCiclo] ([IdxPaziente], [DataVisita], [PaSis], [PaDia], [QR1], [VO2], [VO2_a], [FC_QR1], [PolsoO2], [PaSisMax], [PaDiaMax], [VO2_rip], [KCal_gg], [KCal_cam], [RischioCuore]) VALUES (@IdxPaziente, @DataVisita, @PaSis, @PaDia, @QR1, @VO2, @VO2_a, @FC_QR1, @PolsoO2, @PaSisMax, @PaDiaMax, @VO2_rip, @KCal_gg, @KCal_cam, @RischioCuore);
SELECT IdxPaziente, DataVisita, PaSis, PaDia, QR1, QR1_Mas, VO2, VO2_a, FC_QR1, PolsoO2, PaSisMax, PaDiaMax, VO2_rip, KCal_gg, KCal_cam, KCal_peso, KCal_MM, RischioCuore FROM VisCiclo WHERE (DataVisita = @DataVisita) AND (IdxPaziente = @IdxPaziente)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IdxPaziente" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IdxPaziente" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@DataVisita" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="DataVisita" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@PaSis" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PaSis" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@PaDia" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PaDia" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@QR1" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="QR1" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@VO2" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="VO2" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@VO2_a" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="VO2_a" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@FC_QR1" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="FC_QR1" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@PolsoO2" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="PolsoO2" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@PaSisMax" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PaSisMax" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@PaDiaMax" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PaDiaMax" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@VO2_rip" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="VO2_rip" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@KCal_gg" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="KCal_gg" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@KCal_cam" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="KCal_cam" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@RischioCuore" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="RischioCuore" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</InsertCommand>
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>SELECT IdxPaziente, DataVisita, PaSis, PaDia, QR1, QR1_Mas, VO2, VO2_a, FC_QR1, PolsoO2, PaSisMax, PaDiaMax, VO2_rip, KCal_gg, KCal_cam, KCal_peso, KCal_MM, RischioCuore FROM dbo.VisCiclo</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
<UpdateCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>UPDATE [dbo].[VisCiclo] SET [IdxPaziente] = @IdxPaziente, [DataVisita] = @DataVisita, [PaSis] = @PaSis, [PaDia] = @PaDia, [QR1] = @QR1, [VO2] = @VO2, [VO2_a] = @VO2_a, [FC_QR1] = @FC_QR1, [PolsoO2] = @PolsoO2, [PaSisMax] = @PaSisMax, [PaDiaMax] = @PaDiaMax, [VO2_rip] = @VO2_rip, [KCal_gg] = @KCal_gg, [KCal_cam] = @KCal_cam, [RischioCuore] = @RischioCuore WHERE (([IdxPaziente] = @Original_IdxPaziente) AND ([DataVisita] = @Original_DataVisita) AND ([PaSis] = @Original_PaSis) AND ([PaDia] = @Original_PaDia) AND ([QR1] = @Original_QR1) AND ((@IsNull_QR1_Mas = 1 AND [QR1_Mas] IS NULL) OR ([QR1_Mas] = @Original_QR1_Mas)) AND ([VO2] = @Original_VO2) AND ([VO2_a] = @Original_VO2_a) AND ([FC_QR1] = @Original_FC_QR1) AND ([PolsoO2] = @Original_PolsoO2) AND ([PaSisMax] = @Original_PaSisMax) AND ([PaDiaMax] = @Original_PaDiaMax) AND ([VO2_rip] = @Original_VO2_rip) AND ([KCal_gg] = @Original_KCal_gg) AND ([KCal_cam] = @Original_KCal_cam) AND ((@IsNull_KCal_peso = 1 AND [KCal_peso] IS NULL) OR ([KCal_peso] = @Original_KCal_peso)) AND ((@IsNull_KCal_MM = 1 AND [KCal_MM] IS NULL) OR ([KCal_MM] = @Original_KCal_MM)) AND ([RischioCuore] = @Original_RischioCuore));
SELECT IdxPaziente, DataVisita, PaSis, PaDia, QR1, QR1_Mas, VO2, VO2_a, FC_QR1, PolsoO2, PaSisMax, PaDiaMax, VO2_rip, KCal_gg, KCal_cam, KCal_peso, KCal_MM, RischioCuore FROM VisCiclo WHERE (DataVisita = @DataVisita) AND (IdxPaziente = @IdxPaziente)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IdxPaziente" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IdxPaziente" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@DataVisita" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="DataVisita" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@PaSis" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PaSis" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@PaDia" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PaDia" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@QR1" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="QR1" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@VO2" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="VO2" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@VO2_a" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="VO2_a" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@FC_QR1" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="FC_QR1" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@PolsoO2" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="PolsoO2" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@PaSisMax" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PaSisMax" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@PaDiaMax" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PaDiaMax" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@VO2_rip" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="VO2_rip" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@KCal_gg" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="KCal_gg" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@KCal_cam" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="KCal_cam" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@RischioCuore" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="RischioCuore" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_IdxPaziente" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IdxPaziente" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_DataVisita" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="DataVisita" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_PaSis" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PaSis" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_PaDia" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PaDia" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Original_QR1" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="QR1" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_QR1_Mas" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="QR1_Mas" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Original_QR1_Mas" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="QR1_Mas" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Original_VO2" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="VO2" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Original_VO2_a" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="VO2_a" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_FC_QR1" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="FC_QR1" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Original_PolsoO2" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="PolsoO2" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_PaSisMax" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PaSisMax" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_PaDiaMax" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PaDiaMax" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Original_VO2_rip" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="VO2_rip" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Original_KCal_gg" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="KCal_gg" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Original_KCal_cam" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="KCal_cam" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_KCal_peso" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="KCal_peso" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Original_KCal_peso" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="KCal_peso" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_KCal_MM" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="KCal_MM" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Original_KCal_MM" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="KCal_MM" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Original_RischioCuore" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="RischioCuore" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</UpdateCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="IdxPaziente" DataSetColumn="IdxPaziente" />
<Mapping SourceColumn="DataVisita" DataSetColumn="DataVisita" />
<Mapping SourceColumn="PaSis" DataSetColumn="PaSis" />
<Mapping SourceColumn="PaDia" DataSetColumn="PaDia" />
<Mapping SourceColumn="QR1" DataSetColumn="QR1" />
<Mapping SourceColumn="QR1_Mas" DataSetColumn="QR1_Mas" />
<Mapping SourceColumn="VO2" DataSetColumn="VO2" />
<Mapping SourceColumn="VO2_a" DataSetColumn="VO2_a" />
<Mapping SourceColumn="FC_QR1" DataSetColumn="FC_QR1" />
<Mapping SourceColumn="PolsoO2" DataSetColumn="PolsoO2" />
<Mapping SourceColumn="PaSisMax" DataSetColumn="PaSisMax" />
<Mapping SourceColumn="PaDiaMax" DataSetColumn="PaDiaMax" />
<Mapping SourceColumn="VO2_rip" DataSetColumn="VO2_rip" />
<Mapping SourceColumn="KCal_gg" DataSetColumn="KCal_gg" />
<Mapping SourceColumn="KCal_cam" DataSetColumn="KCal_cam" />
<Mapping SourceColumn="KCal_peso" DataSetColumn="KCal_peso" />
<Mapping SourceColumn="KCal_MM" DataSetColumn="KCal_MM" />
<Mapping SourceColumn="RischioCuore" DataSetColumn="RischioCuore" />
</Mappings>
<Sources>
<DbSource ConnectionRef="MedPredConnectionString (Settings)" DbObjectName="MedPred.dbo.stp_VCiclo_DeleteQuery" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="DeleteQuery" Modifier="Public" Name="DeleteQuery" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="DeleteQuery">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_VCiclo_DeleteQuery</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Original_IdxPaziente" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="datetime" DbType="DateTime" Direction="Input" ParameterName="@Original_DataVisita" Precision="23" ProviderType="DateTime" Scale="3" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="MedPredConnectionString (Settings)" DbObjectName="MedPred.dbo.stp_VCiclo_getByPaziente" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByPaziente" GetMethodModifier="Public" GetMethodName="getByPaziente" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByPaziente" UserSourceName="getByPaziente">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_VCiclo_getByPaziente</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@IdxPaziente" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="MedPredConnectionString (Settings)" DbObjectName="MedPred.dbo.stp_VCiclo_InsertQuery" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="InsertQuery" GetMethodModifier="Public" GetMethodName="InsertQuery" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="InsertQuery" UserSourceName="InsertQuery">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_VCiclo_InsertQuery</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@IdxPaziente" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="datetime" DbType="DateTime" Direction="Input" ParameterName="@DataVisita" Precision="23" ProviderType="DateTime" Scale="3" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@PaSis" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@PaDia" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="float" DbType="Double" Direction="Input" ParameterName="@QR1" Precision="53" ProviderType="Float" Scale="0" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="float" DbType="Double" Direction="Input" ParameterName="@VO2" Precision="53" ProviderType="Float" Scale="0" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="float" DbType="Double" Direction="Input" ParameterName="@VO2_a" Precision="53" ProviderType="Float" Scale="0" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@FC_QR1" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="float" DbType="Double" Direction="Input" ParameterName="@PolsoO2" Precision="53" ProviderType="Float" Scale="0" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@PaSisMax" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@PaDiaMax" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="float" DbType="Double" Direction="Input" ParameterName="@VO2_rip" Precision="53" ProviderType="Float" Scale="0" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="float" DbType="Double" Direction="Input" ParameterName="@KCal_gg" Precision="53" ProviderType="Float" Scale="0" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="float" DbType="Double" Direction="Input" ParameterName="@KCal_cam" Precision="53" ProviderType="Float" Scale="0" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="float" DbType="Double" Direction="Input" ParameterName="@RischioCuore" Precision="53" ProviderType="Float" Scale="0" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="MedPredConnectionString (Settings)" DbObjectName="MedPred.dbo.stp_VCiclo_UpdateQuery" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="UpdateQuery" GetMethodModifier="Public" GetMethodName="UpdateQuery" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="UpdateQuery" UserSourceName="UpdateQuery">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_VCiclo_UpdateQuery</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="datetime" DbType="DateTime" Direction="Input" ParameterName="@DataVisita" Precision="23" ProviderType="DateTime" Scale="3" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@PaSis" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@PaDia" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="float" DbType="Double" Direction="Input" ParameterName="@QR1" Precision="53" ProviderType="Float" Scale="0" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="float" DbType="Double" Direction="Input" ParameterName="@VO2" Precision="53" ProviderType="Float" Scale="0" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="float" DbType="Double" Direction="Input" ParameterName="@VO2_a" Precision="53" ProviderType="Float" Scale="0" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@FC_QR1" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="float" DbType="Double" Direction="Input" ParameterName="@PolsoO2" Precision="53" ProviderType="Float" Scale="0" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@PaSisMax" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@PaDiaMax" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="float" DbType="Double" Direction="Input" ParameterName="@VO2_rip" Precision="53" ProviderType="Float" Scale="0" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="float" DbType="Double" Direction="Input" ParameterName="@KCal_gg" Precision="53" ProviderType="Float" Scale="0" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="float" DbType="Double" Direction="Input" ParameterName="@KCal_cam" Precision="53" ProviderType="Float" Scale="0" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="float" DbType="Double" Direction="Input" ParameterName="@RischioCuore" Precision="53" ProviderType="Float" Scale="0" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="datetime" DbType="DateTime" Direction="Input" ParameterName="@Original_DataVisita" Precision="23" ProviderType="DateTime" Scale="3" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Original_IdxPaziente" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
</Sources>
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="VisAnamCliTableAdapter" GeneratorDataComponentClassName="VisAnamCliTableAdapter" Name="VisAnamCli" UserDataComponentName="VisAnamCliTableAdapter">
<MainSource>
<DbSource ConnectionRef="MedPredConnectionString (Settings)" DbObjectName="MedPred.dbo.VisAnamCli" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
@@ -874,6 +553,194 @@ SELECT IdxPaziente, DataVisita, FamMCCV, Ipertens, IpertensYtd, Diabete, Diabete
</DbSource>
</Sources>
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="VisCardioPolTableAdapter" GeneratorDataComponentClassName="VisCardioPolTableAdapter" Name="VisCardioPol" UserDataComponentName="VisCardioPolTableAdapter">
<MainSource>
<DbSource ConnectionRef="MedPredConnectionString (Settings)" DbObjectName="MedPred.dbo.VisCardioPol" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
<DeleteCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>DELETE FROM [dbo].[VisCardioPol] WHERE (([IdxPaziente] = @Original_IdxPaziente) AND ([DataVisita] = @Original_DataVisita) AND ([PaSis] = @Original_PaSis) AND ([PaDia] = @Original_PaDia) AND ([QR1] = @Original_QR1) AND ([QR1_Kg] = @Original_QR1_Kg) AND ([VO2] = @Original_VO2) AND ([VO2_Kg] = @Original_VO2_Kg) AND ([FC_QR1] = @Original_FC_QR1) AND ([PolsoO2] = @Original_PolsoO2) AND ([PaSisMax] = @Original_PaSisMax) AND ([PaDiaMax] = @Original_PaDiaMax) AND ([FrazEiez] = @Original_FrazEiez) AND ([TDI] = @Original_TDI) AND ([PlaccheVas] = @Original_PlaccheVas))</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_IdxPaziente" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IdxPaziente" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_DataVisita" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="DataVisita" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_PaSis" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PaSis" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_PaDia" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PaDia" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Original_QR1" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="QR1" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Original_QR1_Kg" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="QR1_Kg" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Original_VO2" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="VO2" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Original_VO2_Kg" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="VO2_Kg" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_FC_QR1" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="FC_QR1" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Original_PolsoO2" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="PolsoO2" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_PaSisMax" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PaSisMax" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_PaDiaMax" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PaDiaMax" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Original_FrazEiez" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="FrazEiez" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Original_TDI" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="TDI" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Original_PlaccheVas" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="PlaccheVas" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</DeleteCommand>
<InsertCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>INSERT INTO [dbo].[VisCardioPol] ([IdxPaziente], [DataVisita], [PaSis], [PaDia], [QR1], [QR1_Kg], [VO2], [VO2_Kg], [FC_QR1], [PolsoO2], [PaSisMax], [PaDiaMax], [FrazEiez], [TDI], [PlaccheVas]) VALUES (@IdxPaziente, @DataVisita, @PaSis, @PaDia, @QR1, @QR1_Kg, @VO2, @VO2_Kg, @FC_QR1, @PolsoO2, @PaSisMax, @PaDiaMax, @FrazEiez, @TDI, @PlaccheVas);
SELECT IdxPaziente, DataVisita, PaSis, PaDia, QR1, QR1_Kg, VO2, VO2_Kg, FC_QR1, PolsoO2, PaSisMax, PaDiaMax, FrazEiez, TDI, PlaccheVas FROM VisCardioPol WHERE (DataVisita = @DataVisita) AND (IdxPaziente = @IdxPaziente)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IdxPaziente" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IdxPaziente" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@DataVisita" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="DataVisita" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@PaSis" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PaSis" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@PaDia" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PaDia" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@QR1" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="QR1" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@QR1_Kg" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="QR1_Kg" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@VO2" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="VO2" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@VO2_Kg" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="VO2_Kg" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@FC_QR1" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="FC_QR1" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@PolsoO2" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="PolsoO2" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@PaSisMax" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PaSisMax" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@PaDiaMax" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PaDiaMax" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@FrazEiez" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="FrazEiez" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@TDI" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="TDI" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@PlaccheVas" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="PlaccheVas" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</InsertCommand>
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>SELECT IdxPaziente, DataVisita, PaSis, PaDia, QR1, QR1_Kg, VO2, VO2_Kg, FC_QR1, PolsoO2, PaSisMax, PaDiaMax, FrazEiez, TDI, PlaccheVas FROM dbo.VisCardioPol</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
<UpdateCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>UPDATE [dbo].[VisCardioPol] SET [IdxPaziente] = @IdxPaziente, [DataVisita] = @DataVisita, [PaSis] = @PaSis, [PaDia] = @PaDia, [QR1] = @QR1, [QR1_Kg] = @QR1_Kg, [VO2] = @VO2, [VO2_Kg] = @VO2_Kg, [FC_QR1] = @FC_QR1, [PolsoO2] = @PolsoO2, [PaSisMax] = @PaSisMax, [PaDiaMax] = @PaDiaMax, [FrazEiez] = @FrazEiez, [TDI] = @TDI, [PlaccheVas] = @PlaccheVas WHERE (([IdxPaziente] = @Original_IdxPaziente) AND ([DataVisita] = @Original_DataVisita) AND ([PaSis] = @Original_PaSis) AND ([PaDia] = @Original_PaDia) AND ([QR1] = @Original_QR1) AND ([QR1_Kg] = @Original_QR1_Kg) AND ([VO2] = @Original_VO2) AND ([VO2_Kg] = @Original_VO2_Kg) AND ([FC_QR1] = @Original_FC_QR1) AND ([PolsoO2] = @Original_PolsoO2) AND ([PaSisMax] = @Original_PaSisMax) AND ([PaDiaMax] = @Original_PaDiaMax) AND ([FrazEiez] = @Original_FrazEiez) AND ([TDI] = @Original_TDI) AND ([PlaccheVas] = @Original_PlaccheVas));
SELECT IdxPaziente, DataVisita, PaSis, PaDia, QR1, QR1_Kg, VO2, VO2_Kg, FC_QR1, PolsoO2, PaSisMax, PaDiaMax, FrazEiez, TDI, PlaccheVas FROM VisCardioPol WHERE (DataVisita = @DataVisita) AND (IdxPaziente = @IdxPaziente)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IdxPaziente" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IdxPaziente" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@DataVisita" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="DataVisita" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@PaSis" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PaSis" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@PaDia" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PaDia" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@QR1" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="QR1" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@QR1_Kg" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="QR1_Kg" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@VO2" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="VO2" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@VO2_Kg" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="VO2_Kg" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@FC_QR1" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="FC_QR1" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@PolsoO2" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="PolsoO2" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@PaSisMax" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PaSisMax" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@PaDiaMax" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PaDiaMax" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@FrazEiez" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="FrazEiez" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@TDI" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="TDI" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@PlaccheVas" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="PlaccheVas" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_IdxPaziente" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IdxPaziente" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_DataVisita" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="DataVisita" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_PaSis" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PaSis" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_PaDia" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PaDia" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Original_QR1" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="QR1" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Original_QR1_Kg" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="QR1_Kg" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Original_VO2" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="VO2" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Original_VO2_Kg" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="VO2_Kg" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_FC_QR1" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="FC_QR1" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Original_PolsoO2" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="PolsoO2" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_PaSisMax" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PaSisMax" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_PaDiaMax" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PaDiaMax" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Original_FrazEiez" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="FrazEiez" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Original_TDI" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="TDI" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Original_PlaccheVas" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="PlaccheVas" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</UpdateCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="IdxPaziente" DataSetColumn="IdxPaziente" />
<Mapping SourceColumn="DataVisita" DataSetColumn="DataVisita" />
<Mapping SourceColumn="PaSis" DataSetColumn="PaSis" />
<Mapping SourceColumn="PaDia" DataSetColumn="PaDia" />
<Mapping SourceColumn="QR1" DataSetColumn="QR1" />
<Mapping SourceColumn="QR1_Kg" DataSetColumn="QR1_Kg" />
<Mapping SourceColumn="VO2" DataSetColumn="VO2" />
<Mapping SourceColumn="VO2_Kg" DataSetColumn="VO2_Kg" />
<Mapping SourceColumn="FC_QR1" DataSetColumn="FC_QR1" />
<Mapping SourceColumn="PolsoO2" DataSetColumn="PolsoO2" />
<Mapping SourceColumn="PaSisMax" DataSetColumn="PaSisMax" />
<Mapping SourceColumn="PaDiaMax" DataSetColumn="PaDiaMax" />
<Mapping SourceColumn="FrazEiez" DataSetColumn="FrazEiez" />
<Mapping SourceColumn="TDI" DataSetColumn="TDI" />
<Mapping SourceColumn="PlaccheVas" DataSetColumn="PlaccheVas" />
</Mappings>
<Sources>
<DbSource ConnectionRef="MedPredConnectionString (Settings)" DbObjectName="MedPred.dbo.stp_VCardio_DeleteQuery" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="DeleteQuery" Modifier="Public" Name="DeleteQuery" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="DeleteQuery">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_VCardio_DeleteQuery</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Original_IdxPaziente" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="datetime" DbType="DateTime" Direction="Input" ParameterName="@Original_DataVisita" Precision="23" ProviderType="DateTime" Scale="3" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="MedPredConnectionString (Settings)" DbObjectName="MedPred.dbo.stp_VCardio_getByPaziente" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByPaziente" GetMethodModifier="Public" GetMethodName="getByPaziente" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByPaziente" UserSourceName="getByPaziente">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_VCardio_getByPaziente</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@IdxPaziente" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="datetime" DbType="DateTime" Direction="Input" ParameterName="@DataVisita" Precision="23" ProviderType="DateTime" Scale="3" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="MedPredConnectionString (Settings)" DbObjectName="MedPred.dbo.stp_VCardio_InsertQuery" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="InsertQuery" GetMethodModifier="Public" GetMethodName="InsertQuery" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="InsertQuery" UserSourceName="InsertQuery">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_VCardio_InsertQuery</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@IdxPaziente" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="datetime" DbType="DateTime" Direction="Input" ParameterName="@DataVisita" Precision="23" ProviderType="DateTime" Scale="3" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@PaSis" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@PaDia" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="float" DbType="Double" Direction="Input" ParameterName="@QR1" Precision="53" ProviderType="Float" Scale="0" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="float" DbType="Double" Direction="Input" ParameterName="@QR1_Kg" Precision="53" ProviderType="Float" Scale="0" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="float" DbType="Double" Direction="Input" ParameterName="@VO2" Precision="53" ProviderType="Float" Scale="0" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="float" DbType="Double" Direction="Input" ParameterName="@VO2_Kg" Precision="53" ProviderType="Float" Scale="0" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@FC_QR1" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="float" DbType="Double" Direction="Input" ParameterName="@PolsoO2" Precision="53" ProviderType="Float" Scale="0" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@PaSisMax" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@PaDiaMax" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="float" DbType="Double" Direction="Input" ParameterName="@FrazEiez" Precision="53" ProviderType="Float" Scale="0" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="float" DbType="Double" Direction="Input" ParameterName="@TDI" Precision="53" ProviderType="Float" Scale="0" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="float" DbType="Double" Direction="Input" ParameterName="@PlaccheVas" Precision="53" ProviderType="Float" Scale="0" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="MedPredConnectionString (Settings)" DbObjectName="MedPred.dbo.stp_VCardio_UpdateQuery" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="UpdateQuery" GetMethodModifier="Public" GetMethodName="UpdateQuery" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="UpdateQuery" UserSourceName="UpdateQuery">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_VCardio_UpdateQuery</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@PaSis" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@PaDia" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="float" DbType="Double" Direction="Input" ParameterName="@QR1" Precision="53" ProviderType="Float" Scale="0" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="float" DbType="Double" Direction="Input" ParameterName="@QR1_Kg" Precision="53" ProviderType="Float" Scale="0" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="float" DbType="Double" Direction="Input" ParameterName="@VO2" Precision="53" ProviderType="Float" Scale="0" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="float" DbType="Double" Direction="Input" ParameterName="@VO2_Kg" Precision="53" ProviderType="Float" Scale="0" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@FC_QR1" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="float" DbType="Double" Direction="Input" ParameterName="@PolsoO2" Precision="53" ProviderType="Float" Scale="0" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@PaSisMax" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@PaDiaMax" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="float" DbType="Double" Direction="Input" ParameterName="@FrazEiez" Precision="53" ProviderType="Float" Scale="0" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="float" DbType="Double" Direction="Input" ParameterName="@TDI" Precision="53" ProviderType="Float" Scale="0" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="float" DbType="Double" Direction="Input" ParameterName="@PlaccheVas" Precision="53" ProviderType="Float" Scale="0" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="datetime" DbType="DateTime" Direction="Input" ParameterName="@Original_DataVisita" Precision="23" ProviderType="DateTime" Scale="3" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Original_IdxPaziente" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
</Sources>
</TableAdapter>
</Tables>
<Sources />
</DataSource>
@@ -882,7 +749,7 @@ SELECT IdxPaziente, DataVisita, FamMCCV, Ipertens, IpertensYtd, Diabete, Diabete
<xs:element name="DS_Applicazione" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="true" msprop:Generator_DataSetName="DS_Applicazione" msprop:Generator_UserDSName="DS_Applicazione">
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="AnagPazienti" msprop:Generator_TableClassName="AnagPazientiDataTable" msprop:Generator_TableVarName="tableAnagPazienti" msprop:Generator_TablePropName="AnagPazienti" msprop:Generator_RowDeletingName="AnagPazientiRowDeleting" msprop:Generator_RowChangingName="AnagPazientiRowChanging" msprop:Generator_RowEvHandlerName="AnagPazientiRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagPazientiRowDeleted" msprop:Generator_UserTableName="AnagPazienti" msprop:Generator_RowChangedName="AnagPazientiRowChanged" msprop:Generator_RowEvArgName="AnagPazientiRowChangeEvent" msprop:Generator_RowClassName="AnagPazientiRow">
<xs:element name="AnagPazienti" msprop:Generator_TableClassName="AnagPazientiDataTable" msprop:Generator_TableVarName="tableAnagPazienti" msprop:Generator_RowChangedName="AnagPazientiRowChanged" msprop:Generator_TablePropName="AnagPazienti" msprop:Generator_RowDeletingName="AnagPazientiRowDeleting" msprop:Generator_RowChangingName="AnagPazientiRowChanging" msprop:Generator_RowEvHandlerName="AnagPazientiRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagPazientiRowDeleted" msprop:Generator_RowClassName="AnagPazientiRow" msprop:Generator_UserTableName="AnagPazienti" msprop:Generator_RowEvArgName="AnagPazientiRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="IdxPaziente" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnIdxPaziente" msprop:Generator_ColumnPropNameInRow="IdxPaziente" msprop:Generator_ColumnPropNameInTable="IdxPazienteColumn" msprop:Generator_UserColumnName="IdxPaziente" type="xs:int" />
@@ -933,7 +800,7 @@ SELECT IdxPaziente, DataVisita, FamMCCV, Ipertens, IpertensYtd, Diabete, Diabete
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="ElencoVisite" msprop:Generator_TableClassName="ElencoVisiteDataTable" msprop:Generator_TableVarName="tableElencoVisite" msprop:Generator_RowChangedName="ElencoVisiteRowChanged" msprop:Generator_TablePropName="ElencoVisite" msprop:Generator_RowDeletingName="ElencoVisiteRowDeleting" msprop:Generator_RowChangingName="ElencoVisiteRowChanging" msprop:Generator_RowEvHandlerName="ElencoVisiteRowChangeEventHandler" msprop:Generator_RowDeletedName="ElencoVisiteRowDeleted" msprop:Generator_RowClassName="ElencoVisiteRow" msprop:Generator_UserTableName="ElencoVisite" msprop:Generator_RowEvArgName="ElencoVisiteRowChangeEvent">
<xs:element name="ElencoVisite" msprop:Generator_TableClassName="ElencoVisiteDataTable" msprop:Generator_TableVarName="tableElencoVisite" msprop:Generator_TablePropName="ElencoVisite" msprop:Generator_RowDeletingName="ElencoVisiteRowDeleting" msprop:Generator_RowChangingName="ElencoVisiteRowChanging" msprop:Generator_RowEvHandlerName="ElencoVisiteRowChangeEventHandler" msprop:Generator_RowDeletedName="ElencoVisiteRowDeleted" msprop:Generator_UserTableName="ElencoVisite" msprop:Generator_RowChangedName="ElencoVisiteRowChanged" msprop:Generator_RowEvArgName="ElencoVisiteRowChangeEvent" msprop:Generator_RowClassName="ElencoVisiteRow">
<xs:complexType>
<xs:sequence>
<xs:element name="DataVisita" msprop:Generator_ColumnVarNameInTable="columnDataVisita" msprop:Generator_ColumnPropNameInRow="DataVisita" msprop:Generator_ColumnPropNameInTable="DataVisitaColumn" msprop:Generator_UserColumnName="DataVisita" type="xs:dateTime" />
@@ -947,18 +814,7 @@ SELECT IdxPaziente, DataVisita, FamMCCV, Ipertens, IpertensYtd, Diabete, Diabete
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="VisCardio" msprop:Generator_TableClassName="VisCardioDataTable" msprop:Generator_TableVarName="tableVisCardio" msprop:Generator_TablePropName="VisCardio" msprop:Generator_RowDeletingName="VisCardioRowDeleting" msprop:Generator_RowChangingName="VisCardioRowChanging" msprop:Generator_RowEvHandlerName="VisCardioRowChangeEventHandler" msprop:Generator_RowDeletedName="VisCardioRowDeleted" msprop:Generator_UserTableName="VisCardio" msprop:Generator_RowChangedName="VisCardioRowChanged" msprop:Generator_RowEvArgName="VisCardioRowChangeEvent" msprop:Generator_RowClassName="VisCardioRow">
<xs:complexType>
<xs:sequence>
<xs:element name="IdxPaziente" msprop:Generator_ColumnVarNameInTable="columnIdxPaziente" msprop:Generator_ColumnPropNameInRow="IdxPaziente" msprop:Generator_ColumnPropNameInTable="IdxPazienteColumn" msprop:Generator_UserColumnName="IdxPaziente" type="xs:int" />
<xs:element name="DataVisita" msprop:Generator_ColumnVarNameInTable="columnDataVisita" msprop:Generator_ColumnPropNameInRow="DataVisita" msprop:Generator_ColumnPropNameInTable="DataVisitaColumn" msprop:Generator_UserColumnName="DataVisita" type="xs:dateTime" />
<xs:element name="FrazEiez" msprop:Generator_ColumnVarNameInTable="columnFrazEiez" msprop:Generator_ColumnPropNameInRow="FrazEiez" msprop:Generator_ColumnPropNameInTable="FrazEiezColumn" msprop:Generator_UserColumnName="FrazEiez" type="xs:double" />
<xs:element name="TDI" msprop:Generator_ColumnVarNameInTable="columnTDI" msprop:Generator_ColumnPropNameInRow="TDI" msprop:Generator_ColumnPropNameInTable="TDIColumn" msprop:Generator_UserColumnName="TDI" type="xs:double" />
<xs:element name="PlaccheVas" msprop:Generator_ColumnVarNameInTable="columnPlaccheVas" msprop:Generator_ColumnPropNameInRow="PlaccheVas" msprop:Generator_ColumnPropNameInTable="PlaccheVasColumn" msprop:Generator_UserColumnName="PlaccheVas" type="xs:double" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="VisLab" msprop:Generator_TableClassName="VisLabDataTable" msprop:Generator_TableVarName="tableVisLab" msprop:Generator_TablePropName="VisLab" msprop:Generator_RowDeletingName="VisLabRowDeleting" msprop:Generator_RowChangingName="VisLabRowChanging" msprop:Generator_RowEvHandlerName="VisLabRowChangeEventHandler" msprop:Generator_RowDeletedName="VisLabRowDeleted" msprop:Generator_UserTableName="VisLab" msprop:Generator_RowChangedName="VisLabRowChanged" msprop:Generator_RowEvArgName="VisLabRowChangeEvent" msprop:Generator_RowClassName="VisLabRow">
<xs:element name="VisLab" msprop:Generator_TableClassName="VisLabDataTable" msprop:Generator_TableVarName="tableVisLab" msprop:Generator_RowChangedName="VisLabRowChanged" msprop:Generator_TablePropName="VisLab" msprop:Generator_RowDeletingName="VisLabRowDeleting" msprop:Generator_RowChangingName="VisLabRowChanging" msprop:Generator_RowEvHandlerName="VisLabRowChangeEventHandler" msprop:Generator_RowDeletedName="VisLabRowDeleted" msprop:Generator_RowClassName="VisLabRow" msprop:Generator_UserTableName="VisLab" msprop:Generator_RowEvArgName="VisLabRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="IdxPaziente" msprop:Generator_ColumnVarNameInTable="columnIdxPaziente" msprop:Generator_ColumnPropNameInRow="IdxPaziente" msprop:Generator_ColumnPropNameInTable="IdxPazienteColumn" msprop:Generator_UserColumnName="IdxPaziente" type="xs:int" />
@@ -977,31 +833,7 @@ SELECT IdxPaziente, DataVisita, FamMCCV, Ipertens, IpertensYtd, Diabete, Diabete
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="VisCiclo" msprop:Generator_TableClassName="VisCicloDataTable" msprop:Generator_TableVarName="tableVisCiclo" msprop:Generator_TablePropName="VisCiclo" msprop:Generator_RowDeletingName="VisCicloRowDeleting" msprop:Generator_RowChangingName="VisCicloRowChanging" msprop:Generator_RowEvHandlerName="VisCicloRowChangeEventHandler" msprop:Generator_RowDeletedName="VisCicloRowDeleted" msprop:Generator_UserTableName="VisCiclo" msprop:Generator_RowChangedName="VisCicloRowChanged" msprop:Generator_RowEvArgName="VisCicloRowChangeEvent" msprop:Generator_RowClassName="VisCicloRow">
<xs:complexType>
<xs:sequence>
<xs:element name="IdxPaziente" msprop:Generator_ColumnVarNameInTable="columnIdxPaziente" msprop:Generator_ColumnPropNameInRow="IdxPaziente" msprop:Generator_ColumnPropNameInTable="IdxPazienteColumn" msprop:Generator_UserColumnName="IdxPaziente" type="xs:int" />
<xs:element name="DataVisita" msprop:Generator_ColumnVarNameInTable="columnDataVisita" msprop:Generator_ColumnPropNameInRow="DataVisita" msprop:Generator_ColumnPropNameInTable="DataVisitaColumn" msprop:Generator_UserColumnName="DataVisita" type="xs:dateTime" />
<xs:element name="PaSis" msprop:Generator_ColumnVarNameInTable="columnPaSis" msprop:Generator_ColumnPropNameInRow="PaSis" msprop:Generator_ColumnPropNameInTable="PaSisColumn" msprop:Generator_UserColumnName="PaSis" type="xs:int" />
<xs:element name="PaDia" msprop:Generator_ColumnVarNameInTable="columnPaDia" msprop:Generator_ColumnPropNameInRow="PaDia" msprop:Generator_ColumnPropNameInTable="PaDiaColumn" msprop:Generator_UserColumnName="PaDia" type="xs:int" />
<xs:element name="QR1" msprop:Generator_ColumnVarNameInTable="columnQR1" msprop:Generator_ColumnPropNameInRow="QR1" msprop:Generator_ColumnPropNameInTable="QR1Column" msprop:Generator_UserColumnName="QR1" type="xs:double" />
<xs:element name="QR1_Mas" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnQR1_Mas" msprop:Generator_ColumnPropNameInRow="QR1_Mas" msprop:Generator_ColumnPropNameInTable="QR1_MasColumn" msprop:Generator_UserColumnName="QR1_Mas" type="xs:double" minOccurs="0" />
<xs:element name="VO2" msprop:Generator_ColumnVarNameInTable="columnVO2" msprop:Generator_ColumnPropNameInRow="VO2" msprop:Generator_ColumnPropNameInTable="VO2Column" msprop:Generator_UserColumnName="VO2" type="xs:double" />
<xs:element name="VO2_a" msprop:Generator_ColumnVarNameInTable="columnVO2_a" msprop:Generator_ColumnPropNameInRow="VO2_a" msprop:Generator_ColumnPropNameInTable="VO2_aColumn" msprop:Generator_UserColumnName="VO2_a" type="xs:double" />
<xs:element name="FC_QR1" msprop:Generator_ColumnVarNameInTable="columnFC_QR1" msprop:Generator_ColumnPropNameInRow="FC_QR1" msprop:Generator_ColumnPropNameInTable="FC_QR1Column" msprop:Generator_UserColumnName="FC_QR1" type="xs:int" />
<xs:element name="PolsoO2" msprop:Generator_ColumnVarNameInTable="columnPolsoO2" msprop:Generator_ColumnPropNameInRow="PolsoO2" msprop:Generator_ColumnPropNameInTable="PolsoO2Column" msprop:Generator_UserColumnName="PolsoO2" type="xs:double" />
<xs:element name="PaSisMax" msprop:Generator_ColumnVarNameInTable="columnPaSisMax" msprop:Generator_ColumnPropNameInRow="PaSisMax" msprop:Generator_ColumnPropNameInTable="PaSisMaxColumn" msprop:Generator_UserColumnName="PaSisMax" type="xs:int" />
<xs:element name="PaDiaMax" msprop:Generator_ColumnVarNameInTable="columnPaDiaMax" msprop:Generator_ColumnPropNameInRow="PaDiaMax" msprop:Generator_ColumnPropNameInTable="PaDiaMaxColumn" msprop:Generator_UserColumnName="PaDiaMax" type="xs:int" />
<xs:element name="VO2_rip" msprop:Generator_ColumnVarNameInTable="columnVO2_rip" msprop:Generator_ColumnPropNameInRow="VO2_rip" msprop:Generator_ColumnPropNameInTable="VO2_ripColumn" msprop:Generator_UserColumnName="VO2_rip" type="xs:double" />
<xs:element name="KCal_gg" msprop:Generator_ColumnVarNameInTable="columnKCal_gg" msprop:Generator_ColumnPropNameInRow="KCal_gg" msprop:Generator_ColumnPropNameInTable="KCal_ggColumn" msprop:Generator_UserColumnName="KCal_gg" type="xs:double" />
<xs:element name="KCal_cam" msprop:Generator_ColumnVarNameInTable="columnKCal_cam" msprop:Generator_ColumnPropNameInRow="KCal_cam" msprop:Generator_ColumnPropNameInTable="KCal_camColumn" msprop:Generator_UserColumnName="KCal_cam" type="xs:double" />
<xs:element name="KCal_peso" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnKCal_peso" msprop:Generator_ColumnPropNameInRow="KCal_peso" msprop:Generator_ColumnPropNameInTable="KCal_pesoColumn" msprop:Generator_UserColumnName="KCal_peso" type="xs:double" minOccurs="0" />
<xs:element name="KCal_MM" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnKCal_MM" msprop:Generator_ColumnPropNameInRow="KCal_MM" msprop:Generator_ColumnPropNameInTable="KCal_MMColumn" msprop:Generator_UserColumnName="KCal_MM" type="xs:double" minOccurs="0" />
<xs:element name="RischioCuore" msprop:Generator_ColumnVarNameInTable="columnRischioCuore" msprop:Generator_ColumnPropNameInRow="RischioCuore" msprop:Generator_ColumnPropNameInTable="RischioCuoreColumn" msprop:Generator_UserColumnName="RischioCuore" type="xs:double" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="VisAnamCli" msprop:Generator_TableClassName="VisAnamCliDataTable" msprop:Generator_TableVarName="tableVisAnamCli" msprop:Generator_TablePropName="VisAnamCli" msprop:Generator_RowDeletingName="VisAnamCliRowDeleting" msprop:Generator_RowChangingName="VisAnamCliRowChanging" msprop:Generator_RowEvHandlerName="VisAnamCliRowChangeEventHandler" msprop:Generator_RowDeletedName="VisAnamCliRowDeleted" msprop:Generator_UserTableName="VisAnamCli" msprop:Generator_RowChangedName="VisAnamCliRowChanged" msprop:Generator_RowEvArgName="VisAnamCliRowChangeEvent" msprop:Generator_RowClassName="VisAnamCliRow">
<xs:element name="VisAnamCli" msprop:Generator_TableClassName="VisAnamCliDataTable" msprop:Generator_TableVarName="tableVisAnamCli" msprop:Generator_RowChangedName="VisAnamCliRowChanged" msprop:Generator_TablePropName="VisAnamCli" msprop:Generator_RowDeletingName="VisAnamCliRowDeleting" msprop:Generator_RowChangingName="VisAnamCliRowChanging" msprop:Generator_RowEvHandlerName="VisAnamCliRowChangeEventHandler" msprop:Generator_RowDeletedName="VisAnamCliRowDeleted" msprop:Generator_RowClassName="VisAnamCliRow" msprop:Generator_UserTableName="VisAnamCli" msprop:Generator_RowEvArgName="VisAnamCliRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="IdxPaziente" msprop:Generator_ColumnVarNameInTable="columnIdxPaziente" msprop:Generator_ColumnPropNameInRow="IdxPaziente" msprop:Generator_ColumnPropNameInTable="IdxPazienteColumn" msprop:Generator_UserColumnName="IdxPaziente" type="xs:int" />
@@ -1024,6 +856,27 @@ SELECT IdxPaziente, DataVisita, FamMCCV, Ipertens, IpertensYtd, Diabete, Diabete
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="VisCardioPol" msprop:Generator_TableClassName="VisCardioPolDataTable" msprop:Generator_TableVarName="tableVisCardioPol" msprop:Generator_TablePropName="VisCardioPol" msprop:Generator_RowDeletingName="VisCardioPolRowDeleting" msprop:Generator_RowChangingName="VisCardioPolRowChanging" msprop:Generator_RowEvHandlerName="VisCardioPolRowChangeEventHandler" msprop:Generator_RowDeletedName="VisCardioPolRowDeleted" msprop:Generator_UserTableName="VisCardioPol" msprop:Generator_RowChangedName="VisCardioPolRowChanged" msprop:Generator_RowEvArgName="VisCardioPolRowChangeEvent" msprop:Generator_RowClassName="VisCardioPolRow">
<xs:complexType>
<xs:sequence>
<xs:element name="IdxPaziente" msprop:Generator_ColumnVarNameInTable="columnIdxPaziente" msprop:Generator_ColumnPropNameInRow="IdxPaziente" msprop:Generator_ColumnPropNameInTable="IdxPazienteColumn" msprop:Generator_UserColumnName="IdxPaziente" type="xs:int" />
<xs:element name="DataVisita" msprop:Generator_ColumnVarNameInTable="columnDataVisita" msprop:Generator_ColumnPropNameInRow="DataVisita" msprop:Generator_ColumnPropNameInTable="DataVisitaColumn" msprop:Generator_UserColumnName="DataVisita" type="xs:dateTime" />
<xs:element name="PaSis" msprop:Generator_ColumnVarNameInTable="columnPaSis" msprop:Generator_ColumnPropNameInRow="PaSis" msprop:Generator_ColumnPropNameInTable="PaSisColumn" msprop:Generator_UserColumnName="PaSis" type="xs:int" />
<xs:element name="PaDia" msprop:Generator_ColumnVarNameInTable="columnPaDia" msprop:Generator_ColumnPropNameInRow="PaDia" msprop:Generator_ColumnPropNameInTable="PaDiaColumn" msprop:Generator_UserColumnName="PaDia" type="xs:int" />
<xs:element name="QR1" msprop:Generator_ColumnVarNameInTable="columnQR1" msprop:Generator_ColumnPropNameInRow="QR1" msprop:Generator_ColumnPropNameInTable="QR1Column" msprop:Generator_UserColumnName="QR1" type="xs:double" />
<xs:element name="QR1_Kg" msprop:Generator_ColumnVarNameInTable="columnQR1_Kg" msprop:Generator_ColumnPropNameInRow="QR1_Kg" msprop:Generator_ColumnPropNameInTable="QR1_KgColumn" msprop:Generator_UserColumnName="QR1_Kg" type="xs:double" />
<xs:element name="VO2" msprop:Generator_ColumnVarNameInTable="columnVO2" msprop:Generator_ColumnPropNameInRow="VO2" msprop:Generator_ColumnPropNameInTable="VO2Column" msprop:Generator_UserColumnName="VO2" type="xs:double" />
<xs:element name="VO2_Kg" msprop:Generator_ColumnVarNameInTable="columnVO2_Kg" msprop:Generator_ColumnPropNameInRow="VO2_Kg" msprop:Generator_ColumnPropNameInTable="VO2_KgColumn" msprop:Generator_UserColumnName="VO2_Kg" type="xs:double" />
<xs:element name="FC_QR1" msprop:Generator_ColumnVarNameInTable="columnFC_QR1" msprop:Generator_ColumnPropNameInRow="FC_QR1" msprop:Generator_ColumnPropNameInTable="FC_QR1Column" msprop:Generator_UserColumnName="FC_QR1" type="xs:int" />
<xs:element name="PolsoO2" msprop:Generator_ColumnVarNameInTable="columnPolsoO2" msprop:Generator_ColumnPropNameInRow="PolsoO2" msprop:Generator_ColumnPropNameInTable="PolsoO2Column" msprop:Generator_UserColumnName="PolsoO2" type="xs:double" />
<xs:element name="PaSisMax" msprop:Generator_ColumnVarNameInTable="columnPaSisMax" msprop:Generator_ColumnPropNameInRow="PaSisMax" msprop:Generator_ColumnPropNameInTable="PaSisMaxColumn" msprop:Generator_UserColumnName="PaSisMax" type="xs:int" />
<xs:element name="PaDiaMax" msprop:Generator_ColumnVarNameInTable="columnPaDiaMax" msprop:Generator_ColumnPropNameInRow="PaDiaMax" msprop:Generator_ColumnPropNameInTable="PaDiaMaxColumn" msprop:Generator_UserColumnName="PaDiaMax" type="xs:int" />
<xs:element name="FrazEiez" msprop:Generator_ColumnVarNameInTable="columnFrazEiez" msprop:Generator_ColumnPropNameInRow="FrazEiez" msprop:Generator_ColumnPropNameInTable="FrazEiezColumn" msprop:Generator_UserColumnName="FrazEiez" type="xs:double" />
<xs:element name="TDI" msprop:Generator_ColumnVarNameInTable="columnTDI" msprop:Generator_ColumnPropNameInRow="TDI" msprop:Generator_ColumnPropNameInTable="TDIColumn" msprop:Generator_UserColumnName="TDI" type="xs:double" />
<xs:element name="PlaccheVas" msprop:Generator_ColumnVarNameInTable="columnPlaccheVas" msprop:Generator_ColumnPropNameInRow="PlaccheVas" msprop:Generator_ColumnPropNameInTable="PlaccheVasColumn" msprop:Generator_UserColumnName="PlaccheVas" type="xs:double" />
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
<xs:unique name="Constraint1" msdata:PrimaryKey="true">
@@ -1034,33 +887,27 @@ SELECT IdxPaziente, DataVisita, FamMCCV, Ipertens, IpertensYtd, Diabete, Diabete
<xs:selector xpath=".//mstns:ElencoVisite" />
<xs:field xpath="mstns:DataVisita" />
</xs:unique>
<xs:unique name="VisCardio_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:VisCardio" />
<xs:field xpath="mstns:IdxPaziente" />
<xs:field xpath="mstns:DataVisita" />
</xs:unique>
<xs:unique name="VisLab_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:VisLab" />
<xs:field xpath="mstns:IdxPaziente" />
<xs:field xpath="mstns:DataVisita" />
</xs:unique>
<xs:unique name="VisCiclo_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:VisCiclo" />
<xs:field xpath="mstns:IdxPaziente" />
<xs:field xpath="mstns:DataVisita" />
</xs:unique>
<xs:unique name="VisAnamCli_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:VisAnamCli" />
<xs:field xpath="mstns:IdxPaziente" />
<xs:field xpath="mstns:DataVisita" />
</xs:unique>
<xs:unique name="VisCardioPol_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:VisCardioPol" />
<xs:field xpath="mstns:IdxPaziente" />
<xs:field xpath="mstns:DataVisita" />
</xs:unique>
</xs:element>
<xs:annotation>
<xs:appinfo>
<msdata:Relationship name="FK_VisCardio_AnagPazienti" msdata:parent="AnagPazienti" msdata:child="VisCardio" msdata:parentkey="IdxPaziente" msdata:childkey="IdxPaziente" msprop:Generator_UserChildTable="VisCardio" msprop:Generator_ChildPropName="GetVisCardioRows" msprop:Generator_UserRelationName="FK_VisCardio_AnagPazienti" msprop:Generator_ParentPropName="AnagPazientiRow" msprop:Generator_RelationVarName="relationFK_VisCardio_AnagPazienti" msprop:Generator_UserParentTable="AnagPazienti" />
<msdata:Relationship name="FK_VisClinGen_AnagPazienti" msdata:parent="AnagPazienti" msdata:child="VisLab" msdata:parentkey="IdxPaziente" msdata:childkey="IdxPaziente" msprop:Generator_UserChildTable="VisLab" msprop:Generator_ChildPropName="GetVisLabRows" msprop:Generator_UserRelationName="FK_VisClinGen_AnagPazienti" msprop:Generator_ParentPropName="AnagPazientiRow" msprop:Generator_RelationVarName="relationFK_VisClinGen_AnagPazienti" msprop:Generator_UserParentTable="AnagPazienti" />
<msdata:Relationship name="FK_VisCiclo_AnagPazienti" msdata:parent="AnagPazienti" msdata:child="VisCiclo" msdata:parentkey="IdxPaziente" msdata:childkey="IdxPaziente" msprop:Generator_UserChildTable="VisCiclo" msprop:Generator_ChildPropName="GetVisCicloRows" msprop:Generator_UserRelationName="FK_VisCiclo_AnagPazienti" msprop:Generator_ParentPropName="AnagPazientiRow" msprop:Generator_RelationVarName="relationFK_VisCiclo_AnagPazienti" msprop:Generator_UserParentTable="AnagPazienti" />
<msdata:Relationship name="FK_VisAnamCli_AnagPazienti" msdata:parent="AnagPazienti" msdata:child="VisAnamCli" msdata:parentkey="IdxPaziente" msdata:childkey="IdxPaziente" msprop:Generator_UserChildTable="VisAnamCli" msprop:Generator_ChildPropName="GetVisAnamCliRows" msprop:Generator_UserRelationName="FK_VisAnamCli_AnagPazienti" msprop:Generator_ParentPropName="AnagPazientiRow" msprop:Generator_RelationVarName="relationFK_VisAnamCli_AnagPazienti" msprop:Generator_UserParentTable="AnagPazienti" />
<msdata:Relationship name="FK_VisClinGen_AnagPazienti" msdata:parent="AnagPazienti" msdata:child="VisLab" msdata:parentkey="IdxPaziente" msdata:childkey="IdxPaziente" msprop:Generator_UserChildTable="VisLab" msprop:Generator_ChildPropName="GetVisLabRows" msprop:Generator_UserRelationName="FK_VisClinGen_AnagPazienti" msprop:Generator_RelationVarName="relationFK_VisClinGen_AnagPazienti" msprop:Generator_UserParentTable="AnagPazienti" msprop:Generator_ParentPropName="AnagPazientiRow" />
<msdata:Relationship name="FK_VisAnamCli_AnagPazienti" msdata:parent="AnagPazienti" msdata:child="VisAnamCli" msdata:parentkey="IdxPaziente" msdata:childkey="IdxPaziente" msprop:Generator_UserChildTable="VisAnamCli" msprop:Generator_ChildPropName="GetVisAnamCliRows" msprop:Generator_UserRelationName="FK_VisAnamCli_AnagPazienti" msprop:Generator_RelationVarName="relationFK_VisAnamCli_AnagPazienti" msprop:Generator_UserParentTable="AnagPazienti" msprop:Generator_ParentPropName="AnagPazientiRow" />
<msdata:Relationship name="FK_VisCardioPol_AnagPazienti" msdata:parent="AnagPazienti" msdata:child="VisCardioPol" msdata:parentkey="IdxPaziente" msdata:childkey="IdxPaziente" msprop:Generator_UserChildTable="VisCardioPol" msprop:Generator_ChildPropName="GetVisCardioPolRows" msprop:Generator_UserRelationName="FK_VisCardioPol_AnagPazienti" msprop:Generator_ParentPropName="AnagPazientiRow" msprop:Generator_RelationVarName="relationFK_VisCardioPol_AnagPazienti" msprop:Generator_UserParentTable="AnagPazienti" />
</xs:appinfo>
</xs:annotation>
</xs:schema>
+18 -35
View File
@@ -4,28 +4,15 @@
Changes to this file may cause incorrect behavior and will be lost if
the code is regenerated.
</autogenerated>-->
<DiagramLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ex:showrelationlabel="False" ViewPortX="224" ViewPortY="-24" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
<DiagramLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ex:showrelationlabel="False" ViewPortX="215" ViewPortY="-24" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
<Shapes>
<Shape ID="DesignTable:AnagPazienti" ZOrder="3" X="674" Y="64" Height="324" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="197" />
<Shape ID="DesignTable:ElencoVisite" ZOrder="10" X="234" Y="-14" Height="210" Width="260" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="159" />
<Shape ID="DesignTable:VisCardio" ZOrder="9" X="724" Y="445" Height="286" Width="200" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
<Shape ID="DesignTable:AnagPazienti" ZOrder="5" X="674" Y="64" Height="324" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="197" />
<Shape ID="DesignTable:ElencoVisite" ZOrder="8" X="234" Y="-14" Height="210" Width="260" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="159" />
<Shape ID="DesignTable:VisLab" ZOrder="7" X="277" Y="383" Height="381" Width="200" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:VisCiclo" ZOrder="4" X="1095" Y="477" Height="440" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="313" />
<Shape ID="DesignTable:VisAnamCli" ZOrder="1" X="1100" Y="11" Height="459" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="332" />
<Shape ID="DesignTable:VisAnamCli" ZOrder="3" X="1100" Y="11" Height="459" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="332" />
<Shape ID="DesignTable:VisCardioPol" ZOrder="1" X="644" Y="474" Height="381" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
</Shapes>
<Connectors>
<Connector ID="DesignRelation:FK_VisCardio_AnagPazienti" ZOrder="8" LineWidth="11">
<RoutePoints>
<Point>
<X>824</X>
<Y>388</Y>
</Point>
<Point>
<X>824</X>
<Y>445</Y>
</Point>
</RoutePoints>
</Connector>
<Connector ID="DesignRelation:FK_VisClinGen_AnagPazienti" ZOrder="6" LineWidth="11">
<RoutePoints>
<Point>
@@ -42,23 +29,7 @@
</Point>
</RoutePoints>
</Connector>
<Connector ID="DesignRelation:FK_VisCiclo_AnagPazienti" ZOrder="5" LineWidth="11">
<RoutePoints>
<Point>
<X>957</X>
<Y>388</Y>
</Point>
<Point>
<X>957</X>
<Y>494</Y>
</Point>
<Point>
<X>1095</X>
<Y>494</Y>
</Point>
</RoutePoints>
</Connector>
<Connector ID="DesignRelation:FK_VisAnamCli_AnagPazienti" ZOrder="2" LineWidth="11">
<Connector ID="DesignRelation:FK_VisAnamCli_AnagPazienti" ZOrder="4" LineWidth="11">
<RoutePoints>
<Point>
<X>974</X>
@@ -70,5 +41,17 @@
</Point>
</RoutePoints>
</Connector>
<Connector ID="DesignRelation:FK_VisCardioPol_AnagPazienti" ZOrder="2" LineWidth="11">
<RoutePoints>
<Point>
<X>723</X>
<Y>388</Y>
</Point>
<Point>
<X>723</X>
<Y>474</Y>
</Point>
</RoutePoints>
</Connector>
</Connectors>
</DiagramLayout>
+3 -6
View File
@@ -24,9 +24,8 @@ namespace MedPred_Data
{
taAP = new DS_ApplicazioneTableAdapters.AnagPazientiTableAdapter();
taVAC = new DS_ApplicazioneTableAdapters.VisAnamCliTableAdapter();
taVCardio = new DS_ApplicazioneTableAdapters.VisCardioTableAdapter();
taVCP = new DS_ApplicazioneTableAdapters.VisCardioPolTableAdapter();
taVLab = new DS_ApplicazioneTableAdapters.VisLabTableAdapter();
taVCiclo = new DS_ApplicazioneTableAdapters.VisCicloTableAdapter();
}
/// <summary>
/// effettua setup dei connection strings da web.config della singola applicazione
@@ -37,9 +36,8 @@ namespace MedPred_Data
// connections del db vocabolario
taAP.Connection.ConnectionString = connStr;
taVAC.Connection.ConnectionString = connStr;
taVCardio.Connection.ConnectionString = connStr;
taVCP.Connection.ConnectionString = connStr;
taVLab.Connection.ConnectionString = connStr;
taVCiclo.Connection.ConnectionString = connStr;
}
#endregion
@@ -48,9 +46,8 @@ namespace MedPred_Data
public DS_ApplicazioneTableAdapters.AnagPazientiTableAdapter taAP;
public DS_ApplicazioneTableAdapters.VisAnamCliTableAdapter taVAC;
public DS_ApplicazioneTableAdapters.VisCardioTableAdapter taVCardio;
public DS_ApplicazioneTableAdapters.VisCardioPolTableAdapter taVCP;
public DS_ApplicazioneTableAdapters.VisLabTableAdapter taVLab;
public DS_ApplicazioneTableAdapters.VisCicloTableAdapter taVCiclo;
public static DtProxy man = new DtProxy();