<?xml version="1.0" encoding="WINDOWS-1252"?>
<!-- Copyright (c) 2007, 2009, Oracle and/or its affiliates. All rights reserved.    NAME     ordcmdts.xsd - XML schema for DICOM standard data types    MODIFIED   (MM/DD/YY)   rabbott     12/01/09 - increase maxLength facet of PN/VALUE   fechen      01/23/09 - remove the patten in the locatorpath   dolin       10/17/08 - allow [*] for locator path   fechen      09/23/08 - sync the schema change in ordcmmddt.xsd   dolin       06/06/07 - doc editor comments   myalavar    04/10/07 - doc comments   myalavar    04/09/07 - add major_minor version   dguo        08/01/06 - Beta release 1   dguo        04/03/05 - Created-->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xdb="http://xmlns.oracle.com/xdb" elementFormDefault="qualified" attributeFormDefault="unqualified" xdb:storeVarrayAsTable="true" xdb:flags="2105651" xdb:schemaURL="http://xmlns.oracle.com/ord/dicom/rpdatatype_1_0" xdb:schemaOwner="ORDSYS" xdb:numProps="96">
  <xs:annotation>
    <xs:documentation>    Introduction      This schema defines the DICOM standard data types that are used       by all other DICOM XML schema definitions.          Naming conventions:    All DICOM value representation (VR) types are named with a     2-character string, such as &quot;AE&quot; and &quot;CS&quot;.    All DICOM attribute type definitions are named as VR_ATTR_T,     where VR is replaced by the attribute&apos;s 2-character VR.        Note that each item of a sequence type (SQ) is of DATASET_T type.    The DATASET_T type can recursively contain more attributes.    The element name of an attribute is its value representation (VR)    name. Oracle uses value representation names defined    by the DICOM standard part 5. The element    name to VR mappings are:      APPLICATION_ENTITY     ---   AE      AGE_STRING     ---  AS      ATTRIBUTE_TAG     ---  AT      CODE_STRING     ---  CS      DATE     ---  DA      DECIMAL_STRING     ---  DS      FLOAT_SINGLE     ---  FL      FLOAT_DOUBLE     ---  FD      INTEGER_STRING     ---  IS      LONG_STRING     ---  LO      LONG_TEXT     ---  LT      OTHER_BYTE     ---  OB      OTHER_FLOAT     ---  OF      OTHER_WORD     ---  OW      OTHER_WORD     ---  OWB      PERSON_NAME     ---  PN      SHORT_STRING     ---  SH      SIGNED_LONG     ---  SL      SEQUENCE     ---  SQ      SIGNED_SHORT     ---  SS      SHORT_TEXT     ---  ST      TIME     ---  TM      UNIQUE_ID     ---  UI      UNSIGNED_LONG     ---  UL      UNKNOWN     ---  UN      UNSIGNED_SHORT     ---  US      SIGNED_SHORT       ---  USS      UNLIMITED_TEXT     ---  UT      EXTENDED_TYPE     ---  EXT      EXCEPTION_TYPE     ---  EXP      The VR types &quot;OWB&apos;, &quot;EXT&quot;, &quot;EXP&quot; and &quot;USS&quot; are       Oracle-defined extensions.      Please refer to the individual data type documentation for       more explanation.    </xs:documentation>
  </xs:annotation>
  <xs:simpleType name="AE">
    <xs:annotation>
      <xs:documentation>DICOM Value representation Application Entity</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:maxLength value="16"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:complexType name="AS" xdb:SQLType="AS255_T" xdb:SQLSchema="ORDSYS">
    <xs:annotation>
      <xs:documentation>DICOM Value representation Age String.         The age string can be expressed either in DICOM string         format, or in number of days. When metadata is extracted         from a DICOM object, both elements will be populated.        XML documents can represent age by either format.          Age in number of days is converted into an age string when         XML metadata is encoded into a DICOM object.        To convert from age string into the number of days:            365 * number_of_year or 31 * number_of_month.          Because AGE_STRING is mandatory, it is not necessary to         convert from the number of days into an age string.       </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="VALUE" nillable="true" xdb:propNumber="2826" xdb:global="false" xdb:SQLName="VALUE" xdb:SQLType="VARCHAR2" xdb:memType="1" xdb:MemInline="true" xdb:SQLInline="true" xdb:JavaInline="true">
        <xs:simpleType>
          <xs:restriction base="xs:token">
            <xs:pattern value="[0-9]{3}(D|W|M|Y)"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:element>
      <xs:element name="AGE_IN_DAYS" type="xs:unsignedInt" minOccurs="0" xdb:propNumber="2827" xdb:global="false" xdb:SQLName="AGE_IN_DAYS" xdb:SQLType="NUMBER" xdb:memType="68" xdb:memByteLength="4" xdb:MemInline="true" xdb:SQLInline="true" xdb:JavaInline="true"/>
    </xs:sequence>
  </xs:complexType>
  <xs:simpleType name="AT">
    <xs:annotation>
      <xs:documentation>        DICOM VR type Attribute Tag. An attribute tag is expressed as two         big-endian 2-byte hexadecimal number (group number followed by         element number with no separator).      </xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:hexBinary">
      <xs:minLength value="4"/>
      <xs:maxLength value="4"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="CS">
    <xs:annotation>
      <xs:documentation>DICOM VR type Code String</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:maxLength value="16"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="DA">
    <xs:annotation>
      <xs:documentation>DICOM VR type DAte</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:date"/>
  </xs:simpleType>
  <xs:simpleType name="DS">
    <xs:annotation>
      <xs:documentation>DICOM VR type Decimal String</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:float"/>
  </xs:simpleType>
  <xs:simpleType name="DT">
    <xs:annotation>
      <xs:documentation>DICOM VR type Data Time</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:dateTime"/>
  </xs:simpleType>
  <xs:simpleType name="FL">
    <xs:annotation>
      <xs:documentation>DICOM VR type FLoating-point single</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:float"/>
  </xs:simpleType>
  <xs:simpleType name="FD">
    <xs:annotation>
      <xs:documentation>DICOM VR type Floating-point Double</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:double"/>
  </xs:simpleType>
  <xs:simpleType name="IS">
    <xs:annotation>
      <xs:documentation>DICOM VR type Integer String</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:integer"/>
  </xs:simpleType>
  <xs:simpleType name="LO">
    <xs:annotation>
      <xs:documentation>DICOM VR type LOng string</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:maxLength value="64"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="LT">
    <xs:annotation>
      <xs:documentation>DICOM VR type Long Text</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:maxLength value="10240"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="OB">
    <xs:annotation>
      <xs:documentation>DICOM VR type Other Byte</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:base64Binary"/>
  </xs:simpleType>
  <xs:simpleType name="OF">
    <xs:annotation>
      <xs:documentation> VR type Other Float </xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:float"/>
  </xs:simpleType>
  <xs:complexType name="OW" xdb:SQLType="OW283_T" xdb:SQLSchema="ORDSYS">
    <xs:annotation>
      <xs:documentation>        DICOM VR type Other Word in base64binary encoding.        The mandatory attribute endian specifies the byte         order of the binary value.      </xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="xs:base64Binary">
        <xs:attribute name="endian" use="required" xdb:propNumber="2828" xdb:global="false" xdb:SQLName="endian" xdb:SQLType="XDB$ENUM_T" xdb:SQLSchema="XDB" xdb:memType="259">
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:enumeration value="big"/>
              <xs:enumeration value="little"/>
            </xs:restriction>
          </xs:simpleType>
        </xs:attribute>
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>
  <xs:complexType name="PN" xdb:SQLType="PN286_T" xdb:SQLSchema="ORDSYS">
    <xs:annotation>
      <xs:documentation>        DICOM VR type Person Name. Person Name can be        expressed either in component format or as a single         concatentated string. When metadata is extracted from a         DICOM object, the person name type is encoded with        both formats. Users can index and search DICOM         metadata with either the component format or the         concatenated string format.        In component format, a name has an optional &quot;type&quot; attribute that        indicates its encoding type. The value of the &quot;type&quot; attribute         can be &quot;unibyte&quot;, &quot;ideographic&quot; or &quot;phonetic&quot;. A name may         have up to five components: &quot;FAMILY&quot;, &quot;GIVEN&quot;, &quot;MIDDLE&quot;,        &quot;PREFIX&quot;, and &quot;SUFFIX&quot;.      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="NAME" minOccurs="0" maxOccurs="3" nillable="true" xdb:propNumber="2835" xdb:global="false" xdb:SQLName="NAME" xdb:SQLType="NAME287_T" xdb:SQLSchema="ORDSYS" xdb:memType="258" xdb:MemInline="false" xdb:SQLInline="true" xdb:JavaInline="false" xdb:SQLCollType="NAME288_COLL" xdb:SQLCollSchema="ORDSYS">
        <xs:complexType xdb:SQLType="NAME287_T" xdb:SQLSchema="ORDSYS">
          <xs:sequence>
            <xs:element name="FAMILY" type="xs:string" minOccurs="0" nillable="true" xdb:propNumber="2830" xdb:global="false" xdb:SQLName="FAMILY" xdb:SQLType="VARCHAR2" xdb:memType="1" xdb:MemInline="true" xdb:SQLInline="true" xdb:JavaInline="true"/>
            <xs:element name="GIVEN" type="xs:string" minOccurs="0" nillable="true" xdb:propNumber="2831" xdb:global="false" xdb:SQLName="GIVEN" xdb:SQLType="VARCHAR2" xdb:memType="1" xdb:MemInline="true" xdb:SQLInline="true" xdb:JavaInline="true"/>
            <xs:element name="MIDDLE" type="xs:string" minOccurs="0" nillable="true" xdb:propNumber="2832" xdb:global="false" xdb:SQLName="MIDDLE" xdb:SQLType="VARCHAR2" xdb:memType="1" xdb:MemInline="true" xdb:SQLInline="true" xdb:JavaInline="true"/>
            <xs:element name="PREFIX" type="xs:string" minOccurs="0" nillable="true" xdb:propNumber="2833" xdb:global="false" xdb:SQLName="PREFIX" xdb:SQLType="VARCHAR2" xdb:memType="1" xdb:MemInline="true" xdb:SQLInline="true" xdb:JavaInline="true"/>
            <xs:element name="SUFFIX" type="xs:string" minOccurs="0" nillable="true" xdb:propNumber="2834" xdb:global="false" xdb:SQLName="SUFFIX" xdb:SQLType="VARCHAR2" xdb:memType="1" xdb:MemInline="true" xdb:SQLInline="true" xdb:JavaInline="true"/>
          </xs:sequence>
          <xs:attribute name="type" default="unibyte" xdb:propNumber="2829" xdb:global="false" xdb:SQLName="type" xdb:SQLType="XDB$ENUM_T" xdb:SQLSchema="XDB" xdb:memType="259">
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:enumeration value="unibyte"/>
                <xs:enumeration value="ideographic"/>
                <xs:enumeration value="phonetic"/>
              </xs:restriction>
            </xs:simpleType>
          </xs:attribute>
        </xs:complexType>
      </xs:element>
      <xs:element name="VALUE" minOccurs="0" nillable="true" xdb:propNumber="2836" xdb:global="false" xdb:SQLName="VALUE" xdb:SQLType="VARCHAR2" xdb:memType="1" xdb:MemInline="true" xdb:SQLInline="true" xdb:JavaInline="true">
        <xs:simpleType>
          <xs:restriction base="xs:token">
            <xs:maxLength value="192"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:simpleType name="SH">
    <xs:annotation>
      <xs:documentation>DICOM VR type SHort string</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:maxLength value="16"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="SL">
    <xs:annotation>
      <xs:documentation>DICOM VR type Signed Long</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:integer"/>
  </xs:simpleType>
  <xs:complexType name="SQ" xdb:SQLType="SQ250_T" xdb:SQLSchema="ORDSYS">
    <xs:annotation>
      <xs:documentation>DICOM VR type SeQuence.         Note that item number can be explicitly encoded in XML.         Number counts from 1 up.        Each item is a DATASET_T type, which may contain         any combination of DICOM attributes.      </xs:documentation>
    </xs:annotation>
    <xs:sequence maxOccurs="unbounded">
      <xs:element name="ITEM" type="DATASET_T" minOccurs="0" nillable="true" xdb:propNumber="2837" xdb:global="false" xdb:SQLName="ITEM" xdb:SQLType="DATASET_T251_T" xdb:SQLSchema="ORDSYS" xdb:memType="258" xdb:MemInline="false" xdb:SQLInline="true" xdb:JavaInline="false" xdb:SQLCollType="ITEM304_COLL" xdb:SQLCollSchema="ORDSYS"/>
    </xs:sequence>
  </xs:complexType>
  <xs:simpleType name="SS">
    <xs:annotation>
      <xs:documentation>DICOM VR type Signed Short</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:integer"/>
  </xs:simpleType>
  <xs:simpleType name="ST">
    <xs:annotation>
      <xs:documentation>DICOM VR type Short Text</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:maxLength value="1024"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="TM">
    <xs:annotation>
      <xs:documentation>DICOM VR type TiMe</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:time"/>
  </xs:simpleType>
  <xs:simpleType name="UI">
    <xs:annotation>
      <xs:documentation>DICOM VR type Unique Identifier</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:maxLength value="128"/>
      <xs:pattern value="[0-9\.]+"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="UL">
    <xs:annotation>
      <xs:documentation>DICOM VR type Unsigned Long</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:unsignedInt"/>
  </xs:simpleType>
  <xs:complexType name="UN" xdb:SQLType="UN243_T" xdb:SQLSchema="ORDSYS">
    <xs:annotation>
      <xs:documentation>        DICOM VR type UNknown.        This type contains a base64 dump of its binary content. The mandatory        attribute &quot;endian&quot; specifies the byte order of this encoding.      </xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="xs:base64Binary">
        <xs:attribute name="endian" use="required" xdb:propNumber="2838" xdb:global="false" xdb:SQLName="endian" xdb:SQLType="XDB$ENUM_T" xdb:SQLSchema="XDB" xdb:memType="259">
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:enumeration value="big"/>
              <xs:enumeration value="little"/>
            </xs:restriction>
          </xs:simpleType>
        </xs:attribute>
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>
  <xs:simpleType name="US">
    <xs:annotation>
      <xs:documentation>DICOM VR type Unsigned Short</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:unsignedShort"/>
  </xs:simpleType>
  <xs:simpleType name="UT">
    <xs:annotation>
      <xs:documentation>DICOM VR type Unlimited Text</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string"/>
  </xs:simpleType>
  <xs:complexType name="EXT" xdb:SQLType="EXT239_T" xdb:SQLSchema="ORDSYS">
    <xs:annotation>
      <xs:documentation>DICOM Extension type         This type does not have direct mapping to any value         representation (VR) types defined in Part 5 of the         DICOM standard.           It can accommodate future extensions to DICOM VR        types without modification to the XML schema definitions.        The VR element specifies the value representation.        The VALUE element specifies the XML value for the        corresponding data element. The exact XML schema         definition can be introduced in the future.      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="VR" type="xs:token" xdb:propNumber="2839" xdb:global="false" xdb:SQLName="VR" xdb:SQLType="VARCHAR2" xdb:memType="1" xdb:MemInline="true" xdb:SQLInline="true" xdb:JavaInline="true"/>
      <xs:element name="VALUE" type="xs:anyType" nillable="true" xdb:propNumber="2840" xdb:global="false" xdb:SQLName="VALUE" xdb:SQLType="VARCHAR2" xdb:memType="258" xdb:MemInline="false" xdb:SQLInline="true" xdb:JavaInline="true"/>
    </xs:sequence>
  </xs:complexType>
  <xs:simpleType name="EXP">
    <xs:annotation>
      <xs:documentation>DICOM Exception type.        This type does not have direct mapping to any value         representation (VR) types defined in Part 5 of the         DICOM standard.           It indicates an error situation. It is equivalent to         an exception in the Java language.        The value of this data type is the original byte         array of the data type in the DICOM object.      </xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:base64Binary"/>
  </xs:simpleType>
  <xs:complexType name="DATASET_T" xdb:SQLType="DATASET_T251_T" xdb:SQLSchema="ORDSYS">
    <xs:annotation>
      <xs:documentation>        The dataset type maps the DICOM concept dataset         into an XML schema type(See the DICOM standard P3-5) .        A dataset may contain any number of DICOM attributes.        Each type of attribute has a name that reflects        the DICOM value representation of the attribute.        Each attribute is strongly typed, and its type matches its DICOM        VR. Note that DICOM attribute type SQ (sequence) may         recursively contain items that are also of the dataset type.      </xs:documentation>
    </xs:annotation>
    <xs:choice maxOccurs="unbounded" minOccurs="0">
      <xs:element name="APPLICATION_ENTITY" type="AE_ATTR_T" nillable="true" xdb:propNumber="2842" xdb:global="false" xdb:SQLName="APPLICATION_ENTITY" xdb:SQLType="AE_ATTR_T252_T" xdb:SQLSchema="ORDSYS" xdb:memType="258" xdb:MemInline="false" xdb:SQLInline="true" xdb:JavaInline="false" xdb:SQLCollType="APPLICATION_ENTITY253_COLL" xdb:SQLCollSchema="ORDSYS"/>
      <xs:element name="AGE_STRING" type="AS_ATTR_T" nillable="true" xdb:propNumber="2843" xdb:global="false" xdb:SQLName="AGE_STRING" xdb:SQLType="AS_ATTR_T254_T" xdb:SQLSchema="ORDSYS" xdb:memType="258" xdb:MemInline="false" xdb:SQLInline="true" xdb:JavaInline="false" xdb:SQLCollType="AGE_STRING256_COLL" xdb:SQLCollSchema="ORDSYS"/>
      <xs:element name="ATTRIBUTE_TAG" type="AT_ATTR_T" nillable="true" xdb:propNumber="2844" xdb:global="false" xdb:SQLName="ATTRIBUTE_TAG" xdb:SQLType="AT_ATTR_T257_T" xdb:SQLSchema="ORDSYS" xdb:memType="258" xdb:MemInline="false" xdb:SQLInline="true" xdb:JavaInline="false" xdb:SQLCollType="ATTRIBUTE_TAG258_COLL" xdb:SQLCollSchema="ORDSYS"/>
      <xs:element name="CODE_STRING" type="CS_ATTR_T" nillable="true" xdb:propNumber="2845" xdb:global="false" xdb:SQLName="CODE_STRING" xdb:SQLType="CS_ATTR_T259_T" xdb:SQLSchema="ORDSYS" xdb:memType="258" xdb:MemInline="false" xdb:SQLInline="true" xdb:JavaInline="false" xdb:SQLCollType="CODE_STRING260_COLL" xdb:SQLCollSchema="ORDSYS"/>
      <xs:element name="DATE" type="DA_ATTR_T" nillable="true" xdb:propNumber="2846" xdb:global="false" xdb:SQLName="DATE261" xdb:SQLType="DA_ATTR_T262_T" xdb:SQLSchema="ORDSYS" xdb:memType="258" xdb:MemInline="false" xdb:SQLInline="true" xdb:JavaInline="false" xdb:SQLCollType="DATE261263_COLL" xdb:SQLCollSchema="ORDSYS"/>
      <xs:element name="DATE_TIME" type="DT_ATTR_T" nillable="true" xdb:propNumber="2847" xdb:global="false" xdb:SQLName="DATE_TIME" xdb:SQLType="DT_ATTR_T264_T" xdb:SQLSchema="ORDSYS" xdb:memType="258" xdb:MemInline="false" xdb:SQLInline="true" xdb:JavaInline="false" xdb:SQLCollType="DATE_TIME265_COLL" xdb:SQLCollSchema="ORDSYS"/>
      <xs:element name="DECIMAL_STRING" type="DS_ATTR_T" nillable="true" xdb:propNumber="2848" xdb:global="false" xdb:SQLName="DECIMAL_STRING" xdb:SQLType="DS_ATTR_T266_T" xdb:SQLSchema="ORDSYS" xdb:memType="258" xdb:MemInline="false" xdb:SQLInline="true" xdb:JavaInline="false" xdb:SQLCollType="DECIMAL_STRING267_COLL" xdb:SQLCollSchema="ORDSYS"/>
      <xs:element name="FLOAT_SINGLE" type="FL_ATTR_T" nillable="true" xdb:propNumber="2849" xdb:global="false" xdb:SQLName="FLOAT_SINGLE" xdb:SQLType="FL_ATTR_T268_T" xdb:SQLSchema="ORDSYS" xdb:memType="258" xdb:MemInline="false" xdb:SQLInline="true" xdb:JavaInline="false" xdb:SQLCollType="FLOAT_SINGLE269_COLL" xdb:SQLCollSchema="ORDSYS"/>
      <xs:element name="FLOAT_DOUBLE" type="FD_ATTR_T" nillable="true" xdb:propNumber="2850" xdb:global="false" xdb:SQLName="FLOAT_DOUBLE" xdb:SQLType="FD_ATTR_T270_T" xdb:SQLSchema="ORDSYS" xdb:memType="258" xdb:MemInline="false" xdb:SQLInline="true" xdb:JavaInline="false" xdb:SQLCollType="FLOAT_DOUBLE271_COLL" xdb:SQLCollSchema="ORDSYS"/>
      <xs:element name="INTEGER_STRING" type="IS_ATTR_T" nillable="true" xdb:propNumber="2851" xdb:global="false" xdb:SQLName="INTEGER_STRING" xdb:SQLType="IS_ATTR_T272_T" xdb:SQLSchema="ORDSYS" xdb:memType="258" xdb:MemInline="false" xdb:SQLInline="true" xdb:JavaInline="false" xdb:SQLCollType="INTEGER_STRING273_COLL" xdb:SQLCollSchema="ORDSYS"/>
      <xs:element name="LONG_STRING" type="LO_ATTR_T" nillable="true" xdb:propNumber="2852" xdb:global="false" xdb:SQLName="LONG_STRING" xdb:SQLType="LO_ATTR_T274_T" xdb:SQLSchema="ORDSYS" xdb:memType="258" xdb:MemInline="false" xdb:SQLInline="true" xdb:JavaInline="false" xdb:SQLCollType="LONG_STRING275_COLL" xdb:SQLCollSchema="ORDSYS"/>
      <xs:element name="LONG_TEXT" type="LT_ATTR_T" nillable="true" xdb:propNumber="2853" xdb:global="false" xdb:SQLName="LONG_TEXT" xdb:SQLType="LT_ATTR_T276_T" xdb:SQLSchema="ORDSYS" xdb:memType="258" xdb:MemInline="false" xdb:SQLInline="true" xdb:JavaInline="false" xdb:SQLCollType="LONG_TEXT277_COLL" xdb:SQLCollSchema="ORDSYS"/>
      <xs:element name="OTHER_BYTE" type="OB_ATTR_T" nillable="true" xdb:propNumber="2854" xdb:global="false" xdb:SQLName="OTHER_BYTE" xdb:SQLType="OB_ATTR_T278_T" xdb:SQLSchema="ORDSYS" xdb:memType="258" xdb:MemInline="false" xdb:SQLInline="true" xdb:JavaInline="false" xdb:SQLCollType="OTHER_BYTE279_COLL" xdb:SQLCollSchema="ORDSYS"/>
      <xs:element name="OTHER_FLOAT" type="OF_ATTR_T" nillable="true" xdb:propNumber="2855" xdb:global="false" xdb:SQLName="OTHER_FLOAT" xdb:SQLType="OF_ATTR_T280_T" xdb:SQLSchema="ORDSYS" xdb:memType="258" xdb:MemInline="false" xdb:SQLInline="true" xdb:JavaInline="false" xdb:SQLCollType="OTHER_FLOAT281_COLL" xdb:SQLCollSchema="ORDSYS"/>
      <xs:element name="OTHER_WORD" type="OW_ATTR_T" nillable="true" xdb:propNumber="2856" xdb:global="false" xdb:SQLName="OTHER_WORD" xdb:SQLType="OW_ATTR_T282_T" xdb:SQLSchema="ORDSYS" xdb:memType="258" xdb:MemInline="false" xdb:SQLInline="true" xdb:JavaInline="false" xdb:SQLCollType="OTHER_WORD284_COLL" xdb:SQLCollSchema="ORDSYS"/>
      <xs:element name="PERSON_NAME" type="PN_ATTR_T" nillable="true" xdb:propNumber="2857" xdb:global="false" xdb:SQLName="PERSON_NAME" xdb:SQLType="PN_ATTR_T285_T" xdb:SQLSchema="ORDSYS" xdb:memType="258" xdb:MemInline="false" xdb:SQLInline="true" xdb:JavaInline="false" xdb:SQLCollType="PERSON_NAME289_COLL" xdb:SQLCollSchema="ORDSYS"/>
      <xs:element name="SHORT_STRING" type="SH_ATTR_T" nillable="true" xdb:propNumber="2858" xdb:global="false" xdb:SQLName="SHORT_STRING" xdb:SQLType="SH_ATTR_T290_T" xdb:SQLSchema="ORDSYS" xdb:memType="258" xdb:MemInline="false" xdb:SQLInline="true" xdb:JavaInline="false" xdb:SQLCollType="SHORT_STRING291_COLL" xdb:SQLCollSchema="ORDSYS"/>
      <xs:element name="SIGNED_LONG" type="SL_ATTR_T" nillable="true" xdb:propNumber="2859" xdb:global="false" xdb:SQLName="SIGNED_LONG" xdb:SQLType="SL_ATTR_T292_T" xdb:SQLSchema="ORDSYS" xdb:memType="258" xdb:MemInline="false" xdb:SQLInline="true" xdb:JavaInline="false" xdb:SQLCollType="SIGNED_LONG293_COLL" xdb:SQLCollSchema="ORDSYS"/>
      <xs:element name="SEQUENCE" type="SQ_ATTR_T" nillable="true" xdb:SQLType="CLOB" xdb:SQLName="SEQUENCE" xdb:propNumber="2860" xdb:global="false" xdb:memType="258" xdb:MemInline="false" xdb:SQLInline="true" xdb:JavaInline="false"/>
      <xs:element name="SIGNED_SHORT" type="SS_ATTR_T" nillable="true" xdb:propNumber="2861" xdb:global="false" xdb:SQLName="SIGNED_SHORT" xdb:SQLType="SS_ATTR_T248_T" xdb:SQLSchema="ORDSYS" xdb:memType="258" xdb:MemInline="false" xdb:SQLInline="true" xdb:JavaInline="false" xdb:SQLCollType="SIGNED_SHORT294_COLL" xdb:SQLCollSchema="ORDSYS"/>
      <xs:element name="SHORT_TEXT" type="ST_ATTR_T" nillable="true" xdb:propNumber="2862" xdb:global="false" xdb:SQLName="SHORT_TEXT" xdb:SQLType="ST_ATTR_T247_T" xdb:SQLSchema="ORDSYS" xdb:memType="258" xdb:MemInline="false" xdb:SQLInline="true" xdb:JavaInline="false" xdb:SQLCollType="SHORT_TEXT295_COLL" xdb:SQLCollSchema="ORDSYS"/>
      <xs:element name="TIME" type="TM_ATTR_T" nillable="true" xdb:propNumber="2863" xdb:global="false" xdb:SQLName="TIME" xdb:SQLType="TM_ATTR_T246_T" xdb:SQLSchema="ORDSYS" xdb:memType="258" xdb:MemInline="false" xdb:SQLInline="true" xdb:JavaInline="false" xdb:SQLCollType="TIME296_COLL" xdb:SQLCollSchema="ORDSYS"/>
      <xs:element name="UNIQUE_ID" type="UI_ATTR_T" nillable="true" xdb:propNumber="2864" xdb:global="false" xdb:SQLName="UNIQUE_ID" xdb:SQLType="UI_ATTR_T245_T" xdb:SQLSchema="ORDSYS" xdb:memType="258" xdb:MemInline="false" xdb:SQLInline="true" xdb:JavaInline="false" xdb:SQLCollType="UNIQUE_ID297_COLL" xdb:SQLCollSchema="ORDSYS"/>
      <xs:element name="UNSIGNED_LONG" type="UL_ATTR_T" nillable="true" xdb:propNumber="2865" xdb:global="false" xdb:SQLName="UNSIGNED_LONG" xdb:SQLType="UL_ATTR_T244_T" xdb:SQLSchema="ORDSYS" xdb:memType="258" xdb:MemInline="false" xdb:SQLInline="true" xdb:JavaInline="false" xdb:SQLCollType="UNSIGNED_LONG298_COLL" xdb:SQLCollSchema="ORDSYS"/>
      <xs:element name="UNKNOWN" type="UN_ATTR_T" nillable="true" xdb:propNumber="2866" xdb:global="false" xdb:SQLName="UNKNOWN" xdb:SQLType="UN_ATTR_T242_T" xdb:SQLSchema="ORDSYS" xdb:memType="258" xdb:MemInline="false" xdb:SQLInline="true" xdb:JavaInline="false" xdb:SQLCollType="UNKNOWN299_COLL" xdb:SQLCollSchema="ORDSYS"/>
      <xs:element name="UNSIGNED_SHORT" type="US_ATTR_T" nillable="true" xdb:propNumber="2867" xdb:global="false" xdb:SQLName="UNSIGNED_SHORT" xdb:SQLType="US_ATTR_T241_T" xdb:SQLSchema="ORDSYS" xdb:memType="258" xdb:MemInline="false" xdb:SQLInline="true" xdb:JavaInline="false" xdb:SQLCollType="UNSIGNED_SHORT300_COLL" xdb:SQLCollSchema="ORDSYS"/>
      <xs:element name="UNLIMITED_TEXT" type="UT_ATTR_T" nillable="true" xdb:propNumber="2868" xdb:global="false" xdb:SQLName="UNLIMITED_TEXT" xdb:SQLType="UT_ATTR_T240_T" xdb:SQLSchema="ORDSYS" xdb:memType="258" xdb:MemInline="false" xdb:SQLInline="true" xdb:JavaInline="false" xdb:SQLCollType="UNLIMITED_TEXT301_COLL" xdb:SQLCollSchema="ORDSYS"/>
      <xs:element name="EXTENDED_TYPE" type="EXT_ATTR_T" nillable="true" xdb:propNumber="2869" xdb:global="false" xdb:SQLName="EXTENDED_TYPE" xdb:SQLType="EXT_ATTR_T238_T" xdb:SQLSchema="ORDSYS" xdb:memType="258" xdb:MemInline="false" xdb:SQLInline="true" xdb:JavaInline="false" xdb:SQLCollType="EXTENDED_TYPE302_COLL" xdb:SQLCollSchema="ORDSYS"/>
      <xs:element name="EXCEPTION_TYPE" type="EXP_ATTR_T" nillable="true" xdb:propNumber="2870" xdb:global="false" xdb:SQLName="EXCEPTION_TYPE" xdb:SQLType="EXP_ATTR_T237_T" xdb:SQLSchema="ORDSYS" xdb:memType="258" xdb:MemInline="false" xdb:SQLInline="true" xdb:JavaInline="false" xdb:SQLCollType="EXCEPTION_TYPE303_COLL" xdb:SQLCollSchema="ORDSYS"/>
    </xs:choice>
    <xs:attribute name="number" type="xs:long" use="optional" default="1" xdb:propNumber="2841" xdb:global="false" xdb:SQLName="number" xdb:SQLType="NUMBER" xdb:memType="3" xdb:memByteLength="8"/>
  </xs:complexType>
  <xs:complexType name="ATTR_VALUE_T" xdb:SQLType="ATTR_VALUE_T305_T" xdb:SQLSchema="ORDSYS">
    <xs:annotation>
      <xs:documentation>        Attribute value type (ATTR_VALUE_T) maps to a single DICOM        attribute value. Each type of attribute has a name that reflects        the DICOM value representation of the attribute.        Each attribute is strongly typed, and its type matches its DICOM        VR. Certain DICOM configuration files, such as constraint         documents, use ATTR_VALUE_T.      </xs:documentation>
    </xs:annotation>
    <xs:choice>
      <xs:element name="APPLICATION_ENTITY" type="AE" xdb:propNumber="2871" xdb:global="false" xdb:SQLName="APPLICATION_ENTITY" xdb:SQLType="VARCHAR2" xdb:memType="1" xdb:MemInline="true" xdb:SQLInline="true" xdb:JavaInline="true"/>
      <xs:element name="AGE_STRING" type="AS" xdb:propNumber="2872" xdb:global="false" xdb:SQLName="AGE_STRING" xdb:SQLType="AS255_T" xdb:SQLSchema="ORDSYS" xdb:memType="258" xdb:MemInline="false" xdb:SQLInline="true" xdb:JavaInline="false"/>
      <xs:element name="ATTRIBUTE_TAG" type="AT" xdb:propNumber="2873" xdb:global="false" xdb:SQLName="ATTRIBUTE_TAG" xdb:SQLType="RAW" xdb:memType="23" xdb:MemInline="true" xdb:SQLInline="true" xdb:JavaInline="true"/>
      <xs:element name="CODE_STRING" type="CS" xdb:propNumber="2874" xdb:global="false" xdb:SQLName="CODE_STRING" xdb:SQLType="VARCHAR2" xdb:memType="1" xdb:MemInline="true" xdb:SQLInline="true" xdb:JavaInline="true"/>
      <xs:element name="DATE" type="DA" xdb:propNumber="2875" xdb:global="false" xdb:SQLName="DATE306" xdb:SQLType="DATE" xdb:memType="12" xdb:MemInline="true" xdb:SQLInline="true" xdb:JavaInline="true"/>
      <xs:element name="DATE_TIME" type="DT" xdb:propNumber="2876" xdb:global="false" xdb:SQLName="DATE_TIME" xdb:SQLType="TIMESTAMP" xdb:memType="180" xdb:MemInline="true" xdb:SQLInline="true" xdb:JavaInline="true"/>
      <xs:element name="DECIMAL_STRING" type="DS" xdb:propNumber="2877" xdb:global="false" xdb:SQLName="DECIMAL_STRING" xdb:SQLType="NUMBER" xdb:memType="2" xdb:MemInline="true" xdb:SQLInline="true" xdb:JavaInline="true"/>
      <xs:element name="FLOAT_SINGLE" type="FL" xdb:propNumber="2878" xdb:global="false" xdb:SQLName="FLOAT_SINGLE" xdb:SQLType="NUMBER" xdb:memType="2" xdb:MemInline="true" xdb:SQLInline="true" xdb:JavaInline="true"/>
      <xs:element name="FLOAT_DOUBLE" type="FD" xdb:propNumber="2879" xdb:global="false" xdb:SQLName="FLOAT_DOUBLE" xdb:SQLType="NUMBER" xdb:memType="2" xdb:MemInline="true" xdb:SQLInline="true" xdb:JavaInline="true"/>
      <xs:element name="INTEGER_STRING" type="IS" xdb:propNumber="2880" xdb:global="false" xdb:SQLName="INTEGER_STRING" xdb:SQLType="NUMBER" xdb:memType="2" xdb:MemInline="true" xdb:SQLInline="true" xdb:JavaInline="true"/>
      <xs:element name="LONG_STRING" type="LO" xdb:propNumber="2881" xdb:global="false" xdb:SQLName="LONG_STRING" xdb:SQLType="VARCHAR2" xdb:memType="1" xdb:MemInline="true" xdb:SQLInline="true" xdb:JavaInline="true"/>
      <xs:element name="LONG_TEXT" type="LT" xdb:propNumber="2882" xdb:global="false" xdb:SQLName="LONG_TEXT" xdb:SQLType="VARCHAR2" xdb:memType="1" xdb:MemInline="true" xdb:SQLInline="true" xdb:JavaInline="true"/>
      <xs:element name="OTHER_BYTE" type="OB" xdb:propNumber="2883" xdb:global="false" xdb:SQLName="OTHER_BYTE" xdb:SQLType="RAW" xdb:memType="23" xdb:MemInline="true" xdb:SQLInline="true" xdb:JavaInline="true"/>
      <xs:element name="OTHER_FLOAT" type="OF" xdb:propNumber="2884" xdb:global="false" xdb:SQLName="OTHER_FLOAT" xdb:SQLType="NUMBER" xdb:memType="2" xdb:MemInline="true" xdb:SQLInline="true" xdb:JavaInline="true"/>
      <xs:element name="OTHER_WORD" type="OW" xdb:propNumber="2885" xdb:global="false" xdb:SQLName="OTHER_WORD" xdb:SQLType="OW283_T" xdb:SQLSchema="ORDSYS" xdb:memType="258" xdb:MemInline="false" xdb:SQLInline="true" xdb:JavaInline="false"/>
      <xs:element name="PERSON_NAME" type="PN" xdb:propNumber="2886" xdb:global="false" xdb:SQLName="PERSON_NAME" xdb:SQLType="PN286_T" xdb:SQLSchema="ORDSYS" xdb:memType="258" xdb:MemInline="false" xdb:SQLInline="true" xdb:JavaInline="false"/>
      <xs:element name="SHORT_STRING" type="SH" xdb:propNumber="2887" xdb:global="false" xdb:SQLName="SHORT_STRING" xdb:SQLType="VARCHAR2" xdb:memType="1" xdb:MemInline="true" xdb:SQLInline="true" xdb:JavaInline="true"/>
      <xs:element name="SIGNED_LONG" type="SL" xdb:propNumber="2888" xdb:global="false" xdb:SQLName="SIGNED_LONG" xdb:SQLType="NUMBER" xdb:memType="2" xdb:MemInline="true" xdb:SQLInline="true" xdb:JavaInline="true"/>
      <xs:element name="SEQUENCE" type="SQ" xdb:propNumber="2889" xdb:global="false" xdb:SQLName="SEQUENCE" xdb:SQLType="SQ250_T" xdb:SQLSchema="ORDSYS" xdb:memType="258" xdb:MemInline="false" xdb:SQLInline="true" xdb:JavaInline="false"/>
      <xs:element name="SIGNED_SHORT" type="SS" xdb:propNumber="2890" xdb:global="false" xdb:SQLName="SIGNED_SHORT" xdb:SQLType="NUMBER" xdb:memType="2" xdb:MemInline="true" xdb:SQLInline="true" xdb:JavaInline="true"/>
      <xs:element name="SHORT_TEXT" type="ST" xdb:propNumber="2891" xdb:global="false" xdb:SQLName="SHORT_TEXT" xdb:SQLType="VARCHAR2" xdb:memType="1" xdb:MemInline="true" xdb:SQLInline="true" xdb:JavaInline="true"/>
      <xs:element name="TIME" type="TM" xdb:propNumber="2892" xdb:global="false" xdb:SQLName="TIME" xdb:SQLType="TIMESTAMP" xdb:memType="180" xdb:MemInline="true" xdb:SQLInline="true" xdb:JavaInline="true"/>
      <xs:element name="UNIQUE_ID" type="UI" xdb:propNumber="2893" xdb:global="false" xdb:SQLName="UNIQUE_ID" xdb:SQLType="VARCHAR2" xdb:memType="1" xdb:MemInline="true" xdb:SQLInline="true" xdb:JavaInline="true"/>
      <xs:element name="UNSIGNED_LONG" type="UL" xdb:propNumber="2894" xdb:global="false" xdb:SQLName="UNSIGNED_LONG" xdb:SQLType="NUMBER" xdb:memType="68" xdb:memByteLength="4" xdb:MemInline="true" xdb:SQLInline="true" xdb:JavaInline="true"/>
      <xs:element name="UNKNOWN" type="UN" xdb:propNumber="2895" xdb:global="false" xdb:SQLName="UNKNOWN" xdb:SQLType="UN243_T" xdb:SQLSchema="ORDSYS" xdb:memType="258" xdb:MemInline="false" xdb:SQLInline="true" xdb:JavaInline="false"/>
      <xs:element name="UNSIGNED_SHORT" type="US" xdb:propNumber="2896" xdb:global="false" xdb:SQLName="UNSIGNED_SHORT" xdb:SQLType="NUMBER" xdb:memType="68" xdb:memByteLength="2" xdb:MemInline="true" xdb:SQLInline="true" xdb:JavaInline="true"/>
      <xs:element name="UNLIMITED_TEXT" type="UT" xdb:propNumber="2897" xdb:global="false" xdb:SQLName="UNLIMITED_TEXT" xdb:SQLType="VARCHAR2" xdb:memType="1" xdb:MemInline="true" xdb:SQLInline="true" xdb:JavaInline="true"/>
      <xs:element name="EXTENDED_TYPE" type="EXT" xdb:propNumber="2898" xdb:global="false" xdb:SQLName="EXTENDED_TYPE" xdb:SQLType="EXT239_T" xdb:SQLSchema="ORDSYS" xdb:memType="258" xdb:MemInline="false" xdb:SQLInline="true" xdb:JavaInline="false"/>
      <xs:element name="EXCEPTION_TYPE" type="EXP" xdb:propNumber="2899" xdb:global="false" xdb:SQLName="EXCEPTION_TYPE" xdb:SQLType="RAW" xdb:memType="23" xdb:MemInline="true" xdb:SQLInline="true" xdb:JavaInline="true"/>
    </xs:choice>
  </xs:complexType>
  <xs:attributeGroup name="ATTR_GRP_T">
    <xs:annotation>
      <xs:documentation>        Attribute group type (ATTR_GRP_T) is used by all DICOM attribute         definitions. It defines XML attributes that are used by all DICOM        attribute types.        The &quot;tag&quot; attribute defines DICOM attributes in little-endian encoding.        The &quot;definer&quot; attribute specifies the organization that has        created the attribute. By default, all DICOM standard         attributes have the definer name &quot;DICOM&quot;.        The &quot;name&quot; attribute specifies the canonical attribute name        as defined by the data dictionary. For example, in         an XML metadata schema definition, you can choose a tag        PATIENT_DATE_OF_BIRTH or &quot;DOB&quot; for DICOM attribute         (0010,0030), but its name attribute should match that of the        DICOM standard: &quot;Patient&apos;s Birth Date&quot;.        The &quot;number&quot; attribute is an optional attribute to indicate the        ordering of a multivalued attributes.  Number counts from 1 up.        The &quot;truncated&quot; attribute takes a Boolean value. If it is true,        it indicates that the original length of the DICOM attribute        exceeds the maximum length allowed for this XML value;therefore,        it is truncated in XML. When this attribute is true,         xsi:nill=&quot;true&quot; for this attribute.        Optionally, the &quot;rawValue&quot; attribute can be used to store         values that do not conform to the DICOM standard.   The         associated attribute &quot;byteOrderLE&quot; specifies the byte order        of the byte stream for the &quot;rawValue&quot; attribute.        &quot;offset&quot; and &quot;length&quot; are Oracle-reserved attributes.      </xs:documentation>
    </xs:annotation>
    <xs:attribute name="tag" type="AT" use="required" xdb:propNumber="2913" xdb:global="false" xdb:SQLName="tag" xdb:SQLType="RAW" xdb:memType="23"/>
    <xs:attribute name="definer" type="LO" default="DICOM" xdb:propNumber="2914" xdb:global="false" xdb:SQLName="definer" xdb:SQLType="VARCHAR2" xdb:memType="1"/>
    <xs:attribute name="name" type="SHORT_STRING_T" xdb:propNumber="2915" xdb:global="false" xdb:SQLName="name" xdb:SQLType="VARCHAR2" xdb:memType="1"/>
    <xs:attribute name="number" type="xs:long" use="optional" default="1" xdb:propNumber="2916" xdb:global="false" xdb:SQLName="number" xdb:SQLType="NUMBER" xdb:memType="3" xdb:memByteLength="8"/>
    <xs:attribute name="offset" type="xs:long" xdb:propNumber="2917" xdb:global="false" xdb:SQLName="offset" xdb:SQLType="NUMBER" xdb:memType="3" xdb:memByteLength="8"/>
    <xs:attribute name="length" type="xs:long" xdb:propNumber="2918" xdb:global="false" xdb:SQLName="length" xdb:SQLType="NUMBER" xdb:memType="3" xdb:memByteLength="8"/>
    <xs:attribute name="truncated" type="xs:boolean" default="false" xdb:propNumber="2919" xdb:global="false" xdb:SQLName="truncated" xdb:SQLType="RAW" xdb:memType="252"/>
    <xs:attribute name="rawValue" type="xs:base64Binary" xdb:propNumber="2920" xdb:global="false" xdb:SQLName="rawValue" xdb:SQLType="RAW" xdb:memType="23"/>
    <xs:attribute name="byteOrderLE" type="xs:boolean" default="true" xdb:propNumber="2921" xdb:global="false" xdb:SQLName="byteOrderLE" xdb:SQLType="RAW" xdb:memType="252"/>
  </xs:attributeGroup>
  <xs:complexType name="AE_ATTR_T" xdb:SQLType="AE_ATTR_T252_T" xdb:SQLSchema="ORDSYS">
    <xs:simpleContent>
      <xs:extension base="AE">
        <xs:attributeGroup ref="ATTR_GRP_T"/>
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>
  <xs:complexType name="AS_ATTR_T" xdb:SQLType="AS_ATTR_T254_T" xdb:SQLSchema="ORDSYS">
    <xs:complexContent>
      <xs:extension base="AS">
        <xs:attributeGroup ref="ATTR_GRP_T"/>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:complexType name="AT_ATTR_T" xdb:SQLType="AT_ATTR_T257_T" xdb:SQLSchema="ORDSYS">
    <xs:simpleContent>
      <xs:extension base="AT">
        <xs:attributeGroup ref="ATTR_GRP_T"/>
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>
  <xs:complexType name="CS_ATTR_T" xdb:SQLType="CS_ATTR_T259_T" xdb:SQLSchema="ORDSYS">
    <xs:simpleContent>
      <xs:extension base="CS">
        <xs:attributeGroup ref="ATTR_GRP_T"/>
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>
  <xs:complexType name="DA_ATTR_T" xdb:SQLType="DA_ATTR_T262_T" xdb:SQLSchema="ORDSYS">
    <xs:simpleContent>
      <xs:extension base="DA">
        <xs:attributeGroup ref="ATTR_GRP_T"/>
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>
  <xs:complexType name="DS_ATTR_T" xdb:SQLType="DS_ATTR_T266_T" xdb:SQLSchema="ORDSYS">
    <xs:simpleContent>
      <xs:extension base="DS">
        <xs:attributeGroup ref="ATTR_GRP_T"/>
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>
  <xs:complexType name="DT_ATTR_T" xdb:SQLType="DT_ATTR_T264_T" xdb:SQLSchema="ORDSYS">
    <xs:simpleContent>
      <xs:extension base="DT">
        <xs:attributeGroup ref="ATTR_GRP_T"/>
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>
  <xs:complexType name="FD_ATTR_T" xdb:SQLType="FD_ATTR_T270_T" xdb:SQLSchema="ORDSYS">
    <xs:simpleContent>
      <xs:extension base="FD">
        <xs:attributeGroup ref="ATTR_GRP_T"/>
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>
  <xs:complexType name="FL_ATTR_T" xdb:SQLType="FL_ATTR_T268_T" xdb:SQLSchema="ORDSYS">
    <xs:simpleContent>
      <xs:extension base="FL">
        <xs:attributeGroup ref="ATTR_GRP_T"/>
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>
  <xs:complexType name="IS_ATTR_T" xdb:SQLType="IS_ATTR_T272_T" xdb:SQLSchema="ORDSYS">
    <xs:simpleContent>
      <xs:extension base="IS">
        <xs:attributeGroup ref="ATTR_GRP_T"/>
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>
  <xs:complexType name="LO_ATTR_T" xdb:SQLType="LO_ATTR_T274_T" xdb:SQLSchema="ORDSYS">
    <xs:simpleContent>
      <xs:extension base="LO">
        <xs:attributeGroup ref="ATTR_GRP_T"/>
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>
  <xs:complexType name="LT_ATTR_T" xdb:SQLType="LT_ATTR_T276_T" xdb:SQLSchema="ORDSYS">
    <xs:simpleContent>
      <xs:extension base="LT">
        <xs:attributeGroup ref="ATTR_GRP_T"/>
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>
  <xs:complexType name="OB_ATTR_T" xdb:SQLType="OB_ATTR_T278_T" xdb:SQLSchema="ORDSYS">
    <xs:simpleContent>
      <xs:extension base="OB">
        <xs:attributeGroup ref="ATTR_GRP_T"/>
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>
  <xs:complexType name="OF_ATTR_T" xdb:SQLType="OF_ATTR_T280_T" xdb:SQLSchema="ORDSYS">
    <xs:simpleContent>
      <xs:extension base="OF">
        <xs:attributeGroup ref="ATTR_GRP_T"/>
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>
  <xs:complexType name="OW_ATTR_T" xdb:SQLType="OW_ATTR_T282_T" xdb:SQLSchema="ORDSYS">
    <xs:simpleContent>
      <xs:extension base="OW">
        <xs:attributeGroup ref="ATTR_GRP_T"/>
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>
  <xs:complexType name="PN_ATTR_T" xdb:SQLType="PN_ATTR_T285_T" xdb:SQLSchema="ORDSYS">
    <xs:complexContent>
      <xs:extension base="PN">
        <xs:attributeGroup ref="ATTR_GRP_T"/>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:complexType name="SH_ATTR_T" xdb:SQLType="SH_ATTR_T290_T" xdb:SQLSchema="ORDSYS">
    <xs:simpleContent>
      <xs:extension base="SH">
        <xs:attributeGroup ref="ATTR_GRP_T"/>
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>
  <xs:complexType name="SL_ATTR_T" xdb:SQLType="SL_ATTR_T292_T" xdb:SQLSchema="ORDSYS">
    <xs:simpleContent>
      <xs:extension base="SL">
        <xs:attributeGroup ref="ATTR_GRP_T"/>
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>
  <xs:complexType name="SQ_ATTR_T" xdb:SQLType="SQ_ATTR_T249_T" xdb:SQLSchema="ORDSYS">
    <xs:complexContent>
      <xs:extension base="SQ">
        <xs:attributeGroup ref="ATTR_GRP_T"/>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:complexType name="SS_ATTR_T" xdb:SQLType="SS_ATTR_T248_T" xdb:SQLSchema="ORDSYS">
    <xs:simpleContent>
      <xs:extension base="SS">
        <xs:attributeGroup ref="ATTR_GRP_T"/>
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>
  <xs:complexType name="ST_ATTR_T" xdb:SQLType="ST_ATTR_T247_T" xdb:SQLSchema="ORDSYS">
    <xs:simpleContent>
      <xs:extension base="ST">
        <xs:attributeGroup ref="ATTR_GRP_T"/>
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>
  <xs:complexType name="TM_ATTR_T" xdb:SQLType="TM_ATTR_T246_T" xdb:SQLSchema="ORDSYS">
    <xs:simpleContent>
      <xs:extension base="TM">
        <xs:attributeGroup ref="ATTR_GRP_T"/>
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>
  <xs:complexType name="UI_ATTR_T" xdb:SQLType="UI_ATTR_T245_T" xdb:SQLSchema="ORDSYS">
    <xs:simpleContent>
      <xs:extension base="UI">
        <xs:attributeGroup ref="ATTR_GRP_T"/>
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>
  <xs:complexType name="UL_ATTR_T" xdb:SQLType="UL_ATTR_T244_T" xdb:SQLSchema="ORDSYS">
    <xs:simpleContent>
      <xs:extension base="UL">
        <xs:attributeGroup ref="ATTR_GRP_T"/>
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>
  <xs:complexType name="UN_ATTR_T" xdb:SQLType="UN_ATTR_T242_T" xdb:SQLSchema="ORDSYS">
    <xs:simpleContent>
      <xs:extension base="UN">
        <xs:attributeGroup ref="ATTR_GRP_T"/>
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>
  <xs:complexType name="US_ATTR_T" xdb:SQLType="US_ATTR_T241_T" xdb:SQLSchema="ORDSYS">
    <xs:simpleContent>
      <xs:extension base="US">
        <xs:attributeGroup ref="ATTR_GRP_T"/>
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>
  <xs:complexType name="UT_ATTR_T" xdb:SQLType="UT_ATTR_T240_T" xdb:SQLSchema="ORDSYS">
    <xs:simpleContent>
      <xs:extension base="UT">
        <xs:attributeGroup ref="ATTR_GRP_T"/>
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>
  <xs:complexType name="EXT_ATTR_T" xdb:SQLType="EXT_ATTR_T238_T" xdb:SQLSchema="ORDSYS">
    <xs:annotation>
      <xs:documentation>        This attribute is useful for representing attributes whose        VR types are not supported natively by Oracle.      </xs:documentation>
    </xs:annotation>
    <xs:complexContent>
      <xs:extension base="EXT">
        <xs:attributeGroup ref="ATTR_GRP_T"/>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:complexType name="EXP_ATTR_T" xdb:SQLType="EXP_ATTR_T237_T" xdb:SQLSchema="ORDSYS">
    <xs:annotation>
      <xs:documentation>        This attribute type is useful for representing attributes that        are present in a DICOM object, but whose definition cannot        be found in the data dictionary. Such        attributes cannot be parsed or interpreted.      </xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="EXP">
        <xs:attributeGroup ref="ATTR_GRP_T"/>
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>
  <xs:complexType name="DOCUMENT_HEADER_T" xdb:SQLType="DOCUMENT_HEADER_T234_T" xdb:SQLSchema="ORDSYS">
    <xs:annotation>
      <xs:documentation>         Each time the XML configuration document is modified,          a new element, DOCUMENT_CHANGE_LOG, is          added to the DOCUMENT_HEADER.         The change log describes who made what type of change to the          XML document on which date. It also describes what DICOM         standard document the modification is based upon, either         a DICOM change proposal (CP) or a DICOM supplement.                   DOCUMENT_MODIFIER identifies the modifier of the present          XML document. If it is generated by software, specify the name          and version of the software.         DOCUMENT_MODIFICATION_DATE specifies the date when         this XML document is modified.         DOCUMENT_VERSION specifies the version of the document after          the modification.         MODIFICATION_COMMENT briefly describes the modification.         BASE_DOCUMENT describes the document or DICOM standard         that the modification is based upon.         BASE_DOCUMENT_RELEASE_DATE specifies the release date of          the base document.         BASE_DOCUMENT_DESCRIPTION briefly describes the base         document.      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="DOCUMENT_CHANGE_LOG" maxOccurs="unbounded" xdb:propNumber="2907" xdb:global="false" xdb:SQLName="DOCUMENT_CHANGE_LOG" xdb:SQLType="DOCUMENT_CHANGE_LOG235_T" xdb:SQLSchema="ORDSYS" xdb:memType="258" xdb:MemInline="false" xdb:SQLInline="true" xdb:JavaInline="false" xdb:SQLCollType="DOCUMENT_CHANGE_LOG236_COLL" xdb:SQLCollSchema="ORDSYS">
        <xs:complexType xdb:SQLType="DOCUMENT_CHANGE_LOG235_T" xdb:SQLSchema="ORDSYS">
          <xs:sequence>
            <xs:element name="DOCUMENT_MODIFIER" type="SHORT_STRING_T" xdb:propNumber="2900" xdb:global="false" xdb:SQLName="DOCUMENT_MODIFIER" xdb:SQLType="VARCHAR2" xdb:memType="1" xdb:MemInline="true" xdb:SQLInline="true" xdb:JavaInline="true"/>
            <xs:element name="DOCUMENT_MODIFICATION_DATE" type="SHORT_STRING_T" xdb:propNumber="2901" xdb:global="false" xdb:SQLName="DOCUMENT_MODIFICATION_DATE" xdb:SQLType="VARCHAR2" xdb:memType="1" xdb:MemInline="true" xdb:SQLInline="true" xdb:JavaInline="true"/>
            <xs:element name="DOCUMENT_VERSION" type="SHORT_STRING_T" minOccurs="0" xdb:propNumber="2902" xdb:global="false" xdb:SQLName="DOCUMENT_VERSION" xdb:SQLType="VARCHAR2" xdb:memType="1" xdb:MemInline="true" xdb:SQLInline="true" xdb:JavaInline="true"/>
            <xs:element name="MODIFICATION_COMMENT" type="SHORT_TEXT_T" minOccurs="0" xdb:propNumber="2903" xdb:global="false" xdb:SQLName="MODIFICATION_COMMENT" xdb:SQLType="VARCHAR2" xdb:memType="1" xdb:MemInline="true" xdb:SQLInline="true" xdb:JavaInline="true"/>
            <xs:element name="BASE_DOCUMENT" type="SHORT_STRING_T" minOccurs="0" xdb:propNumber="2904" xdb:global="false" xdb:SQLName="BASE_DOCUMENT" xdb:SQLType="VARCHAR2" xdb:memType="1" xdb:MemInline="true" xdb:SQLInline="true" xdb:JavaInline="true"/>
            <xs:element name="BASE_DOCUMENT_RELEASE_DATE" type="xs:date" minOccurs="0" xdb:propNumber="2905" xdb:global="false" xdb:SQLName="BASE_DOCUMENT_RELEASE_DATE" xdb:SQLType="DATE" xdb:memType="12" xdb:MemInline="true" xdb:SQLInline="true" xdb:JavaInline="true"/>
            <xs:element name="BASE_DOCUMENT_DESCRIPTION" type="SHORT_TEXT_T" minOccurs="0" xdb:propNumber="2906" xdb:global="false" xdb:SQLName="BASE_DOCUMENT_DESCRIPTION" xdb:SQLType="VARCHAR2" xdb:memType="1" xdb:MemInline="true" xdb:SQLInline="true" xdb:JavaInline="true"/>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="ATTR_DEFINERS_T" xdb:SQLType="ATTR_DEFINERS_T229_T" xdb:SQLSchema="ORDSYS">
    <xs:annotation>
      <xs:documentation>        Attribute definer is identified by its name and UID.          In Oracle&apos;s implementation, the DICOM standard is given the        definer name &quot;DICOM&quot; and the UID &quot;1.2.840.10008.1&quot;.          All DICOM standard attributes are given the definer name &quot;DICOM&quot;.        Users can introduce private attributes of their own and encode them        in an XML document. These private attributes are identified        with the definer&apos;s name and UID. Oracle recommends that all DICOM         private attributes be associated with a UID-qualified name.      </xs:documentation>
    </xs:annotation>
    <xs:sequence maxOccurs="unbounded">
      <xs:element name="ATTR_DEFINER" xdb:propNumber="2910" xdb:global="false" xdb:SQLName="ATTR_DEFINER" xdb:SQLType="ATTR_DEFINER230_T" xdb:SQLSchema="ORDSYS" xdb:memType="258" xdb:MemInline="false" xdb:SQLInline="true" xdb:JavaInline="false" xdb:SQLCollType="ATTR_DEFINER233_COLL" xdb:SQLCollSchema="ORDSYS">
        <xs:complexType xdb:SQLType="ATTR_DEFINER230_T" xdb:SQLSchema="ORDSYS">
          <xs:sequence>
            <xs:element name="NAME" type="LO" maxOccurs="unbounded" xdb:propNumber="2908" xdb:global="false" xdb:SQLName="NAME" xdb:SQLType="VARCHAR2" xdb:memType="1" xdb:MemInline="true" xdb:SQLInline="true" xdb:JavaInline="true" xdb:SQLCollType="NAME231_COLL" xdb:SQLCollSchema="ORDSYS"/>
            <xs:element name="UID" type="UI" minOccurs="0" xdb:propNumber="2909" xdb:global="false" xdb:SQLName="UID232" xdb:SQLType="VARCHAR2" xdb:memType="1" xdb:MemInline="true" xdb:SQLInline="true" xdb:JavaInline="true"/>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <!-- Attribute Tag (allowing x wildcard)-->
  <xs:simpleType name="ATTR_TAG_T">
    <xs:annotation>
      <xs:documentation>         The attribute tag type differs from DICOM VR         type AT in that it allows the wildcard character &apos;x&apos;.      </xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:pattern value="([0-9a-fA-FxX]{8})"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:complexType name="ATTR_RANGE_T" xdb:SQLType="ATTR_RANGE_T228_T" xdb:SQLSchema="ORDSYS">
    <xs:annotation>
      <xs:documentation>        The attribute range type defines a range of DICOM attributes.         This data type is used in private attribute definitions.        Certain private attributes accept a range of attribute tags.      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="STARTING_TAG" type="ATTR_TAG_T" xdb:propNumber="2911" xdb:global="false" xdb:SQLName="STARTING_TAG" xdb:SQLType="VARCHAR2" xdb:memType="1" xdb:MemInline="true" xdb:SQLInline="true" xdb:JavaInline="true"/>
      <xs:element name="ENDING_TAG" type="ATTR_TAG_T" xdb:propNumber="2912" xdb:global="false" xdb:SQLName="ENDING_TAG" xdb:SQLType="VARCHAR2" xdb:memType="1" xdb:MemInline="true" xdb:SQLInline="true" xdb:JavaInline="true"/>
    </xs:sequence>
  </xs:complexType>
  <xs:simpleType name="VALUE_LOCATOR_T">
    <xs:annotation>
      <xs:documentation>        The DICOM value locator type identifies a particular        DICOM attribute by &quot;xxxxxxxx(definer)&quot;, where         &quot;xxxxxxxx&quot; is the attribute tag and &quot;definer&quot; is the        attribute definer, which can be the DICOM standard        (DICOM) or other private sources.         A locator path can also identify a particular         descendent of a container type attribute (SQ).        The n-th item of a sequence attribute is denoted by        &quot;xxxxxxxxx(definer)[n]&quot;.            By default, the definer suffix &quot;(definer)&quot; can be         omitted if the attribute is a DICOM standard tag.          The index &quot;n&quot; of an item address &quot;[n]&quot; must be a         positive integer. The item address suffix can be         omitted if the item it pointed to is the first item         of a sequence.         For example, 00080096.00401101.00080100 is the code         that identifies the first referring physician. The         above value locator is equivalent to:          00080096(DICOM)[1].00401101(DICOM)[1].00080100(DICOM)      </xs:documentation>
    </xs:annotation>
    <xs:restriction base="VALUE_LOCATOR_MACRO_T"/>
  </xs:simpleType>
  <xs:simpleType name="VALUE_LOCATOR_MACRO_T">
    <xs:annotation>
      <xs:documentation>        VALUE_LOCATOR_MACRO_T is similar to the value locator        type, except that it permits the use of a macro within        the locator string.        So, the macro locator string can be:          ${TAG}(DICOM)[2].00080100        This string indicates the code value (0008,0100) of the second         item of a sequence attribute identified by ${TAG}.        The macro parameter TAG can be replaced by a         compatible attribute tag (code sequence attribute)        later.      </xs:documentation>
    </xs:annotation>
    <xs:restriction base="SHORT_TEXT_T"/>
  </xs:simpleType>
  <xs:simpleType name="VM_T">
    <xs:annotation>
      <xs:documentation>        DICOM value multiplicity (VM) specification.         This type is used in DICOM dictionary documents.         Patterns of valid specifications are:        &quot;k&quot;, &quot;k-j&quot;, &quot;k-n&quot;, &quot;n&quot;, &quot;k-kn&quot;.        In these patterns, k and j are integers, k is less         than j, and n is the letter n.      </xs:documentation>
    </xs:annotation>
    <xs:restriction base="SHORT_STRING_T">
      <xs:pattern value="(([0-9]+)-)?(([0-9]*n|([0-9]+)))"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="VR_T">
    <xs:annotation>
      <xs:documentation>        DICOM value representation types.        In the DICOM standard, VR for certain attributes         is defined as &quot;other word or byte&quot;, &quot;US or SS&quot;, or        &quot;See Note&quot;. Oracle has extended the list of VR types and         introduced OWB (for &quot;other word or byte&quot;),         USS (for &quot;US or SS&quot;), and         EXP (where VR definition does not apply).        When an attribute of USS type is encoded into XML, it is        automatically encoded as a signed short type.        When an attribute of OWB type is encoded into XML, it is        automatically encoded into other word type.        An example of an attribute with VR type of EXP is        the sequence item (FFFE, E000).        For compatibility with future DICOM releases, if a new         DICOM VR is introduced by the DICOM standard,         users can mark such attributes as type &quot;EXT??&quot;,         where &quot;??&quot; should be replaced by the new VR name.      </xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:pattern value="AE"/>
      <xs:pattern value="AS"/>
      <xs:pattern value="AT"/>
      <xs:pattern value="CS"/>
      <xs:pattern value="DA"/>
      <xs:pattern value="DS"/>
      <xs:pattern value="DT"/>
      <xs:pattern value="FL"/>
      <xs:pattern value="FD"/>
      <xs:pattern value="IS"/>
      <xs:pattern value="LO"/>
      <xs:pattern value="LT"/>
      <xs:pattern value="OB"/>
      <xs:pattern value="OF"/>
      <xs:pattern value="OW"/>
      <xs:pattern value="PN"/>
      <xs:pattern value="SH"/>
      <xs:pattern value="SL"/>
      <xs:pattern value="SQ"/>
      <xs:pattern value="SS"/>
      <xs:pattern value="ST"/>
      <xs:pattern value="TM"/>
      <xs:pattern value="UI"/>
      <xs:pattern value="UL"/>
      <xs:pattern value="UN"/>
      <xs:pattern value="US"/>
      <xs:pattern value="UT"/>
      <xs:pattern value="USS"/>
      <xs:pattern value="OWB"/>
      <xs:pattern value="EXP"/>
      <xs:pattern value="EXT[A-Z]{2}"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="SHORT_TEXT_T">
    <xs:restriction base="xs:token">
      <xs:maxLength value="1999"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:complexType name="MIXED_TEXT_T" mixed="true" xdb:SQLType="MIXED_TEXT_T227_T" xdb:SQLSchema="ORDSYS">
    <xs:complexContent mixed="true">
      <xs:extension base="xs:anyType"/>
    </xs:complexContent>
  </xs:complexType>
  <xs:simpleType name="SHORT_STRING_T">
    <xs:restriction base="xs:token">
      <xs:maxLength value="128"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="SHORT_NAME_T">
    <xs:restriction base="xs:NCName">
      <xs:maxLength value="128"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="SHORT_ID_T">
    <xs:restriction base="xs:ID">
      <xs:maxLength value="64"/>
      <xs:pattern value="[^\.]+"/>
    </xs:restriction>
  </xs:simpleType>
</xs:schema>
