source: Scheduling/branches/GUI1.2/csSchema20040213a.xsd@ 1582

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

Initial committ of scheduling package

File size: 8.4 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">
4 <xs:complexType>
5 <xs:choice maxOccurs="unbounded">
6 <xs:element name="SchedulingUser">
7 <xs:complexType>
8 <xs:sequence>
9 <xs:element name="MANAGER" type="xs:string" minOccurs="0" />
10 </xs:sequence>
11 </xs:complexType>
12 </xs:element>
13 <xs:element name="AccessTypes">
14 <xs:complexType>
15 <xs:sequence>
16 <xs:element name="BMXIEN" type="xs:int" />
17 <xs:element name="ACCESS_TYPE_NAME" type="xs:string" minOccurs="0" />
18 <xs:element name="BLUE" type="xs:int" minOccurs="0" />
19 <xs:element name="DEPARTMENT_NAME" type="xs:string" minOccurs="0" />
20 <xs:element name="DISPLAY_COLOR" type="xs:string" minOccurs="0" />
21 <xs:element name="GREEN" type="xs:int" minOccurs="0" />
22 <xs:element name="INACTIVE" type="xs:string" minOccurs="0" />
23 <xs:element name="RED" type="xs:int" minOccurs="0" />
24 </xs:sequence>
25 </xs:complexType>
26 </xs:element>
27 <xs:element name="AccessGroup">
28 <xs:complexType>
29 <xs:sequence>
30 <xs:element name="BMXIEN" type="xs:int" minOccurs="0" />
31 <xs:element name="ACCESS_GROUP" type="xs:string" />
32 </xs:sequence>
33 </xs:complexType>
34 </xs:element>
35 <xs:element name="AccessGroupType">
36 <xs:complexType>
37 <xs:sequence>
38 <xs:element name="ACCESS_GROUP_TYPEID" type="xs:int" />
39 <xs:element name="ACCESS_GROUP_ID" type="xs:int" minOccurs="0" />
40 <xs:element name="ACCESS_GROUP" type="xs:string" minOccurs="0" />
41 <xs:element name="ACCESS_TYPE_ID" type="xs:int" minOccurs="0" />
42 <xs:element name="ACCESS_TYPE" type="xs:string" minOccurs="0" />
43 </xs:sequence>
44 </xs:complexType>
45 </xs:element>
46 <xs:element name="ResourceGroup">
47 <xs:complexType>
48 <xs:sequence>
49 <xs:element name="RESOURCE_GROUPID" type="xs:int" minOccurs="0" />
50 <xs:element name="RESOURCE_GROUP" type="xs:string" />
51 </xs:sequence>
52 </xs:complexType>
53 </xs:element>
54 <xs:element name="Resources">
55 <xs:complexType>
56 <xs:sequence>
57 <xs:element name="RESOURCEID" type="xs:int" />
58 <xs:element name="RESOURCE_NAME" type="xs:string" minOccurs="0" />
59 <xs:element name="INACTIVE" type="xs:string" minOccurs="0" />
60 <xs:element name="TIMESCALE" type="xs:int" minOccurs="0" />
61 <xs:element name="HOSPITAL_LOCATION_ID" type="xs:int" minOccurs="0" />
62 <xs:element name="LETTER_TEXT" type="xs:string" minOccurs="0" />
63 </xs:sequence>
64 </xs:complexType>
65 </xs:element>
66 <xs:element name="GroupResources">
67 <xs:complexType>
68 <xs:sequence>
69 <xs:element name="RESOURCE_GROUPID" type="xs:int" minOccurs="0" />
70 <xs:element name="RESOURCE_GROUP" type="xs:string" minOccurs="0" />
71 <xs:element name="RESOURCE_GROUP_ITEMID" type="xs:int" minOccurs="0" />
72 <xs:element name="RESOURCE_NAME" type="xs:string" minOccurs="0" />
73 </xs:sequence>
74 </xs:complexType>
75 </xs:element>
76 <xs:element name="HospitalLocation">
77 <xs:complexType>
78 <xs:sequence>
79 <xs:element name="HOSPITAL_LOCATION_ID" type="xs:int" />
80 <xs:element name="HOSPITAL_LOCATION" type="xs:string" minOccurs="0" />
81 <xs:element name="DEFAULT_PROVIDER" type="xs:string" minOccurs="0" />
82 <xs:element name="STOP_CODE_NUMBER" type="xs:string" minOccurs="0" />
83 <xs:element name="INACTIVATE_DATE" type="xs:dateTime" minOccurs="0" />
84 <xs:element name="REACTIVATE_DATE" type="xs:dateTime" minOccurs="0" />
85 </xs:sequence>
86 </xs:complexType>
87 </xs:element>
88 <xs:element name="ClinicSetupParameters">
89 <xs:complexType>
90 <xs:sequence>
91 <xs:element name="HOSPITAL_LOCATION_ID" type="xs:int" />
92 <xs:element name="HOSPITAL_LOCATION" type="xs:string" minOccurs="0" />
93 <xs:element name="CREATE_VISIT" type="xs:string" minOccurs="0" />
94 <xs:element name="VISIT_SERVICE_CATEGORY" type="xs:string" minOccurs="0" />
95 <xs:element name="PROVIDER" msdata:ReadOnly="true" msdata:Expression="Parent.DEFAULT_PROVIDER"
96 type="xs:string" minOccurs="0" />
97 <xs:element name="CLINIC_STOP" msdata:ReadOnly="true" msdata:Expression="Parent.STOP_CODE_NUMBER"
98 type="xs:string" minOccurs="0" />
99 <xs:element name="INACTIVATE_DATE" msdata:ReadOnly="true" msdata:Expression="Parent.INACTIVATE_DATE"
100 type="xs:string" minOccurs="0" />
101 <xs:element name="REACTIVATE_DATE" msdata:ReadOnly="true" msdata:Expression="Parent.REACTIVATE_DATE"
102 type="xs:string" minOccurs="0" />
103 </xs:sequence>
104 </xs:complexType>
105 </xs:element>
106 <xs:element name="ScheduleUser">
107 <xs:complexType>
108 <xs:sequence>
109 <xs:element name="USERID" type="xs:int" />
110 <xs:element name="USERNAME" type="xs:string" minOccurs="0" />
111 </xs:sequence>
112 </xs:complexType>
113 </xs:element>
114 <xs:element name="ResourceUser">
115 <xs:complexType>
116 <xs:sequence>
117 <xs:element name="RESOURCEUSER_ID" type="xs:int" />
118 <xs:element name="RESOURCEID" type="xs:int" minOccurs="0" />
119 <xs:element name="OVERBOOK" type="xs:string" minOccurs="0" />
120 <xs:element name="MODIFY_SCHEDULE" type="xs:string" minOccurs="0" />
121 <xs:element name="USERID" type="xs:string" minOccurs="0" />
122 <xs:element name="USERID1" type="xs:int" minOccurs="0" />
123 </xs:sequence>
124 </xs:complexType>
125 </xs:element>
126 </xs:choice>
127 </xs:complexType>
128 <xs:unique name="Constraint1" msdata:PrimaryKey="true">
129 <xs:selector xpath=".//AccessTypes" />
130 <xs:field xpath="BMXIEN" />
131 </xs:unique>
132 <xs:unique name="AccessGroup_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
133 <xs:selector xpath=".//AccessGroup" />
134 <xs:field xpath="ACCESS_GROUP" />
135 </xs:unique>
136 <xs:unique name="Constraint2">
137 <xs:selector xpath=".//AccessGroup" />
138 <xs:field xpath="BMXIEN" />
139 </xs:unique>
140 <xs:unique name="AccessGroupType_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
141 <xs:selector xpath=".//AccessGroupType" />
142 <xs:field xpath="ACCESS_GROUP_TYPEID" />
143 </xs:unique>
144 <xs:unique name="ResourceGroup_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
145 <xs:selector xpath=".//ResourceGroup" />
146 <xs:field xpath="RESOURCE_GROUP" />
147 </xs:unique>
148 <xs:unique name="Resources_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
149 <xs:selector xpath=".//Resources" />
150 <xs:field xpath="RESOURCEID" />
151 </xs:unique>
152 <xs:unique name="HospitalLocation_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
153 <xs:selector xpath=".//HospitalLocation" />
154 <xs:field xpath="HOSPITAL_LOCATION_ID" />
155 </xs:unique>
156 <xs:unique name="ClinicSetupParameters_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
157 <xs:selector xpath=".//ClinicSetupParameters" />
158 <xs:field xpath="HOSPITAL_LOCATION_ID" />
159 </xs:unique>
160 <xs:unique name="ScheduleUser_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
161 <xs:selector xpath=".//ScheduleUser" />
162 <xs:field xpath="USERID" />
163 </xs:unique>
164 <xs:unique name="ResourceUser_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
165 <xs:selector xpath=".//ResourceUser" />
166 <xs:field xpath="RESOURCEUSER_ID" />
167 </xs:unique>
168 <xs:keyref name="ResourceUser" refer="Resources_Constraint1">
169 <xs:selector xpath=".//ResourceUser" />
170 <xs:field xpath="RESOURCEID" />
171 </xs:keyref>
172 <xs:keyref name="GroupResource" refer="ResourceGroup_Constraint1">
173 <xs:selector xpath=".//GroupResources" />
174 <xs:field xpath="RESOURCE_GROUP" />
175 </xs:keyref>
176 <xs:keyref name="AccessGroupType" refer="Constraint2">
177 <xs:selector xpath=".//AccessGroupType" />
178 <xs:field xpath="ACCESS_GROUP_ID" />
179 </xs:keyref>
180 </xs:element>
181 <xs:annotation>
182 <xs:appinfo>
183 <msdata:Relationship name="HospitalLocationClinic" msdata:parent="HospitalLocation" msdata:child="ClinicSetupParameters"
184 msdata:parentkey="HOSPITAL_LOCATION_ID" msdata:childkey="HOSPITAL_LOCATION_ID" />
185 </xs:appinfo>
186 </xs:annotation>
187</xs:schema>
Note: See TracBrowser for help on using the repository browser.