1 | <!-- edited with XMLSPY v2004 rel. 3 U (http://www.xmlspy.com) by Glen F. Marshall (HL7 Technical Steering Committee) -->
|
---|
2 | <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
---|
3 | xmlns:tns="http://nhinc.services.com/schema/auditmessage"
|
---|
4 | targetNamespace="http://nhinc.services.com/schema/auditmessage"
|
---|
5 | elementFormDefault="qualified" attributeFormDefault="unqualified">
|
---|
6 | <xs:complexType name="AuditMessageType">
|
---|
7 | <xs:sequence>
|
---|
8 | <xs:element name="EventIdentification" type="tns:EventIdentificationType"/>
|
---|
9 | <xs:element name="ActiveParticipant" maxOccurs="unbounded">
|
---|
10 | <xs:complexType>
|
---|
11 | <xs:complexContent>
|
---|
12 | <xs:extension base="tns:ActiveParticipantType"/>
|
---|
13 | </xs:complexContent>
|
---|
14 | </xs:complexType>
|
---|
15 | </xs:element>
|
---|
16 | <xs:element name="AuditSourceIdentification" type="tns:AuditSourceIdentificationType" maxOccurs="unbounded"/>
|
---|
17 | <xs:element name="ParticipantObjectIdentification" type="tns:ParticipantObjectIdentificationType" minOccurs="0" maxOccurs="unbounded"/>
|
---|
18 | </xs:sequence>
|
---|
19 | </xs:complexType>
|
---|
20 | <xs:element name="AuditMessage" type="tns:AuditMessageType"/>
|
---|
21 | <xs:complexType name="EventIdentificationType">
|
---|
22 | <xs:sequence>
|
---|
23 | <xs:element name="EventID" type="tns:CodedValueType"/>
|
---|
24 | <xs:element name="EventTypeCode" type="tns:CodedValueType" minOccurs="0" maxOccurs="unbounded"/>
|
---|
25 | </xs:sequence>
|
---|
26 | <xs:attribute name="EventActionCode" use="optional">
|
---|
27 | <xs:simpleType>
|
---|
28 | <xs:restriction base="xs:string">
|
---|
29 | <xs:enumeration value="C">
|
---|
30 | <xs:annotation>
|
---|
31 | <xs:appinfo>Create</xs:appinfo>
|
---|
32 | </xs:annotation>
|
---|
33 | </xs:enumeration>
|
---|
34 | <xs:enumeration value="R">
|
---|
35 | <xs:annotation>
|
---|
36 | <xs:appinfo>Read</xs:appinfo>
|
---|
37 | </xs:annotation>
|
---|
38 | </xs:enumeration>
|
---|
39 | <xs:enumeration value="U">
|
---|
40 | <xs:annotation>
|
---|
41 | <xs:appinfo>Update</xs:appinfo>
|
---|
42 | </xs:annotation>
|
---|
43 | </xs:enumeration>
|
---|
44 | <xs:enumeration value="D">
|
---|
45 | <xs:annotation>
|
---|
46 | <xs:appinfo>Delete</xs:appinfo>
|
---|
47 | </xs:annotation>
|
---|
48 | </xs:enumeration>
|
---|
49 | <xs:enumeration value="E">
|
---|
50 | <xs:annotation>
|
---|
51 | <xs:documentation>Execute</xs:documentation>
|
---|
52 | </xs:annotation>
|
---|
53 | </xs:enumeration>
|
---|
54 | </xs:restriction>
|
---|
55 | </xs:simpleType>
|
---|
56 | </xs:attribute>
|
---|
57 | <xs:attribute name="EventDateTime" type="xs:dateTime" use="required"/>
|
---|
58 | <xs:attribute name="EventOutcomeIndicator" use="required">
|
---|
59 | <xs:simpleType>
|
---|
60 | <xs:restriction base="xs:integer">
|
---|
61 | <xs:enumeration value="0">
|
---|
62 | <xs:annotation>
|
---|
63 | <xs:appinfo>Success</xs:appinfo>
|
---|
64 | </xs:annotation>
|
---|
65 | </xs:enumeration>
|
---|
66 | <xs:enumeration value="4">
|
---|
67 | <xs:annotation>
|
---|
68 | <xs:appinfo>Minor failure</xs:appinfo>
|
---|
69 | </xs:annotation>
|
---|
70 | </xs:enumeration>
|
---|
71 | <xs:enumeration value="8">
|
---|
72 | <xs:annotation>
|
---|
73 | <xs:appinfo>Serious failure</xs:appinfo>
|
---|
74 | </xs:annotation>
|
---|
75 | </xs:enumeration>
|
---|
76 | <xs:enumeration value="12">
|
---|
77 | <xs:annotation>
|
---|
78 | <xs:appinfo>Major failure; action made unavailable
|
---|
79 | </xs:appinfo>
|
---|
80 | </xs:annotation>
|
---|
81 | </xs:enumeration>
|
---|
82 | </xs:restriction>
|
---|
83 | </xs:simpleType>
|
---|
84 | </xs:attribute>
|
---|
85 | </xs:complexType>
|
---|
86 | <xs:complexType name="AuditSourceIdentificationType">
|
---|
87 | <xs:sequence>
|
---|
88 | <xs:element name="AuditSourceTypeCode" type="tns:CodedValueType" minOccurs="0" maxOccurs="unbounded"/>
|
---|
89 | </xs:sequence>
|
---|
90 | <xs:attribute name="AuditEnterpriseSiteID" type="xs:string" use="optional"/>
|
---|
91 | <xs:attribute name="AuditSourceID" type="xs:string" use="required"/>
|
---|
92 | </xs:complexType>
|
---|
93 | <xs:complexType name="ActiveParticipantType">
|
---|
94 | <xs:sequence minOccurs="0">
|
---|
95 | <xs:element name="RoleIDCode" type="tns:CodedValueType" minOccurs="0" maxOccurs="unbounded"/>
|
---|
96 | </xs:sequence>
|
---|
97 | <xs:attribute name="UserID" type="xs:string" use="required"/>
|
---|
98 | <xs:attribute name="AlternativeUserID" type="xs:string" use="optional"/>
|
---|
99 | <xs:attribute name="UserName" type="xs:string" use="optional"/>
|
---|
100 | <xs:attribute name="UserIsRequestor" type="xs:boolean" use="optional" default="true"/>
|
---|
101 | <xs:attribute name="NetworkAccessPointID" type="xs:string" use="optional"/>
|
---|
102 | <xs:attribute name="NetworkAccessPointTypeCode" use="optional">
|
---|
103 | <xs:simpleType>
|
---|
104 | <xs:restriction base="xs:unsignedByte">
|
---|
105 | <xs:enumeration value="1">
|
---|
106 | <xs:annotation>
|
---|
107 | <xs:appinfo>Machine Name, including DNS name</xs:appinfo>
|
---|
108 | </xs:annotation>
|
---|
109 | </xs:enumeration>
|
---|
110 | <xs:enumeration value="2">
|
---|
111 | <xs:annotation>
|
---|
112 | <xs:appinfo>IP Address</xs:appinfo>
|
---|
113 | </xs:annotation>
|
---|
114 | </xs:enumeration>
|
---|
115 | <xs:enumeration value="3">
|
---|
116 | <xs:annotation>
|
---|
117 | <xs:appinfo>Telephone Number</xs:appinfo>
|
---|
118 | </xs:annotation>
|
---|
119 | </xs:enumeration>
|
---|
120 | </xs:restriction>
|
---|
121 | </xs:simpleType>
|
---|
122 | </xs:attribute>
|
---|
123 | </xs:complexType>
|
---|
124 | <xs:complexType name="ParticipantObjectIdentificationType">
|
---|
125 | <xs:sequence>
|
---|
126 | <xs:element name="ParticipantObjectIDTypeCode" type="tns:CodedValueType"/>
|
---|
127 | <xs:choice minOccurs="0">
|
---|
128 | <xs:element name="ParticipantObjectName" type="xs:string" minOccurs="0"/>
|
---|
129 | <xs:element name="ParticipantObjectQuery" type="xs:base64Binary" minOccurs="0"/>
|
---|
130 | </xs:choice>
|
---|
131 | <xs:element name="ParticipantObjectDetail" type="tns:TypeValuePairType" minOccurs="0" maxOccurs="unbounded"/>
|
---|
132 | </xs:sequence>
|
---|
133 | <xs:attribute name="ParticipantObjectID" type="xs:string" use="required"/>
|
---|
134 | <xs:attribute name="ParticipantObjectTypeCode" use="optional">
|
---|
135 | <xs:simpleType>
|
---|
136 | <xs:restriction base="xs:unsignedByte">
|
---|
137 | <xs:enumeration value="1">
|
---|
138 | <xs:annotation>
|
---|
139 | <xs:appinfo>Person</xs:appinfo>
|
---|
140 | </xs:annotation>
|
---|
141 | </xs:enumeration>
|
---|
142 | <xs:enumeration value="2">
|
---|
143 | <xs:annotation>
|
---|
144 | <xs:appinfo>System object</xs:appinfo>
|
---|
145 | </xs:annotation>
|
---|
146 | </xs:enumeration>
|
---|
147 | <xs:enumeration value="3">
|
---|
148 | <xs:annotation>
|
---|
149 | <xs:appinfo>Organization</xs:appinfo>
|
---|
150 | </xs:annotation>
|
---|
151 | </xs:enumeration>
|
---|
152 | <xs:enumeration value="4">
|
---|
153 | <xs:annotation>
|
---|
154 | <xs:appinfo>Other</xs:appinfo>
|
---|
155 | </xs:annotation>
|
---|
156 | </xs:enumeration>
|
---|
157 | </xs:restriction>
|
---|
158 | </xs:simpleType>
|
---|
159 | </xs:attribute>
|
---|
160 | <xs:attribute name="ParticipantObjectTypeCodeRole" use="optional">
|
---|
161 | <xs:simpleType>
|
---|
162 | <xs:restriction base="xs:unsignedByte">
|
---|
163 | <xs:enumeration value="1">
|
---|
164 | <xs:annotation>
|
---|
165 | <xs:appinfo>Patient</xs:appinfo>
|
---|
166 | </xs:annotation>
|
---|
167 | </xs:enumeration>
|
---|
168 | <xs:enumeration value="2">
|
---|
169 | <xs:annotation>
|
---|
170 | <xs:appinfo>Location</xs:appinfo>
|
---|
171 | </xs:annotation>
|
---|
172 | </xs:enumeration>
|
---|
173 | <xs:enumeration value="3">
|
---|
174 | <xs:annotation>
|
---|
175 | <xs:appinfo> Report</xs:appinfo>
|
---|
176 | </xs:annotation>
|
---|
177 | </xs:enumeration>
|
---|
178 | <xs:enumeration value="4">
|
---|
179 | <xs:annotation>
|
---|
180 | <xs:appinfo>Resource</xs:appinfo>
|
---|
181 | </xs:annotation>
|
---|
182 | </xs:enumeration>
|
---|
183 | <xs:enumeration value="5">
|
---|
184 | <xs:annotation>
|
---|
185 | <xs:appinfo>Master file</xs:appinfo>
|
---|
186 | </xs:annotation>
|
---|
187 | </xs:enumeration>
|
---|
188 | <xs:enumeration value="6">
|
---|
189 | <xs:annotation>
|
---|
190 | <xs:appinfo>User</xs:appinfo>
|
---|
191 | </xs:annotation>
|
---|
192 | </xs:enumeration>
|
---|
193 | <xs:enumeration value="7">
|
---|
194 | <xs:annotation>
|
---|
195 | <xs:appinfo>List</xs:appinfo>
|
---|
196 | </xs:annotation>
|
---|
197 | </xs:enumeration>
|
---|
198 | <xs:enumeration value="8">
|
---|
199 | <xs:annotation>
|
---|
200 | <xs:appinfo>Doctor</xs:appinfo>
|
---|
201 | </xs:annotation>
|
---|
202 | </xs:enumeration>
|
---|
203 | <xs:enumeration value="9">
|
---|
204 | <xs:annotation>
|
---|
205 | <xs:appinfo>Subscriber</xs:appinfo>
|
---|
206 | </xs:annotation>
|
---|
207 | </xs:enumeration>
|
---|
208 | <xs:enumeration value="10">
|
---|
209 | <xs:annotation>
|
---|
210 | <xs:appinfo>Guarantor</xs:appinfo>
|
---|
211 | </xs:annotation>
|
---|
212 | </xs:enumeration>
|
---|
213 | <xs:enumeration value="11">
|
---|
214 | <xs:annotation>
|
---|
215 | <xs:appinfo>Security User Entity</xs:appinfo>
|
---|
216 | </xs:annotation>
|
---|
217 | </xs:enumeration>
|
---|
218 | <xs:enumeration value="12">
|
---|
219 | <xs:annotation>
|
---|
220 | <xs:appinfo>Security User Group</xs:appinfo>
|
---|
221 | </xs:annotation>
|
---|
222 | </xs:enumeration>
|
---|
223 | <xs:enumeration value="13">
|
---|
224 | <xs:annotation>
|
---|
225 | <xs:appinfo>Security Resource</xs:appinfo>
|
---|
226 | </xs:annotation>
|
---|
227 | </xs:enumeration>
|
---|
228 | <xs:enumeration value="14">
|
---|
229 | <xs:annotation>
|
---|
230 | <xs:appinfo>Security Granualarity Definition</xs:appinfo>
|
---|
231 | </xs:annotation>
|
---|
232 | </xs:enumeration>
|
---|
233 | <xs:enumeration value="15">
|
---|
234 | <xs:annotation>
|
---|
235 | <xs:appinfo>Provider</xs:appinfo>
|
---|
236 | </xs:annotation>
|
---|
237 | </xs:enumeration>
|
---|
238 | <xs:enumeration value="16">
|
---|
239 | <xs:annotation>
|
---|
240 | <xs:appinfo>Report Destination</xs:appinfo>
|
---|
241 | </xs:annotation>
|
---|
242 | </xs:enumeration>
|
---|
243 | <xs:enumeration value="17">
|
---|
244 | <xs:annotation>
|
---|
245 | <xs:appinfo>Report Library</xs:appinfo>
|
---|
246 | </xs:annotation>
|
---|
247 | </xs:enumeration>
|
---|
248 | <xs:enumeration value="18">
|
---|
249 | <xs:annotation>
|
---|
250 | <xs:appinfo>Schedule</xs:appinfo>
|
---|
251 | </xs:annotation>
|
---|
252 | </xs:enumeration>
|
---|
253 | <xs:enumeration value="19">
|
---|
254 | <xs:annotation>
|
---|
255 | <xs:appinfo>Customer</xs:appinfo>
|
---|
256 | </xs:annotation>
|
---|
257 | </xs:enumeration>
|
---|
258 | <xs:enumeration value="20">
|
---|
259 | <xs:annotation>
|
---|
260 | <xs:appinfo>Job</xs:appinfo>
|
---|
261 | </xs:annotation>
|
---|
262 | </xs:enumeration>
|
---|
263 | <xs:enumeration value="21">
|
---|
264 | <xs:annotation>
|
---|
265 | <xs:appinfo>Job Stream</xs:appinfo>
|
---|
266 | </xs:annotation>
|
---|
267 | </xs:enumeration>
|
---|
268 | <xs:enumeration value="22">
|
---|
269 | <xs:annotation>
|
---|
270 | <xs:appinfo>Table</xs:appinfo>
|
---|
271 | </xs:annotation>
|
---|
272 | </xs:enumeration>
|
---|
273 | <xs:enumeration value="23">
|
---|
274 | <xs:annotation>
|
---|
275 | <xs:appinfo>Routing Criteria</xs:appinfo>
|
---|
276 | </xs:annotation>
|
---|
277 | </xs:enumeration>
|
---|
278 | <xs:enumeration value="24">
|
---|
279 | <xs:annotation>
|
---|
280 | <xs:appinfo>Query</xs:appinfo>
|
---|
281 | </xs:annotation>
|
---|
282 | </xs:enumeration>
|
---|
283 | </xs:restriction>
|
---|
284 | </xs:simpleType>
|
---|
285 | </xs:attribute>
|
---|
286 | <xs:attribute name="ParticipantObjectDataLifeCycle" use="optional">
|
---|
287 | <xs:simpleType>
|
---|
288 | <xs:restriction base="xs:unsignedByte">
|
---|
289 | <xs:enumeration value="1">
|
---|
290 | <xs:annotation>
|
---|
291 | <xs:appinfo>Origination / Creation</xs:appinfo>
|
---|
292 | </xs:annotation>
|
---|
293 | </xs:enumeration>
|
---|
294 | <xs:enumeration value="2">
|
---|
295 | <xs:annotation>
|
---|
296 | <xs:appinfo>Import / Copy from original </xs:appinfo>
|
---|
297 | </xs:annotation>
|
---|
298 | </xs:enumeration>
|
---|
299 | <xs:enumeration value="3">
|
---|
300 | <xs:annotation>
|
---|
301 | <xs:appinfo>Amendment</xs:appinfo>
|
---|
302 | </xs:annotation>
|
---|
303 | </xs:enumeration>
|
---|
304 | <xs:enumeration value="4">
|
---|
305 | <xs:annotation>
|
---|
306 | <xs:appinfo>Verification</xs:appinfo>
|
---|
307 | </xs:annotation>
|
---|
308 | </xs:enumeration>
|
---|
309 | <xs:enumeration value="5">
|
---|
310 | <xs:annotation>
|
---|
311 | <xs:appinfo>Translation</xs:appinfo>
|
---|
312 | </xs:annotation>
|
---|
313 | </xs:enumeration>
|
---|
314 | <xs:enumeration value="6">
|
---|
315 | <xs:annotation>
|
---|
316 | <xs:appinfo>Access / Use</xs:appinfo>
|
---|
317 | </xs:annotation>
|
---|
318 | </xs:enumeration>
|
---|
319 | <xs:enumeration value="7">
|
---|
320 | <xs:annotation>
|
---|
321 | <xs:appinfo>De-identification</xs:appinfo>
|
---|
322 | </xs:annotation>
|
---|
323 | </xs:enumeration>
|
---|
324 | <xs:enumeration value="8">
|
---|
325 | <xs:annotation>
|
---|
326 | <xs:appinfo>Aggregation, summarization, derivation</xs:appinfo>
|
---|
327 | </xs:annotation>
|
---|
328 | </xs:enumeration>
|
---|
329 | <xs:enumeration value="9">
|
---|
330 | <xs:annotation>
|
---|
331 | <xs:appinfo>Report</xs:appinfo>
|
---|
332 | </xs:annotation>
|
---|
333 | </xs:enumeration>
|
---|
334 | <xs:enumeration value="10">
|
---|
335 | <xs:annotation>
|
---|
336 | <xs:appinfo>Export / Copy to target</xs:appinfo>
|
---|
337 | </xs:annotation>
|
---|
338 | </xs:enumeration>
|
---|
339 | <xs:enumeration value="11">
|
---|
340 | <xs:annotation>
|
---|
341 | <xs:appinfo>Disclosure</xs:appinfo>
|
---|
342 | </xs:annotation>
|
---|
343 | </xs:enumeration>
|
---|
344 | <xs:enumeration value="12">
|
---|
345 | <xs:annotation>
|
---|
346 | <xs:appinfo>Receipt of disclosure</xs:appinfo>
|
---|
347 | </xs:annotation>
|
---|
348 | </xs:enumeration>
|
---|
349 | <xs:enumeration value="13">
|
---|
350 | <xs:annotation>
|
---|
351 | <xs:appinfo>Archiving</xs:appinfo>
|
---|
352 | </xs:annotation>
|
---|
353 | </xs:enumeration>
|
---|
354 | <xs:enumeration value="14">
|
---|
355 | <xs:annotation>
|
---|
356 | <xs:appinfo>Logical deletion</xs:appinfo>
|
---|
357 | </xs:annotation>
|
---|
358 | </xs:enumeration>
|
---|
359 | <xs:enumeration value="15">
|
---|
360 | <xs:annotation>
|
---|
361 | <xs:appinfo>Permanent erasure / Physical destruction </xs:appinfo>
|
---|
362 | </xs:annotation>
|
---|
363 | </xs:enumeration>
|
---|
364 | </xs:restriction>
|
---|
365 | </xs:simpleType>
|
---|
366 | </xs:attribute>
|
---|
367 | <xs:attribute name="ParticipantObjectSensitivity" type="xs:string" use="optional"/>
|
---|
368 | </xs:complexType>
|
---|
369 | <xs:complexType name="CodedValueType">
|
---|
370 | <xs:attribute name="code" type="xs:string" use="required"/>
|
---|
371 | <xs:attributeGroup ref="tns:CodeSystem"/>
|
---|
372 | <xs:attribute name="displayName" type="xs:string" use="optional"/>
|
---|
373 | <xs:attribute name="originalText" type="xs:string" use="optional"/>
|
---|
374 | </xs:complexType>
|
---|
375 | <xs:complexType name="TypeValuePairType">
|
---|
376 | <xs:attribute name="type" type="xs:string" use="required"/>
|
---|
377 | <xs:attribute name="value" type="xs:base64Binary" use="required"/>
|
---|
378 | </xs:complexType>
|
---|
379 | <xs:attributeGroup name="CodeSystem">
|
---|
380 | <xs:attribute name="codeSystem" type="tns:OID" use="optional"/>
|
---|
381 | <xs:attribute name="codeSystemName" type="xs:string" use="optional"/>
|
---|
382 | </xs:attributeGroup>
|
---|
383 | <xs:simpleType name="OID">
|
---|
384 | <xs:restriction base="xs:string">
|
---|
385 | <xs:whiteSpace value="collapse"/>
|
---|
386 | </xs:restriction>
|
---|
387 | </xs:simpleType>
|
---|
388 | <!--
|
---|
389 | The following were added from the AuditLogQuery WSDL
|
---|
390 | -->
|
---|
391 | <xs:complexType name="FindAuditEventsType">
|
---|
392 | <xs:sequence>
|
---|
393 | <xs:element name="patientId" type="xs:string" minOccurs="1"/>
|
---|
394 | <xs:element name="userId" type="xs:string"/>
|
---|
395 | <xs:element name="beginDateTime" type="xs:dateTime"/>
|
---|
396 | <xs:element name="endDateTime" type="xs:dateTime"/>
|
---|
397 | </xs:sequence>
|
---|
398 | </xs:complexType>
|
---|
399 | <xs:element name="FindAuditEvents" type="tns:FindAuditEventsType"/>
|
---|
400 | <xs:complexType name="FindAuditEventsResponseType">
|
---|
401 | <xs:sequence>
|
---|
402 | <xs:element name="findAuditEventsReturn" type="tns:AuditMessageType" maxOccurs="unbounded"/>
|
---|
403 | </xs:sequence>
|
---|
404 | </xs:complexType>
|
---|
405 | <xs:element name="FindAuditEventsResponse" type="tns:FindAuditEventsResponseType"/>
|
---|
406 | </xs:schema>
|
---|