1057 lines
172 KiB
XML
1057 lines
172 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<xs:schema id="FPCASDataSet" targetNamespace="http://tempuri.org/FPCASDataSet.xsd" xmlns:mstns="http://tempuri.org/FPCASDataSet.xsd" xmlns="http://tempuri.org/FPCASDataSet.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
|
|
<xs:annotation>
|
|
<xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
|
|
<DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" GeneratorFunctionsComponentClassName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" UserFunctionsComponentName="QueriesTableAdapter" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
|
|
<Connections>
|
|
<Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="FPCASConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="FPCASConnectionString (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.Louis__Pharmacy_CNSA212_FP.Properties.Settings.GlobalReference.Default.FPCASConnectionString" Provider="System.Data.SqlClient" />
|
|
</Connections>
|
|
<Tables>
|
|
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="PatientsTableAdapter" GeneratorDataComponentClassName="PatientsTableAdapter" Name="Patients" UserDataComponentName="PatientsTableAdapter">
|
|
<MainSource>
|
|
<DbSource ConnectionRef="FPCASConnectionString (Settings)" DbObjectName="FPCAS.dbo.Patients" 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].[Patients] WHERE (([patientID] = @Original_patientID) AND ((@IsNull_gender = 1 AND [gender] IS NULL) OR ([gender] = @Original_gender)) AND ((@IsNull_fName = 1 AND [fName] IS NULL) OR ([fName] = @Original_fName)) AND ((@IsNull_midInit = 1 AND [midInit] IS NULL) OR ([midInit] = @Original_midInit)) AND ((@IsNull_lName = 1 AND [lName] IS NULL) OR ([lName] = @Original_lName)) AND ((@IsNull_homePhone = 1 AND [homePhone] IS NULL) OR ([homePhone] = @Original_homePhone)) AND ((@IsNull_workPhone = 1 AND [workPhone] IS NULL) OR ([workPhone] = @Original_workPhone)) AND ((@IsNull_otherPhone = 1 AND [otherPhone] IS NULL) OR ([otherPhone] = @Original_otherPhone)) AND ((@IsNull_homeEmail = 1 AND [homeEmail] IS NULL) OR ([homeEmail] = @Original_homeEmail)) AND ((@IsNull_workEmail = 1 AND [workEmail] IS NULL) OR ([workEmail] = @Original_workEmail)) AND ((@IsNull_otherEmail = 1 AND [otherEmail] IS NULL) OR ([otherEmail] = @Original_otherEmail)) AND ((@IsNull_street1 = 1 AND [street1] IS NULL) OR ([street1] = @Original_street1)) AND ((@IsNull_street2 = 1 AND [street2] IS NULL) OR ([street2] = @Original_street2)) AND ((@IsNull_city = 1 AND [city] IS NULL) OR ([city] = @Original_city)) AND ((@IsNull_locale = 1 AND [locale] IS NULL) OR ([locale] = @Original_locale)) AND ((@IsNull_zipCode = 1 AND [zipCode] IS NULL) OR ([zipCode] = @Original_zipCode)) AND ((@IsNull_Balance = 1 AND [Balance] IS NULL) OR ([Balance] = @Original_Balance)))</CommandText>
|
|
<Parameters>
|
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_patientID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="patientID" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_gender" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="gender" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_gender" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="gender" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_fName" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="fName" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_fName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="fName" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_midInit" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="midInit" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_midInit" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="midInit" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_lName" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="lName" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_lName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="lName" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_homePhone" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="homePhone" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_homePhone" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="homePhone" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_workPhone" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="workPhone" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_workPhone" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="workPhone" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_otherPhone" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="otherPhone" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_otherPhone" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="otherPhone" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_homeEmail" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="homeEmail" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_homeEmail" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="homeEmail" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_workEmail" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="workEmail" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_workEmail" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="workEmail" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_otherEmail" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="otherEmail" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_otherEmail" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="otherEmail" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_street1" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="street1" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_street1" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="street1" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_street2" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="street2" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_street2" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="street2" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_city" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="city" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_city" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="city" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_locale" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="locale" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_locale" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="locale" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_zipCode" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="zipCode" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_zipCode" Precision="5" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="zipCode" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Balance" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Balance" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_Balance" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="Balance" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
</Parameters>
|
|
</DbCommand>
|
|
</DeleteCommand>
|
|
<InsertCommand>
|
|
<DbCommand CommandType="Text" ModifiedByUser="false">
|
|
<CommandText>INSERT INTO [dbo].[Patients] ([patientID], [gender], [fName], [midInit], [lName], [homePhone], [workPhone], [otherPhone], [homeEmail], [workEmail], [otherEmail], [street1], [street2], [city], [locale], [zipCode], [Balance]) VALUES (@patientID, @gender, @fName, @midInit, @lName, @homePhone, @workPhone, @otherPhone, @homeEmail, @workEmail, @otherEmail, @street1, @street2, @city, @locale, @zipCode, @Balance);
|
|
SELECT patientID, gender, fName, midInit, lName, homePhone, workPhone, otherPhone, homeEmail, workEmail, otherEmail, street1, street2, city, locale, zipCode, Balance FROM Patients WHERE (patientID = @patientID)</CommandText>
|
|
<Parameters>
|
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@patientID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="patientID" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@gender" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="gender" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@fName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="fName" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@midInit" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="midInit" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@lName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="lName" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@homePhone" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="homePhone" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@workPhone" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="workPhone" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@otherPhone" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="otherPhone" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@homeEmail" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="homeEmail" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@workEmail" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="workEmail" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@otherEmail" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="otherEmail" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@street1" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="street1" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@street2" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="street2" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@city" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="city" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@locale" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="locale" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@zipCode" Precision="5" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="zipCode" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Balance" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="Balance" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
</Parameters>
|
|
</DbCommand>
|
|
</InsertCommand>
|
|
<SelectCommand>
|
|
<DbCommand CommandType="Text" ModifiedByUser="false">
|
|
<CommandText>SELECT patientID, gender, fName, midInit, lName, homePhone, workPhone, otherPhone, homeEmail, workEmail, otherEmail, street1, street2, city, locale, zipCode, Balance FROM dbo.Patients</CommandText>
|
|
<Parameters />
|
|
</DbCommand>
|
|
</SelectCommand>
|
|
<UpdateCommand>
|
|
<DbCommand CommandType="Text" ModifiedByUser="false">
|
|
<CommandText>UPDATE [dbo].[Patients] SET [patientID] = @patientID, [gender] = @gender, [fName] = @fName, [midInit] = @midInit, [lName] = @lName, [homePhone] = @homePhone, [workPhone] = @workPhone, [otherPhone] = @otherPhone, [homeEmail] = @homeEmail, [workEmail] = @workEmail, [otherEmail] = @otherEmail, [street1] = @street1, [street2] = @street2, [city] = @city, [locale] = @locale, [zipCode] = @zipCode, [Balance] = @Balance WHERE (([patientID] = @Original_patientID) AND ((@IsNull_gender = 1 AND [gender] IS NULL) OR ([gender] = @Original_gender)) AND ((@IsNull_fName = 1 AND [fName] IS NULL) OR ([fName] = @Original_fName)) AND ((@IsNull_midInit = 1 AND [midInit] IS NULL) OR ([midInit] = @Original_midInit)) AND ((@IsNull_lName = 1 AND [lName] IS NULL) OR ([lName] = @Original_lName)) AND ((@IsNull_homePhone = 1 AND [homePhone] IS NULL) OR ([homePhone] = @Original_homePhone)) AND ((@IsNull_workPhone = 1 AND [workPhone] IS NULL) OR ([workPhone] = @Original_workPhone)) AND ((@IsNull_otherPhone = 1 AND [otherPhone] IS NULL) OR ([otherPhone] = @Original_otherPhone)) AND ((@IsNull_homeEmail = 1 AND [homeEmail] IS NULL) OR ([homeEmail] = @Original_homeEmail)) AND ((@IsNull_workEmail = 1 AND [workEmail] IS NULL) OR ([workEmail] = @Original_workEmail)) AND ((@IsNull_otherEmail = 1 AND [otherEmail] IS NULL) OR ([otherEmail] = @Original_otherEmail)) AND ((@IsNull_street1 = 1 AND [street1] IS NULL) OR ([street1] = @Original_street1)) AND ((@IsNull_street2 = 1 AND [street2] IS NULL) OR ([street2] = @Original_street2)) AND ((@IsNull_city = 1 AND [city] IS NULL) OR ([city] = @Original_city)) AND ((@IsNull_locale = 1 AND [locale] IS NULL) OR ([locale] = @Original_locale)) AND ((@IsNull_zipCode = 1 AND [zipCode] IS NULL) OR ([zipCode] = @Original_zipCode)) AND ((@IsNull_Balance = 1 AND [Balance] IS NULL) OR ([Balance] = @Original_Balance)));
|
|
SELECT patientID, gender, fName, midInit, lName, homePhone, workPhone, otherPhone, homeEmail, workEmail, otherEmail, street1, street2, city, locale, zipCode, Balance FROM Patients WHERE (patientID = @patientID)</CommandText>
|
|
<Parameters>
|
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@patientID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="patientID" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@gender" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="gender" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@fName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="fName" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@midInit" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="midInit" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@lName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="lName" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@homePhone" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="homePhone" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@workPhone" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="workPhone" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@otherPhone" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="otherPhone" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@homeEmail" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="homeEmail" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@workEmail" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="workEmail" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@otherEmail" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="otherEmail" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@street1" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="street1" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@street2" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="street2" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@city" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="city" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@locale" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="locale" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@zipCode" Precision="5" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="zipCode" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Balance" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="Balance" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_patientID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="patientID" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_gender" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="gender" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_gender" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="gender" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_fName" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="fName" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_fName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="fName" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_midInit" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="midInit" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_midInit" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="midInit" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_lName" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="lName" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_lName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="lName" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_homePhone" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="homePhone" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_homePhone" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="homePhone" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_workPhone" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="workPhone" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_workPhone" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="workPhone" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_otherPhone" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="otherPhone" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_otherPhone" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="otherPhone" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_homeEmail" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="homeEmail" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_homeEmail" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="homeEmail" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_workEmail" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="workEmail" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_workEmail" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="workEmail" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_otherEmail" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="otherEmail" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_otherEmail" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="otherEmail" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_street1" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="street1" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_street1" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="street1" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_street2" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="street2" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_street2" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="street2" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_city" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="city" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_city" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="city" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_locale" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="locale" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_locale" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="locale" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_zipCode" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="zipCode" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_zipCode" Precision="5" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="zipCode" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Balance" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Balance" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_Balance" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="Balance" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
</Parameters>
|
|
</DbCommand>
|
|
</UpdateCommand>
|
|
</DbSource>
|
|
</MainSource>
|
|
<Mappings>
|
|
<Mapping SourceColumn="patientID" DataSetColumn="patientID" />
|
|
<Mapping SourceColumn="gender" DataSetColumn="gender" />
|
|
<Mapping SourceColumn="fName" DataSetColumn="fName" />
|
|
<Mapping SourceColumn="midInit" DataSetColumn="midInit" />
|
|
<Mapping SourceColumn="lName" DataSetColumn="lName" />
|
|
<Mapping SourceColumn="homePhone" DataSetColumn="homePhone" />
|
|
<Mapping SourceColumn="workPhone" DataSetColumn="workPhone" />
|
|
<Mapping SourceColumn="otherPhone" DataSetColumn="otherPhone" />
|
|
<Mapping SourceColumn="homeEmail" DataSetColumn="homeEmail" />
|
|
<Mapping SourceColumn="workEmail" DataSetColumn="workEmail" />
|
|
<Mapping SourceColumn="otherEmail" DataSetColumn="otherEmail" />
|
|
<Mapping SourceColumn="street1" DataSetColumn="street1" />
|
|
<Mapping SourceColumn="street2" DataSetColumn="street2" />
|
|
<Mapping SourceColumn="city" DataSetColumn="city" />
|
|
<Mapping SourceColumn="locale" DataSetColumn="locale" />
|
|
<Mapping SourceColumn="zipCode" DataSetColumn="zipCode" />
|
|
<Mapping SourceColumn="Balance" DataSetColumn="Balance" />
|
|
</Mappings>
|
|
<Sources />
|
|
</TableAdapter>
|
|
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="paymentsTableAdapter" GeneratorDataComponentClassName="paymentsTableAdapter" Name="payments" UserDataComponentName="paymentsTableAdapter">
|
|
<MainSource>
|
|
<DbSource ConnectionRef="FPCASConnectionString (Settings)" DbObjectName="FPCAS.dbo.payments" 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].[payments] WHERE (([paymentID] = @Original_paymentID) AND ((@IsNull_payAmount = 1 AND [payAmount] IS NULL) OR ([payAmount] = @Original_payAmount)) AND ((@IsNull_paymentMethod = 1 AND [paymentMethod] IS NULL) OR ([paymentMethod] = @Original_paymentMethod)) AND ((@IsNull_patientID = 1 AND [patientID] IS NULL) OR ([patientID] = @Original_patientID)))</CommandText>
|
|
<Parameters>
|
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_paymentID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="paymentID" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_payAmount" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="payAmount" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_payAmount" Precision="30" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="payAmount" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_paymentMethod" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="paymentMethod" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_paymentMethod" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="paymentMethod" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_patientID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="patientID" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_patientID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="patientID" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
</Parameters>
|
|
</DbCommand>
|
|
</DeleteCommand>
|
|
<InsertCommand>
|
|
<DbCommand CommandType="Text" ModifiedByUser="false">
|
|
<CommandText>INSERT INTO [dbo].[payments] ([paymentID], [payAmount], [paymentMethod], [patientID]) VALUES (@paymentID, @payAmount, @paymentMethod, @patientID);
|
|
SELECT paymentID, payAmount, paymentMethod, patientID FROM payments WHERE (paymentID = @paymentID)</CommandText>
|
|
<Parameters>
|
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@paymentID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="paymentID" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@payAmount" Precision="30" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="payAmount" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@paymentMethod" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="paymentMethod" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@patientID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="patientID" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
</Parameters>
|
|
</DbCommand>
|
|
</InsertCommand>
|
|
<SelectCommand>
|
|
<DbCommand CommandType="Text" ModifiedByUser="false">
|
|
<CommandText>SELECT paymentID, payAmount, paymentMethod, patientID FROM dbo.payments</CommandText>
|
|
<Parameters />
|
|
</DbCommand>
|
|
</SelectCommand>
|
|
<UpdateCommand>
|
|
<DbCommand CommandType="Text" ModifiedByUser="false">
|
|
<CommandText>UPDATE [dbo].[payments] SET [paymentID] = @paymentID, [payAmount] = @payAmount, [paymentMethod] = @paymentMethod, [patientID] = @patientID WHERE (([paymentID] = @Original_paymentID) AND ((@IsNull_payAmount = 1 AND [payAmount] IS NULL) OR ([payAmount] = @Original_payAmount)) AND ((@IsNull_paymentMethod = 1 AND [paymentMethod] IS NULL) OR ([paymentMethod] = @Original_paymentMethod)) AND ((@IsNull_patientID = 1 AND [patientID] IS NULL) OR ([patientID] = @Original_patientID)));
|
|
SELECT paymentID, payAmount, paymentMethod, patientID FROM payments WHERE (paymentID = @paymentID)</CommandText>
|
|
<Parameters>
|
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@paymentID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="paymentID" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@payAmount" Precision="30" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="payAmount" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@paymentMethod" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="paymentMethod" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@patientID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="patientID" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_paymentID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="paymentID" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_payAmount" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="payAmount" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_payAmount" Precision="30" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="payAmount" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_paymentMethod" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="paymentMethod" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_paymentMethod" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="paymentMethod" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_patientID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="patientID" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_patientID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="patientID" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
</Parameters>
|
|
</DbCommand>
|
|
</UpdateCommand>
|
|
</DbSource>
|
|
</MainSource>
|
|
<Mappings>
|
|
<Mapping SourceColumn="paymentID" DataSetColumn="paymentID" />
|
|
<Mapping SourceColumn="payAmount" DataSetColumn="payAmount" />
|
|
<Mapping SourceColumn="paymentMethod" DataSetColumn="paymentMethod" />
|
|
<Mapping SourceColumn="patientID" DataSetColumn="patientID" />
|
|
</Mappings>
|
|
<Sources />
|
|
</TableAdapter>
|
|
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="PhysiciansTableAdapter" GeneratorDataComponentClassName="PhysiciansTableAdapter" Name="Physicians" UserDataComponentName="PhysiciansTableAdapter">
|
|
<MainSource>
|
|
<DbSource ConnectionRef="FPCASConnectionString (Settings)" DbObjectName="FPCAS.dbo.Physicians" 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].[Physicians] WHERE (([phID] = @Original_phID) AND ((@IsNull_gender = 1 AND [gender] IS NULL) OR ([gender] = @Original_gender)) AND ((@IsNull_fName = 1 AND [fName] IS NULL) OR ([fName] = @Original_fName)) AND ((@IsNull_midInit = 1 AND [midInit] IS NULL) OR ([midInit] = @Original_midInit)) AND ((@IsNull_lName = 1 AND [lName] IS NULL) OR ([lName] = @Original_lName)) AND ((@IsNull_homePhone = 1 AND [homePhone] IS NULL) OR ([homePhone] = @Original_homePhone)) AND ((@IsNull_workPhone = 1 AND [workPhone] IS NULL) OR ([workPhone] = @Original_workPhone)) AND ((@IsNull_otherPhone = 1 AND [otherPhone] IS NULL) OR ([otherPhone] = @Original_otherPhone)) AND ((@IsNull_AOE1 = 1 AND [AOE1] IS NULL) OR ([AOE1] = @Original_AOE1)) AND ((@IsNull_AOE2 = 1 AND [AOE2] IS NULL) OR ([AOE2] = @Original_AOE2)) AND ((@IsNull_AOE3 = 1 AND [AOE3] IS NULL) OR ([AOE3] = @Original_AOE3)) AND ((@IsNull_AOE4 = 1 AND [AOE4] IS NULL) OR ([AOE4] = @Original_AOE4)) AND ((@IsNull_AOE5 = 1 AND [AOE5] IS NULL) OR ([AOE5] = @Original_AOE5)) AND ((@IsNull_AOE6 = 1 AND [AOE6] IS NULL) OR ([AOE6] = @Original_AOE6)) AND ((@IsNull_homeEmail = 1 AND [homeEmail] IS NULL) OR ([homeEmail] = @Original_homeEmail)) AND ((@IsNull_workEmail = 1 AND [workEmail] IS NULL) OR ([workEmail] = @Original_workEmail)) AND ((@IsNull_otherEmail = 1 AND [otherEmail] IS NULL) OR ([otherEmail] = @Original_otherEmail)) AND ((@IsNull_salary = 1 AND [salary] IS NULL) OR ([salary] = @Original_salary)) AND ((@IsNull_street1 = 1 AND [street1] IS NULL) OR ([street1] = @Original_street1)) AND ((@IsNull_street2 = 1 AND [street2] IS NULL) OR ([street2] = @Original_street2)) AND ((@IsNull_city = 1 AND [city] IS NULL) OR ([city] = @Original_city)) AND ((@IsNull_locale = 1 AND [locale] IS NULL) OR ([locale] = @Original_locale)) AND ((@IsNull_zipCode = 1 AND [zipCode] IS NULL) OR ([zipCode] = @Original_zipCode)))</CommandText>
|
|
<Parameters>
|
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_phID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="phID" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_gender" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="gender" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_gender" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="gender" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_fName" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="fName" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_fName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="fName" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_midInit" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="midInit" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_midInit" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="midInit" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_lName" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="lName" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_lName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="lName" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_homePhone" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="homePhone" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_homePhone" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="homePhone" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_workPhone" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="workPhone" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_workPhone" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="workPhone" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_otherPhone" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="otherPhone" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_otherPhone" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="otherPhone" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_AOE1" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="AOE1" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_AOE1" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="AOE1" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_AOE2" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="AOE2" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_AOE2" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="AOE2" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_AOE3" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="AOE3" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_AOE3" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="AOE3" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_AOE4" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="AOE4" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_AOE4" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="AOE4" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_AOE5" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="AOE5" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_AOE5" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="AOE5" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_AOE6" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="AOE6" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_AOE6" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="AOE6" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_homeEmail" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="homeEmail" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_homeEmail" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="homeEmail" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_workEmail" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="workEmail" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_workEmail" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="workEmail" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_otherEmail" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="otherEmail" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_otherEmail" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="otherEmail" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_salary" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="salary" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_salary" Precision="20" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="salary" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_street1" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="street1" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_street1" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="street1" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_street2" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="street2" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_street2" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="street2" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_city" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="city" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_city" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="city" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_locale" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="locale" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_locale" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="locale" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_zipCode" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="zipCode" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_zipCode" Precision="5" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="zipCode" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
</Parameters>
|
|
</DbCommand>
|
|
</DeleteCommand>
|
|
<InsertCommand>
|
|
<DbCommand CommandType="Text" ModifiedByUser="false">
|
|
<CommandText>INSERT INTO [dbo].[Physicians] ([phID], [gender], [fName], [midInit], [lName], [homePhone], [workPhone], [otherPhone], [AOE1], [AOE2], [AOE3], [AOE4], [AOE5], [AOE6], [homeEmail], [workEmail], [otherEmail], [salary], [street1], [street2], [city], [locale], [zipCode]) VALUES (@phID, @gender, @fName, @midInit, @lName, @homePhone, @workPhone, @otherPhone, @AOE1, @AOE2, @AOE3, @AOE4, @AOE5, @AOE6, @homeEmail, @workEmail, @otherEmail, @salary, @street1, @street2, @city, @locale, @zipCode);
|
|
SELECT phID, gender, fName, midInit, lName, homePhone, workPhone, otherPhone, AOE1, AOE2, AOE3, AOE4, AOE5, AOE6, homeEmail, workEmail, otherEmail, salary, street1, street2, city, locale, zipCode FROM Physicians WHERE (phID = @phID)</CommandText>
|
|
<Parameters>
|
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@phID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="phID" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@gender" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="gender" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@fName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="fName" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@midInit" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="midInit" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@lName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="lName" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@homePhone" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="homePhone" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@workPhone" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="workPhone" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@otherPhone" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="otherPhone" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@AOE1" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="AOE1" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@AOE2" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="AOE2" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@AOE3" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="AOE3" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@AOE4" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="AOE4" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@AOE5" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="AOE5" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@AOE6" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="AOE6" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@homeEmail" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="homeEmail" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@workEmail" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="workEmail" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@otherEmail" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="otherEmail" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@salary" Precision="20" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="salary" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@street1" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="street1" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@street2" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="street2" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@city" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="city" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@locale" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="locale" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@zipCode" Precision="5" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="zipCode" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
</Parameters>
|
|
</DbCommand>
|
|
</InsertCommand>
|
|
<SelectCommand>
|
|
<DbCommand CommandType="Text" ModifiedByUser="false">
|
|
<CommandText>SELECT phID, gender, fName, midInit, lName, homePhone, workPhone, otherPhone, AOE1, AOE2, AOE3, AOE4, AOE5, AOE6, homeEmail, workEmail, otherEmail, salary, street1, street2, city, locale, zipCode FROM dbo.Physicians</CommandText>
|
|
<Parameters />
|
|
</DbCommand>
|
|
</SelectCommand>
|
|
<UpdateCommand>
|
|
<DbCommand CommandType="Text" ModifiedByUser="false">
|
|
<CommandText>UPDATE [dbo].[Physicians] SET [phID] = @phID, [gender] = @gender, [fName] = @fName, [midInit] = @midInit, [lName] = @lName, [homePhone] = @homePhone, [workPhone] = @workPhone, [otherPhone] = @otherPhone, [AOE1] = @AOE1, [AOE2] = @AOE2, [AOE3] = @AOE3, [AOE4] = @AOE4, [AOE5] = @AOE5, [AOE6] = @AOE6, [homeEmail] = @homeEmail, [workEmail] = @workEmail, [otherEmail] = @otherEmail, [salary] = @salary, [street1] = @street1, [street2] = @street2, [city] = @city, [locale] = @locale, [zipCode] = @zipCode WHERE (([phID] = @Original_phID) AND ((@IsNull_gender = 1 AND [gender] IS NULL) OR ([gender] = @Original_gender)) AND ((@IsNull_fName = 1 AND [fName] IS NULL) OR ([fName] = @Original_fName)) AND ((@IsNull_midInit = 1 AND [midInit] IS NULL) OR ([midInit] = @Original_midInit)) AND ((@IsNull_lName = 1 AND [lName] IS NULL) OR ([lName] = @Original_lName)) AND ((@IsNull_homePhone = 1 AND [homePhone] IS NULL) OR ([homePhone] = @Original_homePhone)) AND ((@IsNull_workPhone = 1 AND [workPhone] IS NULL) OR ([workPhone] = @Original_workPhone)) AND ((@IsNull_otherPhone = 1 AND [otherPhone] IS NULL) OR ([otherPhone] = @Original_otherPhone)) AND ((@IsNull_AOE1 = 1 AND [AOE1] IS NULL) OR ([AOE1] = @Original_AOE1)) AND ((@IsNull_AOE2 = 1 AND [AOE2] IS NULL) OR ([AOE2] = @Original_AOE2)) AND ((@IsNull_AOE3 = 1 AND [AOE3] IS NULL) OR ([AOE3] = @Original_AOE3)) AND ((@IsNull_AOE4 = 1 AND [AOE4] IS NULL) OR ([AOE4] = @Original_AOE4)) AND ((@IsNull_AOE5 = 1 AND [AOE5] IS NULL) OR ([AOE5] = @Original_AOE5)) AND ((@IsNull_AOE6 = 1 AND [AOE6] IS NULL) OR ([AOE6] = @Original_AOE6)) AND ((@IsNull_homeEmail = 1 AND [homeEmail] IS NULL) OR ([homeEmail] = @Original_homeEmail)) AND ((@IsNull_workEmail = 1 AND [workEmail] IS NULL) OR ([workEmail] = @Original_workEmail)) AND ((@IsNull_otherEmail = 1 AND [otherEmail] IS NULL) OR ([otherEmail] = @Original_otherEmail)) AND ((@IsNull_salary = 1 AND [salary] IS NULL) OR ([salary] = @Original_salary)) AND ((@IsNull_street1 = 1 AND [street1] IS NULL) OR ([street1] = @Original_street1)) AND ((@IsNull_street2 = 1 AND [street2] IS NULL) OR ([street2] = @Original_street2)) AND ((@IsNull_city = 1 AND [city] IS NULL) OR ([city] = @Original_city)) AND ((@IsNull_locale = 1 AND [locale] IS NULL) OR ([locale] = @Original_locale)) AND ((@IsNull_zipCode = 1 AND [zipCode] IS NULL) OR ([zipCode] = @Original_zipCode)));
|
|
SELECT phID, gender, fName, midInit, lName, homePhone, workPhone, otherPhone, AOE1, AOE2, AOE3, AOE4, AOE5, AOE6, homeEmail, workEmail, otherEmail, salary, street1, street2, city, locale, zipCode FROM Physicians WHERE (phID = @phID)</CommandText>
|
|
<Parameters>
|
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@phID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="phID" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@gender" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="gender" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@fName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="fName" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@midInit" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="midInit" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@lName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="lName" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@homePhone" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="homePhone" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@workPhone" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="workPhone" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@otherPhone" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="otherPhone" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@AOE1" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="AOE1" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@AOE2" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="AOE2" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@AOE3" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="AOE3" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@AOE4" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="AOE4" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@AOE5" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="AOE5" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@AOE6" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="AOE6" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@homeEmail" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="homeEmail" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@workEmail" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="workEmail" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@otherEmail" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="otherEmail" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@salary" Precision="20" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="salary" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@street1" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="street1" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@street2" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="street2" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@city" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="city" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@locale" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="locale" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@zipCode" Precision="5" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="zipCode" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_phID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="phID" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_gender" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="gender" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_gender" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="gender" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_fName" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="fName" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_fName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="fName" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_midInit" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="midInit" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_midInit" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="midInit" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_lName" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="lName" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_lName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="lName" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_homePhone" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="homePhone" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_homePhone" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="homePhone" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_workPhone" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="workPhone" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_workPhone" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="workPhone" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_otherPhone" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="otherPhone" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_otherPhone" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="otherPhone" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_AOE1" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="AOE1" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_AOE1" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="AOE1" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_AOE2" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="AOE2" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_AOE2" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="AOE2" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_AOE3" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="AOE3" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_AOE3" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="AOE3" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_AOE4" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="AOE4" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_AOE4" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="AOE4" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_AOE5" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="AOE5" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_AOE5" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="AOE5" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_AOE6" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="AOE6" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_AOE6" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="AOE6" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_homeEmail" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="homeEmail" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_homeEmail" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="homeEmail" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_workEmail" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="workEmail" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_workEmail" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="workEmail" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_otherEmail" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="otherEmail" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_otherEmail" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="otherEmail" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_salary" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="salary" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_salary" Precision="20" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="salary" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_street1" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="street1" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_street1" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="street1" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_street2" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="street2" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_street2" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="street2" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_city" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="city" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_city" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="city" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_locale" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="locale" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_locale" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="locale" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_zipCode" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="zipCode" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_zipCode" Precision="5" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="zipCode" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
</Parameters>
|
|
</DbCommand>
|
|
</UpdateCommand>
|
|
</DbSource>
|
|
</MainSource>
|
|
<Mappings>
|
|
<Mapping SourceColumn="phID" DataSetColumn="phID" />
|
|
<Mapping SourceColumn="gender" DataSetColumn="gender" />
|
|
<Mapping SourceColumn="fName" DataSetColumn="fName" />
|
|
<Mapping SourceColumn="midInit" DataSetColumn="midInit" />
|
|
<Mapping SourceColumn="lName" DataSetColumn="lName" />
|
|
<Mapping SourceColumn="homePhone" DataSetColumn="homePhone" />
|
|
<Mapping SourceColumn="workPhone" DataSetColumn="workPhone" />
|
|
<Mapping SourceColumn="otherPhone" DataSetColumn="otherPhone" />
|
|
<Mapping SourceColumn="AOE1" DataSetColumn="AOE1" />
|
|
<Mapping SourceColumn="AOE2" DataSetColumn="AOE2" />
|
|
<Mapping SourceColumn="AOE3" DataSetColumn="AOE3" />
|
|
<Mapping SourceColumn="AOE4" DataSetColumn="AOE4" />
|
|
<Mapping SourceColumn="AOE5" DataSetColumn="AOE5" />
|
|
<Mapping SourceColumn="AOE6" DataSetColumn="AOE6" />
|
|
<Mapping SourceColumn="homeEmail" DataSetColumn="homeEmail" />
|
|
<Mapping SourceColumn="workEmail" DataSetColumn="workEmail" />
|
|
<Mapping SourceColumn="otherEmail" DataSetColumn="otherEmail" />
|
|
<Mapping SourceColumn="salary" DataSetColumn="salary" />
|
|
<Mapping SourceColumn="street1" DataSetColumn="street1" />
|
|
<Mapping SourceColumn="street2" DataSetColumn="street2" />
|
|
<Mapping SourceColumn="city" DataSetColumn="city" />
|
|
<Mapping SourceColumn="locale" DataSetColumn="locale" />
|
|
<Mapping SourceColumn="zipCode" DataSetColumn="zipCode" />
|
|
</Mappings>
|
|
<Sources />
|
|
</TableAdapter>
|
|
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="VisitsTableAdapter" GeneratorDataComponentClassName="VisitsTableAdapter" Name="Visits" UserDataComponentName="VisitsTableAdapter">
|
|
<MainSource>
|
|
<DbSource ConnectionRef="FPCASConnectionString (Settings)" DbObjectName="FPCAS.dbo.Visits" 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].[Visits] WHERE (([visitID] = @Original_visitID) AND ((@IsNull_patientID = 1 AND [patientID] IS NULL) OR ([patientID] = @Original_patientID)) AND ((@IsNull_visitTime = 1 AND [visitTime] IS NULL) OR ([visitTime] = @Original_visitTime)) AND ((@IsNull_patientDueAmt = 1 AND [patientDueAmt] IS NULL) OR ([patientDueAmt] = @Original_patientDueAmt)) AND ((@IsNull_phID = 1 AND [phID] IS NULL) OR ([phID] = @Original_phID)) AND ((@IsNull_Diagnosis1 = 1 AND [Diagnosis1] IS NULL) OR ([Diagnosis1] = @Original_Diagnosis1)) AND ((@IsNull_Diagnosis2 = 1 AND [Diagnosis2] IS NULL) OR ([Diagnosis2] = @Original_Diagnosis2)) AND ((@IsNull_Diagnosis3 = 1 AND [Diagnosis3] IS NULL) OR ([Diagnosis3] = @Original_Diagnosis3)) AND ((@IsNull_Diagnosis4 = 1 AND [Diagnosis4] IS NULL) OR ([Diagnosis4] = @Original_Diagnosis4)) AND ((@IsNull_Diagnosis5 = 1 AND [Diagnosis5] IS NULL) OR ([Diagnosis5] = @Original_Diagnosis5)) AND ((@IsNull_Diagnosis6 = 1 AND [Diagnosis6] IS NULL) OR ([Diagnosis6] = @Original_Diagnosis6)))</CommandText>
|
|
<Parameters>
|
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_visitID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="visitID" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_patientID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="patientID" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_patientID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="patientID" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_visitTime" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="visitTime" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_visitTime" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="visitTime" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_patientDueAmt" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="patientDueAmt" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_patientDueAmt" Precision="15" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="patientDueAmt" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_phID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="phID" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_phID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="phID" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Diagnosis1" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Diagnosis1" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Diagnosis1" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Diagnosis1" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Diagnosis2" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Diagnosis2" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Diagnosis2" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Diagnosis2" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Diagnosis3" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Diagnosis3" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Diagnosis3" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Diagnosis3" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Diagnosis4" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Diagnosis4" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Diagnosis4" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Diagnosis4" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Diagnosis5" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Diagnosis5" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Diagnosis5" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Diagnosis5" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Diagnosis6" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Diagnosis6" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Diagnosis6" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Diagnosis6" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
</Parameters>
|
|
</DbCommand>
|
|
</DeleteCommand>
|
|
<InsertCommand>
|
|
<DbCommand CommandType="Text" ModifiedByUser="false">
|
|
<CommandText>INSERT INTO [dbo].[Visits] ([visitID], [patientID], [visitTime], [patientDueAmt], [phID], [Diagnosis1], [Diagnosis2], [Diagnosis3], [Diagnosis4], [Diagnosis5], [Diagnosis6]) VALUES (@visitID, @patientID, @visitTime, @patientDueAmt, @phID, @Diagnosis1, @Diagnosis2, @Diagnosis3, @Diagnosis4, @Diagnosis5, @Diagnosis6);
|
|
SELECT visitID, patientID, visitTime, patientDueAmt, phID, Diagnosis1, Diagnosis2, Diagnosis3, Diagnosis4, Diagnosis5, Diagnosis6 FROM Visits WHERE (visitID = @visitID)</CommandText>
|
|
<Parameters>
|
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@visitID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="visitID" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@patientID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="patientID" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@visitTime" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="visitTime" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@patientDueAmt" Precision="15" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="patientDueAmt" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@phID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="phID" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Diagnosis1" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Diagnosis1" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Diagnosis2" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Diagnosis2" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Diagnosis3" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Diagnosis3" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Diagnosis4" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Diagnosis4" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Diagnosis5" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Diagnosis5" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Diagnosis6" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Diagnosis6" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
</Parameters>
|
|
</DbCommand>
|
|
</InsertCommand>
|
|
<SelectCommand>
|
|
<DbCommand CommandType="Text" ModifiedByUser="false">
|
|
<CommandText>SELECT visitID, patientID, visitTime, patientDueAmt, phID, Diagnosis1, Diagnosis2, Diagnosis3, Diagnosis4, Diagnosis5, Diagnosis6 FROM dbo.Visits</CommandText>
|
|
<Parameters />
|
|
</DbCommand>
|
|
</SelectCommand>
|
|
<UpdateCommand>
|
|
<DbCommand CommandType="Text" ModifiedByUser="false">
|
|
<CommandText>UPDATE [dbo].[Visits] SET [visitID] = @visitID, [patientID] = @patientID, [visitTime] = @visitTime, [patientDueAmt] = @patientDueAmt, [phID] = @phID, [Diagnosis1] = @Diagnosis1, [Diagnosis2] = @Diagnosis2, [Diagnosis3] = @Diagnosis3, [Diagnosis4] = @Diagnosis4, [Diagnosis5] = @Diagnosis5, [Diagnosis6] = @Diagnosis6 WHERE (([visitID] = @Original_visitID) AND ((@IsNull_patientID = 1 AND [patientID] IS NULL) OR ([patientID] = @Original_patientID)) AND ((@IsNull_visitTime = 1 AND [visitTime] IS NULL) OR ([visitTime] = @Original_visitTime)) AND ((@IsNull_patientDueAmt = 1 AND [patientDueAmt] IS NULL) OR ([patientDueAmt] = @Original_patientDueAmt)) AND ((@IsNull_phID = 1 AND [phID] IS NULL) OR ([phID] = @Original_phID)) AND ((@IsNull_Diagnosis1 = 1 AND [Diagnosis1] IS NULL) OR ([Diagnosis1] = @Original_Diagnosis1)) AND ((@IsNull_Diagnosis2 = 1 AND [Diagnosis2] IS NULL) OR ([Diagnosis2] = @Original_Diagnosis2)) AND ((@IsNull_Diagnosis3 = 1 AND [Diagnosis3] IS NULL) OR ([Diagnosis3] = @Original_Diagnosis3)) AND ((@IsNull_Diagnosis4 = 1 AND [Diagnosis4] IS NULL) OR ([Diagnosis4] = @Original_Diagnosis4)) AND ((@IsNull_Diagnosis5 = 1 AND [Diagnosis5] IS NULL) OR ([Diagnosis5] = @Original_Diagnosis5)) AND ((@IsNull_Diagnosis6 = 1 AND [Diagnosis6] IS NULL) OR ([Diagnosis6] = @Original_Diagnosis6)));
|
|
SELECT visitID, patientID, visitTime, patientDueAmt, phID, Diagnosis1, Diagnosis2, Diagnosis3, Diagnosis4, Diagnosis5, Diagnosis6 FROM Visits WHERE (visitID = @visitID)</CommandText>
|
|
<Parameters>
|
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@visitID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="visitID" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@patientID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="patientID" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@visitTime" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="visitTime" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@patientDueAmt" Precision="15" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="patientDueAmt" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@phID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="phID" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Diagnosis1" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Diagnosis1" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Diagnosis2" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Diagnosis2" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Diagnosis3" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Diagnosis3" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Diagnosis4" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Diagnosis4" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Diagnosis5" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Diagnosis5" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Diagnosis6" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Diagnosis6" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_visitID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="visitID" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_patientID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="patientID" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_patientID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="patientID" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_visitTime" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="visitTime" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_visitTime" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="visitTime" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_patientDueAmt" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="patientDueAmt" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_patientDueAmt" Precision="15" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="patientDueAmt" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_phID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="phID" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_phID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="phID" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Diagnosis1" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Diagnosis1" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Diagnosis1" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Diagnosis1" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Diagnosis2" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Diagnosis2" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Diagnosis2" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Diagnosis2" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Diagnosis3" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Diagnosis3" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Diagnosis3" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Diagnosis3" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Diagnosis4" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Diagnosis4" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Diagnosis4" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Diagnosis4" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Diagnosis5" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Diagnosis5" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Diagnosis5" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Diagnosis5" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Diagnosis6" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Diagnosis6" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Diagnosis6" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Diagnosis6" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
</Parameters>
|
|
</DbCommand>
|
|
</UpdateCommand>
|
|
</DbSource>
|
|
</MainSource>
|
|
<Mappings>
|
|
<Mapping SourceColumn="visitID" DataSetColumn="visitID" />
|
|
<Mapping SourceColumn="patientID" DataSetColumn="patientID" />
|
|
<Mapping SourceColumn="visitTime" DataSetColumn="visitTime" />
|
|
<Mapping SourceColumn="patientDueAmt" DataSetColumn="patientDueAmt" />
|
|
<Mapping SourceColumn="phID" DataSetColumn="phID" />
|
|
<Mapping SourceColumn="Diagnosis1" DataSetColumn="Diagnosis1" />
|
|
<Mapping SourceColumn="Diagnosis2" DataSetColumn="Diagnosis2" />
|
|
<Mapping SourceColumn="Diagnosis3" DataSetColumn="Diagnosis3" />
|
|
<Mapping SourceColumn="Diagnosis4" DataSetColumn="Diagnosis4" />
|
|
<Mapping SourceColumn="Diagnosis5" DataSetColumn="Diagnosis5" />
|
|
<Mapping SourceColumn="Diagnosis6" DataSetColumn="Diagnosis6" />
|
|
</Mappings>
|
|
<Sources />
|
|
</TableAdapter>
|
|
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="patientCountTableAdapter" GeneratorDataComponentClassName="patientCountTableAdapter" Name="patientCount" UserDataComponentName="patientCountTableAdapter">
|
|
<MainSource>
|
|
<DbSource ConnectionRef="FPCASConnectionString (Settings)" DbObjectName="FPCAS.dbo.patientCount" DbObjectType="StoredProcedure" 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">
|
|
<SelectCommand>
|
|
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
|
|
<CommandText>dbo.patientCount</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" />
|
|
</Parameters>
|
|
</DbCommand>
|
|
</SelectCommand>
|
|
</DbSource>
|
|
</MainSource>
|
|
<Mappings>
|
|
<Mapping SourceColumn="Column1" DataSetColumn="Column1" />
|
|
</Mappings>
|
|
<Sources />
|
|
</TableAdapter>
|
|
</Tables>
|
|
<Sources>
|
|
<DbSource ConnectionRef="FPCASConnectionString (Settings)" DbObjectName="FPCAS.dbo.AddPatient" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="AddPatient" MethodsParameterType="CLR" Modifier="Public" Name="AddPatient" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="AddPatient">
|
|
<SelectCommand>
|
|
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
|
|
<CommandText>dbo.AddPatient</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="varchar" DbType="AnsiString" Direction="Input" ParameterName="@patientID" Precision="0" ProviderType="VarChar" Scale="0" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="varchar" DbType="AnsiString" Direction="Input" ParameterName="@gender" Precision="0" ProviderType="VarChar" Scale="0" Size="1" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="varchar" DbType="AnsiString" Direction="Input" ParameterName="@fName" Precision="0" ProviderType="VarChar" Scale="0" Size="25" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="varchar" DbType="AnsiString" Direction="Input" ParameterName="@midInit" Precision="0" ProviderType="VarChar" Scale="0" Size="1" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="varchar" DbType="AnsiString" Direction="Input" ParameterName="@lName" Precision="0" ProviderType="VarChar" Scale="0" Size="25" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="varchar" DbType="AnsiString" Direction="Input" ParameterName="@homePhone" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="varchar" DbType="AnsiString" Direction="Input" ParameterName="@workPhone" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="varchar" DbType="AnsiString" Direction="Input" ParameterName="@otherPhone" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="varchar" DbType="AnsiString" Direction="Input" ParameterName="@homeEmail" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="varchar" DbType="AnsiString" Direction="Input" ParameterName="@workEmail" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="varchar" DbType="AnsiString" Direction="Input" ParameterName="@otherEmail" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="varchar" DbType="AnsiString" Direction="Input" ParameterName="@street1" Precision="0" ProviderType="VarChar" Scale="0" Size="75" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="varchar" DbType="AnsiString" Direction="Input" ParameterName="@street2" Precision="0" ProviderType="VarChar" Scale="0" Size="75" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="varchar" DbType="AnsiString" Direction="Input" ParameterName="@city" Precision="0" ProviderType="VarChar" Scale="0" Size="25" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="varchar" DbType="AnsiString" Direction="Input" ParameterName="@locale" Precision="0" ProviderType="VarChar" Scale="0" Size="2" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@zipCode" Precision="5" ProviderType="Decimal" Scale="0" Size="5" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@Balance" Precision="18" ProviderType="Decimal" Scale="2" Size="9" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
</Parameters>
|
|
</DbCommand>
|
|
</SelectCommand>
|
|
</DbSource>
|
|
<DbSource ConnectionRef="FPCASConnectionString (Settings)" DbObjectName="FPCAS.dbo.AddPhysician" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="AddPhysician" MethodsParameterType="CLR" Modifier="Public" Name="AddPhysician" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy1" UserSourceName="AddPhysician">
|
|
<SelectCommand>
|
|
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
|
|
<CommandText>dbo.AddPhysician</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="varchar" DbType="AnsiString" Direction="Input" ParameterName="@phID" Precision="0" ProviderType="VarChar" Scale="0" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="varchar" DbType="AnsiString" Direction="Input" ParameterName="@gender" Precision="0" ProviderType="VarChar" Scale="0" Size="1" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="varchar" DbType="AnsiString" Direction="Input" ParameterName="@fName" Precision="0" ProviderType="VarChar" Scale="0" Size="25" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="varchar" DbType="AnsiString" Direction="Input" ParameterName="@midInit" Precision="0" ProviderType="VarChar" Scale="0" Size="1" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="varchar" DbType="AnsiString" Direction="Input" ParameterName="@lName" Precision="0" ProviderType="VarChar" Scale="0" Size="25" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="varchar" DbType="AnsiString" Direction="Input" ParameterName="@homePhone" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="varchar" DbType="AnsiString" Direction="Input" ParameterName="@workPhone" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="varchar" DbType="AnsiString" Direction="Input" ParameterName="@otherPhone" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="varchar" DbType="AnsiString" Direction="Input" ParameterName="@AOE1" Precision="0" ProviderType="VarChar" Scale="0" Size="100" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="varchar" DbType="AnsiString" Direction="Input" ParameterName="@AOE2" Precision="0" ProviderType="VarChar" Scale="0" Size="100" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="varchar" DbType="AnsiString" Direction="Input" ParameterName="@homeEmail" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="varchar" DbType="AnsiString" Direction="Input" ParameterName="@workEmail" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="varchar" DbType="AnsiString" Direction="Input" ParameterName="@otherEmail" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@salary" Precision="20" ProviderType="Decimal" Scale="2" Size="13" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="varchar" DbType="AnsiString" Direction="Input" ParameterName="@street1" Precision="0" ProviderType="VarChar" Scale="0" Size="75" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="varchar" DbType="AnsiString" Direction="Input" ParameterName="@street2" Precision="0" ProviderType="VarChar" Scale="0" Size="75" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="varchar" DbType="AnsiString" Direction="Input" ParameterName="@city" Precision="0" ProviderType="VarChar" Scale="0" Size="25" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="varchar" DbType="AnsiString" Direction="Input" ParameterName="@locale" Precision="0" ProviderType="VarChar" Scale="0" Size="2" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@zipCode" Precision="5" ProviderType="Decimal" Scale="0" Size="5" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
</Parameters>
|
|
</DbCommand>
|
|
</SelectCommand>
|
|
</DbSource>
|
|
<DbSource ConnectionRef="FPCASConnectionString (Settings)" DbObjectName="FPCAS.dbo.AddVisit" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="AddVisit" MethodsParameterType="CLR" Modifier="Public" Name="AddVisit" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy2" UserSourceName="AddVisit">
|
|
<SelectCommand>
|
|
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
|
|
<CommandText>dbo.AddVisit</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="@visitID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="varchar" DbType="AnsiString" Direction="Input" ParameterName="@patientID" Precision="0" ProviderType="VarChar" Scale="0" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="varchar" DbType="AnsiString" Direction="Input" ParameterName="@phID" Precision="0" ProviderType="VarChar" Scale="0" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="datetime" DbType="DateTime" Direction="Input" ParameterName="@visitTime" Precision="23" ProviderType="DateTime" Scale="3" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@patientDueAmt" Precision="15" ProviderType="Decimal" Scale="2" Size="9" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
</Parameters>
|
|
</DbCommand>
|
|
</SelectCommand>
|
|
</DbSource>
|
|
<DbSource ConnectionRef="FPCASConnectionString (Settings)" DbObjectName="FPCAS.dbo.DeletePatientVisit" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="DeletePatientVisit" MethodsParameterType="CLR" Modifier="Public" Name="DeletePatientVisit" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy3" UserSourceName="DeletePatientVisit">
|
|
<SelectCommand>
|
|
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
|
|
<CommandText>dbo.DeletePatientVisit</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="@visitID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
</Parameters>
|
|
</DbCommand>
|
|
</SelectCommand>
|
|
</DbSource>
|
|
<DbSource ConnectionRef="FPCASConnectionString (Settings)" DbObjectName="FPCAS.dbo.UpdatePatientVisit" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="UpdatePatientVisit" MethodsParameterType="CLR" Modifier="Public" Name="UpdatePatientVisit" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy4" UserSourceName="UpdatePatientVisit">
|
|
<SelectCommand>
|
|
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
|
|
<CommandText>dbo.UpdatePatientVisit</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="@visitID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="varchar" DbType="AnsiString" Direction="Input" ParameterName="@patientID" Precision="0" ProviderType="VarChar" Scale="0" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="varchar" DbType="AnsiString" Direction="Input" ParameterName="@PhID" Precision="0" ProviderType="VarChar" Scale="0" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="datetime" DbType="DateTime" Direction="Input" ParameterName="@visitTime" Precision="23" ProviderType="DateTime" Scale="3" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@patientDueAmt" Precision="15" ProviderType="Decimal" Scale="2" Size="9" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
</Parameters>
|
|
</DbCommand>
|
|
</SelectCommand>
|
|
</DbSource>
|
|
</Sources>
|
|
</DataSource>
|
|
</xs:appinfo>
|
|
</xs:annotation>
|
|
<xs:element name="FPCASDataSet" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="True" msprop:Generator_UserDSName="FPCASDataSet" msprop:Generator_DataSetName="FPCASDataSet">
|
|
<xs:complexType>
|
|
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
|
<xs:element name="Patients" msprop:Generator_RowEvHandlerName="PatientsRowChangeEventHandler" msprop:Generator_RowDeletedName="PatientsRowDeleted" msprop:Generator_RowDeletingName="PatientsRowDeleting" msprop:Generator_RowEvArgName="PatientsRowChangeEvent" msprop:Generator_TablePropName="Patients" msprop:Generator_RowChangedName="PatientsRowChanged" msprop:Generator_RowChangingName="PatientsRowChanging" msprop:Generator_TableClassName="PatientsDataTable" msprop:Generator_RowClassName="PatientsRow" msprop:Generator_TableVarName="tablePatients" msprop:Generator_UserTableName="Patients">
|
|
<xs:complexType>
|
|
<xs:sequence>
|
|
<xs:element name="patientID" msprop:Generator_ColumnPropNameInRow="patientID" msprop:Generator_ColumnPropNameInTable="patientIDColumn" msprop:Generator_ColumnVarNameInTable="columnpatientID" msprop:Generator_UserColumnName="patientID">
|
|
<xs:simpleType>
|
|
<xs:restriction base="xs:string">
|
|
<xs:maxLength value="8" />
|
|
</xs:restriction>
|
|
</xs:simpleType>
|
|
</xs:element>
|
|
<xs:element name="gender" msprop:Generator_ColumnPropNameInRow="gender" msprop:Generator_ColumnPropNameInTable="genderColumn" msprop:Generator_ColumnVarNameInTable="columngender" msprop:Generator_UserColumnName="gender" minOccurs="0">
|
|
<xs:simpleType>
|
|
<xs:restriction base="xs:string">
|
|
<xs:maxLength value="1" />
|
|
</xs:restriction>
|
|
</xs:simpleType>
|
|
</xs:element>
|
|
<xs:element name="fName" msprop:Generator_ColumnPropNameInRow="fName" msprop:Generator_ColumnPropNameInTable="fNameColumn" msprop:Generator_ColumnVarNameInTable="columnfName" msprop:Generator_UserColumnName="fName" minOccurs="0">
|
|
<xs:simpleType>
|
|
<xs:restriction base="xs:string">
|
|
<xs:maxLength value="25" />
|
|
</xs:restriction>
|
|
</xs:simpleType>
|
|
</xs:element>
|
|
<xs:element name="midInit" msprop:Generator_ColumnPropNameInRow="midInit" msprop:Generator_ColumnPropNameInTable="midInitColumn" msprop:Generator_ColumnVarNameInTable="columnmidInit" msprop:Generator_UserColumnName="midInit" minOccurs="0">
|
|
<xs:simpleType>
|
|
<xs:restriction base="xs:string">
|
|
<xs:maxLength value="1" />
|
|
</xs:restriction>
|
|
</xs:simpleType>
|
|
</xs:element>
|
|
<xs:element name="lName" msprop:Generator_ColumnPropNameInRow="lName" msprop:Generator_ColumnPropNameInTable="lNameColumn" msprop:Generator_ColumnVarNameInTable="columnlName" msprop:Generator_UserColumnName="lName" minOccurs="0">
|
|
<xs:simpleType>
|
|
<xs:restriction base="xs:string">
|
|
<xs:maxLength value="25" />
|
|
</xs:restriction>
|
|
</xs:simpleType>
|
|
</xs:element>
|
|
<xs:element name="homePhone" msprop:Generator_ColumnPropNameInRow="homePhone" msprop:Generator_ColumnPropNameInTable="homePhoneColumn" msprop:Generator_ColumnVarNameInTable="columnhomePhone" msprop:Generator_UserColumnName="homePhone" minOccurs="0">
|
|
<xs:simpleType>
|
|
<xs:restriction base="xs:string">
|
|
<xs:maxLength value="20" />
|
|
</xs:restriction>
|
|
</xs:simpleType>
|
|
</xs:element>
|
|
<xs:element name="workPhone" msprop:Generator_ColumnPropNameInRow="workPhone" msprop:Generator_ColumnPropNameInTable="workPhoneColumn" msprop:Generator_ColumnVarNameInTable="columnworkPhone" msprop:Generator_UserColumnName="workPhone" minOccurs="0">
|
|
<xs:simpleType>
|
|
<xs:restriction base="xs:string">
|
|
<xs:maxLength value="20" />
|
|
</xs:restriction>
|
|
</xs:simpleType>
|
|
</xs:element>
|
|
<xs:element name="otherPhone" msprop:Generator_ColumnPropNameInRow="otherPhone" msprop:Generator_ColumnPropNameInTable="otherPhoneColumn" msprop:Generator_ColumnVarNameInTable="columnotherPhone" msprop:Generator_UserColumnName="otherPhone" minOccurs="0">
|
|
<xs:simpleType>
|
|
<xs:restriction base="xs:string">
|
|
<xs:maxLength value="20" />
|
|
</xs:restriction>
|
|
</xs:simpleType>
|
|
</xs:element>
|
|
<xs:element name="homeEmail" msprop:Generator_ColumnPropNameInRow="homeEmail" msprop:Generator_ColumnPropNameInTable="homeEmailColumn" msprop:Generator_ColumnVarNameInTable="columnhomeEmail" msprop:Generator_UserColumnName="homeEmail" minOccurs="0">
|
|
<xs:simpleType>
|
|
<xs:restriction base="xs:string">
|
|
<xs:maxLength value="50" />
|
|
</xs:restriction>
|
|
</xs:simpleType>
|
|
</xs:element>
|
|
<xs:element name="workEmail" msprop:Generator_ColumnPropNameInRow="workEmail" msprop:Generator_ColumnPropNameInTable="workEmailColumn" msprop:Generator_ColumnVarNameInTable="columnworkEmail" msprop:Generator_UserColumnName="workEmail" minOccurs="0">
|
|
<xs:simpleType>
|
|
<xs:restriction base="xs:string">
|
|
<xs:maxLength value="50" />
|
|
</xs:restriction>
|
|
</xs:simpleType>
|
|
</xs:element>
|
|
<xs:element name="otherEmail" msprop:Generator_ColumnPropNameInRow="otherEmail" msprop:Generator_ColumnPropNameInTable="otherEmailColumn" msprop:Generator_ColumnVarNameInTable="columnotherEmail" msprop:Generator_UserColumnName="otherEmail" minOccurs="0">
|
|
<xs:simpleType>
|
|
<xs:restriction base="xs:string">
|
|
<xs:maxLength value="50" />
|
|
</xs:restriction>
|
|
</xs:simpleType>
|
|
</xs:element>
|
|
<xs:element name="street1" msprop:Generator_ColumnPropNameInRow="street1" msprop:Generator_ColumnPropNameInTable="street1Column" msprop:Generator_ColumnVarNameInTable="columnstreet1" msprop:Generator_UserColumnName="street1" minOccurs="0">
|
|
<xs:simpleType>
|
|
<xs:restriction base="xs:string">
|
|
<xs:maxLength value="75" />
|
|
</xs:restriction>
|
|
</xs:simpleType>
|
|
</xs:element>
|
|
<xs:element name="street2" msprop:Generator_ColumnPropNameInRow="street2" msprop:Generator_ColumnPropNameInTable="street2Column" msprop:Generator_ColumnVarNameInTable="columnstreet2" msprop:Generator_UserColumnName="street2" minOccurs="0">
|
|
<xs:simpleType>
|
|
<xs:restriction base="xs:string">
|
|
<xs:maxLength value="75" />
|
|
</xs:restriction>
|
|
</xs:simpleType>
|
|
</xs:element>
|
|
<xs:element name="city" msprop:Generator_ColumnPropNameInRow="city" msprop:Generator_ColumnPropNameInTable="cityColumn" msprop:Generator_ColumnVarNameInTable="columncity" msprop:Generator_UserColumnName="city" minOccurs="0">
|
|
<xs:simpleType>
|
|
<xs:restriction base="xs:string">
|
|
<xs:maxLength value="25" />
|
|
</xs:restriction>
|
|
</xs:simpleType>
|
|
</xs:element>
|
|
<xs:element name="locale" msprop:Generator_ColumnPropNameInRow="locale" msprop:Generator_ColumnPropNameInTable="localeColumn" msprop:Generator_ColumnVarNameInTable="columnlocale" msprop:Generator_UserColumnName="locale" minOccurs="0">
|
|
<xs:simpleType>
|
|
<xs:restriction base="xs:string">
|
|
<xs:maxLength value="2" />
|
|
</xs:restriction>
|
|
</xs:simpleType>
|
|
</xs:element>
|
|
<xs:element name="zipCode" msprop:Generator_ColumnPropNameInRow="zipCode" msprop:Generator_ColumnPropNameInTable="zipCodeColumn" msprop:Generator_ColumnVarNameInTable="columnzipCode" msprop:Generator_UserColumnName="zipCode" type="xs:decimal" minOccurs="0" />
|
|
<xs:element name="Balance" msprop:Generator_ColumnPropNameInRow="Balance" msprop:Generator_ColumnPropNameInTable="BalanceColumn" msprop:Generator_ColumnVarNameInTable="columnBalance" msprop:Generator_UserColumnName="Balance" type="xs:decimal" minOccurs="0" />
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
</xs:element>
|
|
<xs:element name="payments" msprop:Generator_RowEvHandlerName="paymentsRowChangeEventHandler" msprop:Generator_RowDeletedName="paymentsRowDeleted" msprop:Generator_RowDeletingName="paymentsRowDeleting" msprop:Generator_RowEvArgName="paymentsRowChangeEvent" msprop:Generator_TablePropName="payments" msprop:Generator_RowChangedName="paymentsRowChanged" msprop:Generator_RowChangingName="paymentsRowChanging" msprop:Generator_TableClassName="paymentsDataTable" msprop:Generator_RowClassName="paymentsRow" msprop:Generator_TableVarName="tablepayments" msprop:Generator_UserTableName="payments">
|
|
<xs:complexType>
|
|
<xs:sequence>
|
|
<xs:element name="paymentID" msprop:Generator_ColumnPropNameInRow="paymentID" msprop:Generator_ColumnPropNameInTable="paymentIDColumn" msprop:Generator_ColumnVarNameInTable="columnpaymentID" msprop:Generator_UserColumnName="paymentID">
|
|
<xs:simpleType>
|
|
<xs:restriction base="xs:string">
|
|
<xs:maxLength value="8" />
|
|
</xs:restriction>
|
|
</xs:simpleType>
|
|
</xs:element>
|
|
<xs:element name="payAmount" msprop:Generator_ColumnPropNameInRow="payAmount" msprop:Generator_ColumnPropNameInTable="payAmountColumn" msprop:Generator_ColumnVarNameInTable="columnpayAmount" msprop:Generator_UserColumnName="payAmount" type="xs:decimal" minOccurs="0" />
|
|
<xs:element name="paymentMethod" msprop:Generator_ColumnPropNameInRow="paymentMethod" msprop:Generator_ColumnPropNameInTable="paymentMethodColumn" msprop:Generator_ColumnVarNameInTable="columnpaymentMethod" msprop:Generator_UserColumnName="paymentMethod" minOccurs="0">
|
|
<xs:simpleType>
|
|
<xs:restriction base="xs:string">
|
|
<xs:maxLength value="5" />
|
|
</xs:restriction>
|
|
</xs:simpleType>
|
|
</xs:element>
|
|
<xs:element name="patientID" msprop:Generator_ColumnPropNameInRow="patientID" msprop:Generator_ColumnPropNameInTable="patientIDColumn" msprop:Generator_ColumnVarNameInTable="columnpatientID" msprop:Generator_UserColumnName="patientID" minOccurs="0">
|
|
<xs:simpleType>
|
|
<xs:restriction base="xs:string">
|
|
<xs:maxLength value="8" />
|
|
</xs:restriction>
|
|
</xs:simpleType>
|
|
</xs:element>
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
</xs:element>
|
|
<xs:element name="Physicians" msprop:Generator_RowEvHandlerName="PhysiciansRowChangeEventHandler" msprop:Generator_RowDeletedName="PhysiciansRowDeleted" msprop:Generator_RowDeletingName="PhysiciansRowDeleting" msprop:Generator_RowEvArgName="PhysiciansRowChangeEvent" msprop:Generator_TablePropName="Physicians" msprop:Generator_RowChangedName="PhysiciansRowChanged" msprop:Generator_RowChangingName="PhysiciansRowChanging" msprop:Generator_TableClassName="PhysiciansDataTable" msprop:Generator_RowClassName="PhysiciansRow" msprop:Generator_TableVarName="tablePhysicians" msprop:Generator_UserTableName="Physicians">
|
|
<xs:complexType>
|
|
<xs:sequence>
|
|
<xs:element name="phID" msprop:Generator_ColumnPropNameInRow="phID" msprop:Generator_ColumnPropNameInTable="phIDColumn" msprop:Generator_ColumnVarNameInTable="columnphID" msprop:Generator_UserColumnName="phID">
|
|
<xs:simpleType>
|
|
<xs:restriction base="xs:string">
|
|
<xs:maxLength value="8" />
|
|
</xs:restriction>
|
|
</xs:simpleType>
|
|
</xs:element>
|
|
<xs:element name="gender" msprop:Generator_ColumnPropNameInRow="gender" msprop:Generator_ColumnPropNameInTable="genderColumn" msprop:Generator_ColumnVarNameInTable="columngender" msprop:Generator_UserColumnName="gender" minOccurs="0">
|
|
<xs:simpleType>
|
|
<xs:restriction base="xs:string">
|
|
<xs:maxLength value="1" />
|
|
</xs:restriction>
|
|
</xs:simpleType>
|
|
</xs:element>
|
|
<xs:element name="fName" msprop:Generator_ColumnPropNameInRow="fName" msprop:Generator_ColumnPropNameInTable="fNameColumn" msprop:Generator_ColumnVarNameInTable="columnfName" msprop:Generator_UserColumnName="fName" minOccurs="0">
|
|
<xs:simpleType>
|
|
<xs:restriction base="xs:string">
|
|
<xs:maxLength value="25" />
|
|
</xs:restriction>
|
|
</xs:simpleType>
|
|
</xs:element>
|
|
<xs:element name="midInit" msprop:Generator_ColumnPropNameInRow="midInit" msprop:Generator_ColumnPropNameInTable="midInitColumn" msprop:Generator_ColumnVarNameInTable="columnmidInit" msprop:Generator_UserColumnName="midInit" minOccurs="0">
|
|
<xs:simpleType>
|
|
<xs:restriction base="xs:string">
|
|
<xs:maxLength value="1" />
|
|
</xs:restriction>
|
|
</xs:simpleType>
|
|
</xs:element>
|
|
<xs:element name="lName" msprop:Generator_ColumnPropNameInRow="lName" msprop:Generator_ColumnPropNameInTable="lNameColumn" msprop:Generator_ColumnVarNameInTable="columnlName" msprop:Generator_UserColumnName="lName" minOccurs="0">
|
|
<xs:simpleType>
|
|
<xs:restriction base="xs:string">
|
|
<xs:maxLength value="25" />
|
|
</xs:restriction>
|
|
</xs:simpleType>
|
|
</xs:element>
|
|
<xs:element name="homePhone" msprop:Generator_ColumnPropNameInRow="homePhone" msprop:Generator_ColumnPropNameInTable="homePhoneColumn" msprop:Generator_ColumnVarNameInTable="columnhomePhone" msprop:Generator_UserColumnName="homePhone" minOccurs="0">
|
|
<xs:simpleType>
|
|
<xs:restriction base="xs:string">
|
|
<xs:maxLength value="20" />
|
|
</xs:restriction>
|
|
</xs:simpleType>
|
|
</xs:element>
|
|
<xs:element name="workPhone" msprop:Generator_ColumnPropNameInRow="workPhone" msprop:Generator_ColumnPropNameInTable="workPhoneColumn" msprop:Generator_ColumnVarNameInTable="columnworkPhone" msprop:Generator_UserColumnName="workPhone" minOccurs="0">
|
|
<xs:simpleType>
|
|
<xs:restriction base="xs:string">
|
|
<xs:maxLength value="20" />
|
|
</xs:restriction>
|
|
</xs:simpleType>
|
|
</xs:element>
|
|
<xs:element name="otherPhone" msprop:Generator_ColumnPropNameInRow="otherPhone" msprop:Generator_ColumnPropNameInTable="otherPhoneColumn" msprop:Generator_ColumnVarNameInTable="columnotherPhone" msprop:Generator_UserColumnName="otherPhone" minOccurs="0">
|
|
<xs:simpleType>
|
|
<xs:restriction base="xs:string">
|
|
<xs:maxLength value="20" />
|
|
</xs:restriction>
|
|
</xs:simpleType>
|
|
</xs:element>
|
|
<xs:element name="AOE1" msprop:Generator_ColumnPropNameInRow="AOE1" msprop:Generator_ColumnPropNameInTable="AOE1Column" msprop:Generator_ColumnVarNameInTable="columnAOE1" msprop:Generator_UserColumnName="AOE1" minOccurs="0">
|
|
<xs:simpleType>
|
|
<xs:restriction base="xs:string">
|
|
<xs:maxLength value="100" />
|
|
</xs:restriction>
|
|
</xs:simpleType>
|
|
</xs:element>
|
|
<xs:element name="AOE2" msprop:Generator_ColumnPropNameInRow="AOE2" msprop:Generator_ColumnPropNameInTable="AOE2Column" msprop:Generator_ColumnVarNameInTable="columnAOE2" msprop:Generator_UserColumnName="AOE2" minOccurs="0">
|
|
<xs:simpleType>
|
|
<xs:restriction base="xs:string">
|
|
<xs:maxLength value="100" />
|
|
</xs:restriction>
|
|
</xs:simpleType>
|
|
</xs:element>
|
|
<xs:element name="AOE3" msprop:Generator_ColumnPropNameInRow="AOE3" msprop:Generator_ColumnPropNameInTable="AOE3Column" msprop:Generator_ColumnVarNameInTable="columnAOE3" msprop:Generator_UserColumnName="AOE3" minOccurs="0">
|
|
<xs:simpleType>
|
|
<xs:restriction base="xs:string">
|
|
<xs:maxLength value="100" />
|
|
</xs:restriction>
|
|
</xs:simpleType>
|
|
</xs:element>
|
|
<xs:element name="AOE4" msprop:Generator_ColumnPropNameInRow="AOE4" msprop:Generator_ColumnPropNameInTable="AOE4Column" msprop:Generator_ColumnVarNameInTable="columnAOE4" msprop:Generator_UserColumnName="AOE4" minOccurs="0">
|
|
<xs:simpleType>
|
|
<xs:restriction base="xs:string">
|
|
<xs:maxLength value="100" />
|
|
</xs:restriction>
|
|
</xs:simpleType>
|
|
</xs:element>
|
|
<xs:element name="AOE5" msprop:Generator_ColumnPropNameInRow="AOE5" msprop:Generator_ColumnPropNameInTable="AOE5Column" msprop:Generator_ColumnVarNameInTable="columnAOE5" msprop:Generator_UserColumnName="AOE5" minOccurs="0">
|
|
<xs:simpleType>
|
|
<xs:restriction base="xs:string">
|
|
<xs:maxLength value="100" />
|
|
</xs:restriction>
|
|
</xs:simpleType>
|
|
</xs:element>
|
|
<xs:element name="AOE6" msprop:Generator_ColumnPropNameInRow="AOE6" msprop:Generator_ColumnPropNameInTable="AOE6Column" msprop:Generator_ColumnVarNameInTable="columnAOE6" msprop:Generator_UserColumnName="AOE6" minOccurs="0">
|
|
<xs:simpleType>
|
|
<xs:restriction base="xs:string">
|
|
<xs:maxLength value="100" />
|
|
</xs:restriction>
|
|
</xs:simpleType>
|
|
</xs:element>
|
|
<xs:element name="homeEmail" msprop:Generator_ColumnPropNameInRow="homeEmail" msprop:Generator_ColumnPropNameInTable="homeEmailColumn" msprop:Generator_ColumnVarNameInTable="columnhomeEmail" msprop:Generator_UserColumnName="homeEmail" minOccurs="0">
|
|
<xs:simpleType>
|
|
<xs:restriction base="xs:string">
|
|
<xs:maxLength value="50" />
|
|
</xs:restriction>
|
|
</xs:simpleType>
|
|
</xs:element>
|
|
<xs:element name="workEmail" msprop:Generator_ColumnPropNameInRow="workEmail" msprop:Generator_ColumnPropNameInTable="workEmailColumn" msprop:Generator_ColumnVarNameInTable="columnworkEmail" msprop:Generator_UserColumnName="workEmail" minOccurs="0">
|
|
<xs:simpleType>
|
|
<xs:restriction base="xs:string">
|
|
<xs:maxLength value="50" />
|
|
</xs:restriction>
|
|
</xs:simpleType>
|
|
</xs:element>
|
|
<xs:element name="otherEmail" msprop:Generator_ColumnPropNameInRow="otherEmail" msprop:Generator_ColumnPropNameInTable="otherEmailColumn" msprop:Generator_ColumnVarNameInTable="columnotherEmail" msprop:Generator_UserColumnName="otherEmail" minOccurs="0">
|
|
<xs:simpleType>
|
|
<xs:restriction base="xs:string">
|
|
<xs:maxLength value="50" />
|
|
</xs:restriction>
|
|
</xs:simpleType>
|
|
</xs:element>
|
|
<xs:element name="salary" msprop:Generator_ColumnPropNameInRow="salary" msprop:Generator_ColumnPropNameInTable="salaryColumn" msprop:Generator_ColumnVarNameInTable="columnsalary" msprop:Generator_UserColumnName="salary" type="xs:decimal" minOccurs="0" />
|
|
<xs:element name="street1" msprop:Generator_ColumnPropNameInRow="street1" msprop:Generator_ColumnPropNameInTable="street1Column" msprop:Generator_ColumnVarNameInTable="columnstreet1" msprop:Generator_UserColumnName="street1" minOccurs="0">
|
|
<xs:simpleType>
|
|
<xs:restriction base="xs:string">
|
|
<xs:maxLength value="75" />
|
|
</xs:restriction>
|
|
</xs:simpleType>
|
|
</xs:element>
|
|
<xs:element name="street2" msprop:Generator_ColumnPropNameInRow="street2" msprop:Generator_ColumnPropNameInTable="street2Column" msprop:Generator_ColumnVarNameInTable="columnstreet2" msprop:Generator_UserColumnName="street2" minOccurs="0">
|
|
<xs:simpleType>
|
|
<xs:restriction base="xs:string">
|
|
<xs:maxLength value="75" />
|
|
</xs:restriction>
|
|
</xs:simpleType>
|
|
</xs:element>
|
|
<xs:element name="city" msprop:Generator_ColumnPropNameInRow="city" msprop:Generator_ColumnPropNameInTable="cityColumn" msprop:Generator_ColumnVarNameInTable="columncity" msprop:Generator_UserColumnName="city" minOccurs="0">
|
|
<xs:simpleType>
|
|
<xs:restriction base="xs:string">
|
|
<xs:maxLength value="25" />
|
|
</xs:restriction>
|
|
</xs:simpleType>
|
|
</xs:element>
|
|
<xs:element name="locale" msprop:Generator_ColumnPropNameInRow="locale" msprop:Generator_ColumnPropNameInTable="localeColumn" msprop:Generator_ColumnVarNameInTable="columnlocale" msprop:Generator_UserColumnName="locale" minOccurs="0">
|
|
<xs:simpleType>
|
|
<xs:restriction base="xs:string">
|
|
<xs:maxLength value="2" />
|
|
</xs:restriction>
|
|
</xs:simpleType>
|
|
</xs:element>
|
|
<xs:element name="zipCode" msprop:Generator_ColumnPropNameInRow="zipCode" msprop:Generator_ColumnPropNameInTable="zipCodeColumn" msprop:Generator_ColumnVarNameInTable="columnzipCode" msprop:Generator_UserColumnName="zipCode" type="xs:decimal" minOccurs="0" />
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
</xs:element>
|
|
<xs:element name="Visits" msprop:Generator_RowEvHandlerName="VisitsRowChangeEventHandler" msprop:Generator_RowDeletedName="VisitsRowDeleted" msprop:Generator_RowDeletingName="VisitsRowDeleting" msprop:Generator_RowEvArgName="VisitsRowChangeEvent" msprop:Generator_TablePropName="Visits" msprop:Generator_RowChangedName="VisitsRowChanged" msprop:Generator_RowChangingName="VisitsRowChanging" msprop:Generator_TableClassName="VisitsDataTable" msprop:Generator_RowClassName="VisitsRow" msprop:Generator_TableVarName="tableVisits" msprop:Generator_UserTableName="Visits">
|
|
<xs:complexType>
|
|
<xs:sequence>
|
|
<xs:element name="visitID" msprop:Generator_ColumnPropNameInRow="visitID" msprop:Generator_ColumnPropNameInTable="visitIDColumn" msprop:Generator_ColumnVarNameInTable="columnvisitID" msprop:Generator_UserColumnName="visitID" type="xs:int" />
|
|
<xs:element name="patientID" msprop:Generator_ColumnPropNameInRow="patientID" msprop:Generator_ColumnPropNameInTable="patientIDColumn" msprop:Generator_ColumnVarNameInTable="columnpatientID" msprop:Generator_UserColumnName="patientID" minOccurs="0">
|
|
<xs:simpleType>
|
|
<xs:restriction base="xs:string">
|
|
<xs:maxLength value="8" />
|
|
</xs:restriction>
|
|
</xs:simpleType>
|
|
</xs:element>
|
|
<xs:element name="visitTime" msprop:Generator_ColumnPropNameInRow="visitTime" msprop:Generator_ColumnPropNameInTable="visitTimeColumn" msprop:Generator_ColumnVarNameInTable="columnvisitTime" msprop:Generator_UserColumnName="visitTime" type="xs:dateTime" minOccurs="0" />
|
|
<xs:element name="patientDueAmt" msprop:Generator_ColumnPropNameInRow="patientDueAmt" msprop:Generator_ColumnPropNameInTable="patientDueAmtColumn" msprop:Generator_ColumnVarNameInTable="columnpatientDueAmt" msprop:Generator_UserColumnName="patientDueAmt" type="xs:decimal" minOccurs="0" />
|
|
<xs:element name="phID" msprop:Generator_ColumnPropNameInRow="phID" msprop:Generator_ColumnPropNameInTable="phIDColumn" msprop:Generator_ColumnVarNameInTable="columnphID" msprop:Generator_UserColumnName="phID" minOccurs="0">
|
|
<xs:simpleType>
|
|
<xs:restriction base="xs:string">
|
|
<xs:maxLength value="8" />
|
|
</xs:restriction>
|
|
</xs:simpleType>
|
|
</xs:element>
|
|
<xs:element name="Diagnosis1" msprop:Generator_ColumnPropNameInRow="Diagnosis1" msprop:Generator_ColumnPropNameInTable="Diagnosis1Column" msprop:Generator_ColumnVarNameInTable="columnDiagnosis1" msprop:Generator_UserColumnName="Diagnosis1" minOccurs="0">
|
|
<xs:simpleType>
|
|
<xs:restriction base="xs:string">
|
|
<xs:maxLength value="100" />
|
|
</xs:restriction>
|
|
</xs:simpleType>
|
|
</xs:element>
|
|
<xs:element name="Diagnosis2" msprop:Generator_ColumnPropNameInRow="Diagnosis2" msprop:Generator_ColumnPropNameInTable="Diagnosis2Column" msprop:Generator_ColumnVarNameInTable="columnDiagnosis2" msprop:Generator_UserColumnName="Diagnosis2" minOccurs="0">
|
|
<xs:simpleType>
|
|
<xs:restriction base="xs:string">
|
|
<xs:maxLength value="100" />
|
|
</xs:restriction>
|
|
</xs:simpleType>
|
|
</xs:element>
|
|
<xs:element name="Diagnosis3" msprop:Generator_ColumnPropNameInRow="Diagnosis3" msprop:Generator_ColumnPropNameInTable="Diagnosis3Column" msprop:Generator_ColumnVarNameInTable="columnDiagnosis3" msprop:Generator_UserColumnName="Diagnosis3" minOccurs="0">
|
|
<xs:simpleType>
|
|
<xs:restriction base="xs:string">
|
|
<xs:maxLength value="100" />
|
|
</xs:restriction>
|
|
</xs:simpleType>
|
|
</xs:element>
|
|
<xs:element name="Diagnosis4" msprop:Generator_ColumnPropNameInRow="Diagnosis4" msprop:Generator_ColumnPropNameInTable="Diagnosis4Column" msprop:Generator_ColumnVarNameInTable="columnDiagnosis4" msprop:Generator_UserColumnName="Diagnosis4" minOccurs="0">
|
|
<xs:simpleType>
|
|
<xs:restriction base="xs:string">
|
|
<xs:maxLength value="100" />
|
|
</xs:restriction>
|
|
</xs:simpleType>
|
|
</xs:element>
|
|
<xs:element name="Diagnosis5" msprop:Generator_ColumnPropNameInRow="Diagnosis5" msprop:Generator_ColumnPropNameInTable="Diagnosis5Column" msprop:Generator_ColumnVarNameInTable="columnDiagnosis5" msprop:Generator_UserColumnName="Diagnosis5" minOccurs="0">
|
|
<xs:simpleType>
|
|
<xs:restriction base="xs:string">
|
|
<xs:maxLength value="100" />
|
|
</xs:restriction>
|
|
</xs:simpleType>
|
|
</xs:element>
|
|
<xs:element name="Diagnosis6" msprop:Generator_ColumnPropNameInRow="Diagnosis6" msprop:Generator_ColumnPropNameInTable="Diagnosis6Column" msprop:Generator_ColumnVarNameInTable="columnDiagnosis6" msprop:Generator_UserColumnName="Diagnosis6" minOccurs="0">
|
|
<xs:simpleType>
|
|
<xs:restriction base="xs:string">
|
|
<xs:maxLength value="100" />
|
|
</xs:restriction>
|
|
</xs:simpleType>
|
|
</xs:element>
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
</xs:element>
|
|
<xs:element name="patientCount" msprop:Generator_RowEvHandlerName="patientCountRowChangeEventHandler" msprop:Generator_RowDeletedName="patientCountRowDeleted" msprop:Generator_RowDeletingName="patientCountRowDeleting" msprop:Generator_RowEvArgName="patientCountRowChangeEvent" msprop:Generator_TablePropName="patientCount" msprop:Generator_RowChangedName="patientCountRowChanged" msprop:Generator_RowChangingName="patientCountRowChanging" msprop:Generator_TableClassName="patientCountDataTable" msprop:Generator_RowClassName="patientCountRow" msprop:Generator_TableVarName="tablepatientCount" msprop:Generator_UserTableName="patientCount">
|
|
<xs:complexType>
|
|
<xs:sequence>
|
|
<xs:element name="Column1" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInRow="Column1" msprop:Generator_ColumnPropNameInTable="Column1Column" msprop:Generator_ColumnVarNameInTable="columnColumn1" msprop:Generator_UserColumnName="Column1" type="xs:int" minOccurs="0" />
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
</xs:element>
|
|
</xs:choice>
|
|
</xs:complexType>
|
|
<xs:unique name="Constraint1" msdata:PrimaryKey="true">
|
|
<xs:selector xpath=".//mstns:Patients" />
|
|
<xs:field xpath="mstns:patientID" />
|
|
</xs:unique>
|
|
<xs:unique name="payments_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
|
|
<xs:selector xpath=".//mstns:payments" />
|
|
<xs:field xpath="mstns:paymentID" />
|
|
</xs:unique>
|
|
<xs:unique name="Physicians_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
|
|
<xs:selector xpath=".//mstns:Physicians" />
|
|
<xs:field xpath="mstns:phID" />
|
|
</xs:unique>
|
|
<xs:unique name="Visits_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
|
|
<xs:selector xpath=".//mstns:Visits" />
|
|
<xs:field xpath="mstns:visitID" />
|
|
</xs:unique>
|
|
</xs:element>
|
|
<xs:annotation>
|
|
<xs:appinfo>
|
|
<msdata:Relationship name="FK__payments__patien__3F466844" msdata:parent="Patients" msdata:child="payments" msdata:parentkey="patientID" msdata:childkey="patientID" msprop:Generator_UserParentTable="Patients" msprop:Generator_UserChildTable="payments" msprop:Generator_RelationVarName="relationFK__payments__patien__3F466844" msprop:Generator_ChildPropName="GetpaymentsRows" msprop:Generator_ParentPropName="PatientsRow" msprop:Generator_UserRelationName="FK__payments__patien__3F466844" />
|
|
<msdata:Relationship name="FK__Visits__patientI__36B12243" msdata:parent="Patients" msdata:child="Visits" msdata:parentkey="patientID" msdata:childkey="patientID" msprop:Generator_UserParentTable="Patients" msprop:Generator_UserChildTable="Visits" msprop:Generator_RelationVarName="relationFK__Visits__patientI__36B12243" msprop:Generator_ChildPropName="GetVisitsRows" msprop:Generator_ParentPropName="PatientsRow" msprop:Generator_UserRelationName="FK__Visits__patientI__36B12243" />
|
|
<msdata:Relationship name="FK__Visits__phID__3B75D760" msdata:parent="Physicians" msdata:child="Visits" msdata:parentkey="phID" msdata:childkey="phID" msprop:Generator_UserParentTable="Physicians" msprop:Generator_UserChildTable="Visits" msprop:Generator_RelationVarName="relationFK__Visits__phID__3B75D760" msprop:Generator_ChildPropName="GetVisitsRows" msprop:Generator_ParentPropName="PhysiciansRow" msprop:Generator_UserRelationName="FK__Visits__phID__3B75D760" />
|
|
</xs:appinfo>
|
|
</xs:annotation>
|
|
</xs:schema> |