modifiche struttura dati Prenotazioni (cond ata visita originale...)

This commit is contained in:
Samuele E. Locatelli
2017-09-21 19:00:07 +02:00
parent 81c4e6396b
commit b0d2b96f24
8 changed files with 449 additions and 83 deletions
+130 -1
View File
@@ -5,7 +5,136 @@
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
<uc1:mod_Prenotazioni runat="server" ID="mod_Prenotazioni" />
<div class="row">
<div class="col-xs-12 col-sm-3">
<script type="text/javascript">
function PrintPanel() {
var actPath = document.URL;
var printWindow = window.open(actPath.replace('PREN', 'PREN_Print'), '_blank', 'height=400,width=800');
setTimeout(function () {
printWindow.print();
}, 500);
return false;
}
</script>
<asp:FormView ID="frmView" runat="server" DataSourceID="ods" RenderOuterTable="False">
<EmptyDataTemplate>
<h3>Attenzione!</h3>
Nessun record presente.
</EmptyDataTemplate>
<ItemTemplate>
<ul class="list-group">
<li class="list-group-item hBlock">
<button class="btn btn-default btn-sm" type="button" data-toggle="collapse" data-target="#collapsePat" aria-expanded="false" aria-controls="collapsePat">
<i class="fa fa-question" aria-hidden="true"></i>
</button>
<b>Patologia</b>
</li>
<li class="list-group-item">
<div class="collapse" id="collapsePat">
<div class="card card-body small">
<b>Patologia Prevalente</b>
<br />
Patologia prevalente assegnata al paziente e indicazione livello secondo scala seguente
<ul>
<li>Livello 1: fragilità clinica (quattro o più patologie)</li>
<li>Livello 2: Cronicità polipatologica (2-3 patologie)</li>
<li>Livello 3: cronicità in fase iniziale (1 patologia)</li>
</ul>
Nella compilazione del PAI va anche specificato la CLASSE del paziente:
<ul>
<li>Classe 1: ...</li>
<li>Classe 2: ...</li>
<li>Classe 3: ...</li>
<li>Classe 4: ...</li>
</ul>
</div>
</div>
</li>
<li class="list-group-item">
<span class="tStrong flRight"><%: Request.QueryString["DataVisita"] %></span>
<small>Data</small>
</li>
<li class="list-group-item">
<asp:DropDownList Enabled="false" runat="server" ID="ddlCodPatologia" DataSourceID="odsCPat" DataValueField="value" DataTextField="label" SelectedValue='<%# Bind("CodPatologia") %>' CssClass="btn btn-default dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" Width="100%" />
</li>
<li class="list-group-item">
<asp:DropDownList Enabled="false" runat="server" ID="ddlLivello" DataSourceID="odsLiv" DataValueField="value" DataTextField="label" SelectedValue='<%# Bind("Livello") %>' CssClass="btn btn-default dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" Width="100%" />
</li>
<li class="list-group-item">
<asp:DropDownList Enabled="false" runat="server" ID="ddlClasse" DataSourceID="odsClasse" DataValueField="value" DataTextField="label" SelectedValue='<%# Bind("Classe") %>' CssClass="btn btn-default dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" Width="100%" />
</li>
</ul>
<ul class="list-group">
<li class="list-group-item hBlock">
<button class="btn btn-default btn-sm" type="button" data-toggle="collapse" data-target="#collapseBdgt" aria-expanded="false" aria-controls="collapseBdgt">
<i class="fa fa-question" aria-hidden="true"></i>
</button>
<b>Budget/PAI</b>
</li>
<li class="list-group-item">
<div class="collapse" id="collapseBdgt">
<div class="card card-body small">
<b>Budget e Spesa PAI</b>
<br />
Confronto tra i dati di budget assegnato e la spesa programmata col PAI
</div>
</div>
</li>
<li class="list-group-item">
<span class="tStrong flRight"><%# Eval("BudgetSpesa","{0:C2}") %></span>
<small>Budget</small>
</li>
<li class="list-group-item">
<span class="tStrong flRight"><%# Eval("SpesaPrev","{0:C2}") %></span>
<small>PAI<sub>(prev)</sub></small>
</li>
<li class="list-group-item">
<span class="tStrong flRight"><%# Eval("Prenotazioni","{0:C2}") %></span>
<small>Prenotazioni</small>
</li>
<li class="list-group-item">
<asp:LinkButton ID="btnPrint" CssClass="btn btn-warning form-control" runat="server" Text="Print" OnClientClick="return PrintPanel();"><i class="fa fa-print"></i> STAMPA</asp:LinkButton>
</li>
</ul>
</ItemTemplate>
</asp:FormView>
<asp:ObjectDataSource ID="ods" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="getByPaziente" TypeName="ScheMe_Data.DS_ApplicazioneTableAdapters.VisPAITableAdapter">
<SelectParameters>
<asp:SessionParameter Name="IdxPaziente" SessionField="IdxPaziente" Type="Int32" DefaultValue="0" />
<asp:QueryStringParameter DefaultValue="" Name="DataVisita" QueryStringField="DataVisita" Type="DateTime" />
</SelectParameters>
</asp:ObjectDataSource>
<asp:ObjectDataSource ID="odsCPat" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="getByTableField" TypeName="ScheMe_Data.DS_UtilityTableAdapters.v_selListValTableAdapter">
<SelectParameters>
<asp:Parameter DefaultValue="VPP" Name="TableName" Type="string" />
<asp:Parameter DefaultValue="CodPatologia" Name="FieldName" Type="string" />
</SelectParameters>
</asp:ObjectDataSource>
<asp:ObjectDataSource ID="odsLiv" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="getByTableField" TypeName="ScheMe_Data.DS_UtilityTableAdapters.v_selListValTableAdapter">
<SelectParameters>
<asp:Parameter DefaultValue="VPP" Name="TableName" Type="string" />
<asp:Parameter DefaultValue="Livello" Name="FieldName" Type="string" />
</SelectParameters>
</asp:ObjectDataSource>
<asp:ObjectDataSource ID="odsClasse" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="getByTableField" TypeName="ScheMe_Data.DS_UtilityTableAdapters.v_selListValTableAdapter">
<SelectParameters>
<asp:Parameter DefaultValue="VPAI" Name="TableName" Type="string" />
<asp:Parameter DefaultValue="Classe" Name="FieldName" Type="string" />
</SelectParameters>
</asp:ObjectDataSource>
</div>
<div class="col-xs-12 col-sm-9">
<div id="divPAI" class="row" style="padding-top: 0.5em;">
<div class="col-xs-12">
<uc1:mod_Prenotazioni runat="server" ID="mod_Prenotazioni" />
</div>
</div>
</div>
</div>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="NoAjaxContent" runat="server">
</asp:Content>
+45
View File
@@ -12,6 +12,51 @@ namespace ScheMe {
public partial class PREN {
/// <summary>
/// Controllo frmView.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::System.Web.UI.WebControls.FormView frmView;
/// <summary>
/// Controllo ods.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::System.Web.UI.WebControls.ObjectDataSource ods;
/// <summary>
/// Controllo odsCPat.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::System.Web.UI.WebControls.ObjectDataSource odsCPat;
/// <summary>
/// Controllo odsLiv.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::System.Web.UI.WebControls.ObjectDataSource odsLiv;
/// <summary>
/// Controllo odsClasse.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::System.Web.UI.WebControls.ObjectDataSource odsClasse;
/// <summary>
/// Controllo mod_Prenotazioni.
/// </summary>
+7 -6
View File
@@ -1,4 +1,5 @@
<%@ Page Title="" Language="C#" MasterPageFile="~/Bootstrap.Master" AutoEventWireup="true" CodeBehind="VPAI.aspx.cs" Inherits="ScheMe.VPAI" %>
<%@ Register Src="~/WebUserControls/mod_PrestPAI.ascx" TagPrefix="uc1" TagName="mod_PrestPAI" %>
<%@ Register Src="~/WebUserControls/mod_genCalPren.ascx" TagPrefix="uc1" TagName="mod_genCalPren" %>
@@ -6,7 +7,6 @@
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
<asp:FormView ID="frmView" runat="server" DataSourceID="ods" RenderOuterTable="False" OnModeChanged="frmView_ModeChanged" OnModeChanging="frmView_ModeChanging" OnItemCreated="frmView_ItemCreated" OnItemUpdating="frmView_ItemUpdating" OnItemInserting="frmView_ItemInserting">
<EmptyDataTemplate>
<h3>Attenzione!</h3>
@@ -18,7 +18,7 @@
<script type="text/javascript">
function PrintPanel() {
var actPath = document.URL;
var printWindow = window.open(actPath.replace('PAI','PAI_Print'), '_blank', 'height=400,width=800');
var printWindow = window.open(actPath.replace('PAI', 'PAI_Print'), '_blank', 'height=400,width=800');
setTimeout(function () {
printWindow.print();
}, 500);
@@ -93,17 +93,18 @@
</li>
<li class="list-group-item">
<span class="tStrong flRight"><%# Eval("Prenotazioni","{0:C2}") %></span>
<small><asp:HyperLink runat="server" CssClass="btn btn-info" ID="hlPrenotazioni" Target="_blank" NavigateUrl="PREN"><i class="fa fa-external-link"></i> Prenotazioni</asp:HyperLink>
</small>
<small>
<asp:HyperLink runat="server" CssClass="btn btn-info" ID="hlPrenotazioni" Target="_blank" NavigateUrl="PREN"><i class="fa fa-external-link"></i> Prenotazioni</asp:HyperLink>
</small>
</li>
<li class="list-group-item">
<asp:LinkButton runat="server" CssClass="btn btn-success form-control disabled" ID="lbtCreaPDC"><i class="fa fa-file-text-o"></i> Genera PDC</asp:LinkButton>
</li>
<li class="list-group-item">
<uc1:mod_genCalPren runat="server" id="mod_genCalPren" idxPaziente='<%# Eval("IdxPaziente") %>' DataVisita='<%# Eval("DataVisita") %>' />
<uc1:mod_genCalPren runat="server" ID="mod_genCalPren" idxPaziente='<%# Eval("IdxPaziente") %>' DataVisita='<%# Eval("DataVisita") %>' />
</li>
<li class="list-group-item">
<asp:LinkButton ID="btnPrint" CssClass="btn btn-warning form-control" runat="server" Text="Print" OnClientClick="return PrintPanel();" ><i class="fa fa-print"></i> STAMPA</asp:LinkButton>
<asp:LinkButton ID="btnPrint" CssClass="btn btn-warning form-control" runat="server" Text="Print" OnClientClick="return PrintPanel();"><i class="fa fa-print"></i> STAMPA</asp:LinkButton>
</li>
</ul>
</div>
@@ -35,11 +35,11 @@
</asp:TemplateField>
<asp:TemplateField HeaderText="Stato" SortExpression="DescStato">
<ItemTemplate>
<span class="fontCond nowrap padLR1"><b><%# Eval("DataVisita","{0:yyyy-MM-dd}") %></b> | <%# Eval("DescStato") %></span>
<span class="fontCond nowrap padLR1"><b><%# Eval("Prenotazione","{0:yyyy-MM-dd}") %></b> | <%# Eval("DescStato") %></span>
</ItemTemplate>
<EditItemTemplate>
<asp:DropDownList CssClass="btn btn-default dropdown-toggle btn-xs" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" Width="100%" runat="server" ID="ddlStato" DataSourceID="odsStato" DataTextField="label" DataValueField="value" SelectedValue='<%# Bind("IdxStato") %>'></asp:DropDownList>
<asp:TextBox runat="server" ID="txtDataTo" TextMode="Date" CssClass="smaller form-control" Text='<%# Bind("DataVisita","{0:yyyy-MM-dd}") %>' />
<asp:TextBox runat="server" ID="txtPrenotazione" TextMode="Date" CssClass="smaller form-control" Text='<%# Bind("Prenotazione","{0:yyyy-MM-dd}") %>' />
</EditItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="Struttura" SortExpression="DescStruttura">
@@ -121,11 +121,14 @@
<DeleteParameters>
<asp:SessionParameter Name="Original_IdxPaziente" SessionField="IdxPaziente" Type="Int32" DefaultValue="0" />
<asp:Parameter Name="Original_DataVisita" Type="DateTime" />
<asp:Parameter Name="Original_Num" Type="Int32" />
</DeleteParameters>
<InsertParameters>
<asp:Parameter Name="IdxPaziente" Type="Int32" />
<asp:Parameter Name="DataVisita" Type="DateTime" />
<asp:Parameter Name="CodPres" Type="String" />
<asp:Parameter Name="Num" Type="Int32" />
<asp:Parameter Name="PRenotazione" Type="DateTime" />
<asp:Parameter Name="IdxStato" Type="Int32" />
<asp:Parameter Name="IdxStruttura" Type="Int32" />
<asp:Parameter Name="Note" Type="String" />
@@ -141,9 +144,9 @@
<asp:Parameter Name="IdxStruttura" Type="Int32" />
<asp:Parameter Name="Note" Type="String" />
<asp:SessionParameter Name="Original_IdxPaziente" SessionField="IdxPaziente" Type="Int32" DefaultValue="0" />
<%--<asp:QueryStringParameter DefaultValue="0" Name="Original_DataVisita" QueryStringField="DataVisita" Type="DateTime" />--%>
<asp:Parameter Name="Original_DataVisita" Type="DateTime" />
<asp:Parameter Name="Original_CodPres" Type="String" />
<asp:Parameter Name="Original_Num" Type="Int32" />
</UpdateParameters>
</asp:ObjectDataSource>
<asp:ObjectDataSource runat="server" ID="odsPrest" OldValuesParameterFormatString="original_{0}" SelectMethod="GetData" TypeName="ScheMe_Data.DS_UtilityTableAdapters.v_selPrestazioniTableAdapter"></asp:ObjectDataSource>
@@ -106,7 +106,7 @@ namespace ScheMe.WebUserControls
protected void lbCreateNew_Click(object sender, EventArgs e)
{
DtProxy.man.taPren.InsertQuery(idxPaziente, DataVisita, "0", 0, 0, "");
DtProxy.man.taPren.InsertQuery(idxPaziente, DataVisita, "0", 1, DataVisita, 0, 0, "");
grView.DataBind();
}
}
+198 -37
View File
@@ -76,6 +76,8 @@ namespace ScheMe_Data {
private global::System.Data.DataRelation relationVisPAI_Prest_VisPAI;
private global::System.Data.DataRelation relationPrenotazioni_AnagPazienti;
private global::System.Data.SchemaSerializationMode _schemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -584,6 +586,7 @@ namespace ScheMe_Data {
this.relationVisVMD_AnagPazienti = this.Relations["VisVMD_AnagPazienti"];
this.relationVisPAI_AnagPazienti = this.Relations["VisPAI_AnagPazienti"];
this.relationVisPAI_Prest_VisPAI = this.Relations["VisPAI_Prest_VisPAI"];
this.relationPrenotazioni_AnagPazienti = this.Relations["Prenotazioni_AnagPazienti"];
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -668,6 +671,10 @@ namespace ScheMe_Data {
this.tableVisPAI.IdxPazienteColumn,
this.tableVisPAI.DataVisitaColumn}, false);
this.Relations.Add(this.relationVisPAI_Prest_VisPAI);
this.relationPrenotazioni_AnagPazienti = new global::System.Data.DataRelation("Prenotazioni_AnagPazienti", new global::System.Data.DataColumn[] {
this.tablePrenotazioni.IdxPazienteColumn}, new global::System.Data.DataColumn[] {
this.tableAnagPazienti.IdxPazienteColumn}, false);
this.Relations.Add(this.relationPrenotazioni_AnagPazienti);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -10120,6 +10127,10 @@ namespace ScheMe_Data {
private global::System.Data.DataColumn columnCodPres;
private global::System.Data.DataColumn columnNum;
private global::System.Data.DataColumn columnPrenotazione;
private global::System.Data.DataColumn columnIdxStato;
private global::System.Data.DataColumn columnIdxStruttura;
@@ -10205,6 +10216,22 @@ namespace ScheMe_Data {
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
public global::System.Data.DataColumn NumColumn {
get {
return this.columnNum;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
public global::System.Data.DataColumn PrenotazioneColumn {
get {
return this.columnPrenotazione;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
public global::System.Data.DataColumn IdxStatoColumn {
@@ -10358,6 +10385,8 @@ namespace ScheMe_Data {
int IdxPaziente,
System.DateTime DataVisita,
string CodPres,
int Num,
System.DateTime Prenotazione,
int IdxStato,
int IdxStruttura,
string Note,
@@ -10377,6 +10406,8 @@ namespace ScheMe_Data {
IdxPaziente,
DataVisita,
CodPres,
Num,
Prenotazione,
IdxStato,
IdxStruttura,
Note,
@@ -10398,11 +10429,12 @@ namespace ScheMe_Data {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
public PrenotazioniRow FindByIdxPazienteDataVisitaCodPres(int IdxPaziente, System.DateTime DataVisita, string CodPres) {
public PrenotazioniRow FindByIdxPazienteDataVisitaCodPresNum(int IdxPaziente, System.DateTime DataVisita, string CodPres, int Num) {
return ((PrenotazioniRow)(this.Rows.Find(new object[] {
IdxPaziente,
DataVisita,
CodPres})));
CodPres,
Num})));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -10425,6 +10457,8 @@ namespace ScheMe_Data {
this.columnIdxPaziente = base.Columns["IdxPaziente"];
this.columnDataVisita = base.Columns["DataVisita"];
this.columnCodPres = base.Columns["CodPres"];
this.columnNum = base.Columns["Num"];
this.columnPrenotazione = base.Columns["Prenotazione"];
this.columnIdxStato = base.Columns["IdxStato"];
this.columnIdxStruttura = base.Columns["IdxStruttura"];
this.columnNote = base.Columns["Note"];
@@ -10450,6 +10484,10 @@ namespace ScheMe_Data {
base.Columns.Add(this.columnDataVisita);
this.columnCodPres = new global::System.Data.DataColumn("CodPres", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnCodPres);
this.columnNum = new global::System.Data.DataColumn("Num", typeof(int), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnNum);
this.columnPrenotazione = new global::System.Data.DataColumn("Prenotazione", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnPrenotazione);
this.columnIdxStato = new global::System.Data.DataColumn("IdxStato", typeof(int), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnIdxStato);
this.columnIdxStruttura = new global::System.Data.DataColumn("IdxStruttura", typeof(int), null, global::System.Data.MappingType.Element);
@@ -10481,11 +10519,14 @@ namespace ScheMe_Data {
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
this.columnIdxPaziente,
this.columnDataVisita,
this.columnCodPres}, true));
this.columnCodPres,
this.columnNum}, true));
this.columnIdxPaziente.AllowDBNull = false;
this.columnDataVisita.AllowDBNull = false;
this.columnCodPres.AllowDBNull = false;
this.columnCodPres.MaxLength = 10;
this.columnNum.AllowDBNull = false;
this.columnPrenotazione.AllowDBNull = false;
this.columnIdxStato.AllowDBNull = false;
this.columnIdxStruttura.AllowDBNull = false;
this.columnNote.AllowDBNull = false;
@@ -10503,10 +10544,8 @@ namespace ScheMe_Data {
this.columnEmail.MaxLength = 250;
this.columnNomePrest.MaxLength = 255;
this.columnDescrPrest.MaxLength = 255;
this.columnDescStato.AllowDBNull = false;
this.columnDescStato.MaxLength = 50;
this.columnDescStruttura.AllowDBNull = false;
this.columnDescStruttura.MaxLength = 50;
this.columnDescStato.MaxLength = 250;
this.columnDescStruttura.MaxLength = 250;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -10861,6 +10900,17 @@ namespace ScheMe_Data {
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
public PrenotazioniRow PrenotazioniRow {
get {
return ((PrenotazioniRow)(this.GetParentRow(this.Table.ParentRelations["Prenotazioni_AnagPazienti"])));
}
set {
this.SetParentRow(value, this.Table.ParentRelations["Prenotazioni_AnagPazienti"]);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
public bool IsEtaNull() {
@@ -18635,6 +18685,28 @@ namespace ScheMe_Data {
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
public int Num {
get {
return ((int)(this[this.tablePrenotazioni.NumColumn]));
}
set {
this[this.tablePrenotazioni.NumColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
public System.DateTime Prenotazione {
get {
return ((global::System.DateTime)(this[this.tablePrenotazioni.PrenotazioneColumn]));
}
set {
this[this.tablePrenotazioni.PrenotazioneColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
public int IdxStato {
@@ -18786,7 +18858,12 @@ namespace ScheMe_Data {
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
public string DescStato {
get {
return ((string)(this[this.tablePrenotazioni.DescStatoColumn]));
try {
return ((string)(this[this.tablePrenotazioni.DescStatoColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("Il valore della colonna \'DescStato\' nella tabella \'Prenotazioni\' è DBNull.", e);
}
}
set {
this[this.tablePrenotazioni.DescStatoColumn] = value;
@@ -18797,7 +18874,12 @@ namespace ScheMe_Data {
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
public string DescStruttura {
get {
return ((string)(this[this.tablePrenotazioni.DescStrutturaColumn]));
try {
return ((string)(this[this.tablePrenotazioni.DescStrutturaColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("Il valore della colonna \'DescStruttura\' nella tabella \'Prenotazioni\' è DBNull.", e);
}
}
set {
this[this.tablePrenotazioni.DescStrutturaColumn] = value;
@@ -18839,6 +18921,41 @@ namespace ScheMe_Data {
public void SetTariffaNull() {
this[this.tablePrenotazioni.TariffaColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
public bool IsDescStatoNull() {
return this.IsNull(this.tablePrenotazioni.DescStatoColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
public void SetDescStatoNull() {
this[this.tablePrenotazioni.DescStatoColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
public bool IsDescStrutturaNull() {
return this.IsNull(this.tablePrenotazioni.DescStrutturaColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
public void SetDescStrutturaNull() {
this[this.tablePrenotazioni.DescStrutturaColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
public AnagPazientiRow[] GetAnagPazientiRows() {
if ((this.Table.ChildRelations["Prenotazioni_AnagPazienti"] == null)) {
return new AnagPazientiRow[0];
}
else {
return ((AnagPazientiRow[])(base.GetChildRows(this.Table.ChildRelations["Prenotazioni_AnagPazienti"])));
}
}
}
/// <summary>
@@ -28581,6 +28698,8 @@ SELECT CodPres, CodAlt, Note, Ciclo, QtaMax, NotaQta, NomePrest, DescrPrest, Tar
tableMapping.ColumnMappings.Add("IdxPaziente", "IdxPaziente");
tableMapping.ColumnMappings.Add("DataVisita", "DataVisita");
tableMapping.ColumnMappings.Add("CodPres", "CodPres");
tableMapping.ColumnMappings.Add("Num", "Num");
tableMapping.ColumnMappings.Add("Prenotazione", "Prenotazione");
tableMapping.ColumnMappings.Add("IdxStato", "IdxStato");
tableMapping.ColumnMappings.Add("IdxStruttura", "IdxStruttura");
tableMapping.ColumnMappings.Add("Note", "Note");
@@ -28611,7 +28730,7 @@ SELECT CodPres, CodAlt, Note, Ciclo, QtaMax, NotaQta, NomePrest, DescrPrest, Tar
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[6];
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[0].Connection = this.Connection;
this._commandCollection[0].CommandText = "SELECT *\r\nFROM v_Prenotazioni";
this._commandCollection[0].CommandText = "SELECT * FROM v_Prenotazioni";
this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[1].Connection = this.Connection;
@@ -28621,6 +28740,7 @@ SELECT CodPres, CodAlt, Note, Ciclo, QtaMax, NotaQta, NomePrest, DescrPrest, Tar
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxPaziente", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DataVisita", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodPres", global::System.Data.SqlDbType.NVarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Num", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[2].Connection = this.Connection;
this._commandCollection[2].CommandText = "dbo.stp_PREN_getByPaziente";
@@ -28636,6 +28756,8 @@ SELECT CodPres, CodAlt, Note, Ciclo, QtaMax, NotaQta, NomePrest, DescrPrest, Tar
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxPaziente", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataVisita", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodPres", global::System.Data.SqlDbType.NVarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Num", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Prenotazione", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxStato", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxStruttura", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Note", global::System.Data.SqlDbType.NVarChar, 250, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
@@ -28655,12 +28777,15 @@ SELECT CodPres, CodAlt, Note, Ciclo, QtaMax, NotaQta, NomePrest, DescrPrest, Tar
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataVisita", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodPres", global::System.Data.SqlDbType.NVarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Num", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Prenotazione", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxStato", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxStruttura", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Note", global::System.Data.SqlDbType.NVarChar, 250, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DataVisita", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxPaziente", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DataVisita", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodPres", global::System.Data.SqlDbType.NVarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Num", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -28713,7 +28838,7 @@ SELECT CodPres, CodAlt, Note, Ciclo, QtaMax, NotaQta, NomePrest, DescrPrest, Tar
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int DeleteQuery(global::System.Nullable<int> Original_IdxPaziente, global::System.Nullable<global::System.DateTime> Original_DataVisita, string Original_CodPres) {
public virtual int DeleteQuery(global::System.Nullable<int> Original_IdxPaziente, global::System.Nullable<global::System.DateTime> Original_DataVisita, string Original_CodPres, global::System.Nullable<int> Original_Num) {
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[1];
if ((Original_IdxPaziente.HasValue == true)) {
command.Parameters[1].Value = ((int)(Original_IdxPaziente.Value));
@@ -28733,6 +28858,12 @@ SELECT CodPres, CodAlt, Note, Ciclo, QtaMax, NotaQta, NomePrest, DescrPrest, Tar
else {
command.Parameters[3].Value = ((string)(Original_CodPres));
}
if ((Original_Num.HasValue == true)) {
command.Parameters[4].Value = ((int)(Original_Num.Value));
}
else {
command.Parameters[4].Value = global::System.DBNull.Value;
}
global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
if (((command.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) {
@@ -28753,7 +28884,7 @@ SELECT CodPres, CodAlt, Note, Ciclo, QtaMax, NotaQta, NomePrest, DescrPrest, Tar
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int InsertQuery(global::System.Nullable<int> IdxPaziente, global::System.Nullable<global::System.DateTime> DataVisita, string CodPres, global::System.Nullable<int> IdxStato, global::System.Nullable<int> IdxStruttura, string Note) {
public virtual int InsertQuery(global::System.Nullable<int> IdxPaziente, global::System.Nullable<global::System.DateTime> DataVisita, string CodPres, global::System.Nullable<int> Num, global::System.Nullable<global::System.DateTime> Prenotazione, global::System.Nullable<int> IdxStato, global::System.Nullable<int> IdxStruttura, string Note) {
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[3];
if ((IdxPaziente.HasValue == true)) {
command.Parameters[1].Value = ((int)(IdxPaziente.Value));
@@ -28773,23 +28904,35 @@ SELECT CodPres, CodAlt, Note, Ciclo, QtaMax, NotaQta, NomePrest, DescrPrest, Tar
else {
command.Parameters[3].Value = ((string)(CodPres));
}
if ((IdxStato.HasValue == true)) {
command.Parameters[4].Value = ((int)(IdxStato.Value));
if ((Num.HasValue == true)) {
command.Parameters[4].Value = ((int)(Num.Value));
}
else {
command.Parameters[4].Value = global::System.DBNull.Value;
}
if ((IdxStruttura.HasValue == true)) {
command.Parameters[5].Value = ((int)(IdxStruttura.Value));
if ((Prenotazione.HasValue == true)) {
command.Parameters[5].Value = ((System.DateTime)(Prenotazione.Value));
}
else {
command.Parameters[5].Value = global::System.DBNull.Value;
}
if ((Note == null)) {
command.Parameters[6].Value = global::System.DBNull.Value;
if ((IdxStato.HasValue == true)) {
command.Parameters[6].Value = ((int)(IdxStato.Value));
}
else {
command.Parameters[6].Value = ((string)(Note));
command.Parameters[6].Value = global::System.DBNull.Value;
}
if ((IdxStruttura.HasValue == true)) {
command.Parameters[7].Value = ((int)(IdxStruttura.Value));
}
else {
command.Parameters[7].Value = global::System.DBNull.Value;
}
if ((Note == null)) {
command.Parameters[8].Value = global::System.DBNull.Value;
}
else {
command.Parameters[8].Value = ((string)(Note));
}
global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
if (((command.Connection.State & global::System.Data.ConnectionState.Open)
@@ -28857,7 +29000,7 @@ SELECT CodPres, CodAlt, Note, Ciclo, QtaMax, NotaQta, NomePrest, DescrPrest, Tar
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int UpdateQuery(global::System.Nullable<global::System.DateTime> DataVisita, string CodPres, global::System.Nullable<int> IdxStato, global::System.Nullable<int> IdxStruttura, string Note, global::System.Nullable<global::System.DateTime> Original_DataVisita, global::System.Nullable<int> Original_IdxPaziente, string Original_CodPres) {
public virtual int UpdateQuery(global::System.Nullable<global::System.DateTime> DataVisita, string CodPres, global::System.Nullable<int> Num, global::System.Nullable<global::System.DateTime> Prenotazione, global::System.Nullable<int> IdxStato, global::System.Nullable<int> IdxStruttura, string Note, global::System.Nullable<int> Original_IdxPaziente, global::System.Nullable<global::System.DateTime> Original_DataVisita, string Original_CodPres, global::System.Nullable<int> Original_Num) {
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[5];
if ((DataVisita.HasValue == true)) {
command.Parameters[1].Value = ((System.DateTime)(DataVisita.Value));
@@ -28871,41 +29014,59 @@ SELECT CodPres, CodAlt, Note, Ciclo, QtaMax, NotaQta, NomePrest, DescrPrest, Tar
else {
command.Parameters[2].Value = ((string)(CodPres));
}
if ((IdxStato.HasValue == true)) {
command.Parameters[3].Value = ((int)(IdxStato.Value));
if ((Num.HasValue == true)) {
command.Parameters[3].Value = ((int)(Num.Value));
}
else {
command.Parameters[3].Value = global::System.DBNull.Value;
}
if ((IdxStruttura.HasValue == true)) {
command.Parameters[4].Value = ((int)(IdxStruttura.Value));
if ((Prenotazione.HasValue == true)) {
command.Parameters[4].Value = ((System.DateTime)(Prenotazione.Value));
}
else {
command.Parameters[4].Value = global::System.DBNull.Value;
}
if ((Note == null)) {
command.Parameters[5].Value = global::System.DBNull.Value;
if ((IdxStato.HasValue == true)) {
command.Parameters[5].Value = ((int)(IdxStato.Value));
}
else {
command.Parameters[5].Value = ((string)(Note));
command.Parameters[5].Value = global::System.DBNull.Value;
}
if ((Original_DataVisita.HasValue == true)) {
command.Parameters[6].Value = ((System.DateTime)(Original_DataVisita.Value));
if ((IdxStruttura.HasValue == true)) {
command.Parameters[6].Value = ((int)(IdxStruttura.Value));
}
else {
command.Parameters[6].Value = global::System.DBNull.Value;
}
if ((Original_IdxPaziente.HasValue == true)) {
command.Parameters[7].Value = ((int)(Original_IdxPaziente.Value));
}
else {
if ((Note == null)) {
command.Parameters[7].Value = global::System.DBNull.Value;
}
if ((Original_CodPres == null)) {
command.Parameters[8].Value = global::System.DBNull.Value;
else {
command.Parameters[7].Value = ((string)(Note));
}
if ((Original_IdxPaziente.HasValue == true)) {
command.Parameters[8].Value = ((int)(Original_IdxPaziente.Value));
}
else {
command.Parameters[8].Value = ((string)(Original_CodPres));
command.Parameters[8].Value = global::System.DBNull.Value;
}
if ((Original_DataVisita.HasValue == true)) {
command.Parameters[9].Value = ((System.DateTime)(Original_DataVisita.Value));
}
else {
command.Parameters[9].Value = global::System.DBNull.Value;
}
if ((Original_CodPres == null)) {
command.Parameters[10].Value = global::System.DBNull.Value;
}
else {
command.Parameters[10].Value = ((string)(Original_CodPres));
}
if ((Original_Num.HasValue == true)) {
command.Parameters[11].Value = ((int)(Original_Num.Value));
}
else {
command.Parameters[11].Value = global::System.DBNull.Value;
}
global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
if (((command.Connection.State & global::System.Data.ConnectionState.Open)
+19 -8
View File
@@ -1956,11 +1956,10 @@ SELECT CodPres, CodAlt, Note, Ciclo, QtaMax, NotaQta, NomePrest, DescrPrest, Tar
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="PrenotazioniTableAdapter" GeneratorDataComponentClassName="PrenotazioniTableAdapter" Name="Prenotazioni" UserDataComponentName="PrenotazioniTableAdapter">
<MainSource>
<DbSource ConnectionRef="ScheMeConnectionString (Settings)" DbObjectName="[ScheMe-PIC].dbo.v_Prenotazioni" DbObjectType="View" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" 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">
<DbSource ConnectionRef="ScheMeConnectionString (Settings)" DbObjectName="[ScheMe-PIC].dbo.v_Prenotazioni" DbObjectType="View" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="false" UserGetMethodName="GetData" UserSourceName="Fill">
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>SELECT *
FROM v_Prenotazioni</CommandText>
<CommandText>SELECT * FROM v_Prenotazioni</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
@@ -1970,6 +1969,8 @@ FROM v_Prenotazioni</CommandText>
<Mapping SourceColumn="IdxPaziente" DataSetColumn="IdxPaziente" />
<Mapping SourceColumn="DataVisita" DataSetColumn="DataVisita" />
<Mapping SourceColumn="CodPres" DataSetColumn="CodPres" />
<Mapping SourceColumn="Num" DataSetColumn="Num" />
<Mapping SourceColumn="Prenotazione" DataSetColumn="Prenotazione" />
<Mapping SourceColumn="IdxStato" DataSetColumn="IdxStato" />
<Mapping SourceColumn="IdxStruttura" DataSetColumn="IdxStruttura" />
<Mapping SourceColumn="Note" DataSetColumn="Note" />
@@ -1995,6 +1996,7 @@ FROM v_Prenotazioni</CommandText>
<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" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Original_CodPres" Precision="0" ProviderType="NVarChar" Scale="0" Size="10" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Original_Num" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
@@ -2020,6 +2022,8 @@ FROM v_Prenotazioni</CommandText>
<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="nvarchar" DbType="String" Direction="Input" ParameterName="@CodPres" Precision="0" ProviderType="NVarChar" Scale="0" Size="10" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Num" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="datetime" DbType="DateTime" Direction="Input" ParameterName="@Prenotazione" Precision="23" ProviderType="DateTime" Scale="3" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@IdxStato" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@IdxStruttura" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Note" Precision="0" ProviderType="NVarChar" Scale="0" Size="250" SourceColumnNullMapping="false" SourceVersion="Current" />
@@ -2049,12 +2053,15 @@ FROM v_Prenotazioni</CommandText>
<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="nvarchar" DbType="String" Direction="Input" ParameterName="@CodPres" Precision="0" ProviderType="NVarChar" Scale="0" Size="10" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Num" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="datetime" DbType="DateTime" Direction="Input" ParameterName="@Prenotazione" Precision="23" ProviderType="DateTime" Scale="3" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@IdxStato" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@IdxStruttura" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Note" Precision="0" ProviderType="NVarChar" Scale="0" Size="250" 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" />
<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="nvarchar" DbType="String" Direction="Input" ParameterName="@Original_CodPres" Precision="0" ProviderType="NVarChar" Scale="0" Size="10" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Original_Num" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
@@ -3096,6 +3103,8 @@ FROM v_Prenotazioni</CommandText>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Num" msprop:Generator_ColumnVarNameInTable="columnNum" msprop:Generator_ColumnPropNameInRow="Num" msprop:Generator_ColumnPropNameInTable="NumColumn" msprop:Generator_UserColumnName="Num" type="xs:int" />
<xs:element name="Prenotazione" msprop:Generator_ColumnVarNameInTable="columnPrenotazione" msprop:Generator_ColumnPropNameInRow="Prenotazione" msprop:Generator_ColumnPropNameInTable="PrenotazioneColumn" msprop:Generator_UserColumnName="Prenotazione" type="xs:dateTime" />
<xs:element name="IdxStato" msprop:Generator_ColumnVarNameInTable="columnIdxStato" msprop:Generator_ColumnPropNameInRow="IdxStato" msprop:Generator_ColumnPropNameInTable="IdxStatoColumn" msprop:Generator_UserColumnName="IdxStato" type="xs:int" />
<xs:element name="IdxStruttura" msprop:Generator_ColumnVarNameInTable="columnIdxStruttura" msprop:Generator_ColumnPropNameInRow="IdxStruttura" msprop:Generator_ColumnPropNameInTable="IdxStrutturaColumn" msprop:Generator_UserColumnName="IdxStruttura" type="xs:int" />
<xs:element name="Note" msprop:Generator_ColumnVarNameInTable="columnNote" msprop:Generator_ColumnPropNameInRow="Note" msprop:Generator_ColumnPropNameInTable="NoteColumn" msprop:Generator_UserColumnName="Note">
@@ -3156,17 +3165,17 @@ FROM v_Prenotazioni</CommandText>
</xs:simpleType>
</xs:element>
<xs:element name="Tariffa" msprop:Generator_ColumnVarNameInTable="columnTariffa" msprop:Generator_ColumnPropNameInRow="Tariffa" msprop:Generator_ColumnPropNameInTable="TariffaColumn" msprop:Generator_UserColumnName="Tariffa" type="xs:decimal" minOccurs="0" />
<xs:element name="DescStato" msprop:Generator_ColumnVarNameInTable="columnDescStato" msprop:Generator_ColumnPropNameInRow="DescStato" msprop:Generator_ColumnPropNameInTable="DescStatoColumn" msprop:Generator_UserColumnName="DescStato">
<xs:element name="DescStato" msprop:Generator_ColumnVarNameInTable="columnDescStato" msprop:Generator_ColumnPropNameInRow="DescStato" msprop:Generator_ColumnPropNameInTable="DescStatoColumn" msprop:Generator_UserColumnName="DescStato" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
<xs:maxLength value="250" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="DescStruttura" msprop:Generator_ColumnVarNameInTable="columnDescStruttura" msprop:Generator_ColumnPropNameInRow="DescStruttura" msprop:Generator_ColumnPropNameInTable="DescStrutturaColumn" msprop:Generator_UserColumnName="DescStruttura">
<xs:element name="DescStruttura" msprop:Generator_ColumnVarNameInTable="columnDescStruttura" msprop:Generator_ColumnPropNameInRow="DescStruttura" msprop:Generator_ColumnPropNameInTable="DescStrutturaColumn" msprop:Generator_UserColumnName="DescStruttura" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
<xs:maxLength value="250" />
</xs:restriction>
</xs:simpleType>
</xs:element>
@@ -3249,6 +3258,7 @@ FROM v_Prenotazioni</CommandText>
<xs:field xpath="mstns:IdxPaziente" />
<xs:field xpath="mstns:DataVisita" />
<xs:field xpath="mstns:CodPres" />
<xs:field xpath="mstns:Num" />
</xs:unique>
</xs:element>
<xs:annotation>
@@ -3263,6 +3273,7 @@ FROM v_Prenotazioni</CommandText>
<msdata:Relationship name="VisVMD_AnagPazienti" msdata:parent="VisVMD" msdata:child="AnagPazienti" msdata:parentkey="IdxPaziente" msdata:childkey="IdxPaziente" msprop:Generator_UserChildTable="AnagPazienti" msprop:Generator_ChildPropName="GetAnagPazientiRows" msprop:Generator_UserRelationName="VisVMD_AnagPazienti" msprop:Generator_ParentPropName="VisVMDRow" msprop:Generator_RelationVarName="relationVisVMD_AnagPazienti" msprop:Generator_UserParentTable="VisVMD" />
<msdata:Relationship name="VisPAI_AnagPazienti" msdata:parent="VisPAI" msdata:child="AnagPazienti" msdata:parentkey="IdxPaziente" msdata:childkey="IdxPaziente" msprop:Generator_UserChildTable="AnagPazienti" msprop:Generator_ChildPropName="GetAnagPazientiRows" msprop:Generator_UserRelationName="VisPAI_AnagPazienti" msprop:Generator_ParentPropName="VisPAIRow" msprop:Generator_RelationVarName="relationVisPAI_AnagPazienti" msprop:Generator_UserParentTable="VisPAI" />
<msdata:Relationship name="VisPAI_Prest_VisPAI" msdata:parent="VisPAI_Prest" msdata:child="VisPAI" msdata:parentkey="IdxPaziente DataVisita" msdata:childkey="IdxPaziente DataVisita" msprop:Generator_UserChildTable="VisPAI" msprop:Generator_ChildPropName="GetVisPAIRows" msprop:Generator_UserRelationName="VisPAI_Prest_VisPAI" msprop:Generator_ParentPropName="VisPAI_PrestRowParent" msprop:Generator_RelationVarName="relationVisPAI_Prest_VisPAI" msprop:Generator_UserParentTable="VisPAI_Prest" />
<msdata:Relationship name="Prenotazioni_AnagPazienti" msdata:parent="Prenotazioni" msdata:child="AnagPazienti" msdata:parentkey="IdxPaziente" msdata:childkey="IdxPaziente" msprop:Generator_UserChildTable="AnagPazienti" msprop:Generator_ChildPropName="GetAnagPazientiRows" msprop:Generator_UserRelationName="Prenotazioni_AnagPazienti" msprop:Generator_RelationVarName="relationPrenotazioni_AnagPazienti" msprop:Generator_UserParentTable="Prenotazioni" msprop:Generator_ParentPropName="PrenotazioniRow" />
</xs:appinfo>
</xs:annotation>
</xs:schema>
+43 -27
View File
@@ -4,27 +4,27 @@
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="16" ViewPortY="51" 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="16" ViewPortY="1" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
<Shapes>
<Shape ID="DesignTable:AnagPazienti" ZOrder="13" X="680" Y="16" Height="457" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="306" />
<Shape ID="DesignTable:VisLab" ZOrder="17" X="326" Y="378" Height="457" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="306" />
<Shape ID="DesignTable:VisAnamCli" ZOrder="25" X="1100" Y="11" Height="457" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="306" />
<Shape ID="DesignTable:VisCardioPol" ZOrder="14" X="757" Y="617" Height="457" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="306" />
<Shape ID="DesignTable:VisRelazFin" ZOrder="20" X="371" Y="23" Height="296" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="145" />
<Shape ID="DesignTable:stp_rep_DatiFullByPazienteData" ZOrder="22" X="-5" Y="284" Height="365" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="306" />
<Shape ID="DesignTable:VisBioMecAnt" ZOrder="19" X="1078" Y="506" Height="457" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="306" />
<Shape ID="DesignTable:Pazienti2Labels" ZOrder="15" X="87" Y="653" Height="181" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="76" />
<Shape ID="DesignTable:ElencoVisite" ZOrder="4" X="773" Y="1104" Height="273" Width="252" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="214" />
<Shape ID="DesignTable:Patologie" ZOrder="12" X="7" Y="16" Height="204" Width="234" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="145" />
<Shape ID="DesignTable:VisPatoPaz" ZOrder="11" X="34" Y="884" Height="342" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="191" />
<Shape ID="DesignTable:VisVMD" ZOrder="9" X="375" Y="935" Height="457" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="306" />
<Shape ID="DesignTable:VisPAI" ZOrder="8" X="1091" Y="998" Height="388" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="237" />
<Shape ID="DesignTable:VisPAI_Prest" ZOrder="2" X="1099" Y="1416" Height="457" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="260" />
<Shape ID="DesignTable:AnagPrestaz" ZOrder="3" X="433" Y="1486" Height="365" Width="256" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="306" />
<Shape ID="DesignTable:Prenotazioni" ZOrder="1" X="769" Y="1409" Height="549" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="398" />
<Shape ID="DesignTable:AnagPazienti" ZOrder="14" X="680" Y="16" Height="457" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="306" />
<Shape ID="DesignTable:VisLab" ZOrder="18" X="326" Y="378" Height="457" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="306" />
<Shape ID="DesignTable:VisAnamCli" ZOrder="26" X="1100" Y="11" Height="457" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="306" />
<Shape ID="DesignTable:VisCardioPol" ZOrder="15" X="757" Y="617" Height="457" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="306" />
<Shape ID="DesignTable:VisRelazFin" ZOrder="21" X="371" Y="23" Height="296" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="145" />
<Shape ID="DesignTable:stp_rep_DatiFullByPazienteData" ZOrder="23" X="-5" Y="284" Height="365" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="306" />
<Shape ID="DesignTable:VisBioMecAnt" ZOrder="20" X="1078" Y="506" Height="457" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="306" />
<Shape ID="DesignTable:Pazienti2Labels" ZOrder="16" X="87" Y="653" Height="181" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="76" />
<Shape ID="DesignTable:ElencoVisite" ZOrder="5" X="773" Y="1104" Height="273" Width="252" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="214" />
<Shape ID="DesignTable:Patologie" ZOrder="13" X="7" Y="16" Height="204" Width="234" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="145" />
<Shape ID="DesignTable:VisPatoPaz" ZOrder="12" X="34" Y="884" Height="342" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="191" />
<Shape ID="DesignTable:VisVMD" ZOrder="10" X="375" Y="935" Height="457" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="306" />
<Shape ID="DesignTable:VisPAI" ZOrder="9" X="1091" Y="998" Height="388" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="237" />
<Shape ID="DesignTable:VisPAI_Prest" ZOrder="3" X="1099" Y="1416" Height="457" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="260" />
<Shape ID="DesignTable:AnagPrestaz" ZOrder="4" X="433" Y="1486" Height="365" Width="256" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="306" />
<Shape ID="DesignTable:Prenotazioni" ZOrder="2" X="769" Y="1409" Height="457" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="306" />
</Shapes>
<Connectors>
<Connector ID="DesignRelation:FK_VisClinGen_AnagPazienti" ZOrder="18" LineWidth="11">
<Connector ID="DesignRelation:FK_VisClinGen_AnagPazienti" ZOrder="19" LineWidth="11">
<RoutePoints>
<Point>
<X>680</X>
@@ -36,7 +36,7 @@
</Point>
</RoutePoints>
</Connector>
<Connector ID="DesignRelation:FK_VisAnamCli_AnagPazienti" ZOrder="26" LineWidth="11">
<Connector ID="DesignRelation:FK_VisAnamCli_AnagPazienti" ZOrder="27" LineWidth="11">
<RoutePoints>
<Point>
<X>980</X>
@@ -48,7 +48,7 @@
</Point>
</RoutePoints>
</Connector>
<Connector ID="DesignRelation:FK_VisCardioPol_AnagPazienti" ZOrder="24" LineWidth="11">
<Connector ID="DesignRelation:FK_VisCardioPol_AnagPazienti" ZOrder="25" LineWidth="11">
<RoutePoints>
<Point>
<X>842</X>
@@ -60,7 +60,7 @@
</Point>
</RoutePoints>
</Connector>
<Connector ID="DesignRelation:FK_VisRelazFin_AnagPazienti" ZOrder="23" LineWidth="11">
<Connector ID="DesignRelation:FK_VisRelazFin_AnagPazienti" ZOrder="24" LineWidth="11">
<RoutePoints>
<Point>
<X>680</X>
@@ -72,7 +72,7 @@
</Point>
</RoutePoints>
</Connector>
<Connector ID="DesignRelation:AnagPazienti_v_VisBioMecAnt" ZOrder="21" LineWidth="11">
<Connector ID="DesignRelation:AnagPazienti_v_VisBioMecAnt" ZOrder="22" LineWidth="11">
<RoutePoints>
<Point>
<X>980</X>
@@ -92,7 +92,7 @@
</Point>
</RoutePoints>
</Connector>
<Connector ID="DesignRelation:FK_Pazienti2Labels_AnagPazienti" ZOrder="16" LineWidth="11">
<Connector ID="DesignRelation:FK_Pazienti2Labels_AnagPazienti" ZOrder="17" LineWidth="11">
<RoutePoints>
<Point>
<X>721</X>
@@ -108,7 +108,7 @@
</Point>
</RoutePoints>
</Connector>
<Connector ID="DesignRelation:FK_VisPatoPaz_AnagPazienti" ZOrder="10" LineWidth="11">
<Connector ID="DesignRelation:FK_VisPatoPaz_AnagPazienti" ZOrder="11" LineWidth="11">
<RoutePoints>
<Point>
<X>729</X>
@@ -128,7 +128,7 @@
</Point>
</RoutePoints>
</Connector>
<Connector ID="DesignRelation:VisVMD_AnagPazienti" ZOrder="7" LineWidth="11">
<Connector ID="DesignRelation:VisVMD_AnagPazienti" ZOrder="8" LineWidth="11">
<RoutePoints>
<Point>
<X>658</X>
@@ -144,7 +144,7 @@
</Point>
</RoutePoints>
</Connector>
<Connector ID="DesignRelation:VisPAI_AnagPazienti" ZOrder="6" LineWidth="11">
<Connector ID="DesignRelation:VisPAI_AnagPazienti" ZOrder="7" LineWidth="11">
<RoutePoints>
<Point>
<X>1148</X>
@@ -160,7 +160,7 @@
</Point>
</RoutePoints>
</Connector>
<Connector ID="DesignRelation:VisPAI_Prest_VisPAI" ZOrder="5" LineWidth="11">
<Connector ID="DesignRelation:VisPAI_Prest_VisPAI" ZOrder="6" LineWidth="11">
<RoutePoints>
<Point>
<X>1336</X>
@@ -172,5 +172,21 @@
</Point>
</RoutePoints>
</Connector>
<Connector ID="DesignRelation:Prenotazioni_AnagPazienti" ZOrder="1" LineWidth="11">
<RoutePoints>
<Point>
<X>769</X>
<Y>1445</Y>
</Point>
<Point>
<X>722</X>
<Y>1445</Y>
</Point>
<Point>
<X>722</X>
<Y>473</Y>
</Point>
</RoutePoints>
</Connector>
</Connectors>
</DiagramLayout>