663 lines
104 KiB
XML
663 lines
104 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<xs:schema id="FinalProjectOfficialPharmacyDataSet" targetNamespace="http://tempuri.org/FinalProjectOfficialPharmacyDataSet.xsd" xmlns:mstns="http://tempuri.org/FinalProjectOfficialPharmacyDataSet.xsd" xmlns="http://tempuri.org/FinalProjectOfficialPharmacyDataSet.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" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
|
|
<Connections>
|
|
<Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="FinalProjectOfficialPharmacyConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="FinalProjectOfficialPharmacyConnectionString (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.Louis__Pharmacy_CNSA212_FP.Properties.Settings.GlobalReference.Default.FinalProjectOfficialPharmacyConnectionString" Provider="System.Data.SqlClient" />
|
|
</Connections>
|
|
<Tables>
|
|
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="MEDICATIONSTableAdapter" GeneratorDataComponentClassName="MEDICATIONSTableAdapter" Name="MEDICATIONS" UserDataComponentName="MEDICATIONSTableAdapter">
|
|
<MainSource>
|
|
<DbSource ConnectionRef="FinalProjectOfficialPharmacyConnectionString (Settings)" DbObjectName="FinalProjectOfficialPharmacy.dbo.MEDICATIONS" 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].[MEDICATIONS] WHERE (([Medication_id] = @Original_Medication_id) AND ((@IsNull_MedicationName = 1 AND [MedicationName] IS NULL) OR ([MedicationName] = @Original_MedicationName)) AND ((@IsNull_IntakeMethod = 1 AND [IntakeMethod] IS NULL) OR ([IntakeMethod] = @Original_IntakeMethod)) AND ((@IsNull_Frequency = 1 AND [Frequency] IS NULL) OR ([Frequency] = @Original_Frequency)) AND ((@IsNull_Dosage = 1 AND [Dosage] IS NULL) OR ([Dosage] = @Original_Dosage)) AND ((@IsNull_Purpose = 1 AND [Purpose] IS NULL) OR ([Purpose] = @Original_Purpose)) AND ((@IsNull_RxNum = 1 AND [RxNum] IS NULL) OR ([RxNum] = @Original_RxNum)))</CommandText>
|
|
<Parameters>
|
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Medication_id" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Medication_id" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_MedicationName" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MedicationName" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_MedicationName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MedicationName" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_IntakeMethod" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IntakeMethod" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_IntakeMethod" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="IntakeMethod" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Frequency" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Frequency" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Frequency" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Frequency" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Dosage" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Dosage" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Dosage" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Dosage" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Purpose" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Purpose" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Purpose" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Purpose" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_RxNum" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="RxNum" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_RxNum" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="RxNum" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
</Parameters>
|
|
</DbCommand>
|
|
</DeleteCommand>
|
|
<InsertCommand>
|
|
<DbCommand CommandType="Text" ModifiedByUser="false">
|
|
<CommandText>INSERT INTO [dbo].[MEDICATIONS] ([Medication_id], [MedicationName], [IntakeMethod], [Frequency], [Dosage], [Purpose], [RxNum]) VALUES (@Medication_id, @MedicationName, @IntakeMethod, @Frequency, @Dosage, @Purpose, @RxNum);
|
|
SELECT Medication_id, MedicationName, IntakeMethod, Frequency, Dosage, Purpose, RxNum FROM MEDICATIONS WHERE (Medication_id = @Medication_id)</CommandText>
|
|
<Parameters>
|
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Medication_id" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Medication_id" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@MedicationName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MedicationName" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@IntakeMethod" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="IntakeMethod" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Frequency" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Frequency" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Dosage" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Dosage" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Purpose" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Purpose" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@RxNum" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="RxNum" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
</Parameters>
|
|
</DbCommand>
|
|
</InsertCommand>
|
|
<SelectCommand>
|
|
<DbCommand CommandType="Text" ModifiedByUser="false">
|
|
<CommandText>SELECT Medication_id, MedicationName, IntakeMethod, Frequency, Dosage, Purpose, RxNum FROM dbo.MEDICATIONS</CommandText>
|
|
<Parameters />
|
|
</DbCommand>
|
|
</SelectCommand>
|
|
<UpdateCommand>
|
|
<DbCommand CommandType="Text" ModifiedByUser="false">
|
|
<CommandText>UPDATE [dbo].[MEDICATIONS] SET [Medication_id] = @Medication_id, [MedicationName] = @MedicationName, [IntakeMethod] = @IntakeMethod, [Frequency] = @Frequency, [Dosage] = @Dosage, [Purpose] = @Purpose, [RxNum] = @RxNum WHERE (([Medication_id] = @Original_Medication_id) AND ((@IsNull_MedicationName = 1 AND [MedicationName] IS NULL) OR ([MedicationName] = @Original_MedicationName)) AND ((@IsNull_IntakeMethod = 1 AND [IntakeMethod] IS NULL) OR ([IntakeMethod] = @Original_IntakeMethod)) AND ((@IsNull_Frequency = 1 AND [Frequency] IS NULL) OR ([Frequency] = @Original_Frequency)) AND ((@IsNull_Dosage = 1 AND [Dosage] IS NULL) OR ([Dosage] = @Original_Dosage)) AND ((@IsNull_Purpose = 1 AND [Purpose] IS NULL) OR ([Purpose] = @Original_Purpose)) AND ((@IsNull_RxNum = 1 AND [RxNum] IS NULL) OR ([RxNum] = @Original_RxNum)));
|
|
SELECT Medication_id, MedicationName, IntakeMethod, Frequency, Dosage, Purpose, RxNum FROM MEDICATIONS WHERE (Medication_id = @Medication_id)</CommandText>
|
|
<Parameters>
|
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Medication_id" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Medication_id" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@MedicationName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MedicationName" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@IntakeMethod" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="IntakeMethod" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Frequency" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Frequency" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Dosage" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Dosage" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Purpose" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Purpose" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@RxNum" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="RxNum" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Medication_id" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Medication_id" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_MedicationName" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MedicationName" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_MedicationName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MedicationName" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_IntakeMethod" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IntakeMethod" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_IntakeMethod" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="IntakeMethod" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Frequency" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Frequency" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Frequency" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Frequency" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Dosage" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Dosage" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Dosage" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Dosage" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Purpose" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Purpose" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Purpose" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Purpose" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_RxNum" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="RxNum" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_RxNum" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="RxNum" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
</Parameters>
|
|
</DbCommand>
|
|
</UpdateCommand>
|
|
</DbSource>
|
|
</MainSource>
|
|
<Mappings>
|
|
<Mapping SourceColumn="Medication_id" DataSetColumn="Medication_id" />
|
|
<Mapping SourceColumn="MedicationName" DataSetColumn="MedicationName" />
|
|
<Mapping SourceColumn="IntakeMethod" DataSetColumn="IntakeMethod" />
|
|
<Mapping SourceColumn="Frequency" DataSetColumn="Frequency" />
|
|
<Mapping SourceColumn="Dosage" DataSetColumn="Dosage" />
|
|
<Mapping SourceColumn="Purpose" DataSetColumn="Purpose" />
|
|
<Mapping SourceColumn="RxNum" DataSetColumn="RxNum" />
|
|
</Mappings>
|
|
<Sources />
|
|
</TableAdapter>
|
|
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="PATIENTTableAdapter" GeneratorDataComponentClassName="PATIENTTableAdapter" Name="PATIENT" UserDataComponentName="PATIENTTableAdapter">
|
|
<MainSource>
|
|
<DbSource ConnectionRef="FinalProjectOfficialPharmacyConnectionString (Settings)" DbObjectName="FinalProjectOfficialPharmacy.dbo.PATIENT" 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].[PATIENT] WHERE (([Patient_id] = @Original_Patient_id) AND ((@IsNull_FirstName = 1 AND [FirstName] IS NULL) OR ([FirstName] = @Original_FirstName)) AND ((@IsNull_LastName = 1 AND [LastName] IS NULL) OR ([LastName] = @Original_LastName)) AND ((@IsNull_MiddleIntials = 1 AND [MiddleIntials] IS NULL) OR ([MiddleIntials] = @Original_MiddleIntials)) AND ((@IsNull_Zip = 1 AND [Zip] IS NULL) OR ([Zip] = @Original_Zip)) AND ((@IsNull_City = 1 AND [City] IS NULL) OR ([City] = @Original_City)) AND ((@IsNull_UsState = 1 AND [UsState] IS NULL) OR ([UsState] = @Original_UsState)) AND ((@IsNull_lbs = 1 AND [lbs] IS NULL) OR ([lbs] = @Original_lbs)) AND ((@IsNull_Height_feet = 1 AND [Height_feet] IS NULL) OR ([Height_feet] = @Original_Height_feet)) AND ((@IsNull_Height_inches = 1 AND [Height_inches] IS NULL) OR ([Height_inches] = @Original_Height_inches)) AND ((@IsNull_Ailment = 1 AND [Ailment] IS NULL) OR ([Ailment] = @Original_Ailment)) AND ((@IsNull_DOB = 1 AND [DOB] IS NULL) OR ([DOB] = @Original_DOB)) AND ((@IsNull_PhoneNumber = 1 AND [PhoneNumber] IS NULL) OR ([PhoneNumber] = @Original_PhoneNumber)) AND ((@IsNull_Gender = 1 AND [Gender] IS NULL) OR ([Gender] = @Original_Gender)))</CommandText>
|
|
<Parameters>
|
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Patient_id" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Patient_id" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_FirstName" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="FirstName" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_FirstName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="FirstName" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_LastName" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="LastName" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_LastName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="LastName" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_MiddleIntials" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MiddleIntials" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_MiddleIntials" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MiddleIntials" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Zip" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Zip" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@Original_Zip" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="Zip" 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_UsState" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="UsState" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_UsState" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="UsState" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_lbs" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="lbs" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_lbs" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="lbs" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Height_feet" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Height_feet" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Height_feet" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Height_feet" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Height_inches" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Height_inches" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Height_inches" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Height_inches" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Ailment" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Ailment" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Ailment" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Ailment" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_DOB" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="DOB" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_DOB" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="DOB" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_PhoneNumber" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PhoneNumber" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_PhoneNumber" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="PhoneNumber" 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="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_Gender" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="Gender" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
</Parameters>
|
|
</DbCommand>
|
|
</DeleteCommand>
|
|
<InsertCommand>
|
|
<DbCommand CommandType="Text" ModifiedByUser="false">
|
|
<CommandText>INSERT INTO [dbo].[PATIENT] ([Patient_id], [FirstName], [LastName], [MiddleIntials], [Zip], [City], [UsState], [lbs], [Height_feet], [Height_inches], [Ailment], [DOB], [PhoneNumber], [Gender]) VALUES (@Patient_id, @FirstName, @LastName, @MiddleIntials, @Zip, @City, @UsState, @lbs, @Height_feet, @Height_inches, @Ailment, @DOB, @PhoneNumber, @Gender);
|
|
SELECT Patient_id, FirstName, LastName, MiddleIntials, Zip, City, UsState, lbs, Height_feet, Height_inches, Ailment, DOB, PhoneNumber, Gender FROM PATIENT WHERE (Patient_id = @Patient_id)</CommandText>
|
|
<Parameters>
|
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Patient_id" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Patient_id" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@FirstName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="FirstName" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@LastName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="LastName" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@MiddleIntials" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MiddleIntials" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@Zip" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="Zip" 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="AnsiStringFixedLength" Direction="Input" ParameterName="@UsState" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="UsState" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@lbs" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="lbs" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Height_feet" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Height_feet" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Height_inches" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Height_inches" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Ailment" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Ailment" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@DOB" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="DOB" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@PhoneNumber" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="PhoneNumber" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Gender" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="Gender" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
</Parameters>
|
|
</DbCommand>
|
|
</InsertCommand>
|
|
<SelectCommand>
|
|
<DbCommand CommandType="Text" ModifiedByUser="false">
|
|
<CommandText>SELECT Patient_id, FirstName, LastName, MiddleIntials, Zip, City, UsState, lbs, Height_feet, Height_inches, Ailment, DOB, PhoneNumber, Gender FROM dbo.PATIENT</CommandText>
|
|
<Parameters />
|
|
</DbCommand>
|
|
</SelectCommand>
|
|
<UpdateCommand>
|
|
<DbCommand CommandType="Text" ModifiedByUser="false">
|
|
<CommandText>UPDATE [dbo].[PATIENT] SET [Patient_id] = @Patient_id, [FirstName] = @FirstName, [LastName] = @LastName, [MiddleIntials] = @MiddleIntials, [Zip] = @Zip, [City] = @City, [UsState] = @UsState, [lbs] = @lbs, [Height_feet] = @Height_feet, [Height_inches] = @Height_inches, [Ailment] = @Ailment, [DOB] = @DOB, [PhoneNumber] = @PhoneNumber, [Gender] = @Gender WHERE (([Patient_id] = @Original_Patient_id) AND ((@IsNull_FirstName = 1 AND [FirstName] IS NULL) OR ([FirstName] = @Original_FirstName)) AND ((@IsNull_LastName = 1 AND [LastName] IS NULL) OR ([LastName] = @Original_LastName)) AND ((@IsNull_MiddleIntials = 1 AND [MiddleIntials] IS NULL) OR ([MiddleIntials] = @Original_MiddleIntials)) AND ((@IsNull_Zip = 1 AND [Zip] IS NULL) OR ([Zip] = @Original_Zip)) AND ((@IsNull_City = 1 AND [City] IS NULL) OR ([City] = @Original_City)) AND ((@IsNull_UsState = 1 AND [UsState] IS NULL) OR ([UsState] = @Original_UsState)) AND ((@IsNull_lbs = 1 AND [lbs] IS NULL) OR ([lbs] = @Original_lbs)) AND ((@IsNull_Height_feet = 1 AND [Height_feet] IS NULL) OR ([Height_feet] = @Original_Height_feet)) AND ((@IsNull_Height_inches = 1 AND [Height_inches] IS NULL) OR ([Height_inches] = @Original_Height_inches)) AND ((@IsNull_Ailment = 1 AND [Ailment] IS NULL) OR ([Ailment] = @Original_Ailment)) AND ((@IsNull_DOB = 1 AND [DOB] IS NULL) OR ([DOB] = @Original_DOB)) AND ((@IsNull_PhoneNumber = 1 AND [PhoneNumber] IS NULL) OR ([PhoneNumber] = @Original_PhoneNumber)) AND ((@IsNull_Gender = 1 AND [Gender] IS NULL) OR ([Gender] = @Original_Gender)));
|
|
SELECT Patient_id, FirstName, LastName, MiddleIntials, Zip, City, UsState, lbs, Height_feet, Height_inches, Ailment, DOB, PhoneNumber, Gender FROM PATIENT WHERE (Patient_id = @Patient_id)</CommandText>
|
|
<Parameters>
|
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Patient_id" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Patient_id" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@FirstName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="FirstName" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@LastName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="LastName" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@MiddleIntials" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MiddleIntials" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@Zip" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="Zip" 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="AnsiStringFixedLength" Direction="Input" ParameterName="@UsState" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="UsState" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@lbs" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="lbs" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Height_feet" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Height_feet" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Height_inches" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Height_inches" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Ailment" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Ailment" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@DOB" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="DOB" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@PhoneNumber" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="PhoneNumber" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Gender" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="Gender" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Patient_id" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Patient_id" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_FirstName" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="FirstName" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_FirstName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="FirstName" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_LastName" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="LastName" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_LastName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="LastName" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_MiddleIntials" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MiddleIntials" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_MiddleIntials" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MiddleIntials" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Zip" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Zip" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@Original_Zip" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="Zip" 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_UsState" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="UsState" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_UsState" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="UsState" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_lbs" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="lbs" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_lbs" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="lbs" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Height_feet" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Height_feet" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Height_feet" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Height_feet" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Height_inches" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Height_inches" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Height_inches" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Height_inches" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Ailment" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Ailment" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Ailment" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Ailment" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_DOB" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="DOB" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_DOB" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="DOB" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_PhoneNumber" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PhoneNumber" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_PhoneNumber" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="PhoneNumber" 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="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_Gender" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="Gender" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
</Parameters>
|
|
</DbCommand>
|
|
</UpdateCommand>
|
|
</DbSource>
|
|
</MainSource>
|
|
<Mappings>
|
|
<Mapping SourceColumn="Patient_id" DataSetColumn="Patient_id" />
|
|
<Mapping SourceColumn="FirstName" DataSetColumn="FirstName" />
|
|
<Mapping SourceColumn="LastName" DataSetColumn="LastName" />
|
|
<Mapping SourceColumn="MiddleIntials" DataSetColumn="MiddleIntials" />
|
|
<Mapping SourceColumn="Zip" DataSetColumn="Zip" />
|
|
<Mapping SourceColumn="City" DataSetColumn="City" />
|
|
<Mapping SourceColumn="UsState" DataSetColumn="UsState" />
|
|
<Mapping SourceColumn="lbs" DataSetColumn="lbs" />
|
|
<Mapping SourceColumn="Height_feet" DataSetColumn="Height_feet" />
|
|
<Mapping SourceColumn="Height_inches" DataSetColumn="Height_inches" />
|
|
<Mapping SourceColumn="Ailment" DataSetColumn="Ailment" />
|
|
<Mapping SourceColumn="DOB" DataSetColumn="DOB" />
|
|
<Mapping SourceColumn="PhoneNumber" DataSetColumn="PhoneNumber" />
|
|
<Mapping SourceColumn="Gender" DataSetColumn="Gender" />
|
|
</Mappings>
|
|
<Sources />
|
|
</TableAdapter>
|
|
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="PHYSICIANTableAdapter" GeneratorDataComponentClassName="PHYSICIANTableAdapter" Name="PHYSICIAN" UserDataComponentName="PHYSICIANTableAdapter">
|
|
<MainSource>
|
|
<DbSource ConnectionRef="FinalProjectOfficialPharmacyConnectionString (Settings)" DbObjectName="FinalProjectOfficialPharmacy.dbo.PHYSICIAN" 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].[PHYSICIAN] WHERE (([Physician_id] = @Original_Physician_id) AND ((@IsNull_FirstName = 1 AND [FirstName] IS NULL) OR ([FirstName] = @Original_FirstName)) AND ((@IsNull_LastName = 1 AND [LastName] IS NULL) OR ([LastName] = @Original_LastName)) AND ((@IsNull_MiddleIntials = 1 AND [MiddleIntials] IS NULL) OR ([MiddleIntials] = @Original_MiddleIntials)) AND ((@IsNull_Zip = 1 AND [Zip] IS NULL) OR ([Zip] = @Original_Zip)) AND ((@IsNull_City = 1 AND [City] IS NULL) OR ([City] = @Original_City)) AND ((@IsNull_UsState = 1 AND [UsState] IS NULL) OR ([UsState] = @Original_UsState)) AND ((@IsNull_DOB = 1 AND [DOB] IS NULL) OR ([DOB] = @Original_DOB)) AND ((@IsNull_PhoneNumber = 1 AND [PhoneNumber] IS NULL) OR ([PhoneNumber] = @Original_PhoneNumber)) AND ((@IsNull_Gender = 1 AND [Gender] IS NULL) OR ([Gender] = @Original_Gender)) AND ((@IsNull_Specialty = 1 AND [Specialty] IS NULL) OR ([Specialty] = @Original_Specialty)))</CommandText>
|
|
<Parameters>
|
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Physician_id" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Physician_id" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_FirstName" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="FirstName" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_FirstName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="FirstName" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_LastName" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="LastName" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_LastName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="LastName" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_MiddleIntials" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MiddleIntials" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_MiddleIntials" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MiddleIntials" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Zip" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Zip" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@Original_Zip" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="Zip" 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_UsState" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="UsState" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_UsState" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="UsState" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_DOB" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="DOB" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_DOB" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="DOB" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_PhoneNumber" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PhoneNumber" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_PhoneNumber" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="PhoneNumber" 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="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_Gender" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="Gender" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Specialty" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Specialty" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Specialty" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Specialty" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
</Parameters>
|
|
</DbCommand>
|
|
</DeleteCommand>
|
|
<InsertCommand>
|
|
<DbCommand CommandType="Text" ModifiedByUser="false">
|
|
<CommandText>INSERT INTO [dbo].[PHYSICIAN] ([Physician_id], [FirstName], [LastName], [MiddleIntials], [Zip], [City], [UsState], [DOB], [PhoneNumber], [Gender], [Specialty]) VALUES (@Physician_id, @FirstName, @LastName, @MiddleIntials, @Zip, @City, @UsState, @DOB, @PhoneNumber, @Gender, @Specialty);
|
|
SELECT Physician_id, FirstName, LastName, MiddleIntials, Zip, City, UsState, DOB, PhoneNumber, Gender, Specialty FROM PHYSICIAN WHERE (Physician_id = @Physician_id)</CommandText>
|
|
<Parameters>
|
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Physician_id" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Physician_id" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@FirstName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="FirstName" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@LastName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="LastName" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@MiddleIntials" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MiddleIntials" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@Zip" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="Zip" 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="AnsiStringFixedLength" Direction="Input" ParameterName="@UsState" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="UsState" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@DOB" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="DOB" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@PhoneNumber" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="PhoneNumber" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Gender" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="Gender" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Specialty" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Specialty" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
</Parameters>
|
|
</DbCommand>
|
|
</InsertCommand>
|
|
<SelectCommand>
|
|
<DbCommand CommandType="Text" ModifiedByUser="false">
|
|
<CommandText>SELECT Physician_id, FirstName, LastName, MiddleIntials, Zip, City, UsState, DOB, PhoneNumber, Gender, Specialty FROM dbo.PHYSICIAN</CommandText>
|
|
<Parameters />
|
|
</DbCommand>
|
|
</SelectCommand>
|
|
<UpdateCommand>
|
|
<DbCommand CommandType="Text" ModifiedByUser="false">
|
|
<CommandText>UPDATE [dbo].[PHYSICIAN] SET [Physician_id] = @Physician_id, [FirstName] = @FirstName, [LastName] = @LastName, [MiddleIntials] = @MiddleIntials, [Zip] = @Zip, [City] = @City, [UsState] = @UsState, [DOB] = @DOB, [PhoneNumber] = @PhoneNumber, [Gender] = @Gender, [Specialty] = @Specialty WHERE (([Physician_id] = @Original_Physician_id) AND ((@IsNull_FirstName = 1 AND [FirstName] IS NULL) OR ([FirstName] = @Original_FirstName)) AND ((@IsNull_LastName = 1 AND [LastName] IS NULL) OR ([LastName] = @Original_LastName)) AND ((@IsNull_MiddleIntials = 1 AND [MiddleIntials] IS NULL) OR ([MiddleIntials] = @Original_MiddleIntials)) AND ((@IsNull_Zip = 1 AND [Zip] IS NULL) OR ([Zip] = @Original_Zip)) AND ((@IsNull_City = 1 AND [City] IS NULL) OR ([City] = @Original_City)) AND ((@IsNull_UsState = 1 AND [UsState] IS NULL) OR ([UsState] = @Original_UsState)) AND ((@IsNull_DOB = 1 AND [DOB] IS NULL) OR ([DOB] = @Original_DOB)) AND ((@IsNull_PhoneNumber = 1 AND [PhoneNumber] IS NULL) OR ([PhoneNumber] = @Original_PhoneNumber)) AND ((@IsNull_Gender = 1 AND [Gender] IS NULL) OR ([Gender] = @Original_Gender)) AND ((@IsNull_Specialty = 1 AND [Specialty] IS NULL) OR ([Specialty] = @Original_Specialty)));
|
|
SELECT Physician_id, FirstName, LastName, MiddleIntials, Zip, City, UsState, DOB, PhoneNumber, Gender, Specialty FROM PHYSICIAN WHERE (Physician_id = @Physician_id)</CommandText>
|
|
<Parameters>
|
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Physician_id" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Physician_id" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@FirstName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="FirstName" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@LastName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="LastName" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@MiddleIntials" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MiddleIntials" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@Zip" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="Zip" 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="AnsiStringFixedLength" Direction="Input" ParameterName="@UsState" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="UsState" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@DOB" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="DOB" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@PhoneNumber" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="PhoneNumber" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Gender" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="Gender" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Specialty" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Specialty" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Physician_id" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Physician_id" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_FirstName" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="FirstName" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_FirstName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="FirstName" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_LastName" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="LastName" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_LastName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="LastName" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_MiddleIntials" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MiddleIntials" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_MiddleIntials" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MiddleIntials" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Zip" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Zip" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@Original_Zip" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="Zip" 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_UsState" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="UsState" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_UsState" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="UsState" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_DOB" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="DOB" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_DOB" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="DOB" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_PhoneNumber" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PhoneNumber" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_PhoneNumber" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="PhoneNumber" 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="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_Gender" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="Gender" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Specialty" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Specialty" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Specialty" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Specialty" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
</Parameters>
|
|
</DbCommand>
|
|
</UpdateCommand>
|
|
</DbSource>
|
|
</MainSource>
|
|
<Mappings>
|
|
<Mapping SourceColumn="Physician_id" DataSetColumn="Physician_id" />
|
|
<Mapping SourceColumn="FirstName" DataSetColumn="FirstName" />
|
|
<Mapping SourceColumn="LastName" DataSetColumn="LastName" />
|
|
<Mapping SourceColumn="MiddleIntials" DataSetColumn="MiddleIntials" />
|
|
<Mapping SourceColumn="Zip" DataSetColumn="Zip" />
|
|
<Mapping SourceColumn="City" DataSetColumn="City" />
|
|
<Mapping SourceColumn="UsState" DataSetColumn="UsState" />
|
|
<Mapping SourceColumn="DOB" DataSetColumn="DOB" />
|
|
<Mapping SourceColumn="PhoneNumber" DataSetColumn="PhoneNumber" />
|
|
<Mapping SourceColumn="Gender" DataSetColumn="Gender" />
|
|
<Mapping SourceColumn="Specialty" DataSetColumn="Specialty" />
|
|
</Mappings>
|
|
<Sources />
|
|
</TableAdapter>
|
|
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="REFILLSTableAdapter" GeneratorDataComponentClassName="REFILLSTableAdapter" Name="REFILLS" UserDataComponentName="REFILLSTableAdapter">
|
|
<MainSource>
|
|
<DbSource ConnectionRef="FinalProjectOfficialPharmacyConnectionString (Settings)" DbObjectName="FinalProjectOfficialPharmacy.dbo.REFILLS" 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].[REFILLS] WHERE (([Refill_id] = @Original_Refill_id) AND ((@IsNull_Numrefill = 1 AND [Numrefill] IS NULL) OR ([Numrefill] = @Original_Numrefill)) AND ((@IsNull_StartDate = 1 AND [StartDate] IS NULL) OR ([StartDate] = @Original_StartDate)) AND ((@IsNull_EndDate = 1 AND [EndDate] IS NULL) OR ([EndDate] = @Original_EndDate)) AND ((@IsNull_NotesAndComments = 1 AND [NotesAndComments] IS NULL) OR ([NotesAndComments] = @Original_NotesAndComments)))</CommandText>
|
|
<Parameters>
|
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Refill_id" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Refill_id" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Numrefill" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Numrefill" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Numrefill" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Numrefill" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_StartDate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="StartDate" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@Original_StartDate" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="StartDate" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_EndDate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="EndDate" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@Original_EndDate" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="EndDate" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_NotesAndComments" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="NotesAndComments" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_NotesAndComments" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="NotesAndComments" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
</Parameters>
|
|
</DbCommand>
|
|
</DeleteCommand>
|
|
<InsertCommand>
|
|
<DbCommand CommandType="Text" ModifiedByUser="false">
|
|
<CommandText>INSERT INTO [dbo].[REFILLS] ([Refill_id], [Numrefill], [StartDate], [EndDate], [NotesAndComments]) VALUES (@Refill_id, @Numrefill, @StartDate, @EndDate, @NotesAndComments);
|
|
SELECT Refill_id, Numrefill, StartDate, EndDate, NotesAndComments FROM REFILLS WHERE (Refill_id = @Refill_id)</CommandText>
|
|
<Parameters>
|
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Refill_id" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Refill_id" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Numrefill" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Numrefill" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@StartDate" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="StartDate" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@EndDate" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="EndDate" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@NotesAndComments" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="NotesAndComments" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
</Parameters>
|
|
</DbCommand>
|
|
</InsertCommand>
|
|
<SelectCommand>
|
|
<DbCommand CommandType="Text" ModifiedByUser="false">
|
|
<CommandText>SELECT Refill_id, Numrefill, StartDate, EndDate, NotesAndComments FROM dbo.REFILLS</CommandText>
|
|
<Parameters />
|
|
</DbCommand>
|
|
</SelectCommand>
|
|
<UpdateCommand>
|
|
<DbCommand CommandType="Text" ModifiedByUser="false">
|
|
<CommandText>UPDATE [dbo].[REFILLS] SET [Refill_id] = @Refill_id, [Numrefill] = @Numrefill, [StartDate] = @StartDate, [EndDate] = @EndDate, [NotesAndComments] = @NotesAndComments WHERE (([Refill_id] = @Original_Refill_id) AND ((@IsNull_Numrefill = 1 AND [Numrefill] IS NULL) OR ([Numrefill] = @Original_Numrefill)) AND ((@IsNull_StartDate = 1 AND [StartDate] IS NULL) OR ([StartDate] = @Original_StartDate)) AND ((@IsNull_EndDate = 1 AND [EndDate] IS NULL) OR ([EndDate] = @Original_EndDate)) AND ((@IsNull_NotesAndComments = 1 AND [NotesAndComments] IS NULL) OR ([NotesAndComments] = @Original_NotesAndComments)));
|
|
SELECT Refill_id, Numrefill, StartDate, EndDate, NotesAndComments FROM REFILLS WHERE (Refill_id = @Refill_id)</CommandText>
|
|
<Parameters>
|
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Refill_id" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Refill_id" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Numrefill" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Numrefill" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@StartDate" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="StartDate" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@EndDate" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="EndDate" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@NotesAndComments" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="NotesAndComments" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Refill_id" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Refill_id" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Numrefill" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Numrefill" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Numrefill" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Numrefill" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_StartDate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="StartDate" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@Original_StartDate" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="StartDate" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_EndDate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="EndDate" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@Original_EndDate" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="EndDate" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_NotesAndComments" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="NotesAndComments" SourceColumnNullMapping="true" SourceVersion="Original" />
|
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_NotesAndComments" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="NotesAndComments" SourceColumnNullMapping="false" SourceVersion="Original" />
|
|
</Parameters>
|
|
</DbCommand>
|
|
</UpdateCommand>
|
|
</DbSource>
|
|
</MainSource>
|
|
<Mappings>
|
|
<Mapping SourceColumn="Refill_id" DataSetColumn="Refill_id" />
|
|
<Mapping SourceColumn="Numrefill" DataSetColumn="Numrefill" />
|
|
<Mapping SourceColumn="StartDate" DataSetColumn="StartDate" />
|
|
<Mapping SourceColumn="EndDate" DataSetColumn="EndDate" />
|
|
<Mapping SourceColumn="NotesAndComments" DataSetColumn="NotesAndComments" />
|
|
</Mappings>
|
|
<Sources />
|
|
</TableAdapter>
|
|
</Tables>
|
|
<Sources />
|
|
</DataSource>
|
|
</xs:appinfo>
|
|
</xs:annotation>
|
|
<xs:element name="FinalProjectOfficialPharmacyDataSet" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="True" msprop:Generator_UserDSName="FinalProjectOfficialPharmacyDataSet" msprop:Generator_DataSetName="FinalProjectOfficialPharmacyDataSet">
|
|
<xs:complexType>
|
|
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
|
<xs:element name="MEDICATIONS" msprop:Generator_RowEvHandlerName="MEDICATIONSRowChangeEventHandler" msprop:Generator_RowDeletedName="MEDICATIONSRowDeleted" msprop:Generator_RowDeletingName="MEDICATIONSRowDeleting" msprop:Generator_RowEvArgName="MEDICATIONSRowChangeEvent" msprop:Generator_TablePropName="MEDICATIONS" msprop:Generator_RowChangedName="MEDICATIONSRowChanged" msprop:Generator_RowChangingName="MEDICATIONSRowChanging" msprop:Generator_TableClassName="MEDICATIONSDataTable" msprop:Generator_RowClassName="MEDICATIONSRow" msprop:Generator_TableVarName="tableMEDICATIONS" msprop:Generator_UserTableName="MEDICATIONS">
|
|
<xs:complexType>
|
|
<xs:sequence>
|
|
<xs:element name="Medication_id" msprop:Generator_ColumnPropNameInRow="Medication_id" msprop:Generator_ColumnPropNameInTable="Medication_idColumn" msprop:Generator_ColumnVarNameInTable="columnMedication_id" msprop:Generator_UserColumnName="Medication_id">
|
|
<xs:simpleType>
|
|
<xs:restriction base="xs:string">
|
|
<xs:maxLength value="7" />
|
|
</xs:restriction>
|
|
</xs:simpleType>
|
|
</xs:element>
|
|
<xs:element name="MedicationName" msprop:Generator_ColumnPropNameInRow="MedicationName" msprop:Generator_ColumnPropNameInTable="MedicationNameColumn" msprop:Generator_ColumnVarNameInTable="columnMedicationName" msprop:Generator_UserColumnName="MedicationName" minOccurs="0">
|
|
<xs:simpleType>
|
|
<xs:restriction base="xs:string">
|
|
<xs:maxLength value="60" />
|
|
</xs:restriction>
|
|
</xs:simpleType>
|
|
</xs:element>
|
|
<xs:element name="IntakeMethod" msprop:Generator_ColumnPropNameInRow="IntakeMethod" msprop:Generator_ColumnPropNameInTable="IntakeMethodColumn" msprop:Generator_ColumnVarNameInTable="columnIntakeMethod" msprop:Generator_UserColumnName="IntakeMethod" minOccurs="0">
|
|
<xs:simpleType>
|
|
<xs:restriction base="xs:string">
|
|
<xs:maxLength value="30" />
|
|
</xs:restriction>
|
|
</xs:simpleType>
|
|
</xs:element>
|
|
<xs:element name="Frequency" msprop:Generator_ColumnPropNameInRow="Frequency" msprop:Generator_ColumnPropNameInTable="FrequencyColumn" msprop:Generator_ColumnVarNameInTable="columnFrequency" msprop:Generator_UserColumnName="Frequency" minOccurs="0">
|
|
<xs:simpleType>
|
|
<xs:restriction base="xs:string">
|
|
<xs:maxLength value="30" />
|
|
</xs:restriction>
|
|
</xs:simpleType>
|
|
</xs:element>
|
|
<xs:element name="Dosage" msprop:Generator_ColumnPropNameInRow="Dosage" msprop:Generator_ColumnPropNameInTable="DosageColumn" msprop:Generator_ColumnVarNameInTable="columnDosage" msprop:Generator_UserColumnName="Dosage" minOccurs="0">
|
|
<xs:simpleType>
|
|
<xs:restriction base="xs:string">
|
|
<xs:maxLength value="30" />
|
|
</xs:restriction>
|
|
</xs:simpleType>
|
|
</xs:element>
|
|
<xs:element name="Purpose" msprop:Generator_ColumnPropNameInRow="Purpose" msprop:Generator_ColumnPropNameInTable="PurposeColumn" msprop:Generator_ColumnVarNameInTable="columnPurpose" msprop:Generator_UserColumnName="Purpose" minOccurs="0">
|
|
<xs:simpleType>
|
|
<xs:restriction base="xs:string">
|
|
<xs:maxLength value="100" />
|
|
</xs:restriction>
|
|
</xs:simpleType>
|
|
</xs:element>
|
|
<xs:element name="RxNum" msprop:Generator_ColumnPropNameInRow="RxNum" msprop:Generator_ColumnPropNameInTable="RxNumColumn" msprop:Generator_ColumnVarNameInTable="columnRxNum" msprop:Generator_UserColumnName="RxNum" minOccurs="0">
|
|
<xs:simpleType>
|
|
<xs:restriction base="xs:string">
|
|
<xs:maxLength value="11" />
|
|
</xs:restriction>
|
|
</xs:simpleType>
|
|
</xs:element>
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
</xs:element>
|
|
<xs:element name="PATIENT" msprop:Generator_RowEvHandlerName="PATIENTRowChangeEventHandler" msprop:Generator_RowDeletedName="PATIENTRowDeleted" msprop:Generator_RowDeletingName="PATIENTRowDeleting" msprop:Generator_RowEvArgName="PATIENTRowChangeEvent" msprop:Generator_TablePropName="PATIENT" msprop:Generator_RowChangedName="PATIENTRowChanged" msprop:Generator_RowChangingName="PATIENTRowChanging" msprop:Generator_TableClassName="PATIENTDataTable" msprop:Generator_RowClassName="PATIENTRow" msprop:Generator_TableVarName="tablePATIENT" msprop:Generator_UserTableName="PATIENT">
|
|
<xs:complexType>
|
|
<xs:sequence>
|
|
<xs:element name="Patient_id" msprop:Generator_ColumnPropNameInRow="Patient_id" msprop:Generator_ColumnPropNameInTable="Patient_idColumn" msprop:Generator_ColumnVarNameInTable="columnPatient_id" msprop:Generator_UserColumnName="Patient_id">
|
|
<xs:simpleType>
|
|
<xs:restriction base="xs:string">
|
|
<xs:maxLength value="8" />
|
|
</xs:restriction>
|
|
</xs:simpleType>
|
|
</xs:element>
|
|
<xs:element name="FirstName" msprop:Generator_ColumnPropNameInRow="FirstName" msprop:Generator_ColumnPropNameInTable="FirstNameColumn" msprop:Generator_ColumnVarNameInTable="columnFirstName" msprop:Generator_UserColumnName="FirstName" minOccurs="0">
|
|
<xs:simpleType>
|
|
<xs:restriction base="xs:string">
|
|
<xs:maxLength value="30" />
|
|
</xs:restriction>
|
|
</xs:simpleType>
|
|
</xs:element>
|
|
<xs:element name="LastName" msprop:Generator_ColumnPropNameInRow="LastName" msprop:Generator_ColumnPropNameInTable="LastNameColumn" msprop:Generator_ColumnVarNameInTable="columnLastName" msprop:Generator_UserColumnName="LastName" minOccurs="0">
|
|
<xs:simpleType>
|
|
<xs:restriction base="xs:string">
|
|
<xs:maxLength value="30" />
|
|
</xs:restriction>
|
|
</xs:simpleType>
|
|
</xs:element>
|
|
<xs:element name="MiddleIntials" msprop:Generator_ColumnPropNameInRow="MiddleIntials" msprop:Generator_ColumnPropNameInTable="MiddleIntialsColumn" msprop:Generator_ColumnVarNameInTable="columnMiddleIntials" msprop:Generator_UserColumnName="MiddleIntials" minOccurs="0">
|
|
<xs:simpleType>
|
|
<xs:restriction base="xs:string">
|
|
<xs:maxLength value="1" />
|
|
</xs:restriction>
|
|
</xs:simpleType>
|
|
</xs:element>
|
|
<xs:element name="Zip" msprop:Generator_ColumnPropNameInRow="Zip" msprop:Generator_ColumnPropNameInTable="ZipColumn" msprop:Generator_ColumnVarNameInTable="columnZip" msprop:Generator_UserColumnName="Zip" type="xs:short" minOccurs="0" />
|
|
<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="30" />
|
|
</xs:restriction>
|
|
</xs:simpleType>
|
|
</xs:element>
|
|
<xs:element name="UsState" msprop:Generator_ColumnPropNameInRow="UsState" msprop:Generator_ColumnPropNameInTable="UsStateColumn" msprop:Generator_ColumnVarNameInTable="columnUsState" msprop:Generator_UserColumnName="UsState" minOccurs="0">
|
|
<xs:simpleType>
|
|
<xs:restriction base="xs:string">
|
|
<xs:maxLength value="2" />
|
|
</xs:restriction>
|
|
</xs:simpleType>
|
|
</xs:element>
|
|
<xs:element name="lbs" msprop:Generator_ColumnPropNameInRow="lbs" msprop:Generator_ColumnPropNameInTable="lbsColumn" msprop:Generator_ColumnVarNameInTable="columnlbs" msprop:Generator_UserColumnName="lbs" type="xs:int" minOccurs="0" />
|
|
<xs:element name="Height_feet" msprop:Generator_ColumnPropNameInRow="Height_feet" msprop:Generator_ColumnPropNameInTable="Height_feetColumn" msprop:Generator_ColumnVarNameInTable="columnHeight_feet" msprop:Generator_UserColumnName="Height_feet" type="xs:int" minOccurs="0" />
|
|
<xs:element name="Height_inches" msprop:Generator_ColumnPropNameInRow="Height_inches" msprop:Generator_ColumnPropNameInTable="Height_inchesColumn" msprop:Generator_ColumnVarNameInTable="columnHeight_inches" msprop:Generator_UserColumnName="Height_inches" type="xs:int" minOccurs="0" />
|
|
<xs:element name="Ailment" msprop:Generator_ColumnPropNameInRow="Ailment" msprop:Generator_ColumnPropNameInTable="AilmentColumn" msprop:Generator_ColumnVarNameInTable="columnAilment" msprop:Generator_UserColumnName="Ailment" minOccurs="0">
|
|
<xs:simpleType>
|
|
<xs:restriction base="xs:string">
|
|
<xs:maxLength value="30" />
|
|
</xs:restriction>
|
|
</xs:simpleType>
|
|
</xs:element>
|
|
<xs:element name="DOB" msprop:Generator_ColumnPropNameInRow="DOB" msprop:Generator_ColumnPropNameInTable="DOBColumn" msprop:Generator_ColumnVarNameInTable="columnDOB" msprop:Generator_UserColumnName="DOB" type="xs:dateTime" minOccurs="0" />
|
|
<xs:element name="PhoneNumber" msprop:Generator_ColumnPropNameInRow="PhoneNumber" msprop:Generator_ColumnPropNameInTable="PhoneNumberColumn" msprop:Generator_ColumnVarNameInTable="columnPhoneNumber" msprop:Generator_UserColumnName="PhoneNumber" minOccurs="0">
|
|
<xs:simpleType>
|
|
<xs:restriction base="xs:string">
|
|
<xs:maxLength value="14" />
|
|
</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:sequence>
|
|
</xs:complexType>
|
|
</xs:element>
|
|
<xs:element name="PHYSICIAN" msprop:Generator_RowEvHandlerName="PHYSICIANRowChangeEventHandler" msprop:Generator_RowDeletedName="PHYSICIANRowDeleted" msprop:Generator_RowDeletingName="PHYSICIANRowDeleting" msprop:Generator_RowEvArgName="PHYSICIANRowChangeEvent" msprop:Generator_TablePropName="PHYSICIAN" msprop:Generator_RowChangedName="PHYSICIANRowChanged" msprop:Generator_RowChangingName="PHYSICIANRowChanging" msprop:Generator_TableClassName="PHYSICIANDataTable" msprop:Generator_RowClassName="PHYSICIANRow" msprop:Generator_TableVarName="tablePHYSICIAN" msprop:Generator_UserTableName="PHYSICIAN">
|
|
<xs:complexType>
|
|
<xs:sequence>
|
|
<xs:element name="Physician_id" msprop:Generator_ColumnPropNameInRow="Physician_id" msprop:Generator_ColumnPropNameInTable="Physician_idColumn" msprop:Generator_ColumnVarNameInTable="columnPhysician_id" msprop:Generator_UserColumnName="Physician_id">
|
|
<xs:simpleType>
|
|
<xs:restriction base="xs:string">
|
|
<xs:maxLength value="8" />
|
|
</xs:restriction>
|
|
</xs:simpleType>
|
|
</xs:element>
|
|
<xs:element name="FirstName" msprop:Generator_ColumnPropNameInRow="FirstName" msprop:Generator_ColumnPropNameInTable="FirstNameColumn" msprop:Generator_ColumnVarNameInTable="columnFirstName" msprop:Generator_UserColumnName="FirstName" minOccurs="0">
|
|
<xs:simpleType>
|
|
<xs:restriction base="xs:string">
|
|
<xs:maxLength value="30" />
|
|
</xs:restriction>
|
|
</xs:simpleType>
|
|
</xs:element>
|
|
<xs:element name="LastName" msprop:Generator_ColumnPropNameInRow="LastName" msprop:Generator_ColumnPropNameInTable="LastNameColumn" msprop:Generator_ColumnVarNameInTable="columnLastName" msprop:Generator_UserColumnName="LastName" minOccurs="0">
|
|
<xs:simpleType>
|
|
<xs:restriction base="xs:string">
|
|
<xs:maxLength value="30" />
|
|
</xs:restriction>
|
|
</xs:simpleType>
|
|
</xs:element>
|
|
<xs:element name="MiddleIntials" msprop:Generator_ColumnPropNameInRow="MiddleIntials" msprop:Generator_ColumnPropNameInTable="MiddleIntialsColumn" msprop:Generator_ColumnVarNameInTable="columnMiddleIntials" msprop:Generator_UserColumnName="MiddleIntials" minOccurs="0">
|
|
<xs:simpleType>
|
|
<xs:restriction base="xs:string">
|
|
<xs:maxLength value="1" />
|
|
</xs:restriction>
|
|
</xs:simpleType>
|
|
</xs:element>
|
|
<xs:element name="Zip" msprop:Generator_ColumnPropNameInRow="Zip" msprop:Generator_ColumnPropNameInTable="ZipColumn" msprop:Generator_ColumnVarNameInTable="columnZip" msprop:Generator_UserColumnName="Zip" type="xs:short" minOccurs="0" />
|
|
<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="30" />
|
|
</xs:restriction>
|
|
</xs:simpleType>
|
|
</xs:element>
|
|
<xs:element name="UsState" msprop:Generator_ColumnPropNameInRow="UsState" msprop:Generator_ColumnPropNameInTable="UsStateColumn" msprop:Generator_ColumnVarNameInTable="columnUsState" msprop:Generator_UserColumnName="UsState" minOccurs="0">
|
|
<xs:simpleType>
|
|
<xs:restriction base="xs:string">
|
|
<xs:maxLength value="2" />
|
|
</xs:restriction>
|
|
</xs:simpleType>
|
|
</xs:element>
|
|
<xs:element name="DOB" msprop:Generator_ColumnPropNameInRow="DOB" msprop:Generator_ColumnPropNameInTable="DOBColumn" msprop:Generator_ColumnVarNameInTable="columnDOB" msprop:Generator_UserColumnName="DOB" type="xs:dateTime" minOccurs="0" />
|
|
<xs:element name="PhoneNumber" msprop:Generator_ColumnPropNameInRow="PhoneNumber" msprop:Generator_ColumnPropNameInTable="PhoneNumberColumn" msprop:Generator_ColumnVarNameInTable="columnPhoneNumber" msprop:Generator_UserColumnName="PhoneNumber" minOccurs="0">
|
|
<xs:simpleType>
|
|
<xs:restriction base="xs:string">
|
|
<xs:maxLength value="14" />
|
|
</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="Specialty" msprop:Generator_ColumnPropNameInRow="Specialty" msprop:Generator_ColumnPropNameInTable="SpecialtyColumn" msprop:Generator_ColumnVarNameInTable="columnSpecialty" msprop:Generator_UserColumnName="Specialty" 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="REFILLS" msprop:Generator_RowEvHandlerName="REFILLSRowChangeEventHandler" msprop:Generator_RowDeletedName="REFILLSRowDeleted" msprop:Generator_RowDeletingName="REFILLSRowDeleting" msprop:Generator_RowEvArgName="REFILLSRowChangeEvent" msprop:Generator_TablePropName="REFILLS" msprop:Generator_RowChangedName="REFILLSRowChanged" msprop:Generator_RowChangingName="REFILLSRowChanging" msprop:Generator_TableClassName="REFILLSDataTable" msprop:Generator_RowClassName="REFILLSRow" msprop:Generator_TableVarName="tableREFILLS" msprop:Generator_UserTableName="REFILLS">
|
|
<xs:complexType>
|
|
<xs:sequence>
|
|
<xs:element name="Refill_id" msprop:Generator_ColumnPropNameInRow="Refill_id" msprop:Generator_ColumnPropNameInTable="Refill_idColumn" msprop:Generator_ColumnVarNameInTable="columnRefill_id" msprop:Generator_UserColumnName="Refill_id">
|
|
<xs:simpleType>
|
|
<xs:restriction base="xs:string">
|
|
<xs:maxLength value="6" />
|
|
</xs:restriction>
|
|
</xs:simpleType>
|
|
</xs:element>
|
|
<xs:element name="Numrefill" msprop:Generator_ColumnPropNameInRow="Numrefill" msprop:Generator_ColumnPropNameInTable="NumrefillColumn" msprop:Generator_ColumnVarNameInTable="columnNumrefill" msprop:Generator_UserColumnName="Numrefill" type="xs:int" minOccurs="0" />
|
|
<xs:element name="StartDate" msprop:Generator_ColumnPropNameInRow="StartDate" msprop:Generator_ColumnPropNameInTable="StartDateColumn" msprop:Generator_ColumnVarNameInTable="columnStartDate" msprop:Generator_UserColumnName="StartDate" type="xs:dateTime" minOccurs="0" />
|
|
<xs:element name="EndDate" msprop:Generator_ColumnPropNameInRow="EndDate" msprop:Generator_ColumnPropNameInTable="EndDateColumn" msprop:Generator_ColumnVarNameInTable="columnEndDate" msprop:Generator_UserColumnName="EndDate" type="xs:dateTime" minOccurs="0" />
|
|
<xs:element name="NotesAndComments" msprop:Generator_ColumnPropNameInRow="NotesAndComments" msprop:Generator_ColumnPropNameInTable="NotesAndCommentsColumn" msprop:Generator_ColumnVarNameInTable="columnNotesAndComments" msprop:Generator_UserColumnName="NotesAndComments" minOccurs="0">
|
|
<xs:simpleType>
|
|
<xs:restriction base="xs:string">
|
|
<xs:maxLength value="200" />
|
|
</xs:restriction>
|
|
</xs:simpleType>
|
|
</xs:element>
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
</xs:element>
|
|
</xs:choice>
|
|
</xs:complexType>
|
|
<xs:unique name="Constraint1" msdata:PrimaryKey="true">
|
|
<xs:selector xpath=".//mstns:MEDICATIONS" />
|
|
<xs:field xpath="mstns:Medication_id" />
|
|
</xs:unique>
|
|
<xs:unique name="PATIENT_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
|
|
<xs:selector xpath=".//mstns:PATIENT" />
|
|
<xs:field xpath="mstns:Patient_id" />
|
|
</xs:unique>
|
|
<xs:unique name="PHYSICIAN_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
|
|
<xs:selector xpath=".//mstns:PHYSICIAN" />
|
|
<xs:field xpath="mstns:Physician_id" />
|
|
</xs:unique>
|
|
<xs:unique name="REFILLS_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
|
|
<xs:selector xpath=".//mstns:REFILLS" />
|
|
<xs:field xpath="mstns:Refill_id" />
|
|
</xs:unique>
|
|
</xs:element>
|
|
</xs:schema> |