-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathDSPrepSummary.xsd
172 lines (172 loc) · 16.6 KB
/
DSPrepSummary.xsd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="DSPrepSummary" targetNamespace="http://tempuri.org/DSPrepSummary.xsd" xmlns:mstns="http://tempuri.org/DSPrepSummary.xsd" xmlns="http://tempuri.org/DSPrepSummary.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="1" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
<Connections>
<Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="dsa_limsConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="dsa_limsConnectionString (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.DSA_lims.Properties.Settings.GlobalReference.Default.dsa_limsConnectionString" Provider="System.Data.SqlClient" />
<Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="dsa_limsConnectionString1" IsAppSettingsProperty="true" Modifier="Assembly" Name="dsa_limsConnectionString1 (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.DSA_lims.Properties.Settings.GlobalReference.Default.dsa_limsConnectionString1" Provider="System.Data.SqlClient" />
</Connections>
<Tables>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="DataTable1TableAdapter" GeneratorDataComponentClassName="DataTable1TableAdapter" Name="DataTable1" UserDataComponentName="DataTable1TableAdapter">
<MainSource>
<DbSource ConnectionRef="dsa_limsConnectionString (Settings)" DbObjectName="" DbObjectType="Unknown" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>SELECT laboratory.name, preparation_method.name AS Prepname, assignment.name AS Ordername, preparation_geometry.name AS Geoname, sample_type.name AS Stype, preparation.amount,
preparation_unit.name AS PrepAmount, preparation.quantity, quantity_unit.name AS QuanUnit, sample.reference_date, sample.external_id, sample.number, preparation.fill_height_mm, preparation.comment,
sample.wet_weight_g, sample.dry_weight_g, sample.volume_l, assignment.customer_contact_name, preparation.workflow_status_id, sample.lod_weight_start, sample.lod_weight_end, sample.lod_temperature,
preparation_method.name_short
FROM preparation LEFT OUTER JOIN
workflow_status ON preparation.workflow_status_id = workflow_status.id LEFT OUTER JOIN
assignment ON preparation.assignment_id = assignment.id LEFT OUTER JOIN
preparation_unit ON preparation.prep_unit_id = preparation_unit.id RIGHT OUTER JOIN
sample ON preparation.sample_id = sample.id LEFT OUTER JOIN
quantity_unit ON preparation.quantity_unit_id = quantity_unit.id LEFT OUTER JOIN
sample_type ON sample.sample_type_id = sample_type.id LEFT OUTER JOIN
preparation_method ON preparation.preparation_method_id = preparation_method.id LEFT OUTER JOIN
preparation_geometry ON preparation.preparation_geometry_id = preparation_geometry.id LEFT OUTER JOIN
laboratory ON preparation.laboratory_id = laboratory.id
WHERE (assignment.id = @aid) AND (preparation.instance_status_id = 1)
ORDER BY sample.number</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="aid" ColumnName="id" DataSourceName="dsa_lims.dbo.assignment" DataTypeServer="uniqueidentifier" DbType="Guid" Direction="Input" ParameterName="@aid" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="16" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="name" DataSetColumn="name" />
<Mapping SourceColumn="Prepname" DataSetColumn="Prepname" />
<Mapping SourceColumn="Ordername" DataSetColumn="Ordername" />
<Mapping SourceColumn="Geoname" DataSetColumn="Geoname" />
<Mapping SourceColumn="Stype" DataSetColumn="Stype" />
<Mapping SourceColumn="amount" DataSetColumn="amount" />
<Mapping SourceColumn="PrepAmount" DataSetColumn="PrepAmount" />
<Mapping SourceColumn="quantity" DataSetColumn="quantity" />
<Mapping SourceColumn="QuanUnit" DataSetColumn="QuanUnit" />
<Mapping SourceColumn="reference_date" DataSetColumn="reference_date" />
<Mapping SourceColumn="external_id" DataSetColumn="external_id" />
<Mapping SourceColumn="number" DataSetColumn="number" />
<Mapping SourceColumn="fill_height_mm" DataSetColumn="fill_height_mm" />
<Mapping SourceColumn="comment" DataSetColumn="comment" />
<Mapping SourceColumn="wet_weight_g" DataSetColumn="wet_weight_g" />
<Mapping SourceColumn="dry_weight_g" DataSetColumn="dry_weight_g" />
<Mapping SourceColumn="volume_l" DataSetColumn="volume_l" />
<Mapping SourceColumn="customer_contact_name" DataSetColumn="customer_contact_name" />
<Mapping SourceColumn="lod_weight_start" DataSetColumn="lod_weight_start" />
<Mapping SourceColumn="lod_weight_end" DataSetColumn="lod_weight_end" />
<Mapping SourceColumn="lod_temperature" DataSetColumn="lod_temperature" />
<Mapping SourceColumn="name_short" DataSetColumn="name_short" />
<Mapping SourceColumn="workflow_status_id" DataSetColumn="workflow_status_id" />
</Mappings>
<Sources />
</TableAdapter>
</Tables>
<Sources />
</DataSource>
</xs:appinfo>
</xs:annotation>
<xs:element name="DSPrepSummary" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="true" msprop:Generator_DataSetName="DSPrepSummary" msprop:Generator_UserDSName="DSPrepSummary">
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="DataTable1" msprop:Generator_TableClassName="DataTable1DataTable" msprop:Generator_TableVarName="tableDataTable1" msprop:Generator_RowChangedName="DataTable1RowChanged" msprop:Generator_TablePropName="DataTable1" msprop:Generator_RowDeletingName="DataTable1RowDeleting" msprop:Generator_RowChangingName="DataTable1RowChanging" msprop:Generator_RowEvHandlerName="DataTable1RowChangeEventHandler" msprop:Generator_RowDeletedName="DataTable1RowDeleted" msprop:Generator_RowClassName="DataTable1Row" msprop:Generator_UserTableName="DataTable1" msprop:Generator_RowEvArgName="DataTable1RowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="name" msprop:Generator_ColumnVarNameInTable="columnname" msprop:Generator_ColumnPropNameInRow="name" msprop:Generator_ColumnPropNameInTable="nameColumn" msprop:Generator_UserColumnName="name" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="256" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Prepname" msprop:Generator_ColumnVarNameInTable="columnPrepname" msprop:Generator_ColumnPropNameInRow="Prepname" msprop:Generator_ColumnPropNameInTable="PrepnameColumn" msprop:Generator_UserColumnName="Prepname" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="200" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Ordername" msprop:Generator_ColumnVarNameInTable="columnOrdername" msprop:Generator_ColumnPropNameInRow="Ordername" msprop:Generator_ColumnPropNameInTable="OrdernameColumn" msprop:Generator_UserColumnName="Ordername" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="80" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Geoname" msprop:Generator_ColumnVarNameInTable="columnGeoname" msprop:Generator_ColumnPropNameInRow="Geoname" msprop:Generator_ColumnPropNameInTable="GeonameColumn" msprop:Generator_UserColumnName="Geoname" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="80" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Stype" msprop:Generator_ColumnVarNameInTable="columnStype" msprop:Generator_ColumnPropNameInRow="Stype" msprop:Generator_ColumnPropNameInTable="StypeColumn" msprop:Generator_UserColumnName="Stype" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="80" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="amount" msprop:Generator_ColumnVarNameInTable="columnamount" msprop:Generator_ColumnPropNameInRow="amount" msprop:Generator_ColumnPropNameInTable="amountColumn" msprop:Generator_UserColumnName="amount" type="xs:double" minOccurs="0" />
<xs:element name="PrepAmount" msprop:Generator_ColumnVarNameInTable="columnPrepAmount" msprop:Generator_ColumnPropNameInRow="PrepAmount" msprop:Generator_ColumnPropNameInTable="PrepAmountColumn" msprop:Generator_UserColumnName="PrepAmount" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="20" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="quantity" msprop:Generator_ColumnVarNameInTable="columnquantity" msprop:Generator_ColumnPropNameInRow="quantity" msprop:Generator_ColumnPropNameInTable="quantityColumn" msprop:Generator_UserColumnName="quantity" type="xs:double" minOccurs="0" />
<xs:element name="QuanUnit" msprop:Generator_ColumnVarNameInTable="columnQuanUnit" msprop:Generator_ColumnPropNameInRow="QuanUnit" msprop:Generator_ColumnPropNameInTable="QuanUnitColumn" msprop:Generator_UserColumnName="QuanUnit" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="20" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="reference_date" msprop:Generator_ColumnVarNameInTable="columnreference_date" msprop:Generator_ColumnPropNameInRow="reference_date" msprop:Generator_ColumnPropNameInTable="reference_dateColumn" msprop:Generator_UserColumnName="reference_date" type="xs:dateTime" minOccurs="0" />
<xs:element name="external_id" msprop:Generator_ColumnVarNameInTable="columnexternal_id" msprop:Generator_ColumnPropNameInRow="external_id" msprop:Generator_ColumnPropNameInTable="external_idColumn" msprop:Generator_UserColumnName="external_id" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="128" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="number" msprop:Generator_ColumnVarNameInTable="columnnumber" msprop:Generator_ColumnPropNameInRow="number" msprop:Generator_ColumnPropNameInTable="numberColumn" msprop:Generator_UserColumnName="number" type="xs:int" />
<xs:element name="fill_height_mm" msprop:Generator_ColumnVarNameInTable="columnfill_height_mm" msprop:Generator_ColumnPropNameInRow="fill_height_mm" msprop:Generator_ColumnPropNameInTable="fill_height_mmColumn" msprop:Generator_UserColumnName="fill_height_mm" type="xs:double" minOccurs="0" />
<xs:element name="comment" msprop:Generator_ColumnVarNameInTable="columncomment" msprop:Generator_ColumnPropNameInRow="comment" msprop:Generator_ColumnPropNameInTable="commentColumn" msprop:Generator_UserColumnName="comment" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="1000" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="wet_weight_g" msprop:Generator_ColumnVarNameInTable="columnwet_weight_g" msprop:Generator_ColumnPropNameInRow="wet_weight_g" msprop:Generator_ColumnPropNameInTable="wet_weight_gColumn" msprop:Generator_UserColumnName="wet_weight_g" type="xs:double" minOccurs="0" />
<xs:element name="dry_weight_g" msprop:Generator_ColumnVarNameInTable="columndry_weight_g" msprop:Generator_ColumnPropNameInRow="dry_weight_g" msprop:Generator_ColumnPropNameInTable="dry_weight_gColumn" msprop:Generator_UserColumnName="dry_weight_g" type="xs:double" minOccurs="0" />
<xs:element name="volume_l" msprop:Generator_ColumnVarNameInTable="columnvolume_l" msprop:Generator_ColumnPropNameInRow="volume_l" msprop:Generator_ColumnPropNameInTable="volume_lColumn" msprop:Generator_UserColumnName="volume_l" type="xs:double" minOccurs="0" />
<xs:element name="customer_contact_name" msprop:Generator_ColumnVarNameInTable="columncustomer_contact_name" msprop:Generator_ColumnPropNameInRow="customer_contact_name" msprop:Generator_ColumnPropNameInTable="customer_contact_nameColumn" msprop:Generator_UserColumnName="customer_contact_name" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="80" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="lod_weight_start" msprop:Generator_ColumnVarNameInTable="columnlod_weight_start" msprop:Generator_ColumnPropNameInRow="lod_weight_start" msprop:Generator_ColumnPropNameInTable="lod_weight_startColumn" msprop:Generator_UserColumnName="lod_weight_start" type="xs:double" minOccurs="0" />
<xs:element name="lod_weight_end" msprop:Generator_ColumnVarNameInTable="columnlod_weight_end" msprop:Generator_ColumnPropNameInRow="lod_weight_end" msprop:Generator_ColumnPropNameInTable="lod_weight_endColumn" msprop:Generator_UserColumnName="lod_weight_end" type="xs:double" minOccurs="0" />
<xs:element name="lod_temperature" msprop:Generator_ColumnVarNameInTable="columnlod_temperature" msprop:Generator_ColumnPropNameInRow="lod_temperature" msprop:Generator_ColumnPropNameInTable="lod_temperatureColumn" msprop:Generator_UserColumnName="lod_temperature" type="xs:double" minOccurs="0" />
<xs:element name="name_short" msprop:Generator_ColumnVarNameInTable="columnname_short" msprop:Generator_ColumnPropNameInRow="name_short" msprop:Generator_ColumnPropNameInTable="name_shortColumn" msprop:Generator_UserColumnName="name_short" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="20" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="workflow_status_id" msprop:Generator_ColumnVarNameInTable="columnworkflow_status_id" msprop:Generator_ColumnPropNameInRow="workflow_status_id" msprop:Generator_ColumnPropNameInTable="workflow_status_idColumn" msprop:Generator_UserColumnName="workflow_status_id" type="xs:int" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
</xs:element>
</xs:schema>