source: Scheduling/branches/GUI1.2/csSchema20060526.xsd@ 1800

Last change on this file since 1800 was 614, checked in by Sam Habiel, 15 years ago

Initial committ of scheduling package

File size: 11.9 KB
Line 
1<?xml version="1.0" standalone="yes"?>
2<xs:schema id="GlobalDataSet" xmlns="" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
3 <xs:element name="GlobalDataSet" msdata:IsDataSet="true" msdata:UseCurrentLocale="true">
4 <xs:complexType>
5 <xs:choice minOccurs="0" maxOccurs="unbounded">
6 <xs:element name="VersionInfo">
7 <xs:complexType>
8 <xs:sequence>
9 <xs:element name="ERROR" type="xs:string" minOccurs="0" />
10 <xs:element name="MAJOR_VERSION" type="xs:string" minOccurs="0" />
11 <xs:element name="MINOR_VERSION" type="xs:string" minOccurs="0" />
12 <xs:element name="BUILD" type="xs:string" minOccurs="0" />
13 </xs:sequence>
14 </xs:complexType>
15 </xs:element>
16 <xs:element name="SchedulingUser">
17 <xs:complexType>
18 <xs:sequence>
19 <xs:element name="MANAGER" type="xs:string" minOccurs="0" />
20 </xs:sequence>
21 </xs:complexType>
22 </xs:element>
23 <xs:element name="AccessTypes">
24 <xs:complexType>
25 <xs:sequence>
26 <xs:element name="BMXIEN" type="xs:int" />
27 <xs:element name="ACCESS_TYPE_NAME" type="xs:string" minOccurs="0" />
28 <xs:element name="BLUE" type="xs:int" minOccurs="0" />
29 <xs:element name="DEPARTMENT_NAME" type="xs:string" minOccurs="0" />
30 <xs:element name="DISPLAY_COLOR" type="xs:string" minOccurs="0" />
31 <xs:element name="GREEN" type="xs:int" minOccurs="0" />
32 <xs:element name="INACTIVE" type="xs:string" minOccurs="0" />
33 <xs:element name="RED" type="xs:int" minOccurs="0" />
34 </xs:sequence>
35 </xs:complexType>
36 </xs:element>
37 <xs:element name="AccessGroup">
38 <xs:complexType>
39 <xs:sequence>
40 <xs:element name="BMXIEN" type="xs:int" minOccurs="0" />
41 <xs:element name="ACCESS_GROUP" type="xs:string" />
42 </xs:sequence>
43 </xs:complexType>
44 </xs:element>
45 <xs:element name="AccessGroupType">
46 <xs:complexType>
47 <xs:sequence>
48 <xs:element name="ACCESS_GROUP_TYPEID" type="xs:int" />
49 <xs:element name="ACCESS_GROUP_ID" type="xs:int" minOccurs="0" />
50 <xs:element name="ACCESS_GROUP" type="xs:string" minOccurs="0" />
51 <xs:element name="ACCESS_TYPE_ID" type="xs:int" minOccurs="0" />
52 <xs:element name="ACCESS_TYPE" type="xs:string" minOccurs="0" />
53 </xs:sequence>
54 </xs:complexType>
55 </xs:element>
56 <xs:element name="ResourceGroup">
57 <xs:complexType>
58 <xs:sequence>
59 <xs:element name="RESOURCE_GROUPID" type="xs:int" minOccurs="0" />
60 <xs:element name="RESOURCE_GROUP" type="xs:string" />
61 </xs:sequence>
62 </xs:complexType>
63 </xs:element>
64 <xs:element name="Resources">
65 <xs:complexType>
66 <xs:sequence>
67 <xs:element name="RESOURCEID" type="xs:int" />
68 <xs:element name="RESOURCE_NAME" type="xs:string" minOccurs="0" />
69 <xs:element name="INACTIVE" type="xs:string" minOccurs="0" />
70 <xs:element name="TIMESCALE" type="xs:int" minOccurs="0" />
71 <xs:element name="HOSPITAL_LOCATION_ID" type="xs:int" minOccurs="0" />
72 <xs:element name="LETTER_TEXT" type="xs:string" minOccurs="0" />
73 <xs:element name="NO_SHOW_LETTER" type="xs:string" minOccurs="0" />
74 <xs:element name="CLINIC_CANCELLATION_LETTER" type="xs:string" minOccurs="0" />
75 <xs:element name="VIEW" type="xs:int" minOccurs="0" />
76 <xs:element name="OVERBOOK" type="xs:int" minOccurs="0" />
77 <xs:element name="MODIFY_SCHEDULE" type="xs:int" minOccurs="0" />
78 <xs:element name="MODIFY_APPOINTMENTS" type="xs:int" minOccurs="0" />
79 </xs:sequence>
80 </xs:complexType>
81 </xs:element>
82 <xs:element name="GroupResources">
83 <xs:complexType>
84 <xs:sequence>
85 <xs:element name="RESOURCE_GROUPID" type="xs:int" minOccurs="0" />
86 <xs:element name="RESOURCE_GROUP" type="xs:string" minOccurs="0" />
87 <xs:element name="RESOURCE_GROUP_ITEMID" type="xs:int" minOccurs="0" />
88 <xs:element name="RESOURCE_NAME" type="xs:string" minOccurs="0" />
89 <xs:element name="RESOURCEID" type="xs:int" minOccurs="0" />
90 </xs:sequence>
91 </xs:complexType>
92 </xs:element>
93 <xs:element name="HospitalLocation">
94 <xs:complexType>
95 <xs:sequence>
96 <xs:element name="HOSPITAL_LOCATION_ID" type="xs:int" />
97 <xs:element name="HOSPITAL_LOCATION" type="xs:string" minOccurs="0" />
98 <xs:element name="DEFAULT_PROVIDER" type="xs:string" minOccurs="0" />
99 <xs:element name="STOP_CODE_NUMBER" type="xs:string" minOccurs="0" />
100 <xs:element name="INACTIVATE_DATE" type="xs:dateTime" minOccurs="0" />
101 <xs:element name="REACTIVATE_DATE" type="xs:dateTime" minOccurs="0" />
102 </xs:sequence>
103 </xs:complexType>
104 </xs:element>
105 <xs:element name="ClinicSetupParameters">
106 <xs:complexType>
107 <xs:sequence>
108 <xs:element name="HOSPITAL_LOCATION_ID" type="xs:int" />
109 <xs:element name="HOSPITAL_LOCATION" type="xs:string" minOccurs="0" />
110 <xs:element name="CREATE_VISIT" type="xs:string" minOccurs="0" />
111 <xs:element name="VISIT_SERVICE_CATEGORY" type="xs:string" minOccurs="0" />
112 <xs:element name="MULTIPLE_CLINIC_CODES_USED_x003F_" type="xs:string" minOccurs="0" />
113 <xs:element name="VISIT_PROVIDER_REQUIRED" type="xs:string" minOccurs="0" />
114 <xs:element name="GENERATE_PCCPLUS_FORMS_x003F_" type="xs:string" minOccurs="0" />
115 <xs:element name="PROVIDER" msdata:ReadOnly="true" msdata:Expression="Parent.DEFAULT_PROVIDER" type="xs:string" minOccurs="0" />
116 <xs:element name="CLINIC_STOP" msdata:ReadOnly="true" msdata:Expression="Parent.STOP_CODE_NUMBER" type="xs:string" minOccurs="0" />
117 <xs:element name="INACTIVATE_DATE" msdata:ReadOnly="true" msdata:Expression="Parent.INACTIVATE_DATE" type="xs:string" minOccurs="0" />
118 <xs:element name="REACTIVATE_DATE" msdata:ReadOnly="true" msdata:Expression="Parent.REACTIVATE_DATE" type="xs:string" minOccurs="0" />
119 </xs:sequence>
120 </xs:complexType>
121 </xs:element>
122 <xs:element name="ScheduleUser">
123 <xs:complexType>
124 <xs:sequence>
125 <xs:element name="USERID" type="xs:int" />
126 <xs:element name="USERNAME" type="xs:string" minOccurs="0" />
127 </xs:sequence>
128 </xs:complexType>
129 </xs:element>
130 <xs:element name="ResourceUser">
131 <xs:complexType>
132 <xs:sequence>
133 <xs:element name="RESOURCEUSER_ID" type="xs:int" />
134 <xs:element name="RESOURCENAME" type="xs:string" minOccurs="0" />
135 <xs:element name="RESOURCEID" type="xs:int" minOccurs="0" />
136 <xs:element name="OVERBOOK" type="xs:string" minOccurs="0" />
137 <xs:element name="MODIFY_SCHEDULE" type="xs:string" minOccurs="0" />
138 <xs:element name="MODIFY_APPOINTMENTS" type="xs:string" minOccurs="0" />
139 <xs:element name="USERNAME" type="xs:string" minOccurs="0" />
140 <xs:element name="USERID" type="xs:int" minOccurs="0" />
141 </xs:sequence>
142 </xs:complexType>
143 </xs:element>
144 <xs:element name="Provider">
145 <xs:complexType>
146 <xs:sequence>
147 <xs:element name="BMXIEN" type="xs:int" minOccurs="0" />
148 <xs:element name="NAME" type="xs:string" minOccurs="0" />
149 </xs:sequence>
150 </xs:complexType>
151 </xs:element>
152 <xs:element name="ClinicStop">
153 <xs:complexType>
154 <xs:sequence>
155 <xs:element name="BMXIEN" type="xs:int" minOccurs="0" />
156 <xs:element name="CODE" type="xs:string" minOccurs="0" />
157 <xs:element name="NAME" type="xs:string" minOccurs="0" />
158 </xs:sequence>
159 </xs:complexType>
160 </xs:element>
161 <xs:element name="HOLIDAY">
162 <xs:complexType>
163 <xs:sequence>
164 <xs:element name="NAME" type="xs:string" minOccurs="0" />
165 <xs:element name="DATE" type="xs:dateTime" minOccurs="0" />
166 </xs:sequence>
167 </xs:complexType>
168 </xs:element>
169 </xs:choice>
170 </xs:complexType>
171 <xs:unique name="Constraint1" msdata:PrimaryKey="true">
172 <xs:selector xpath=".//AccessTypes" />
173 <xs:field xpath="BMXIEN" />
174 </xs:unique>
175 <xs:unique name="AccessGroup_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
176 <xs:selector xpath=".//AccessGroup" />
177 <xs:field xpath="ACCESS_GROUP" />
178 </xs:unique>
179 <xs:unique name="Constraint2">
180 <xs:selector xpath=".//AccessGroup" />
181 <xs:field xpath="BMXIEN" />
182 </xs:unique>
183 <xs:unique name="AccessGroupType_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
184 <xs:selector xpath=".//AccessGroupType" />
185 <xs:field xpath="ACCESS_GROUP_TYPEID" />
186 </xs:unique>
187 <xs:unique name="ResourceGroup_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
188 <xs:selector xpath=".//ResourceGroup" />
189 <xs:field xpath="RESOURCE_GROUP" />
190 </xs:unique>
191 <xs:unique name="Resources_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
192 <xs:selector xpath=".//Resources" />
193 <xs:field xpath="RESOURCEID" />
194 </xs:unique>
195 <xs:unique name="HospitalLocation_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
196 <xs:selector xpath=".//HospitalLocation" />
197 <xs:field xpath="HOSPITAL_LOCATION_ID" />
198 </xs:unique>
199 <xs:unique name="ClinicSetupParameters_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
200 <xs:selector xpath=".//ClinicSetupParameters" />
201 <xs:field xpath="HOSPITAL_LOCATION_ID" />
202 </xs:unique>
203 <xs:unique name="ScheduleUser_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
204 <xs:selector xpath=".//ScheduleUser" />
205 <xs:field xpath="USERID" />
206 </xs:unique>
207 <xs:unique name="ResourceUser_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
208 <xs:selector xpath=".//ResourceUser" />
209 <xs:field xpath="RESOURCEUSER_ID" />
210 </xs:unique>
211 <xs:keyref name="ResourceUser" refer="Resources_Constraint1">
212 <xs:selector xpath=".//ResourceUser" />
213 <xs:field xpath="RESOURCEID" />
214 </xs:keyref>
215 <xs:keyref name="GroupResource" refer="ResourceGroup_Constraint1">
216 <xs:selector xpath=".//GroupResources" />
217 <xs:field xpath="RESOURCE_GROUP" />
218 </xs:keyref>
219 <xs:keyref name="AccessGroupType" refer="Constraint2">
220 <xs:selector xpath=".//AccessGroupType" />
221 <xs:field xpath="ACCESS_GROUP_ID" />
222 </xs:keyref>
223 </xs:element>
224 <xs:annotation>
225 <xs:appinfo>
226 <msdata:Relationship name="HospitalLocationClinic" msdata:parent="HospitalLocation" msdata:child="ClinicSetupParameters" msdata:parentkey="HOSPITAL_LOCATION_ID" msdata:childkey="HOSPITAL_LOCATION_ID" />
227 <msdata:Relationship name="HospitalLocationResource" msdata:parent="HospitalLocation" msdata:child="Resources" msdata:parentkey="HOSPITAL_LOCATION_ID" msdata:childkey="HOSPITAL_LOCATION_ID" />
228 </xs:appinfo>
229 </xs:annotation>
230</xs:schema>
Note: See TracBrowser for help on using the repository browser.