source: ccr/trunk/nhin-vista/projects/NHINC/Current/Product/Production/Adapters/General/AdapterMpiEJB/src/conf/xml-resources/web-services/AdapterMpi/schemas/HL7V3/coreschemas/datatypes-base.xsd@ 507

Last change on this file since 507 was 507, checked in by George Lilly, 15 years ago

NHIN gateway and adaptor for use on linux with VistA EHR and RPMS

File size: 137.9 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<!--
3 Copyright (c) 2001, 2002, 2003, 2004, 2005 Health Level Seven. All rights reserved.
4
5 Redistribution and use in source and binary forms, with or without
6 modification, are permitted provided that the following conditions
7 are met:
8 1. Redistributions of source code must retain the above copyright
9 notice, this list of conditions and the following disclaimer.
10 2. Redistributions in binary form must reproduce the above copyright
11 notice, this list of conditions and the following disclaimer in the
12 documentation and/or other materials provided with the distribution.
13 3. All advertising materials mentioning features or use of this software
14 must display the following acknowledgement:
15 This product includes software developed by Health Level Seven.
16
17 THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
18 ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
19 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
20 ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
21 FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
22 DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
23 OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24 HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25 LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26 OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27 SUCH DAMAGE.
28 -->
29<!--
30 This schema is generated from a Generic Schema Definition (GSD)
31 by gsd2xsl. Do not edit this file.
32 -->
33<xs:schema xmlns:sch="http://www.ascc.net/xml/schematron" xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
34 <xs:annotation>
35 <xs:documentation>
36 Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006 Health Level Seven. All rights reserved.
37
38 Redistribution and use in source and binary forms, with or without
39 modification, are permitted provided that the following conditions
40 are met:
41 1. Redistributions of source code must retain the above copyright
42 notice, this list of conditions and the following disclaimer.
43 2. Redistributions in binary form must reproduce the above copyright
44 notice, this list of conditions and the following disclaimer in the
45 documentation and/or other materials provided with the distribution.
46 3. All advertising materials mentioning features or use of this software
47 must display the following acknowledgement:
48 This product includes software developed by Health Level Seven.
49
50 THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
51 ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
52 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
53 ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
54 FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
55 DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
56 OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
57 HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
58 LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
59 OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
60 SUCH DAMAGE.
61
62Generated by $Id: datatypes-base.xsd,v 1.1 2006/05/23 23:03:14 wbeeler Exp $
63 </xs:documentation>
64 </xs:annotation>
65 <xs:include schemaLocation="voc.xsd"/>
66 <xs:annotation>
67 <xs:documentation> $Id: datatypes-base.xsd,v 1.1 2006/05/23 23:03:14 wbeeler Exp $
68Generated by $Id: datatypes-base.xsd,v 1.1 2006/05/23 23:03:14 wbeeler Exp $
69 </xs:documentation>
70 </xs:annotation>
71 <xs:complexType name="ANY" abstract="true">
72 <xs:annotation>
73 <xs:documentation>
74 Defines the basic properties of every data value. This
75 is an abstract type, meaning that no value can be just
76 a data value without belonging to any concrete type.
77 Every concrete type is a specialization of this
78 general abstract DataValue type.
79 </xs:documentation>
80 </xs:annotation>
81 <xs:attribute name="nullFlavor" type="NullFlavor" use="optional">
82 <xs:annotation>
83 <xs:documentation>
84 An exceptional value expressing missing information
85 and possibly the reason why the information is missing.
86 </xs:documentation>
87 </xs:annotation>
88 </xs:attribute>
89 </xs:complexType>
90 <xs:simpleType name="bl">
91 <xs:annotation>
92 <xs:documentation>
93 The Boolean type stands for the values of two-valued logic.
94 A Boolean value can be either true or
95 false, or, as any other value may be NULL.
96 </xs:documentation>
97 </xs:annotation>
98 <xs:restriction base="xs:boolean">
99 <xs:pattern value="true|false"/>
100 </xs:restriction>
101 </xs:simpleType>
102 <xs:complexType name="BL">
103 <xs:annotation>
104 <xs:documentation>
105 The Boolean type stands for the values of two-valued logic.
106 A Boolean value can be either true or
107 false, or, as any other value may be NULL.
108 </xs:documentation>
109 <xs:appinfo>
110 <sch:pattern name="validate BL">
111 <sch:rule abstract="true" id="rule-BL">
112 <sch:report test="(@nullFlavor or @value) and not(@nullFlavor and @value)"/>
113 </sch:rule>
114 </sch:pattern>
115 </xs:appinfo>
116 </xs:annotation>
117 <xs:complexContent>
118 <xs:extension base="ANY">
119 <xs:attribute name="value" use="optional" type="bl"/>
120 </xs:extension>
121 </xs:complexContent>
122 </xs:complexType>
123 <xs:simpleType name="bn">
124 <xs:annotation>
125 <xs:documentation>
126 The BooleanNonNull type is used where a Boolean cannot
127 have a null value. A Boolean value can be either
128 true or false.
129 </xs:documentation>
130 </xs:annotation>
131 <xs:restriction base="bl"/>
132 </xs:simpleType>
133 <xs:complexType name="ANYNonNull">
134 <xs:annotation>
135 <xs:documentation>
136 The BooleanNonNull type is used where a Boolean cannot
137 have a null value. A Boolean value can be either
138 true or false.
139 </xs:documentation>
140 </xs:annotation>
141 <xs:complexContent>
142 <xs:restriction base="ANY">
143 <xs:attribute name="nullFlavor" type="NullFlavor" use="prohibited"/>
144 </xs:restriction>
145 </xs:complexContent>
146 </xs:complexType>
147 <xs:complexType name="BN">
148 <xs:annotation>
149 <xs:documentation>
150 The BooleanNonNull type is used where a Boolean cannot
151 have a null value. A Boolean value can be either
152 true or false.
153 </xs:documentation>
154 </xs:annotation>
155 <xs:complexContent>
156 <xs:extension base="ANYNonNull">
157 <xs:attribute name="value" use="optional" type="bn"/>
158 </xs:extension>
159 </xs:complexContent>
160 </xs:complexType>
161 <xs:complexType name="BIN" abstract="true" mixed="true">
162 <xs:annotation>
163 <xs:documentation>
164 Binary data is a raw block of bits. Binary data is a
165 protected type that MUST not be used outside the data
166 type specification.
167 </xs:documentation>
168 </xs:annotation>
169 <xs:complexContent>
170 <xs:extension base="ANY">
171 <xs:attribute name="representation" use="optional" type="BinaryDataEncoding" default="TXT">
172 <xs:annotation>
173 <xs:documentation>
174 Specifies the representation of the binary data that
175 is the content of the binary data value.
176 </xs:documentation>
177 </xs:annotation>
178 </xs:attribute>
179 </xs:extension>
180 </xs:complexContent>
181 </xs:complexType>
182 <xs:simpleType name="bin">
183 <xs:annotation>
184 <xs:documentation>
185 Binary data is a raw block of bits. Binary data is a
186 protected type that MUST not be used outside the data
187 type specification.
188 </xs:documentation>
189 </xs:annotation>
190 <xs:restriction base="xs:base64Binary"/>
191 </xs:simpleType>
192 <xs:simpleType name="BinaryDataEncoding">
193 <xs:restriction base="xs:NMTOKEN">
194 <xs:enumeration value="B64"/>
195 <xs:enumeration value="TXT"/>
196 </xs:restriction>
197 </xs:simpleType>
198 <xs:complexType name="ED" mixed="true">
199 <xs:annotation>
200 <xs:documentation>
201 Data that is primarily intended for human interpretation
202 or for further machine processing is outside the scope of
203 HL7. This includes unformatted or formatted written language,
204 multimedia data, or structured information as defined by a
205 different standard (e.g., XML-signatures.) Instead of the
206 data itself, an ED may contain
207 only a reference (see TEL.) Note
208 that the ST data type is a
209 specialization of
210 when the is text/plain.
211 </xs:documentation>
212 </xs:annotation>
213 <xs:complexContent>
214 <xs:extension base="BIN">
215 <xs:sequence>
216 <xs:element name="reference" type="TEL" minOccurs="0" maxOccurs="1">
217 <xs:annotation>
218 <xs:documentation>
219 A telecommunication address (TEL), such as a URL
220 for HTTP or FTP, which will resolve to precisely
221 the same binary data that could as well have been
222 provided as inline data.
223 </xs:documentation>
224 </xs:annotation>
225 </xs:element>
226 <xs:element name="thumbnail" minOccurs="0" maxOccurs="1" type="thumbnail"/>
227 </xs:sequence>
228 <xs:attribute name="mediaType" type="cs" use="optional" default="text/plain">
229 <xs:annotation>
230 <xs:documentation>
231 Identifies the type of the encapsulated data and
232 identifies a method to interpret or render the data.
233 </xs:documentation>
234 </xs:annotation>
235 </xs:attribute>
236 <xs:attribute name="language" type="cs" use="optional">
237 <xs:annotation>
238 <xs:documentation>
239 For character based information the language property
240 specifies the human language of the text.
241 </xs:documentation>
242 </xs:annotation>
243 </xs:attribute>
244 <xs:attribute name="compression" type="CompressionAlgorithm" use="optional">
245 <xs:annotation>
246 <xs:documentation>
247 Indicates whether the raw byte data is compressed,
248 and what compression algorithm was used.
249 </xs:documentation>
250 </xs:annotation>
251 </xs:attribute>
252 <xs:attribute name="integrityCheck" type="bin" use="optional">
253 <xs:annotation>
254 <xs:documentation>
255 The integrity check is a short binary value representing
256 a cryptographically strong checksum that is calculated
257 over the binary data. The purpose of this property, when
258 communicated with a reference is for anyone to validate
259 later whether the reference still resolved to the same
260 data that the reference resolved to when the encapsulated
261 data value with reference was created.
262 </xs:documentation>
263 </xs:annotation>
264 </xs:attribute>
265 <xs:attribute name="integrityCheckAlgorithm" type="IntegrityCheckAlgorithm" use="optional" default="SHA-1">
266 <xs:annotation>
267 <xs:documentation>
268 Specifies the algorithm used to compute the
269 integrityCheck value.
270 </xs:documentation>
271 </xs:annotation>
272 </xs:attribute>
273 </xs:extension>
274 </xs:complexContent>
275 </xs:complexType>
276 <xs:complexType name="thumbnail" mixed="true">
277 <xs:annotation>
278 <xs:documentation>
279 A thumbnail is an abbreviated rendition of the full
280 data. A thumbnail requires significantly fewer
281 resources than the full data, while still maintaining
282 some distinctive similarity with the full data. A
283 thumbnail is typically used with by-reference
284 encapsulated data. It allows a user to select data
285 more efficiently before actually downloading through
286 the reference.
287 </xs:documentation>
288 </xs:annotation>
289 <xs:complexContent>
290 <xs:restriction base="ED">
291 <xs:sequence>
292 <xs:element name="reference" type="TEL" minOccurs="0" maxOccurs="1"/>
293 <xs:element name="thumbnail" type="thumbnail" minOccurs="0" maxOccurs="0"/>
294 </xs:sequence>
295 </xs:restriction>
296 </xs:complexContent>
297 </xs:complexType>
298 <xs:simpleType name="st">
299 <xs:annotation>
300 <xs:documentation>
301 The character string data type stands for text data,
302 primarily intended for machine processing (e.g.,
303 sorting, querying, indexing, etc.) Used for names,
304 symbols, and formal expressions.
305 </xs:documentation>
306 </xs:annotation>
307 <xs:restriction base="xs:string">
308 <xs:minLength value="1"/>
309 </xs:restriction>
310 </xs:simpleType>
311 <xs:complexType name="ST" mixed="true">
312 <xs:annotation>
313 <xs:documentation>
314 The character string data type stands for text data,
315 primarily intended for machine processing (e.g.,
316 sorting, querying, indexing, etc.) Used for names,
317 symbols, and formal expressions.
318 </xs:documentation>
319 <xs:appinfo>
320 <sch:pattern name="validate ST">
321 <sch:rule abstract="true" id="rule-ST">
322 <sch:report test="(@nullFlavor or text()) and not(@nullFlavor and text())">
323 <p xmlns:gsd="http://aurora.regenstrief.org/GenericXMLSchema" xmlns:xlink="http://www.w3.org/TR/WD-xlink">Text content is only allowed in non-NULL values.
324 </p>
325 </sch:report>
326 </sch:rule>
327 </sch:pattern>
328 </xs:appinfo>
329 </xs:annotation>
330 <xs:complexContent>
331 <xs:restriction base="ED">
332 <xs:sequence>
333 <xs:element name="reference" type="TEL" minOccurs="0" maxOccurs="0"/>
334 <xs:element name="thumbnail" type="thumbnail" minOccurs="0" maxOccurs="0"/>
335 </xs:sequence>
336 <xs:attribute name="representation" type="BinaryDataEncoding" fixed="TXT"/>
337 <xs:attribute name="mediaType" type="cs" fixed="text/plain"/>
338 <xs:attribute name="language" type="cs" use="optional"/>
339 <xs:attribute name="compression" type="CompressionAlgorithm" use="prohibited"/>
340 <xs:attribute name="integrityCheck" type="bin" use="prohibited"/>
341 <xs:attribute name="integrityCheckAlgorithm" type="IntegrityCheckAlgorithm" use="prohibited"/>
342 </xs:restriction>
343 </xs:complexContent>
344 </xs:complexType>
345 <xs:simpleType name="cs">
346 <xs:annotation>
347 <xs:documentation>
348 Coded data in its simplest form, consists of a code.
349 The code system and code system version is fixed by
350 the context in which the value occurs. is used
351 for coded attributes that have a single HL7-defined
352 value set.
353 </xs:documentation>
354 </xs:annotation>
355 <xs:restriction base="xs:token">
356 <xs:pattern value="[^\s]+"/>
357 </xs:restriction>
358 </xs:simpleType>
359 <xs:complexType name="CD">
360 <xs:annotation>
361 <xs:documentation>
362 A concept descriptor represents any kind of concept usually
363 by giving a code defined in a code system. A concept
364 descriptor can contain the original text or phrase that
365 served as the basis of the coding and one or more
366 translations into different coding systems. A concept
367 descriptor can also contain qualifiers to describe, e.g.,
368 the concept of a "left foot" as a postcoordinated term built
369 from the primary code "FOOT" and the qualifier "LEFT".
370 In exceptional cases, the concept descriptor need not
371 contain a code but only the original text describing
372 that concept.
373 </xs:documentation>
374 </xs:annotation>
375 <xs:complexContent>
376 <xs:extension base="ANY">
377 <xs:sequence>
378 <xs:element name="originalText" type="ED" minOccurs="0" maxOccurs="1">
379 <xs:annotation>
380 <xs:documentation>
381 The text or phrase used as the basis for the coding.
382 </xs:documentation>
383 </xs:annotation>
384 </xs:element>
385 <xs:element name="qualifier" type="CR" minOccurs="0" maxOccurs="unbounded">
386 <xs:annotation>
387 <xs:documentation>
388 Specifies additional codes that increase the
389 specificity of the primary code.
390 </xs:documentation>
391 </xs:annotation>
392 </xs:element>
393 <xs:element name="translation" type="CD" minOccurs="0" maxOccurs="unbounded">
394 <xs:annotation>
395 <xs:documentation>
396 A set of other concept descriptors that translate
397 this concept descriptor into other code systems.
398 </xs:documentation>
399 </xs:annotation>
400 </xs:element>
401 </xs:sequence>
402 <xs:attribute name="code" type="cs" use="optional">
403 <xs:annotation>
404 <xs:documentation>
405 The plain code symbol defined by the code system.
406 For example, "784.0" is the code symbol of the ICD-9
407 code "784.0" for headache.
408 </xs:documentation>
409 </xs:annotation>
410 </xs:attribute>
411 <xs:attribute name="codeSystem" type="uid" use="optional">
412 <xs:annotation>
413 <xs:documentation>
414 Specifies the code system that defines the code.
415 </xs:documentation>
416 </xs:annotation>
417 </xs:attribute>
418 <xs:attribute name="codeSystemName" type="st" use="optional">
419 <xs:annotation>
420 <xs:documentation>
421 A common name of the coding system.
422 </xs:documentation>
423 </xs:annotation>
424 </xs:attribute>
425 <xs:attribute name="codeSystemVersion" type="st" use="optional">
426 <xs:annotation>
427 <xs:documentation>
428 If applicable, a version descriptor defined
429 specifically for the given code system.
430 </xs:documentation>
431 </xs:annotation>
432 </xs:attribute>
433 <xs:attribute name="displayName" type="st" use="optional">
434 <xs:annotation>
435 <xs:documentation>
436 A name or title for the code, under which the sending
437 system shows the code value to its users.
438 </xs:documentation>
439 </xs:annotation>
440 </xs:attribute>
441 </xs:extension>
442 </xs:complexContent>
443 </xs:complexType>
444 <xs:complexType name="CE">
445 <xs:annotation>
446 <xs:documentation>
447 Coded data, consists of a coded value (CV)
448 and, optionally, coded value(s) from other coding systems
449 that identify the same concept. Used when alternative
450 codes may exist.
451 </xs:documentation>
452 </xs:annotation>
453 <xs:complexContent>
454 <xs:restriction base="CD">
455 <xs:sequence>
456 <xs:element name="originalText" type="ED" minOccurs="0" maxOccurs="1">
457 <xs:annotation>
458 <xs:documentation>
459 The text or phrase used as the basis for the coding.
460 </xs:documentation>
461 </xs:annotation>
462 </xs:element>
463 <xs:element name="qualifier" type="CR" minOccurs="0" maxOccurs="0"/>
464 <xs:element name="translation" type="CD" minOccurs="0" maxOccurs="unbounded">
465 <xs:annotation>
466 <xs:documentation>
467 A set of other concept descriptors that translate
468 this concept descriptor into other code systems.
469 </xs:documentation>
470 </xs:annotation>
471 </xs:element>
472 </xs:sequence>
473 <xs:attribute name="code" type="cs" use="optional">
474 <xs:annotation>
475 <xs:documentation>
476 The plain code symbol defined by the code system.
477 For example, "784.0" is the code symbol of the ICD-9
478 code "784.0" for headache.
479 </xs:documentation>
480 </xs:annotation>
481 </xs:attribute>
482 <xs:attribute name="codeSystem" type="uid" use="optional">
483 <xs:annotation>
484 <xs:documentation>
485 Specifies the code system that defines the code.
486 </xs:documentation>
487 </xs:annotation>
488 </xs:attribute>
489 <xs:attribute name="codeSystemName" type="st" use="optional">
490 <xs:annotation>
491 <xs:documentation>
492 A common name of the coding system.
493 </xs:documentation>
494 </xs:annotation>
495 </xs:attribute>
496 <xs:attribute name="codeSystemVersion" type="st" use="optional">
497 <xs:annotation>
498 <xs:documentation>
499 If applicable, a version descriptor defined
500 specifically for the given code system.
501 </xs:documentation>
502 </xs:annotation>
503 </xs:attribute>
504 <xs:attribute name="displayName" type="st" use="optional">
505 <xs:annotation>
506 <xs:documentation>
507 A name or title for the code, under which the sending
508 system shows the code value to its users.
509 </xs:documentation>
510 </xs:annotation>
511 </xs:attribute>
512 </xs:restriction>
513 </xs:complexContent>
514 </xs:complexType>
515 <xs:complexType name="CV">
516 <xs:annotation>
517 <xs:documentation>
518 Coded data, consists of a code, display name, code system,
519 and original text. Used when a single code value must be sent.
520 </xs:documentation>
521 </xs:annotation>
522 <xs:complexContent>
523 <xs:restriction base="CE">
524 <xs:sequence>
525 <xs:element name="originalText" type="ED" minOccurs="0" maxOccurs="1">
526 <xs:annotation>
527 <xs:documentation>
528 The text or phrase used as the basis for the coding.
529 </xs:documentation>
530 </xs:annotation>
531 </xs:element>
532 <xs:element name="translation" type="CD" minOccurs="0" maxOccurs="0"/>
533 </xs:sequence>
534 <xs:attribute name="code" type="cs" use="optional">
535 <xs:annotation>
536 <xs:documentation>
537 The plain code symbol defined by the code system.
538 For example, "784.0" is the code symbol of the ICD-9
539 code "784.0" for headache.
540 </xs:documentation>
541 </xs:annotation>
542 </xs:attribute>
543 <xs:attribute name="codeSystem" type="uid" use="optional">
544 <xs:annotation>
545 <xs:documentation>
546 Specifies the code system that defines the code.
547 </xs:documentation>
548 </xs:annotation>
549 </xs:attribute>
550 <xs:attribute name="codeSystemName" type="st" use="optional">
551 <xs:annotation>
552 <xs:documentation>
553 A common name of the coding system.
554 </xs:documentation>
555 </xs:annotation>
556 </xs:attribute>
557 <xs:attribute name="codeSystemVersion" type="st" use="optional">
558 <xs:annotation>
559 <xs:documentation>
560 If applicable, a version descriptor defined
561 specifically for the given code system.
562 </xs:documentation>
563 </xs:annotation>
564 </xs:attribute>
565 <xs:attribute name="displayName" type="st" use="optional">
566 <xs:annotation>
567 <xs:documentation>
568 A name or title for the code, under which the sending
569 system shows the code value to its users.
570 </xs:documentation>
571 </xs:annotation>
572 </xs:attribute>
573 </xs:restriction>
574 </xs:complexContent>
575 </xs:complexType>
576 <xs:complexType name="CS">
577 <xs:annotation>
578 <xs:documentation>
579 Coded data, consists of a code, display name, code system,
580 and original text. Used when a single code value must be sent.
581 </xs:documentation>
582 </xs:annotation>
583 <xs:complexContent>
584 <xs:restriction base="CV">
585 <xs:attribute name="code" type="cs" use="optional">
586 <xs:annotation>
587 <xs:documentation>
588 The plain code symbol defined by the code system.
589 For example, "784.0" is the code symbol of the ICD-9
590 code "784.0" for headache.
591 </xs:documentation>
592 </xs:annotation>
593 </xs:attribute>
594 <xs:attribute name="codeSystem" type="uid" use="prohibited"/>
595 <xs:attribute name="codeSystemName" type="st" use="prohibited"/>
596 <xs:attribute name="codeSystemVersion" type="st" use="prohibited"/>
597 <xs:attribute name="displayName" type="st" use="prohibited"/>
598 </xs:restriction>
599 </xs:complexContent>
600 </xs:complexType>
601 <xs:complexType name="CO">
602 <xs:annotation>
603 <xs:documentation>
604 Coded data, where the domain from which the codeset comes
605 is ordered. The Coded Ordinal data type adds semantics
606 related to ordering so that models that make use of such
607 domains may introduce model elements that involve statements
608 about the order of the terms in a domain.
609 </xs:documentation>
610 </xs:annotation>
611 <xs:complexContent>
612 <xs:extension base="CV"/>
613 </xs:complexContent>
614 </xs:complexType>
615 <xs:complexType name="CR">
616 <xs:annotation>
617 <xs:documentation>
618 A concept qualifier code with optionally named role.
619 Both qualifier role and value codes must be defined by
620 the coding system. For example, if SNOMED RT defines a
621 concept "leg", a role relation "has-laterality", and
622 another concept "left", the concept role relation allows
623 to add the qualifier "has-laterality: left" to a primary
624 code "leg" to construct the meaning "left leg".
625 </xs:documentation>
626 <xs:appinfo>
627 <sch:pattern name="validate CR">
628 <sch:rule abstract="true" id="rule-CR">
629 <sch:report test="(value or @nullFlavor) and not(@nullFlavor and node())">
630 <p xmlns:gsd="http://aurora.regenstrief.org/GenericXMLSchema" xmlns:xlink="http://www.w3.org/TR/WD-xlink">
631 A value component is required or else the
632 code role is NULL.
633 </p>
634 </sch:report>
635 </sch:rule>
636 </sch:pattern>
637 </xs:appinfo>
638 </xs:annotation>
639 <xs:complexContent>
640 <xs:extension base="ANY">
641 <xs:sequence>
642 <xs:element name="name" type="CV" minOccurs="0" maxOccurs="1">
643 <xs:annotation>
644 <xs:documentation>
645 Specifies the manner in which the concept role value
646 contributes to the meaning of a code phrase. For
647 example, if SNOMED RT defines a concept "leg", a role
648 relation "has-laterality", and another concept "left",
649 the concept role relation allows to add the qualifier
650 "has-laterality: left" to a primary code "leg" to
651 construct the meaning "left leg". In this example
652 "has-laterality" is .
653 </xs:documentation>
654 </xs:annotation>
655 </xs:element>
656 <xs:element name="value" type="CD" minOccurs="0" maxOccurs="1">
657 <xs:annotation>
658 <xs:documentation>
659 The concept that modifies the primary code of a code
660 phrase through the role relation. For example, if
661 SNOMED RT defines a concept "leg", a role relation
662 "has-laterality", and another concept "left", the
663 concept role relation allows adding the qualifier
664 "has-laterality: left" to a primary code "leg" to
665 construct the meaning "left leg". In this example
666 "left" is .
667 </xs:documentation>
668 </xs:annotation>
669 </xs:element>
670 </xs:sequence>
671 <xs:attribute name="inverted" type="bn" use="optional" default="false">
672 <xs:annotation>
673 <xs:documentation>
674 Indicates if the sense of the role name is inverted.
675 This can be used in cases where the underlying code
676 system defines inversion but does not provide reciprocal
677 pairs of role names. By default, inverted is false.
678 </xs:documentation>
679 </xs:annotation>
680 </xs:attribute>
681 </xs:extension>
682 </xs:complexContent>
683 </xs:complexType>
684 <xs:complexType name="SC" mixed="true">
685 <xs:annotation>
686 <xs:documentation>
687 An ST that optionally may have a code attached.
688 The text must always be present if a code is present. The
689 code is often a local code.
690 </xs:documentation>
691 </xs:annotation>
692 <xs:complexContent>
693 <xs:extension base="ST">
694 <xs:attribute name="code" type="cs" use="optional">
695 <xs:annotation>
696 <xs:documentation>
697 The plain code symbol defined by the code system.
698 For example, "784.0" is the code symbol of the ICD-9
699 code "784.0" for headache.
700 </xs:documentation>
701 </xs:annotation>
702 </xs:attribute>
703 <xs:attribute name="codeSystem" type="uid" use="optional">
704 <xs:annotation>
705 <xs:documentation>
706 Specifies the code system that defines the code.
707 </xs:documentation>
708 </xs:annotation>
709 </xs:attribute>
710 <xs:attribute name="codeSystemName" type="st" use="optional">
711 <xs:annotation>
712 <xs:documentation>
713 A common name of the coding system.
714 </xs:documentation>
715 </xs:annotation>
716 </xs:attribute>
717 <xs:attribute name="codeSystemVersion" type="st" use="optional">
718 <xs:annotation>
719 <xs:documentation>
720 If applicable, a version descriptor defined
721 specifically for the given code system.
722 </xs:documentation>
723 </xs:annotation>
724 </xs:attribute>
725 <xs:attribute name="displayName" type="st" use="optional">
726 <xs:annotation>
727 <xs:documentation>
728 A name or title for the code, under which the sending
729 system shows the code value to its users.
730 </xs:documentation>
731 </xs:annotation>
732 </xs:attribute>
733 </xs:extension>
734 </xs:complexContent>
735 </xs:complexType>
736 <xs:simpleType name="uid">
737 <xs:annotation>
738 <xs:documentation>
739 A unique identifier string is a character string which
740 identifies an object in a globally unique and timeless
741 manner. The allowable formats and values and procedures
742 of this data type are strictly controlled by HL7. At this
743 time, user-assigned identifiers may be certain character
744 representations of ISO Object Identifiers ()
745 and DCE
746 Universally Unique Identifiers ().
747 HL7 also reserves
748 the right to assign other forms of UIDs (,
749 such as mnemonic
750 identifiers for code systems.
751 </xs:documentation>
752 </xs:annotation>
753 <xs:union memberTypes="oid uuid ruid"/>
754 </xs:simpleType>
755 <xs:simpleType name="oid">
756 <xs:annotation>
757 <xs:documentation/>
758 </xs:annotation>
759 <xs:restriction base="xs:string">
760 <xs:pattern value="[0-2](\.(0|[1-9][0-9]*))*"/>
761 </xs:restriction>
762 </xs:simpleType>
763 <xs:simpleType name="uuid">
764 <xs:annotation>
765 <xs:documentation/>
766 </xs:annotation>
767 <xs:restriction base="xs:string">
768 <xs:pattern value="[0-9a-zA-Z]{8}-[0-9a-zA-Z]{4}-[0-9a-zA-Z]{4}-[0-9a-zA-Z]{4}-[0-9a-zA-Z]{12}"/>
769 </xs:restriction>
770 </xs:simpleType>
771 <xs:simpleType name="ruid">
772 <xs:annotation>
773 <xs:documentation/>
774 </xs:annotation>
775 <xs:restriction base="xs:string">
776 <xs:pattern value="[A-Za-z][A-Za-z0-9\-]*"/>
777 </xs:restriction>
778 </xs:simpleType>
779 <xs:complexType name="II">
780 <xs:annotation>
781 <xs:documentation>
782 An identifier that uniquely identifies a thing or object.
783 Examples are object identifier for HL7 RIM objects,
784 medical record number, order id, service catalog item id,
785 Vehicle Identification Number (VIN), etc. Instance
786 identifiers are defined based on ISO object identifiers.
787 </xs:documentation>
788 <xs:appinfo>
789 <sch:pattern name="validate II">
790 <sch:rule abstract="true" id="rule-II">
791 <sch:report test="(@root or @nullFlavor) and not(@root and @nullFlavor)">
792 A root component is required or else the II value is NULL.
793 </sch:report>
794 </sch:rule>
795 </sch:pattern>
796 </xs:appinfo>
797 </xs:annotation>
798 <xs:complexContent>
799 <xs:extension base="ANY">
800 <xs:attribute name="root" type="uid" use="optional">
801 <xs:annotation>
802 <xs:documentation>
803 A unique identifier that guarantees the global uniqueness
804 of the instance identifier. The root alone may be the
805 entire instance identifier.
806 </xs:documentation>
807 </xs:annotation>
808 </xs:attribute>
809 <xs:attribute name="extension" type="st" use="optional">
810 <xs:annotation>
811 <xs:documentation>
812 A character string as a unique identifier within the
813 scope of the identifier root.
814 </xs:documentation>
815 </xs:annotation>
816 </xs:attribute>
817 <xs:attribute name="assigningAuthorityName" type="st" use="optional">
818 <xs:annotation>
819 <xs:documentation>
820 A human readable name or mnemonic for the assigning
821 authority. This name may be provided solely for the
822 convenience of unaided humans interpreting an value
823 and can have no computational meaning. Note: no
824 automated processing must depend on the assigning
825 authority name to be present in any form.
826 </xs:documentation>
827 </xs:annotation>
828 </xs:attribute>
829 <xs:attribute name="displayable" type="bl" use="optional">
830 <xs:annotation>
831 <xs:documentation>
832 Specifies if the identifier is intended for human
833 display and data entry (displayable = true) as
834 opposed to pure machine interoperation (displayable
835 = false).
836 </xs:documentation>
837 </xs:annotation>
838 </xs:attribute>
839 </xs:extension>
840 </xs:complexContent>
841 </xs:complexType>
842 <xs:simpleType name="url">
843 <xs:annotation>
844 <xs:documentation>
845 A telecommunications address specified according to
846 Internet standard RFC 1738
847 [http://www.ietf.org/rfc/rfc1738.txt]. The
848 URL specifies the protocol and the contact point defined
849 by that protocol for the resource. Notable uses of the
850 telecommunication address data type are for telephone and
851 telefax numbers, e-mail addresses, Hypertext references,
852 FTP references, etc.
853 </xs:documentation>
854 </xs:annotation>
855 <xs:restriction base="xs:anyURI"/>
856 </xs:simpleType>
857 <xs:complexType name="URL" abstract="true">
858 <xs:annotation>
859 <xs:documentation>
860 A telecommunications address specified according to
861 Internet standard RFC 1738
862 [http://www.ietf.org/rfc/rfc1738.txt]. The
863 URL specifies the protocol and the contact point defined
864 by that protocol for the resource. Notable uses of the
865 telecommunication address data type are for telephone and
866 telefax numbers, e-mail addresses, Hypertext references,
867 FTP references, etc.
868 </xs:documentation>
869 <xs:appinfo>
870 <sch:pattern name="validate URL">
871 <sch:rule abstract="true" id="rule-URL">
872 <sch:report test="(@nullFlavor or @value) and not(@nullFlavor and @value)"/>
873 </sch:rule>
874 </sch:pattern>
875 </xs:appinfo>
876 </xs:annotation>
877 <xs:complexContent>
878 <xs:extension base="ANY">
879 <xs:attribute name="value" type="url" use="optional"/>
880 </xs:extension>
881 </xs:complexContent>
882 </xs:complexType>
883 <xs:simpleType name="ts">
884 <xs:annotation>
885 <xs:documentation>
886 A quantity specifying a point on the axis of natural time.
887 A point in time is most often represented as a calendar
888 expression.
889 </xs:documentation>
890 </xs:annotation>
891 <xs:restriction base="xs:string">
892 <xs:pattern value="[0-9]{1,8}|([0-9]{9,14}|[0-9]{14,14}\.[0-9]+)([+\-][0-9]{1,4})?"/>
893 </xs:restriction>
894 </xs:simpleType>
895 <xs:complexType name="TS">
896 <xs:annotation>
897 <xs:documentation>
898 A quantity specifying a point on the axis of natural time.
899 A point in time is most often represented as a calendar
900 expression.
901 </xs:documentation>
902 <xs:appinfo>
903 <diff>PQ</diff>
904 </xs:appinfo>
905 </xs:annotation>
906 <xs:complexContent>
907 <xs:extension base="QTY">
908 <xs:attribute name="value" use="optional" type="ts"/>
909 </xs:extension>
910 </xs:complexContent>
911 </xs:complexType>
912 <xs:complexType name="TEL">
913 <xs:annotation>
914 <xs:documentation>
915 A telephone number (voice or fax), e-mail address, or
916 other locator for a resource (information or service)
917 mediated by telecommunication equipment. The address
918 is specified as a URL
919 qualified by time specification and use codes that help
920 in deciding which address to use for a given time and
921 purpose.
922 </xs:documentation>
923 </xs:annotation>
924 <xs:complexContent>
925 <xs:extension base="URL">
926 <xs:sequence>
927 <xs:element name="useablePeriod" minOccurs="0" maxOccurs="unbounded" type="SXCM_TS">
928 <xs:annotation>
929 <xs:documentation>
930 Specifies the periods of time during which the
931 telecommunication address can be used. For a
932 telephone number, this can indicate the time of day
933 in which the party can be reached on that telephone.
934 For a web address, it may specify a time range in
935 which the web content is promised to be available
936 under the given address.
937 </xs:documentation>
938 </xs:annotation>
939 </xs:element>
940 </xs:sequence>
941 <xs:attribute name="use" use="optional" type="set_TelecommunicationAddressUse">
942 <xs:annotation>
943 <xs:documentation>
944 One or more codes advising a system or user which
945 telecommunication address in a set of like addresses
946 to select for a given telecommunication need.
947 </xs:documentation>
948 </xs:annotation>
949 </xs:attribute>
950 </xs:extension>
951 </xs:complexContent>
952 </xs:complexType>
953 <xs:complexType name="ADXP" mixed="true">
954 <xs:annotation>
955 <xs:documentation>
956 A character string that may have a type-tag signifying its
957 role in the address. Typical parts that exist in about
958 every address are street, house number, or post box,
959 postal code, city, country but other roles may be defined
960 regionally, nationally, or on an enterprise level (e.g. in
961 military addresses). Addresses are usually broken up into
962 lines, which are indicated by special line-breaking
963 delimiter elements (e.g., DEL).
964 </xs:documentation>
965 </xs:annotation>
966 <xs:complexContent>
967 <xs:extension base="ST">
968 <xs:attribute name="partType" type="AddressPartType">
969 <xs:annotation>
970 <xs:documentation>
971 Specifies whether an address part names the street,
972 city, country, postal code, post box, etc. If the type
973 is NULL the address part is unclassified and would
974 simply appear on an address label as is.
975 </xs:documentation>
976 </xs:annotation>
977 </xs:attribute>
978 </xs:extension>
979 </xs:complexContent>
980 </xs:complexType>
981 <xs:complexType mixed="true" name="adxp.delimiter">
982 <xs:complexContent>
983 <xs:restriction base="ADXP">
984 <xs:attribute name="partType" type="AddressPartType" fixed="DEL"/>
985 </xs:restriction>
986 </xs:complexContent>
987 </xs:complexType>
988 <xs:complexType mixed="true" name="adxp.country">
989 <xs:complexContent>
990 <xs:restriction base="ADXP">
991 <xs:attribute name="partType" type="AddressPartType" fixed="CNT"/>
992 </xs:restriction>
993 </xs:complexContent>
994 </xs:complexType>
995 <xs:complexType mixed="true" name="adxp.state">
996 <xs:complexContent>
997 <xs:restriction base="ADXP">
998 <xs:attribute name="partType" type="AddressPartType" fixed="STA"/>
999 </xs:restriction>
1000 </xs:complexContent>
1001 </xs:complexType>
1002 <xs:complexType mixed="true" name="adxp.county">
1003 <xs:complexContent>
1004 <xs:restriction base="ADXP">
1005 <xs:attribute name="partType" type="AddressPartType" fixed="CPA"/>
1006 </xs:restriction>
1007 </xs:complexContent>
1008 </xs:complexType>
1009 <xs:complexType mixed="true" name="adxp.city">
1010 <xs:complexContent>
1011 <xs:restriction base="ADXP">
1012 <xs:attribute name="partType" type="AddressPartType" fixed="CTY"/>
1013 </xs:restriction>
1014 </xs:complexContent>
1015 </xs:complexType>
1016 <xs:complexType mixed="true" name="adxp.postalCode">
1017 <xs:complexContent>
1018 <xs:restriction base="ADXP">
1019 <xs:attribute name="partType" type="AddressPartType" fixed="ZIP"/>
1020 </xs:restriction>
1021 </xs:complexContent>
1022 </xs:complexType>
1023 <xs:complexType mixed="true" name="adxp.streetAddressLine">
1024 <xs:complexContent>
1025 <xs:restriction base="ADXP">
1026 <xs:attribute name="partType" type="AddressPartType" fixed="SAL"/>
1027 </xs:restriction>
1028 </xs:complexContent>
1029 </xs:complexType>
1030 <xs:complexType mixed="true" name="adxp.houseNumber">
1031 <xs:complexContent>
1032 <xs:restriction base="ADXP">
1033 <xs:attribute name="partType" type="AddressPartType" fixed="BNR"/>
1034 </xs:restriction>
1035 </xs:complexContent>
1036 </xs:complexType>
1037 <xs:complexType mixed="true" name="adxp.houseNumberNumeric">
1038 <xs:complexContent>
1039 <xs:restriction base="ADXP">
1040 <xs:attribute name="partType" type="AddressPartType" fixed="BNN"/>
1041 </xs:restriction>
1042 </xs:complexContent>
1043 </xs:complexType>
1044 <xs:complexType mixed="true" name="adxp.direction">
1045 <xs:complexContent>
1046 <xs:restriction base="ADXP">
1047 <xs:attribute name="partType" type="AddressPartType" fixed="DIR"/>
1048 </xs:restriction>
1049 </xs:complexContent>
1050 </xs:complexType>
1051 <xs:complexType mixed="true" name="adxp.streetName">
1052 <xs:complexContent>
1053 <xs:restriction base="ADXP">
1054 <xs:attribute name="partType" type="AddressPartType" fixed="STR"/>
1055 </xs:restriction>
1056 </xs:complexContent>
1057 </xs:complexType>
1058 <xs:complexType mixed="true" name="adxp.streetNameBase">
1059 <xs:complexContent>
1060 <xs:restriction base="ADXP">
1061 <xs:attribute name="partType" type="AddressPartType" fixed="STB"/>
1062 </xs:restriction>
1063 </xs:complexContent>
1064 </xs:complexType>
1065 <!--
1066 jaxb implementors note: the jaxb code generator (v1.0.?) will
1067 fail to append "Type" to streetNameType so that there will be
1068 duplicate definitions in the java source for streetNameType.
1069 You will have to fix this manually.
1070 -->
1071 <xs:complexType mixed="true" name="adxp.streetNameType">
1072 <xs:complexContent>
1073 <xs:restriction base="ADXP">
1074 <xs:attribute name="partType" type="AddressPartType" fixed="STTYP"/>
1075 </xs:restriction>
1076 </xs:complexContent>
1077 </xs:complexType>
1078 <xs:complexType mixed="true" name="adxp.additionalLocator">
1079 <xs:complexContent>
1080 <xs:restriction base="ADXP">
1081 <xs:attribute name="partType" type="AddressPartType" fixed="ADL"/>
1082 </xs:restriction>
1083 </xs:complexContent>
1084 </xs:complexType>
1085 <xs:complexType mixed="true" name="adxp.unitID">
1086 <xs:complexContent>
1087 <xs:restriction base="ADXP">
1088 <xs:attribute name="partType" type="AddressPartType" fixed="UNID"/>
1089 </xs:restriction>
1090 </xs:complexContent>
1091 </xs:complexType>
1092 <xs:complexType mixed="true" name="adxp.unitType">
1093 <xs:complexContent>
1094 <xs:restriction base="ADXP">
1095 <xs:attribute name="partType" type="AddressPartType" fixed="UNIT"/>
1096 </xs:restriction>
1097 </xs:complexContent>
1098 </xs:complexType>
1099 <xs:complexType mixed="true" name="adxp.careOf">
1100 <xs:complexContent>
1101 <xs:restriction base="ADXP">
1102 <xs:attribute name="partType" type="AddressPartType" fixed="CAR"/>
1103 </xs:restriction>
1104 </xs:complexContent>
1105 </xs:complexType>
1106 <xs:complexType mixed="true" name="adxp.censusTract">
1107 <xs:complexContent>
1108 <xs:restriction base="ADXP">
1109 <xs:attribute name="partType" type="AddressPartType" fixed="CEN"/>
1110 </xs:restriction>
1111 </xs:complexContent>
1112 </xs:complexType>
1113 <xs:complexType mixed="true" name="adxp.deliveryAddressLine">
1114 <xs:complexContent>
1115 <xs:restriction base="ADXP">
1116 <xs:attribute name="partType" type="AddressPartType" fixed="DAL"/>
1117 </xs:restriction>
1118 </xs:complexContent>
1119 </xs:complexType>
1120 <xs:complexType mixed="true" name="adxp.deliveryInstallationType">
1121 <xs:complexContent>
1122 <xs:restriction base="ADXP">
1123 <xs:attribute name="partType" type="AddressPartType" fixed="DINST"/>
1124 </xs:restriction>
1125 </xs:complexContent>
1126 </xs:complexType>
1127 <xs:complexType mixed="true" name="adxp.deliveryInstallationArea">
1128 <xs:complexContent>
1129 <xs:restriction base="ADXP">
1130 <xs:attribute name="partType" type="AddressPartType" fixed="DINSTA"/>
1131 </xs:restriction>
1132 </xs:complexContent>
1133 </xs:complexType>
1134 <xs:complexType mixed="true" name="adxp.deliveryInstallationQualifier">
1135 <xs:complexContent>
1136 <xs:restriction base="ADXP">
1137 <xs:attribute name="partType" type="AddressPartType" fixed="DINSTQ"/>
1138 </xs:restriction>
1139 </xs:complexContent>
1140 </xs:complexType>
1141 <xs:complexType mixed="true" name="adxp.deliveryMode">
1142 <xs:complexContent>
1143 <xs:restriction base="ADXP">
1144 <xs:attribute name="partType" type="AddressPartType" fixed="DMOD"/>
1145 </xs:restriction>
1146 </xs:complexContent>
1147 </xs:complexType>
1148 <xs:complexType mixed="true" name="adxp.deliveryModeIdentifier">
1149 <xs:complexContent>
1150 <xs:restriction base="ADXP">
1151 <xs:attribute name="partType" type="AddressPartType" fixed="DMODID"/>
1152 </xs:restriction>
1153 </xs:complexContent>
1154 </xs:complexType>
1155 <xs:complexType mixed="true" name="adxp.buildingNumberSuffix">
1156 <xs:complexContent>
1157 <xs:restriction base="ADXP">
1158 <xs:attribute name="partType" type="AddressPartType" fixed="BNS"/>
1159 </xs:restriction>
1160 </xs:complexContent>
1161 </xs:complexType>
1162 <xs:complexType mixed="true" name="adxp.postBox">
1163 <xs:complexContent>
1164 <xs:restriction base="ADXP">
1165 <xs:attribute name="partType" type="AddressPartType" fixed="POB"/>
1166 </xs:restriction>
1167 </xs:complexContent>
1168 </xs:complexType>
1169 <xs:complexType mixed="true" name="adxp.precinct">
1170 <xs:complexContent>
1171 <xs:restriction base="ADXP">
1172 <xs:attribute name="partType" type="AddressPartType" fixed="PRE"/>
1173 </xs:restriction>
1174 </xs:complexContent>
1175 </xs:complexType>
1176 <xs:complexType name="AD" mixed="true">
1177 <xs:annotation>
1178 <xs:documentation>
1179 Mailing and home or office addresses. A sequence of
1180 address parts, such as street or post office Box, city,
1181 postal code, country, etc.
1182 </xs:documentation>
1183 </xs:annotation>
1184 <xs:complexContent>
1185 <xs:extension base="ANY">
1186 <xs:sequence>
1187 <xs:choice minOccurs="0" maxOccurs="unbounded">
1188 <xs:element name="delimiter" type="adxp.delimiter"/>
1189 <xs:element name="country" type="adxp.country"/>
1190 <xs:element name="state" type="adxp.state"/>
1191 <xs:element name="county" type="adxp.county"/>
1192 <xs:element name="city" type="adxp.city"/>
1193 <xs:element name="postalCode" type="adxp.postalCode"/>
1194 <xs:element name="streetAddressLine" type="adxp.streetAddressLine"/>
1195 <xs:element name="houseNumber" type="adxp.houseNumber"/>
1196 <xs:element name="houseNumberNumeric" type="adxp.houseNumberNumeric"/>
1197 <xs:element name="direction" type="adxp.direction"/>
1198 <xs:element name="streetName" type="adxp.streetName"/>
1199 <xs:element name="streetNameBase" type="adxp.streetNameBase"/>
1200 <xs:element name="streetNameType" type="adxp.streetNameType"/>
1201 <xs:element name="additionalLocator" type="adxp.additionalLocator"/>
1202 <xs:element name="unitID" type="adxp.unitID"/>
1203 <xs:element name="unitType" type="adxp.unitType"/>
1204 <xs:element name="careOf" type="adxp.careOf"/>
1205 <xs:element name="censusTract" type="adxp.censusTract"/>
1206 <xs:element name="deliveryAddressLine" type="adxp.deliveryAddressLine"/>
1207 <xs:element name="deliveryInstallationType" type="adxp.deliveryInstallationType"/>
1208 <xs:element name="deliveryInstallationArea" type="adxp.deliveryInstallationArea"/>
1209 <xs:element name="deliveryInstallationQualifier" type="adxp.deliveryInstallationQualifier"/>
1210 <xs:element name="deliveryMode" type="adxp.deliveryMode"/>
1211 <xs:element name="deliveryModeIdentifier" type="adxp.deliveryModeIdentifier"/>
1212 <xs:element name="buildingNumberSuffix" type="adxp.buildingNumberSuffix"/>
1213 <xs:element name="postBox" type="adxp.postBox"/>
1214 <xs:element name="precinct" type="adxp.precinct"/>
1215 </xs:choice>
1216 <xs:element name="useablePeriod" minOccurs="0" maxOccurs="unbounded" type="SXCM_TS">
1217 <xs:annotation>
1218 <xs:documentation>
1219 A GTS specifying the
1220 periods of time during which the address can be used.
1221 This is used to specify different addresses for
1222 different times of the year or to refer to historical
1223 addresses.
1224 </xs:documentation>
1225 </xs:annotation>
1226 </xs:element>
1227 </xs:sequence>
1228 <xs:attribute name="use" use="optional" type="set_PostalAddressUse">
1229 <xs:annotation>
1230 <xs:documentation>
1231 A set of codes advising a system or user which address
1232 in a set of like addresses to select for a given purpose.
1233 </xs:documentation>
1234 </xs:annotation>
1235 </xs:attribute>
1236 <xs:attribute name="isNotOrdered" type="bl" use="optional">
1237 <xs:annotation>
1238 <xs:documentation>
1239 A boolean value specifying whether the order of the
1240 address parts is known or not. While the address parts
1241 are always a Sequence, the order in which they are
1242 presented may or may not be known. Where this matters,
1243 can be used to convey this
1244 information.
1245 </xs:documentation>
1246 </xs:annotation>
1247 </xs:attribute>
1248 </xs:extension>
1249 </xs:complexContent>
1250 </xs:complexType>
1251 <xs:complexType name="ENXP" mixed="true">
1252 <xs:annotation>
1253 <xs:documentation>
1254 A character string token representing a part of a name.
1255 May have a type code signifying the role of the part in
1256 the whole entity name, and a qualifier code for more detail
1257 about the name part type. Typical name parts for person
1258 names are given names, and family names, titles, etc.
1259 </xs:documentation>
1260 </xs:annotation>
1261 <xs:complexContent>
1262 <xs:extension base="ST">
1263 <xs:attribute name="partType" type="EntityNamePartType">
1264 <xs:annotation>
1265 <xs:documentation>
1266 Indicates whether the name part is a given name, family
1267 name, prefix, suffix, etc.
1268 </xs:documentation>
1269 </xs:annotation>
1270 </xs:attribute>
1271 <xs:attribute name="qualifier" use="optional" type="set_EntityNamePartQualifier">
1272 <xs:annotation>
1273 <xs:documentation> is a set of codes each of which specifies
1274 a certain subcategory of the name part in addition to
1275 the main name part type. For example, a given name may
1276 be flagged as a nickname, a family name may be a
1277 pseudonym or a name of public records.
1278 </xs:documentation>
1279 </xs:annotation>
1280 </xs:attribute>
1281 </xs:extension>
1282 </xs:complexContent>
1283 </xs:complexType>
1284 <xs:complexType name="en.delimiter" mixed="true">
1285 <xs:complexContent>
1286 <xs:restriction base="ENXP">
1287 <xs:attribute name="partType" type="EntityNamePartType" fixed="DEL"/>
1288 </xs:restriction>
1289 </xs:complexContent>
1290 </xs:complexType>
1291 <xs:complexType name="en.family" mixed="true">
1292 <xs:complexContent>
1293 <xs:restriction base="ENXP">
1294 <xs:attribute name="partType" type="EntityNamePartType" fixed="FAM"/>
1295 </xs:restriction>
1296 </xs:complexContent>
1297 </xs:complexType>
1298 <xs:complexType name="en.given" mixed="true">
1299 <xs:complexContent>
1300 <xs:restriction base="ENXP">
1301 <xs:attribute name="partType" type="EntityNamePartType" fixed="GIV"/>
1302 </xs:restriction>
1303 </xs:complexContent>
1304 </xs:complexType>
1305 <xs:complexType name="en.prefix" mixed="true">
1306 <xs:complexContent>
1307 <xs:restriction base="ENXP">
1308 <xs:attribute name="partType" type="EntityNamePartType" fixed="PFX"/>
1309 </xs:restriction>
1310 </xs:complexContent>
1311 </xs:complexType>
1312 <xs:complexType name="en.suffix" mixed="true">
1313 <xs:complexContent>
1314 <xs:restriction base="ENXP">
1315 <xs:attribute name="partType" type="EntityNamePartType" fixed="SFX"/>
1316 </xs:restriction>
1317 </xs:complexContent>
1318 </xs:complexType>
1319 <xs:complexType name="EN" mixed="true">
1320 <xs:annotation>
1321 <xs:documentation>
1322 A name for a person, organization, place or thing. A
1323 sequence of name parts, such as given name or family
1324 name, prefix, suffix, etc. Examples for entity name
1325 values are "Jim Bob Walton, Jr.", "Health Level Seven,
1326 Inc.", "Lake Tahoe", etc. An entity name may be as simple
1327 as a character string or may consist of several entity name
1328 parts, such as, "Jim", "Bob", "Walton", and "Jr.", "Health
1329 Level Seven" and "Inc.", "Lake" and "Tahoe".
1330 </xs:documentation>
1331 </xs:annotation>
1332 <xs:complexContent>
1333 <xs:extension base="ANY">
1334 <xs:sequence>
1335 <xs:choice minOccurs="0" maxOccurs="unbounded">
1336 <xs:element name="delimiter" type="en.delimiter"/>
1337 <xs:element name="family" type="en.family"/>
1338 <xs:element name="given" type="en.given"/>
1339 <xs:element name="prefix" type="en.prefix"/>
1340 <xs:element name="suffix" type="en.suffix"/>
1341 </xs:choice>
1342 <xs:element name="validTime" minOccurs="0" maxOccurs="1" type="IVL_TS">
1343 <xs:annotation>
1344 <xs:documentation>
1345 An interval of time specifying the time during which
1346 the name is or was used for the entity. This
1347 accomodates the fact that people change names for
1348 people, places and things.
1349 </xs:documentation>
1350 </xs:annotation>
1351 </xs:element>
1352 </xs:sequence>
1353 <xs:attribute name="use" use="optional" type="set_EntityNameUse">
1354 <xs:annotation>
1355 <xs:documentation>
1356 A set of codes advising a system or user which name
1357 in a set of like names to select for a given purpose.
1358 A name without specific use code might be a default
1359 name useful for any purpose, but a name with a specific
1360 use code would be preferred for that respective purpose.
1361 </xs:documentation>
1362 </xs:annotation>
1363 </xs:attribute>
1364 </xs:extension>
1365 </xs:complexContent>
1366 </xs:complexType>
1367 <xs:complexType name="PN" mixed="true">
1368 <xs:annotation>
1369 <xs:documentation>
1370 A name for a person. A sequence of name parts, such as
1371 given name or family name, prefix, suffix, etc. PN differs
1372 from EN because the qualifier type cannot include LS
1373 (Legal Status).
1374 </xs:documentation>
1375 </xs:annotation>
1376 <xs:complexContent>
1377 <xs:extension base="EN"/>
1378 </xs:complexContent>
1379 </xs:complexType>
1380 <xs:complexType name="ON" mixed="true">
1381 <xs:annotation>
1382 <xs:documentation>
1383 A name for an organization. A sequence of name parts.
1384 </xs:documentation>
1385 </xs:annotation>
1386 <xs:complexContent>
1387 <xs:restriction base="EN">
1388 <xs:sequence>
1389 <xs:choice minOccurs="0" maxOccurs="unbounded">
1390 <xs:element name="delimiter" type="en.delimiter"/>
1391 <xs:element name="prefix" type="en.prefix"/>
1392 <xs:element name="suffix" type="en.suffix"/>
1393 </xs:choice>
1394 <xs:element name="validTime" minOccurs="0" maxOccurs="1" type="IVL_TS">
1395 <xs:annotation>
1396 <xs:documentation>
1397 An interval of time specifying the time during which
1398 the name is or was used for the entity. This
1399 accomodates the fact that people change names for
1400 people, places and things.
1401 </xs:documentation>
1402 </xs:annotation>
1403 </xs:element>
1404 </xs:sequence>
1405 <xs:attribute name="use" use="optional" type="set_EntityNameUse">
1406 <xs:annotation>
1407 <xs:documentation>
1408 A set of codes advising a system or user which name
1409 in a set of like names to select for a given purpose.
1410 A name without specific use code might be a default
1411 name useful for any purpose, but a name with a specific
1412 use code would be preferred for that respective purpose.
1413 </xs:documentation>
1414 </xs:annotation>
1415 </xs:attribute>
1416 </xs:restriction>
1417 </xs:complexContent>
1418 </xs:complexType>
1419 <xs:complexType name="TN" mixed="true">
1420 <xs:annotation>
1421 <xs:documentation>
1422 A restriction of entity name that is effectively a simple string used
1423 for a simple name for things and places.
1424 </xs:documentation>
1425 </xs:annotation>
1426 <xs:complexContent>
1427 <xs:restriction base="EN">
1428 <xs:sequence>
1429 <xs:element name="validTime" minOccurs="0" maxOccurs="1" type="IVL_TS">
1430 <xs:annotation>
1431 <xs:documentation>
1432 An interval of time specifying the time during which
1433 the name is or was used for the entity. This
1434 accomodates the fact that people change names for
1435 people, places and things.
1436 </xs:documentation>
1437 </xs:annotation>
1438 </xs:element>
1439 </xs:sequence>
1440 </xs:restriction>
1441 </xs:complexContent>
1442 </xs:complexType>
1443 <xs:complexType name="QTY" abstract="true">
1444 <xs:annotation>
1445 <xs:documentation> is an abstract generalization
1446 for all data types (1) whose value set has an order
1447 relation (less-or-equal) and (2) where difference is
1448 defined in all of the data type's totally ordered value
1449 subsets. The quantity type abstraction is needed in
1450 defining certain other types, such as the interval and
1451 the probability distribution.
1452 </xs:documentation>
1453 <xs:appinfo>
1454 <diff>QTY</diff>
1455 </xs:appinfo>
1456 </xs:annotation>
1457 <xs:complexContent>
1458 <xs:extension base="ANY"/>
1459 </xs:complexContent>
1460 </xs:complexType>
1461 <xs:simpleType name="int">
1462 <xs:annotation>
1463 <xs:documentation>
1464 Integer numbers (-1,0,1,2, 100, 3398129, etc.) are precise
1465 numbers that are results of counting and enumerating.
1466 Integer numbers are discrete, the set of integers is
1467 infinite but countable. No arbitrary limit is imposed on
1468 the range of integer numbers. Two NULL flavors are
1469 defined for the positive and negative infinity.
1470 </xs:documentation>
1471 </xs:annotation>
1472 <xs:restriction base="xs:integer"/>
1473 </xs:simpleType>
1474 <xs:complexType name="INT">
1475 <xs:annotation>
1476 <xs:documentation>
1477 Integer numbers (-1,0,1,2, 100, 3398129, etc.) are precise
1478 numbers that are results of counting and enumerating.
1479 Integer numbers are discrete, the set of integers is
1480 infinite but countable. No arbitrary limit is imposed on
1481 the range of integer numbers. Two NULL flavors are
1482 defined for the positive and negative infinity.
1483 </xs:documentation>
1484 <xs:appinfo>
1485 <diff>INT</diff>
1486 <sch:pattern name="validate INT">
1487 <sch:rule abstract="true" id="rule-INT">
1488 <sch:report test="(@value or @nullFlavor) and not(@value and @nullFlavor)"/>
1489 </sch:rule>
1490 </sch:pattern>
1491 </xs:appinfo>
1492 </xs:annotation>
1493 <xs:complexContent>
1494 <xs:extension base="QTY">
1495 <xs:attribute name="value" use="optional" type="int"/>
1496 </xs:extension>
1497 </xs:complexContent>
1498 </xs:complexType>
1499 <xs:simpleType name="real">
1500 <xs:annotation>
1501 <xs:documentation>
1502 Fractional numbers. Typically used whenever quantities
1503 are measured, estimated, or computed from other real
1504 numbers. The typical representation is decimal, where
1505 the number of significant decimal digits is known as the
1506 precision. Real numbers are needed beyond integers
1507 whenever quantities of the real world are measured,
1508 estimated, or computed from other real numbers. The term
1509 "Real number" in this specification is used to mean
1510 that fractional values are covered without necessarily
1511 implying the full set of the mathematical real numbers.
1512 </xs:documentation>
1513 </xs:annotation>
1514 <xs:union memberTypes="xs:decimal xs:double"/>
1515 </xs:simpleType>
1516 <xs:complexType name="REAL">
1517 <xs:annotation>
1518 <xs:documentation>
1519 Fractional numbers. Typically used whenever quantities
1520 are measured, estimated, or computed from other real
1521 numbers. The typical representation is decimal, where
1522 the number of significant decimal digits is known as the
1523 precision. Real numbers are needed beyond integers
1524 whenever quantities of the real world are measured,
1525 estimated, or computed from other real numbers. The term
1526 "Real number" in this specification is used to mean
1527 that fractional values are covered without necessarily
1528 implying the full set of the mathematical real numbers.
1529 </xs:documentation>
1530 <xs:appinfo>
1531 <diff>REAL</diff>
1532 <sch:pattern name="validate REAL">
1533 <sch:rule abstract="true" id="rule-REAL">
1534 <sch:report test="(@nullFlavor or @value) and not(@nullFlavor and @value)"/>
1535 </sch:rule>
1536 </sch:pattern>
1537 </xs:appinfo>
1538 </xs:annotation>
1539 <xs:complexContent>
1540 <xs:extension base="QTY">
1541 <xs:attribute name="value" use="optional" type="real"/>
1542 </xs:extension>
1543 </xs:complexContent>
1544 </xs:complexType>
1545 <xs:complexType name="PQR">
1546 <xs:annotation>
1547 <xs:documentation>
1548 A representation of a physical quantity in a unit from
1549 any code system. Used to show alternative representation
1550 for a physical quantity.
1551 </xs:documentation>
1552 </xs:annotation>
1553 <xs:complexContent>
1554 <xs:extension base="CV">
1555 <xs:attribute name="value" type="real" use="optional">
1556 <xs:annotation>
1557 <xs:documentation>
1558 The magnitude of the measurement value in terms of
1559 the unit specified in the code.
1560 </xs:documentation>
1561 </xs:annotation>
1562 </xs:attribute>
1563 </xs:extension>
1564 </xs:complexContent>
1565 </xs:complexType>
1566 <xs:complexType name="PQ">
1567 <xs:annotation>
1568 <xs:documentation>
1569 A dimensioned quantity expressing the result of a
1570 measurement act.
1571 </xs:documentation>
1572 <xs:appinfo>
1573 <diff>PQ</diff>
1574 </xs:appinfo>
1575 </xs:annotation>
1576 <xs:complexContent>
1577 <xs:extension base="QTY">
1578 <xs:sequence>
1579 <xs:element name="translation" type="PQR" minOccurs="0" maxOccurs="unbounded">
1580 <xs:annotation>
1581 <xs:documentation>
1582 An alternative representation of the same physical
1583 quantity expressed in a different unit, of a different
1584 unit code system and possibly with a different value.
1585 </xs:documentation>
1586 </xs:annotation>
1587 </xs:element>
1588 </xs:sequence>
1589 <xs:attribute name="value" type="real" use="optional">
1590 <xs:annotation>
1591 <xs:documentation>
1592 The magnitude of the quantity measured in terms of
1593 the unit.
1594 </xs:documentation>
1595 </xs:annotation>
1596 </xs:attribute>
1597 <xs:attribute name="unit" type="cs" use="optional" default="1">
1598 <xs:annotation>
1599 <xs:documentation>
1600 The unit of measure specified in the Unified Code for
1601 Units of Measure (UCUM)
1602 [http://aurora.rg.iupui.edu/UCUM].
1603 </xs:documentation>
1604 </xs:annotation>
1605 </xs:attribute>
1606 </xs:extension>
1607 </xs:complexContent>
1608 </xs:complexType>
1609 <xs:complexType name="MO">
1610 <xs:annotation>
1611 <xs:documentation>
1612 A monetary amount is a quantity expressing the amount of
1613 money in some currency. Currencies are the units in which
1614 monetary amounts are denominated in different economic
1615 regions. While the monetary amount is a single kind of
1616 quantity (money) the exchange rates between the different
1617 units are variable. This is the principle difference
1618 between physical quantity and monetary amounts, and the
1619 reason why currency units are not physical units.
1620 </xs:documentation>
1621 <xs:appinfo>
1622 <diff>MO</diff>
1623 <sch:pattern name="validate MO">
1624 <sch:rule abstract="true" id="rule-MO">
1625 <sch:report test="not(@nullFlavor and (@value or @currency))"/>
1626 </sch:rule>
1627 </sch:pattern>
1628 </xs:appinfo>
1629 </xs:annotation>
1630 <xs:complexContent>
1631 <xs:extension base="QTY">
1632 <xs:attribute name="value" type="real" use="optional">
1633 <xs:annotation>
1634 <xs:documentation>
1635 The magnitude of the monetary amount in terms of the
1636 currency unit.
1637 </xs:documentation>
1638 </xs:annotation>
1639 </xs:attribute>
1640 <xs:attribute name="currency" type="cs" use="optional">
1641 <xs:annotation>
1642 <xs:documentation>
1643 The currency unit as defined in ISO 4217.
1644 </xs:documentation>
1645 </xs:annotation>
1646 </xs:attribute>
1647 </xs:extension>
1648 </xs:complexContent>
1649 </xs:complexType>
1650 <xs:complexType name="RTO">
1651 <xs:annotation>
1652 <xs:documentation>
1653 A quantity constructed as the quotient of a numerator
1654 quantity divided by a denominator quantity. Common
1655 factors in the numerator and denominator are not
1656 automatically cancelled out. supports titers
1657 (e.g., "1:128") and other quantities produced by
1658 laboratories that truly represent ratios. Ratios are
1659 not simply "structured numerics", particularly blood
1660 pressure measurements (e.g. "120/60") are not ratios.
1661 In many cases REAL should be used instead
1662 of .
1663 </xs:documentation>
1664 </xs:annotation>
1665 <xs:complexContent>
1666 <xs:extension base="RTO_QTY_QTY"/>
1667 </xs:complexContent>
1668 </xs:complexType>
1669 <xs:simpleType name="probability">
1670 <xs:annotation>
1671 <xs:documentation>
1672 The probability assigned to the value, a decimal number
1673 between 0 (very uncertain) and 1 (certain).
1674 </xs:documentation>
1675 </xs:annotation>
1676 <xs:restriction base="xs:double">
1677 <xs:minInclusive value="0.0"/>
1678 <xs:maxInclusive value="1.0"/>
1679 </xs:restriction>
1680 </xs:simpleType>
1681 <xs:complexType name="EIVL.event">
1682 <xs:annotation>
1683 <xs:documentation>
1684 A code for a common (periodical) activity of daily
1685 living based on which the event related periodic
1686 interval is specified.
1687 </xs:documentation>
1688 </xs:annotation>
1689 <xs:complexContent>
1690 <xs:restriction base="CE">
1691 <xs:attribute name="code" type="TimingEvent" use="optional"/>
1692 <xs:attribute name="codeSystem" type="uid" fixed="2.16.840.1.113883.5.139"/>
1693 <xs:attribute name="codeSystemName" type="st" fixed="TimingEvent"/>
1694 </xs:restriction>
1695 </xs:complexContent>
1696 </xs:complexType>
1697 <!--
1698 Instantiated templates
1699 -->
1700 <xs:complexType name="SXCM_TS">
1701 <xs:complexContent>
1702 <xs:extension base="TS">
1703 <xs:attribute name="operator" type="SetOperator" use="optional" default="I">
1704 <xs:annotation>
1705 <xs:documentation>
1706 A code specifying whether the set component is included
1707 (union) or excluded (set-difference) from the set, or
1708 other set operations with the current set component and
1709 the set as constructed from the representation stream
1710 up to the current point.
1711 </xs:documentation>
1712 </xs:annotation>
1713 </xs:attribute>
1714 </xs:extension>
1715 </xs:complexContent>
1716 </xs:complexType>
1717 <xs:simpleType name="set_TelecommunicationAddressUse">
1718 <xs:list itemType="TelecommunicationAddressUse"/>
1719 </xs:simpleType>
1720 <xs:simpleType name="set_PostalAddressUse">
1721 <xs:list itemType="PostalAddressUse"/>
1722 </xs:simpleType>
1723 <xs:simpleType name="set_EntityNamePartQualifier">
1724 <xs:list itemType="EntityNamePartQualifier"/>
1725 </xs:simpleType>
1726 <xs:complexType name="IVL_TS">
1727 <xs:complexContent>
1728 <xs:extension base="SXCM_TS">
1729 <xs:choice minOccurs="0">
1730 <xs:sequence>
1731 <xs:element name="low" minOccurs="1" maxOccurs="1" type="IVXB_TS">
1732 <xs:annotation>
1733 <xs:documentation>
1734 The low limit of the interval.
1735 </xs:documentation>
1736 </xs:annotation>
1737 </xs:element>
1738 <xs:choice minOccurs="0">
1739 <xs:element name="width" minOccurs="0" maxOccurs="1" type="PQ">
1740 <xs:annotation>
1741 <xs:documentation>
1742 The difference between high and low boundary. The
1743 purpose of distinguishing a width property is to
1744 handle all cases of incomplete information
1745 symmetrically. In any interval representation only
1746 two of the three properties high, low, and width need
1747 to be stated and the third can be derived.
1748 </xs:documentation>
1749 </xs:annotation>
1750 </xs:element>
1751 <xs:element name="high" minOccurs="0" maxOccurs="1" type="IVXB_TS">
1752 <xs:annotation>
1753 <xs:documentation>
1754 The high limit of the interval.
1755 </xs:documentation>
1756 </xs:annotation>
1757 </xs:element>
1758 </xs:choice>
1759 </xs:sequence>
1760 <xs:element name="high" minOccurs="1" maxOccurs="1" type="IVXB_TS">
1761 <xs:annotation>
1762 <xs:documentation/>
1763 </xs:annotation>
1764 </xs:element>
1765 <xs:sequence>
1766 <xs:element name="width" minOccurs="1" maxOccurs="1" type="PQ">
1767 <xs:annotation>
1768 <xs:documentation>
1769 The difference between high and low boundary. The
1770 purpose of distinguishing a width property is to
1771 handle all cases of incomplete information
1772 symmetrically. In any interval representation only
1773 two of the three properties high, low, and width need
1774 to be stated and the third can be derived.
1775 </xs:documentation>
1776 </xs:annotation>
1777 </xs:element>
1778 <xs:element name="high" minOccurs="0" maxOccurs="1" type="IVXB_TS">
1779 <xs:annotation>
1780 <xs:documentation>
1781 The high limit of the interval.
1782 </xs:documentation>
1783 </xs:annotation>
1784 </xs:element>
1785 </xs:sequence>
1786 <xs:sequence>
1787 <xs:element name="center" minOccurs="1" maxOccurs="1" type="TS">
1788 <xs:annotation>
1789 <xs:documentation>
1790 The arithmetic mean of the interval (low plus high
1791 divided by 2). The purpose of distinguishing the center
1792 as a semantic property is for conversions of intervals
1793 from and to point values.
1794 </xs:documentation>
1795 </xs:annotation>
1796 </xs:element>
1797 <xs:element name="width" minOccurs="0" maxOccurs="1" type="PQ">
1798 <xs:annotation>
1799 <xs:documentation>
1800 The difference between high and low boundary. The
1801 purpose of distinguishing a width property is to
1802 handle all cases of incomplete information
1803 symmetrically. In any interval representation only
1804 two of the three properties high, low, and width need
1805 to be stated and the third can be derived.
1806 </xs:documentation>
1807 </xs:annotation>
1808 </xs:element>
1809 </xs:sequence>
1810 </xs:choice>
1811 </xs:extension>
1812 </xs:complexContent>
1813 </xs:complexType>
1814 <xs:complexType name="IVXB_TS">
1815 <xs:complexContent>
1816 <xs:extension base="TS">
1817 <xs:attribute name="inclusive" type="bl" use="optional" default="true">
1818 <xs:annotation>
1819 <xs:documentation>
1820 Specifies whether the limit is included in the
1821 interval (interval is closed) or excluded from the
1822 interval (interval is open).
1823 </xs:documentation>
1824 </xs:annotation>
1825 </xs:attribute>
1826 </xs:extension>
1827 </xs:complexContent>
1828 </xs:complexType>
1829 <xs:simpleType name="set_EntityNameUse">
1830 <xs:list itemType="EntityNameUse"/>
1831 </xs:simpleType>
1832 <xs:complexType name="RTO_QTY_QTY">
1833 <xs:annotation>
1834 <xs:appinfo>
1835 <diff>RTO_QTY_QTY</diff>
1836 </xs:appinfo>
1837 </xs:annotation>
1838 <xs:complexContent>
1839 <xs:extension base="QTY">
1840 <xs:sequence>
1841 <xs:element name="numerator" type="QTY">
1842 <xs:annotation>
1843 <xs:documentation>
1844 The quantity that is being divided in the ratio. The
1845 default is the integer number 1 (one).
1846 </xs:documentation>
1847 </xs:annotation>
1848 </xs:element>
1849 <xs:element name="denominator" type="QTY">
1850 <xs:annotation>
1851 <xs:documentation>
1852 The quantity that devides the numerator in the ratio.
1853 The default is the integer number 1 (one).
1854 The denominator must not be zero.
1855 </xs:documentation>
1856 </xs:annotation>
1857 </xs:element>
1858 </xs:sequence>
1859 </xs:extension>
1860 </xs:complexContent>
1861 </xs:complexType>
1862
1863 <!-- ==============================================================================================
1864 The following schemas are explicit schemas that do not use "Extension or Restriction" for
1865 derivation.
1866 ============================================================================================== -->
1867
1868 <xs:complexType name="EN_explicit" mixed="true">
1869 <xs:annotation>
1870 <xs:documentation>
1871 A name for a person. A sequence of name parts, such as
1872 given name or family name, prefix, suffix, etc. PN differs
1873 from EN because the qualifier type cannot include LS
1874 (Legal Status).
1875 </xs:documentation>
1876 </xs:annotation>
1877 <xs:sequence>
1878 <xs:choice minOccurs="0" maxOccurs="unbounded">
1879 <xs:element name="delimiter" type="en_explicit.delimiter"/>
1880 <xs:element name="family" type="en_explicit.family"/>
1881 <xs:element name="given" type="en_explicit.given"/>
1882 <xs:element name="prefix" type="en_explicit.prefix"/>
1883 <xs:element name="suffix" type="en_explicit.suffix"/>
1884 </xs:choice>
1885 <xs:element name="validTime" minOccurs="0" maxOccurs="1" type="IVL_TS_explicit">
1886 <xs:annotation>
1887 <xs:documentation>
1888 An interval of time specifying the time during which
1889 the name is or was used for the entity. This
1890 accomodates the fact that people change names for
1891 people, places and things.
1892 </xs:documentation>
1893 </xs:annotation>
1894 </xs:element>
1895 </xs:sequence>
1896 <xs:attribute name="nullFlavor" type="NullFlavor" use="optional">
1897 <xs:annotation>
1898 <xs:documentation>
1899 An exceptional value expressing missing information
1900 and possibly the reason why the information is missing.
1901 </xs:documentation>
1902 </xs:annotation>
1903 </xs:attribute>
1904 <xs:attribute name="use" use="optional" type="set_EntityNameUse">
1905 <xs:annotation>
1906 <xs:documentation>
1907 A set of codes advising a system or user which name
1908 in a set of like names to select for a given purpose.
1909 A name without specific use code might be a default
1910 name useful for any purpose, but a name with a specific
1911 use code would be preferred for that respective purpose.
1912 </xs:documentation>
1913 </xs:annotation>
1914 </xs:attribute>
1915 </xs:complexType>
1916
1917
1918 <xs:complexType name="PN_explicit" mixed="true">
1919 <xs:annotation>
1920 <xs:documentation>
1921 A name for a person. A sequence of name parts, such as
1922 given name or family name, prefix, suffix, etc. PN differs
1923 from EN because the qualifier type cannot include LS
1924 (Legal Status).
1925 </xs:documentation>
1926 </xs:annotation>
1927 <xs:sequence>
1928 <xs:choice minOccurs="0" maxOccurs="unbounded">
1929 <xs:element name="delimiter" type="en_explicit.delimiter"/>
1930 <xs:element name="family" type="en_explicit.family"/>
1931 <xs:element name="given" type="en_explicit.given"/>
1932 <xs:element name="prefix" type="en_explicit.prefix"/>
1933 <xs:element name="suffix" type="en_explicit.suffix"/>
1934 </xs:choice>
1935 <xs:element name="validTime" minOccurs="0" maxOccurs="1" type="IVL_TS_explicit">
1936 <xs:annotation>
1937 <xs:documentation>
1938 An interval of time specifying the time during which
1939 the name is or was used for the entity. This
1940 accomodates the fact that people change names for
1941 people, places and things.
1942 </xs:documentation>
1943 </xs:annotation>
1944 </xs:element>
1945 </xs:sequence>
1946 <xs:attribute name="nullFlavor" type="NullFlavor" use="optional">
1947 <xs:annotation>
1948 <xs:documentation>
1949 An exceptional value expressing missing information
1950 and possibly the reason why the information is missing.
1951 </xs:documentation>
1952 </xs:annotation>
1953 </xs:attribute>
1954 <xs:attribute name="use" use="optional" type="set_EntityNameUse">
1955 <xs:annotation>
1956 <xs:documentation>
1957 A set of codes advising a system or user which name
1958 in a set of like names to select for a given purpose.
1959 A name without specific use code might be a default
1960 name useful for any purpose, but a name with a specific
1961 use code would be preferred for that respective purpose.
1962 </xs:documentation>
1963 </xs:annotation>
1964 </xs:attribute>
1965 </xs:complexType>
1966
1967 <xs:complexType name="ON_explicit" mixed="true">
1968 <xs:annotation>
1969 <xs:documentation>
1970 A name for a person. A sequence of name parts, such as
1971 given name or family name, prefix, suffix, etc. PN differs
1972 from EN because the qualifier type cannot include LS
1973 (Legal Status).
1974 </xs:documentation>
1975 </xs:annotation>
1976 <xs:sequence>
1977 <xs:choice minOccurs="0" maxOccurs="unbounded">
1978 <xs:element name="delimiter" type="en_explicit.delimiter"/>
1979 <xs:element name="prefix" type="en_explicit.prefix"/>
1980 <xs:element name="suffix" type="en_explicit.suffix"/>
1981 </xs:choice>
1982 <xs:element name="validTime" minOccurs="0" maxOccurs="1" type="IVL_TS_explicit">
1983 <xs:annotation>
1984 <xs:documentation>
1985 An interval of time specifying the time during which
1986 the name is or was used for the entity. This
1987 accomodates the fact that people change names for
1988 people, places and things.
1989 </xs:documentation>
1990 </xs:annotation>
1991 </xs:element>
1992 </xs:sequence>
1993 <xs:attribute name="nullFlavor" type="NullFlavor" use="optional">
1994 <xs:annotation>
1995 <xs:documentation>
1996 An exceptional value expressing missing information
1997 and possibly the reason why the information is missing.
1998 </xs:documentation>
1999 </xs:annotation>
2000 </xs:attribute>
2001 <xs:attribute name="use" use="optional" type="set_EntityNameUse">
2002 <xs:annotation>
2003 <xs:documentation>
2004 A set of codes advising a system or user which name
2005 in a set of like names to select for a given purpose.
2006 A name without specific use code might be a default
2007 name useful for any purpose, but a name with a specific
2008 use code would be preferred for that respective purpose.
2009 </xs:documentation>
2010 </xs:annotation>
2011 </xs:attribute>
2012 </xs:complexType>
2013
2014
2015 <xs:complexType name="ENXP_explicit" mixed="true">
2016 <xs:annotation>
2017 <xs:documentation>
2018 A character string token representing a part of a name.
2019 May have a type code signifying the role of the part in
2020 the whole entity name, and a qualifier code for more detail
2021 about the name part type. Typical name parts for person
2022 names are given names, and family names, titles, etc.
2023 </xs:documentation>
2024 </xs:annotation>
2025 <xs:attribute name="partType" type="EntityNamePartType">
2026 <xs:annotation>
2027 <xs:documentation>
2028 Indicates whether the name part is a given name, family
2029 name, prefix, suffix, etc.
2030 </xs:documentation>
2031 </xs:annotation>
2032 </xs:attribute>
2033 <xs:attribute name="qualifier" use="optional" type="set_EntityNamePartQualifier">
2034 <xs:annotation>
2035 <xs:documentation> is a set of codes each of which specifies
2036 a certain subcategory of the name part in addition to
2037 the main name part type. For example, a given name may
2038 be flagged as a nickname, a family name may be a
2039 pseudonym or a name of public records.
2040 </xs:documentation>
2041 </xs:annotation>
2042 </xs:attribute>
2043 </xs:complexType>
2044 <xs:complexType name="en_explicit.delimiter" mixed="true">
2045 <xs:complexContent>
2046 <xs:restriction base="ENXP_explicit">
2047 <xs:attribute name="partType" type="EntityNamePartType" fixed="DEL"/>
2048 <xs:attribute name="qualifier" use="optional" type="set_EntityNamePartQualifier" />
2049 </xs:restriction>
2050 </xs:complexContent>
2051 </xs:complexType>
2052 <xs:complexType name="en_explicit.family" mixed="true">
2053 <xs:complexContent>
2054 <xs:restriction base="ENXP_explicit">
2055 <xs:attribute name="partType" type="EntityNamePartType" fixed="FAM"/>
2056 <xs:attribute name="qualifier" use="optional" type="set_EntityNamePartQualifier" />
2057 </xs:restriction>
2058 </xs:complexContent>
2059 </xs:complexType>
2060 <xs:complexType name="en_explicit.given" mixed="true">
2061 <xs:complexContent>
2062 <xs:restriction base="ENXP_explicit">
2063 <xs:attribute name="partType" type="EntityNamePartType" fixed="GIV"/>
2064 <xs:attribute name="qualifier" use="optional" type="set_EntityNamePartQualifier" />
2065 </xs:restriction>
2066 </xs:complexContent>
2067 </xs:complexType>
2068 <xs:complexType name="en_explicit.prefix" mixed="true">
2069 <xs:complexContent>
2070 <xs:restriction base="ENXP_explicit">
2071 <xs:attribute name="partType" type="EntityNamePartType" fixed="PFX"/>
2072 <xs:attribute name="qualifier" use="optional" type="set_EntityNamePartQualifier" />
2073 </xs:restriction>
2074 </xs:complexContent>
2075 </xs:complexType>
2076 <xs:complexType name="en_explicit.suffix" mixed="true">
2077 <xs:complexContent>
2078 <xs:restriction base="ENXP_explicit">
2079 <xs:attribute name="partType" type="EntityNamePartType" fixed="SFX"/>
2080 <xs:attribute name="qualifier" use="optional" type="set_EntityNamePartQualifier" />
2081 </xs:restriction>
2082 </xs:complexContent>
2083 </xs:complexType>
2084 <xs:complexType name="IVL_TS_explicit">
2085 <xs:choice minOccurs="0">
2086 <xs:sequence>
2087 <xs:element name="low" minOccurs="1" maxOccurs="1" type="IVXB_TS_explicit">
2088 <xs:annotation>
2089 <xs:documentation>
2090 The low limit of the interval.
2091 </xs:documentation>
2092 </xs:annotation>
2093 </xs:element>
2094 <xs:choice minOccurs="0">
2095 <xs:element name="width" minOccurs="0" maxOccurs="1" type="PQ_explicit">
2096 <xs:annotation>
2097 <xs:documentation>
2098 The difference between high and low boundary. The
2099 purpose of distinguishing a width property is to
2100 handle all cases of incomplete information
2101 symmetrically. In any interval representation only
2102 two of the three properties high, low, and width need
2103 to be stated and the third can be derived.
2104 </xs:documentation>
2105 </xs:annotation>
2106 </xs:element>
2107 <xs:element name="high" minOccurs="0" maxOccurs="1" type="IVXB_TS_explicit">
2108 <xs:annotation>
2109 <xs:documentation>
2110 The high limit of the interval.
2111 </xs:documentation>
2112 </xs:annotation>
2113 </xs:element>
2114 </xs:choice>
2115 </xs:sequence>
2116 <xs:element name="high" minOccurs="1" maxOccurs="1" type="IVXB_TS_explicit">
2117 <xs:annotation>
2118 <xs:documentation/>
2119 </xs:annotation>
2120 </xs:element>
2121 <xs:sequence>
2122 <xs:element name="width" minOccurs="1" maxOccurs="1" type="PQ_explicit">
2123 <xs:annotation>
2124 <xs:documentation>
2125 The difference between high and low boundary. The
2126 purpose of distinguishing a width property is to
2127 handle all cases of incomplete information
2128 symmetrically. In any interval representation only
2129 two of the three properties high, low, and width need
2130 to be stated and the third can be derived.
2131 </xs:documentation>
2132 </xs:annotation>
2133 </xs:element>
2134 <xs:element name="high" minOccurs="0" maxOccurs="1" type="IVXB_TS_explicit">
2135 <xs:annotation>
2136 <xs:documentation>
2137 The high limit of the interval.
2138 </xs:documentation>
2139 </xs:annotation>
2140 </xs:element>
2141 </xs:sequence>
2142 <xs:sequence>
2143 <xs:element name="center" minOccurs="1" maxOccurs="1" type="TS_explicit">
2144 <xs:annotation>
2145 <xs:documentation>
2146 The arithmetic mean of the interval (low plus high
2147 divided by 2). The purpose of distinguishing the center
2148 as a semantic property is for conversions of intervals
2149 from and to point values.
2150 </xs:documentation>
2151 </xs:annotation>
2152 </xs:element>
2153 <xs:element name="width" minOccurs="0" maxOccurs="1" type="PQ_explicit">
2154 <xs:annotation>
2155 <xs:documentation>
2156 The difference between high and low boundary. The
2157 purpose of distinguishing a width property is to
2158 handle all cases of incomplete information
2159 symmetrically. In any interval representation only
2160 two of the three properties high, low, and width need
2161 to be stated and the third can be derived.
2162 </xs:documentation>
2163 </xs:annotation>
2164 </xs:element>
2165 </xs:sequence>
2166 </xs:choice>
2167 <!-- This came from ANY -->
2168 <xs:attribute name="nullFlavor" type="NullFlavor" use="optional">
2169 <xs:annotation>
2170 <xs:documentation>
2171 An exceptional value expressing missing information
2172 and possibly the reason why the information is missing.
2173 </xs:documentation>
2174 </xs:annotation>
2175 </xs:attribute>
2176 <!-- This comes from TS -->
2177 <xs:attribute name="value" use="optional" type="ts"/>
2178 <!-- This came from SXCM_TS -->
2179 <xs:attribute name="operator" type="SetOperator" use="optional" default="I">
2180 <xs:annotation>
2181 <xs:documentation>
2182 A code specifying whether the set component is included
2183 (union) or excluded (set-difference) from the set, or
2184 other set operations with the current set component and
2185 the set as constructed from the representation stream
2186 up to the current point.
2187 </xs:documentation>
2188 </xs:annotation>
2189 </xs:attribute>
2190 </xs:complexType>
2191
2192 <xs:complexType name="IVXB_TS_explicit">
2193 <!-- This came from ANY -->
2194 <xs:attribute name="nullFlavor" type="NullFlavor" use="optional">
2195 <xs:annotation>
2196 <xs:documentation>
2197 An exceptional value expressing missing information
2198 and possibly the reason why the information is missing.
2199 </xs:documentation>
2200 </xs:annotation>
2201 </xs:attribute>
2202 <!-- This comes from TS -->
2203 <xs:attribute name="value" use="optional" type="ts"/>
2204 <!-- Comes from IVXB_TS -->
2205 <xs:attribute name="inclusive" type="bl" use="optional" default="true">
2206 <xs:annotation>
2207 <xs:documentation>
2208 Specifies whether the limit is included in the
2209 interval (interval is closed) or excluded from the
2210 interval (interval is open).
2211 </xs:documentation>
2212 </xs:annotation>
2213 </xs:attribute>
2214 </xs:complexType>
2215
2216 <xs:complexType name="PQ_explicit">
2217 <xs:annotation>
2218 <xs:documentation>
2219 A dimensioned quantity expressing the result of a
2220 measurement act.
2221 </xs:documentation>
2222 <xs:appinfo>
2223 <diff>PQ</diff>
2224 </xs:appinfo>
2225 </xs:annotation>
2226 <xs:sequence>
2227 <xs:element name="translation" type="PQR_explicit" minOccurs="0" maxOccurs="unbounded">
2228 <xs:annotation>
2229 <xs:documentation>
2230 An alternative representation of the same physical
2231 quantity expressed in a different unit, of a different
2232 unit code system and possibly with a different value.
2233 </xs:documentation>
2234 </xs:annotation>
2235 </xs:element>
2236 </xs:sequence>
2237 <!-- This came from ANY -->
2238 <xs:attribute name="nullFlavor" type="NullFlavor" use="optional">
2239 <xs:annotation>
2240 <xs:documentation>
2241 An exceptional value expressing missing information
2242 and possibly the reason why the information is missing.
2243 </xs:documentation>
2244 </xs:annotation>
2245 </xs:attribute>
2246 <!-- This came from PQ -->
2247 <xs:attribute name="value" type="real" use="optional">
2248 <xs:annotation>
2249 <xs:documentation>
2250 The magnitude of the quantity measured in terms of
2251 the unit.
2252 </xs:documentation>
2253 </xs:annotation>
2254 </xs:attribute>
2255 <!-- This came from PQ -->
2256 <xs:attribute name="unit" type="cs" use="optional" default="1">
2257 <xs:annotation>
2258 <xs:documentation>
2259 The unit of measure specified in the Unified Code for
2260 Units of Measure (UCUM)
2261 [http://aurora.rg.iupui.edu/UCUM].
2262 </xs:documentation>
2263 </xs:annotation>
2264 </xs:attribute>
2265 </xs:complexType>
2266
2267 <xs:complexType name="PQR_explicit">
2268 <xs:annotation>
2269 <xs:documentation>
2270 A representation of a physical quantity in a unit from
2271 any code system. Used to show alternative representation
2272 for a physical quantity.
2273 </xs:documentation>
2274 </xs:annotation>
2275 <xs:sequence>
2276 <xs:element name="originalText" type="ED_explicit" minOccurs="0" maxOccurs="1">
2277 <xs:annotation>
2278 <xs:documentation>
2279 The text or phrase used as the basis for the coding.
2280 </xs:documentation>
2281 </xs:annotation>
2282 </xs:element>
2283 </xs:sequence>
2284 <!-- This came from ANY -->
2285 <xs:attribute name="nullFlavor" type="NullFlavor" use="optional">
2286 <xs:annotation>
2287 <xs:documentation>
2288 An exceptional value expressing missing information
2289 and possibly the reason why the information is missing.
2290 </xs:documentation>
2291 </xs:annotation>
2292 </xs:attribute>
2293 <!-- Items from CE -->
2294 <xs:attribute name="code" type="cs" use="optional">
2295 <xs:annotation>
2296 <xs:documentation>
2297 The plain code symbol defined by the code system.
2298 For example, "784.0" is the code symbol of the ICD-9
2299 code "784.0" for headache.
2300 </xs:documentation>
2301 </xs:annotation>
2302 </xs:attribute>
2303 <xs:attribute name="codeSystem" type="uid" use="optional">
2304 <xs:annotation>
2305 <xs:documentation>
2306 Specifies the code system that defines the code.
2307 </xs:documentation>
2308 </xs:annotation>
2309 </xs:attribute>
2310 <xs:attribute name="codeSystemName" type="st" use="optional">
2311 <xs:annotation>
2312 <xs:documentation>
2313 A common name of the coding system.
2314 </xs:documentation>
2315 </xs:annotation>
2316 </xs:attribute>
2317 <xs:attribute name="codeSystemVersion" type="st" use="optional">
2318 <xs:annotation>
2319 <xs:documentation>
2320 If applicable, a version descriptor defined
2321 specifically for the given code system.
2322 </xs:documentation>
2323 </xs:annotation>
2324 </xs:attribute>
2325 <xs:attribute name="displayName" type="st" use="optional">
2326 <xs:annotation>
2327 <xs:documentation>
2328 A name or title for the code, under which the sending
2329 system shows the code value to its users.
2330 </xs:documentation>
2331 </xs:annotation>
2332 </xs:attribute>
2333 <!-- end of items from CE -->
2334 <!-- This came from PQR -->
2335 <xs:attribute name="value" type="real" use="optional">
2336 <xs:annotation>
2337 <xs:documentation>
2338 The magnitude of the measurement value in terms of
2339 the unit specified in the code.
2340 </xs:documentation>
2341 </xs:annotation>
2342 </xs:attribute>
2343 </xs:complexType>
2344
2345 <xs:complexType name="ED_explicit" mixed="true">
2346 <xs:annotation>
2347 <xs:documentation>
2348 Data that is primarily intended for human interpretation
2349 or for further machine processing is outside the scope of
2350 HL7. This includes unformatted or formatted written language,
2351 multimedia data, or structured information as defined by a
2352 different standard (e.g., XML-signatures.) Instead of the
2353 data itself, an ED may contain
2354 only a reference (see TEL.) Note
2355 that the ST data type is a
2356 specialization of
2357 when the is text/plain.
2358 </xs:documentation>
2359 </xs:annotation>
2360 <xs:sequence>
2361 <xs:element name="reference" type="TEL_explicit" minOccurs="0" maxOccurs="1">
2362 <xs:annotation>
2363 <xs:documentation>
2364 A telecommunication address (TEL), such as a URL
2365 for HTTP or FTP, which will resolve to precisely
2366 the same binary data that could as well have been
2367 provided as inline data.
2368 </xs:documentation>
2369 </xs:annotation>
2370 </xs:element>
2371 <xs:element name="thumbnail" minOccurs="0" maxOccurs="1" type="thumbnail_explicit"/>
2372 </xs:sequence>
2373 <!-- This came from ANY -->
2374 <xs:attribute name="nullFlavor" type="NullFlavor" use="optional">
2375 <xs:annotation>
2376 <xs:documentation>
2377 An exceptional value expressing missing information
2378 and possibly the reason why the information is missing.
2379 </xs:documentation>
2380 </xs:annotation>
2381 </xs:attribute>
2382 <!-- This comes from BIN -->
2383 <xs:attribute name="representation" use="optional" type="BinaryDataEncoding" default="TXT">
2384 <xs:annotation>
2385 <xs:documentation>
2386 Specifies the representation of the binary data that
2387 is the content of the binary data value.
2388 </xs:documentation>
2389 </xs:annotation>
2390 </xs:attribute>
2391 <!-- Start of attributes from ED -->
2392 <xs:attribute name="mediaType" type="cs" use="optional" default="text/plain">
2393 <xs:annotation>
2394 <xs:documentation>
2395 Identifies the type of the encapsulated data and
2396 identifies a method to interpret or render the data.
2397 </xs:documentation>
2398 </xs:annotation>
2399 </xs:attribute>
2400 <xs:attribute name="language" type="cs" use="optional">
2401 <xs:annotation>
2402 <xs:documentation>
2403 For character based information the language property
2404 specifies the human language of the text.
2405 </xs:documentation>
2406 </xs:annotation>
2407 </xs:attribute>
2408 <xs:attribute name="compression" type="CompressionAlgorithm" use="optional">
2409 <xs:annotation>
2410 <xs:documentation>
2411 Indicates whether the raw byte data is compressed,
2412 and what compression algorithm was used.
2413 </xs:documentation>
2414 </xs:annotation>
2415 </xs:attribute>
2416 <xs:attribute name="integrityCheck" type="bin" use="optional">
2417 <xs:annotation>
2418 <xs:documentation>
2419 The integrity check is a short binary value representing
2420 a cryptographically strong checksum that is calculated
2421 over the binary data. The purpose of this property, when
2422 communicated with a reference is for anyone to validate
2423 later whether the reference still resolved to the same
2424 data that the reference resolved to when the encapsulated
2425 data value with reference was created.
2426 </xs:documentation>
2427 </xs:annotation>
2428 </xs:attribute>
2429 <xs:attribute name="integrityCheckAlgorithm" type="IntegrityCheckAlgorithm" use="optional" default="SHA-1">
2430 <xs:annotation>
2431 <xs:documentation>
2432 Specifies the algorithm used to compute the
2433 integrityCheck value.
2434 </xs:documentation>
2435 </xs:annotation>
2436 </xs:attribute>
2437 <!-- End of attributes from ED -->
2438 </xs:complexType>
2439
2440 <xs:complexType name="thumbnail_explicit" mixed="true">
2441 <xs:annotation>
2442 <xs:documentation>
2443 A thumbnail is an abbreviated rendition of the full
2444 data. A thumbnail requires significantly fewer
2445 resources than the full data, while still maintaining
2446 some distinctive similarity with the full data. A
2447 thumbnail is typically used with by-reference
2448 encapsulated data. It allows a user to select data
2449 more efficiently before actually downloading through
2450 the reference.
2451 </xs:documentation>
2452 </xs:annotation>
2453 <xs:sequence>
2454 <xs:element name="reference" type="TEL_explicit" minOccurs="0" maxOccurs="1"/>
2455 </xs:sequence>
2456 <!-- This came from ANY -->
2457 <xs:attribute name="nullFlavor" type="NullFlavor" use="optional">
2458 <xs:annotation>
2459 <xs:documentation>
2460 An exceptional value expressing missing information
2461 and possibly the reason why the information is missing.
2462 </xs:documentation>
2463 </xs:annotation>
2464 </xs:attribute>
2465 <!-- This comes from BIN -->
2466 <xs:attribute name="representation" use="optional" type="BinaryDataEncoding" default="TXT">
2467 <xs:annotation>
2468 <xs:documentation>
2469 Specifies the representation of the binary data that
2470 is the content of the binary data value.
2471 </xs:documentation>
2472 </xs:annotation>
2473 </xs:attribute>
2474 <!-- Start of attributes from ED -->
2475 <xs:attribute name="mediaType" type="cs" use="optional" default="text/plain">
2476 <xs:annotation>
2477 <xs:documentation>
2478 Identifies the type of the encapsulated data and
2479 identifies a method to interpret or render the data.
2480 </xs:documentation>
2481 </xs:annotation>
2482 </xs:attribute>
2483 <xs:attribute name="language" type="cs" use="optional">
2484 <xs:annotation>
2485 <xs:documentation>
2486 For character based information the language property
2487 specifies the human language of the text.
2488 </xs:documentation>
2489 </xs:annotation>
2490 </xs:attribute>
2491 <xs:attribute name="compression" type="CompressionAlgorithm" use="optional">
2492 <xs:annotation>
2493 <xs:documentation>
2494 Indicates whether the raw byte data is compressed,
2495 and what compression algorithm was used.
2496 </xs:documentation>
2497 </xs:annotation>
2498 </xs:attribute>
2499 <xs:attribute name="integrityCheck" type="bin" use="optional">
2500 <xs:annotation>
2501 <xs:documentation>
2502 The integrity check is a short binary value representing
2503 a cryptographically strong checksum that is calculated
2504 over the binary data. The purpose of this property, when
2505 communicated with a reference is for anyone to validate
2506 later whether the reference still resolved to the same
2507 data that the reference resolved to when the encapsulated
2508 data value with reference was created.
2509 </xs:documentation>
2510 </xs:annotation>
2511 </xs:attribute>
2512 <xs:attribute name="integrityCheckAlgorithm" type="IntegrityCheckAlgorithm" use="optional" default="SHA-1">
2513 <xs:annotation>
2514 <xs:documentation>
2515 Specifies the algorithm used to compute the
2516 integrityCheck value.
2517 </xs:documentation>
2518 </xs:annotation>
2519 </xs:attribute>
2520 <!-- End of attributes from ED -->
2521 </xs:complexType>
2522
2523 <xs:complexType name="TS_explicit">
2524 <xs:annotation>
2525 <xs:documentation>
2526 A quantity specifying a point on the axis of natural time.
2527 A point in time is most often represented as a calendar
2528 expression.
2529 </xs:documentation>
2530 <xs:appinfo>
2531 <diff>PQ</diff>
2532 </xs:appinfo>
2533 </xs:annotation>
2534 <!-- This came from ANY -->
2535 <xs:attribute name="nullFlavor" type="NullFlavor" use="optional">
2536 <xs:annotation>
2537 <xs:documentation>
2538 An exceptional value expressing missing information
2539 and possibly the reason why the information is missing.
2540 </xs:documentation>
2541 </xs:annotation>
2542 </xs:attribute>
2543 <!-- Comes from TS -->
2544 <xs:attribute name="value" use="optional" type="ts"/>
2545 </xs:complexType>
2546
2547 <xs:complexType name="TEL_explicit">
2548 <xs:annotation>
2549 <xs:documentation>
2550 A telephone number (voice or fax), e-mail address, or
2551 other locator for a resource (information or service)
2552 mediated by telecommunication equipment. The address
2553 is specified as a URL
2554 qualified by time specification and use codes that help
2555 in deciding which address to use for a given time and
2556 purpose.
2557 </xs:documentation>
2558 </xs:annotation>
2559 <xs:sequence>
2560 <xs:element name="useablePeriod" minOccurs="0" maxOccurs="unbounded" type="SXCM_TS_explicit">
2561 <xs:annotation>
2562 <xs:documentation>
2563 Specifies the periods of time during which the
2564 telecommunication address can be used. For a
2565 telephone number, this can indicate the time of day
2566 in which the party can be reached on that telephone.
2567 For a web address, it may specify a time range in
2568 which the web content is promised to be available
2569 under the given address.
2570 </xs:documentation>
2571 </xs:annotation>
2572 </xs:element>
2573 </xs:sequence>
2574 <!-- This came from ANY -->
2575 <xs:attribute name="nullFlavor" type="NullFlavor" use="optional">
2576 <xs:annotation>
2577 <xs:documentation>
2578 An exceptional value expressing missing information
2579 and possibly the reason why the information is missing.
2580 </xs:documentation>
2581 </xs:annotation>
2582 </xs:attribute>
2583 <!-- this comes from URL -->
2584 <xs:attribute name="value" type="url" use="optional"/>
2585 <!-- This comes from TEL -->
2586 <xs:attribute name="use" use="optional" type="set_TelecommunicationAddressUse">
2587 <xs:annotation>
2588 <xs:documentation>
2589 One or more codes advising a system or user which
2590 telecommunication address in a set of like addresses
2591 to select for a given telecommunication need.
2592 </xs:documentation>
2593 </xs:annotation>
2594 </xs:attribute>
2595 </xs:complexType>
2596
2597 <xs:complexType name="SXCM_TS_explicit">
2598 <!-- This came from ANY -->
2599 <xs:attribute name="nullFlavor" type="NullFlavor" use="optional">
2600 <xs:annotation>
2601 <xs:documentation>
2602 An exceptional value expressing missing information
2603 and possibly the reason why the information is missing.
2604 </xs:documentation>
2605 </xs:annotation>
2606 </xs:attribute>
2607 <!-- Comes from TS -->
2608 <xs:attribute name="value" use="optional" type="ts"/>
2609 <xs:attribute name="operator" type="SetOperator" use="optional" default="I">
2610 <xs:annotation>
2611 <xs:documentation>
2612 A code specifying whether the set component is included
2613 (union) or excluded (set-difference) from the set, or
2614 other set operations with the current set component and
2615 the set as constructed from the representation stream
2616 up to the current point.
2617 </xs:documentation>
2618 </xs:annotation>
2619 </xs:attribute>
2620 </xs:complexType>
2621
2622 <xs:complexType name="AD_explicit" mixed="true">
2623 <xs:annotation>
2624 <xs:documentation>
2625 Mailing and home or office addresses. A sequence of
2626 address parts, such as street or post office Box, city,
2627 postal code, country, etc.
2628 </xs:documentation>
2629 </xs:annotation>
2630 <xs:sequence>
2631 <xs:choice minOccurs="0" maxOccurs="unbounded">
2632 <xs:element name="delimiter" type="adxp_explicit.delimiter"/>
2633 <xs:element name="country" type="adxp_explicit.country"/>
2634 <xs:element name="state" type="adxp_explicit.state"/>
2635 <xs:element name="county" type="adxp_explicit.county"/>
2636 <xs:element name="city" type="adxp_explicit.city"/>
2637 <xs:element name="postalCode" type="adxp_explicit.postalCode"/>
2638 <xs:element name="streetAddressLine" type="adxp_explicit.streetAddressLine"/>
2639 <xs:element name="houseNumber" type="adxp_explicit.houseNumber"/>
2640 <xs:element name="houseNumberNumeric" type="adxp_explicit.houseNumberNumeric"/>
2641 <xs:element name="direction" type="adxp_explicit.direction"/>
2642 <xs:element name="streetName" type="adxp_explicit.streetName"/>
2643 <xs:element name="streetNameBase" type="adxp_explicit.streetNameBase"/>
2644 <xs:element name="streetNameType" type="adxp_explicit.streetNameType1"/>
2645 <xs:element name="additionalLocator" type="adxp_explicit.additionalLocator"/>
2646 <xs:element name="unitID" type="adxp_explicit.unitID"/>
2647 <xs:element name="unitType" type="adxp_explicit.unitType"/>
2648 <xs:element name="careOf" type="adxp_explicit.careOf"/>
2649 <xs:element name="censusTract" type="adxp_explicit.censusTract"/>
2650 <xs:element name="deliveryAddressLine" type="adxp_explicit.deliveryAddressLine"/>
2651 <xs:element name="deliveryInstallationType" type="adxp_explicit.deliveryInstallationType"/>
2652 <xs:element name="deliveryInstallationArea" type="adxp_explicit.deliveryInstallationArea"/>
2653 <xs:element name="deliveryInstallationQualifier" type="adxp_explicit.deliveryInstallationQualifier"/>
2654 <xs:element name="deliveryMode" type="adxp_explicit.deliveryMode"/>
2655 <xs:element name="deliveryModeIdentifier" type="adxp_explicit.deliveryModeIdentifier"/>
2656 <xs:element name="buildingNumberSuffix" type="adxp_explicit.buildingNumberSuffix"/>
2657 <xs:element name="postBox" type="adxp_explicit.postBox"/>
2658 <xs:element name="precinct" type="adxp_explicit.precinct"/>
2659 </xs:choice>
2660 <xs:element name="useablePeriod" minOccurs="0" maxOccurs="unbounded" type="SXCM_TS_explicit">
2661 <xs:annotation>
2662 <xs:documentation>
2663 A GTS specifying the
2664 periods of time during which the address can be used.
2665 This is used to specify different addresses for
2666 different times of the year or to refer to historical
2667 addresses.
2668 </xs:documentation>
2669 </xs:annotation>
2670 </xs:element>
2671 </xs:sequence>
2672 <!-- This came from ANY -->
2673 <xs:attribute name="nullFlavor" type="NullFlavor" use="optional">
2674 <xs:annotation>
2675 <xs:documentation>
2676 An exceptional value expressing missing information
2677 and possibly the reason why the information is missing.
2678 </xs:documentation>
2679 </xs:annotation>
2680 </xs:attribute>
2681 <!-- start of attributes from AD -->
2682 <xs:attribute name="use" use="optional" type="set_PostalAddressUse">
2683 <xs:annotation>
2684 <xs:documentation>
2685 A set of codes advising a system or user which address
2686 in a set of like addresses to select for a given purpose.
2687 </xs:documentation>
2688 </xs:annotation>
2689 </xs:attribute>
2690 <xs:attribute name="isNotOrdered" type="bl" use="optional">
2691 <xs:annotation>
2692 <xs:documentation>
2693 A boolean value specifying whether the order of the
2694 address parts is known or not. While the address parts
2695 are always a Sequence, the order in which they are
2696 presented may or may not be known. Where this matters,
2697 can be used to convey this
2698 information.
2699 </xs:documentation>
2700 </xs:annotation>
2701 </xs:attribute>
2702 <!-- end of attributes from AD -->
2703 </xs:complexType>
2704
2705
2706 <xs:complexType name="ADXP_explicit" mixed="true">
2707 <xs:annotation>
2708 <xs:documentation>
2709 A character string that may have a type-tag signifying its
2710 role in the address. Typical parts that exist in about
2711 every address are street, house number, or post box,
2712 postal code, city, country but other roles may be defined
2713 regionally, nationally, or on an enterprise level (e.g. in
2714 military addresses). Addresses are usually broken up into
2715 lines, which are indicated by special line-breaking
2716 delimiter elements (e.g., DEL).
2717 </xs:documentation>
2718 </xs:annotation>
2719 <xs:attribute name="partType" type="AddressPartType">
2720 <xs:annotation>
2721 <xs:documentation>
2722 Specifies whether an address part names the street,
2723 city, country, postal code, post box, etc. If the type
2724 is NULL the address part is unclassified and would
2725 simply appear on an address label as is.
2726 </xs:documentation>
2727 </xs:annotation>
2728 </xs:attribute>
2729 </xs:complexType>
2730 <xs:complexType mixed="true" name="adxp_explicit.delimiter">
2731 <xs:complexContent>
2732 <xs:restriction base="ADXP_explicit">
2733 <xs:attribute name="partType" type="AddressPartType" fixed="DEL"/>
2734 </xs:restriction>
2735 </xs:complexContent>
2736 </xs:complexType>
2737 <xs:complexType mixed="true" name="adxp_explicit.country">
2738 <xs:complexContent>
2739 <xs:restriction base="ADXP_explicit">
2740 <xs:attribute name="partType" type="AddressPartType" fixed="CNT"/>
2741 </xs:restriction>
2742 </xs:complexContent>
2743 </xs:complexType>
2744 <xs:complexType mixed="true" name="adxp_explicit.state">
2745 <xs:complexContent>
2746 <xs:restriction base="ADXP_explicit">
2747 <xs:attribute name="partType" type="AddressPartType" fixed="STA"/>
2748 </xs:restriction>
2749 </xs:complexContent>
2750 </xs:complexType>
2751 <xs:complexType mixed="true" name="adxp_explicit.county">
2752 <xs:complexContent>
2753 <xs:restriction base="ADXP_explicit">
2754 <xs:attribute name="partType" type="AddressPartType" fixed="CPA"/>
2755 </xs:restriction>
2756 </xs:complexContent>
2757 </xs:complexType>
2758 <xs:complexType mixed="true" name="adxp_explicit.city">
2759 <xs:complexContent>
2760 <xs:restriction base="ADXP_explicit">
2761 <xs:attribute name="partType" type="AddressPartType" fixed="CTY"/>
2762 </xs:restriction>
2763 </xs:complexContent>
2764 </xs:complexType>
2765 <xs:complexType mixed="true" name="adxp_explicit.postalCode">
2766 <xs:complexContent>
2767 <xs:restriction base="ADXP_explicit">
2768 <xs:attribute name="partType" type="AddressPartType" fixed="ZIP"/>
2769 </xs:restriction>
2770 </xs:complexContent>
2771 </xs:complexType>
2772 <xs:complexType mixed="true" name="adxp_explicit.streetAddressLine">
2773 <xs:complexContent>
2774 <xs:restriction base="ADXP_explicit">
2775 <xs:attribute name="partType" type="AddressPartType" fixed="SAL"/>
2776 </xs:restriction>
2777 </xs:complexContent>
2778 </xs:complexType>
2779 <xs:complexType mixed="true" name="adxp_explicit.houseNumber">
2780 <xs:complexContent>
2781 <xs:restriction base="ADXP_explicit">
2782 <xs:attribute name="partType" type="AddressPartType" fixed="BNR"/>
2783 </xs:restriction>
2784 </xs:complexContent>
2785 </xs:complexType>
2786 <xs:complexType mixed="true" name="adxp_explicit.houseNumberNumeric">
2787 <xs:complexContent>
2788 <xs:restriction base="ADXP_explicit">
2789 <xs:attribute name="partType" type="AddressPartType" fixed="BNN"/>
2790 </xs:restriction>
2791 </xs:complexContent>
2792 </xs:complexType>
2793 <xs:complexType mixed="true" name="adxp_explicit.direction">
2794 <xs:complexContent>
2795 <xs:restriction base="ADXP_explicit">
2796 <xs:attribute name="partType" type="AddressPartType" fixed="DIR"/>
2797 </xs:restriction>
2798 </xs:complexContent>
2799 </xs:complexType>
2800 <xs:complexType mixed="true" name="adxp_explicit.streetName">
2801 <xs:complexContent>
2802 <xs:restriction base="ADXP_explicit">
2803 <xs:attribute name="partType" type="AddressPartType" fixed="STR"/>
2804 </xs:restriction>
2805 </xs:complexContent>
2806 </xs:complexType>
2807 <xs:complexType mixed="true" name="adxp_explicit.streetNameBase">
2808 <xs:complexContent>
2809 <xs:restriction base="ADXP_explicit">
2810 <xs:attribute name="partType" type="AddressPartType" fixed="STB"/>
2811 </xs:restriction>
2812 </xs:complexContent>
2813 </xs:complexType>
2814 <!--
2815 jaxb implementors note: the jaxb code generator (v1.0.?) will
2816 fail to append "Type" to streetNameType so that there will be
2817 duplicate definitions in the java source for streetNameType.
2818 You will have to fix this manually.
2819 -->
2820 <xs:complexType mixed="true" name="adxp_explicit.streetNameType1">
2821 <xs:complexContent>
2822 <xs:restriction base="ADXP_explicit">
2823 <xs:attribute name="partType" type="AddressPartType" fixed="STTYP"/>
2824 </xs:restriction>
2825 </xs:complexContent>
2826 </xs:complexType>
2827 <xs:complexType mixed="true" name="adxp_explicit.additionalLocator">
2828 <xs:complexContent>
2829 <xs:restriction base="ADXP_explicit">
2830 <xs:attribute name="partType" type="AddressPartType" fixed="ADL"/>
2831 </xs:restriction>
2832 </xs:complexContent>
2833 </xs:complexType>
2834 <xs:complexType mixed="true" name="adxp_explicit.unitID">
2835 <xs:complexContent>
2836 <xs:restriction base="ADXP_explicit">
2837 <xs:attribute name="partType" type="AddressPartType" fixed="UNID"/>
2838 </xs:restriction>
2839 </xs:complexContent>
2840 </xs:complexType>
2841 <xs:complexType mixed="true" name="adxp_explicit.unitType">
2842 <xs:complexContent>
2843 <xs:restriction base="ADXP_explicit">
2844 <xs:attribute name="partType" type="AddressPartType" fixed="UNIT"/>
2845 </xs:restriction>
2846 </xs:complexContent>
2847 </xs:complexType>
2848 <xs:complexType mixed="true" name="adxp_explicit.careOf">
2849 <xs:complexContent>
2850 <xs:restriction base="ADXP_explicit">
2851 <xs:attribute name="partType" type="AddressPartType" fixed="CAR"/>
2852 </xs:restriction>
2853 </xs:complexContent>
2854 </xs:complexType>
2855 <xs:complexType mixed="true" name="adxp_explicit.censusTract">
2856 <xs:complexContent>
2857 <xs:restriction base="ADXP_explicit">
2858 <xs:attribute name="partType" type="AddressPartType" fixed="CEN"/>
2859 </xs:restriction>
2860 </xs:complexContent>
2861 </xs:complexType>
2862 <xs:complexType mixed="true" name="adxp_explicit.deliveryAddressLine">
2863 <xs:complexContent>
2864 <xs:restriction base="ADXP_explicit">
2865 <xs:attribute name="partType" type="AddressPartType" fixed="DAL"/>
2866 </xs:restriction>
2867 </xs:complexContent>
2868 </xs:complexType>
2869 <xs:complexType mixed="true" name="adxp_explicit.deliveryInstallationType">
2870 <xs:complexContent>
2871 <xs:restriction base="ADXP_explicit">
2872 <xs:attribute name="partType" type="AddressPartType" fixed="DINST"/>
2873 </xs:restriction>
2874 </xs:complexContent>
2875 </xs:complexType>
2876 <xs:complexType mixed="true" name="adxp_explicit.deliveryInstallationArea">
2877 <xs:complexContent>
2878 <xs:restriction base="ADXP_explicit">
2879 <xs:attribute name="partType" type="AddressPartType" fixed="DINSTA"/>
2880 </xs:restriction>
2881 </xs:complexContent>
2882 </xs:complexType>
2883 <xs:complexType mixed="true" name="adxp_explicit.deliveryInstallationQualifier">
2884 <xs:complexContent>
2885 <xs:restriction base="ADXP_explicit">
2886 <xs:attribute name="partType" type="AddressPartType" fixed="DINSTQ"/>
2887 </xs:restriction>
2888 </xs:complexContent>
2889 </xs:complexType>
2890 <xs:complexType mixed="true" name="adxp_explicit.deliveryMode">
2891 <xs:complexContent>
2892 <xs:restriction base="ADXP_explicit">
2893 <xs:attribute name="partType" type="AddressPartType" fixed="DMOD"/>
2894 </xs:restriction>
2895 </xs:complexContent>
2896 </xs:complexType>
2897 <xs:complexType mixed="true" name="adxp_explicit.deliveryModeIdentifier">
2898 <xs:complexContent>
2899 <xs:restriction base="ADXP_explicit">
2900 <xs:attribute name="partType" type="AddressPartType" fixed="DMODID"/>
2901 </xs:restriction>
2902 </xs:complexContent>
2903 </xs:complexType>
2904 <xs:complexType mixed="true" name="adxp_explicit.buildingNumberSuffix">
2905 <xs:complexContent>
2906 <xs:restriction base="ADXP_explicit">
2907 <xs:attribute name="partType" type="AddressPartType" fixed="BNS"/>
2908 </xs:restriction>
2909 </xs:complexContent>
2910 </xs:complexType>
2911 <xs:complexType mixed="true" name="adxp_explicit.postBox">
2912 <xs:complexContent>
2913 <xs:restriction base="ADXP_explicit">
2914 <xs:attribute name="partType" type="AddressPartType" fixed="POB"/>
2915 </xs:restriction>
2916 </xs:complexContent>
2917 </xs:complexType>
2918 <xs:complexType mixed="true" name="adxp_explicit.precinct">
2919 <xs:complexContent>
2920 <xs:restriction base="ADXP_explicit">
2921 <xs:attribute name="partType" type="AddressPartType" fixed="PRE"/>
2922 </xs:restriction>
2923 </xs:complexContent>
2924 </xs:complexType>
2925
2926
2927</xs:schema>
Note: See TracBrowser for help on using the repository browser.