<?xml version="1.0" encoding="WINDOWS-1252"?>
<!-- Copyright (c) 2007, Oracle. All rights reserved.     NAME     ordcmpv.xsd - XML schema for DICOM private dictionary documents   MODIFIED   (MM/DD/YY)   myalavar    06/06/07 - review comments   myalavar    04/10/07 - doc comments   myalavar    04/09/07 - add major_minor version   dguo        04/03/05 - Created-->
<xs:schema xmlns="http://xmlns.oracle.com/ord/dicom/privateDictionary_1_0" xmlns:dt="http://xmlns.oracle.com/ord/dicom/datatype_1_0" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://xmlns.oracle.com/ord/dicom/privateDictionary_1_0" elementFormDefault="qualified" attributeFormDefault="unqualified" xmlns:oraxdb="http://xmlns.oracle.com/xdb" oraxdb:storeVarrayAsTable="true" oraxdb:flags="2105651" oraxdb:schemaURL="http://xmlns.oracle.com/ord/dicom/privateDictionary_1_0" oraxdb:schemaOwner="ORDSYS" oraxdb:numProps="11">
  <xs:import namespace="http://xmlns.oracle.com/ord/dicom/datatype_1_0" schemaLocation="http://xmlns.oracle.com/ord/dicom/datatype_1_0"/>
  <xs:annotation>
    <xs:documentation>    Introduction      This schema defines the private attributes created by modality       manufacturers or organizations other than the DICOM       standard committee.    Structure Overview      Question mark &quot;?&quot; means optional items.      Plus &quot;+&quot; means one or more items.      Asterisk &quot;*&quot; means zero or more items.      DICOM_PRIVATE_ATTRIBUTES        DOCUMENT_HEADER?      DOCUMENT_CHANGE_LOG*        DOCUMENT_MODIFIER        DOCUMENT_MODIFICATION_DATE        DOCUMENT_VERSION?        MODIFICATION_COMMENT?            BASE_DOCUMENT?            BASE_DOCUMENT_RELEASE_DATE?        BASE_DOCUMENT_DESCRIPTION?    ATTRIBUTE_DEFINERS?      DEFINER+        NAME        ID?        PRIVATE_ATTRIBUTE_DEFINITION+      (TAG|TAG_RANGE)      NAME      DEFINER      VR?          VM?          RETIRED?  DOCUMENT_HEADER is an optional header to specify the  modification history. See dt:DOCUMENT_HEADER_T  for more information.  ATTRIBUTE_DEFINERS specify the owner of each  private attribute. See dt:ATTR_DEFINER_T for more  information.  A private dictionary contains one or more private attribute  definitions.  Each private attribute specification takes a tag specification,  a name, a value representation type, a value multiplicity  type, and a retired flag. See dt:VR_T dt:VM_T for the allowed  values for the value representation and value multiplicity elements.      Note: Private attribute tags allow three specification types.    The tag can be a 4-byte hexadecimal number, a     wildcard type such as &quot;0039xx01&quot;, or a range type such    as &quot;0039xx01~0041xx01&quot;.        Multiple attribute definitions cannot be associated with    the same definer-tag pair in a dictionary. For example, a simple     attribute definition (&quot;oracle&quot;, 60100010) matches a wildcard     attribute (&quot;oracle&quot;, 60xx0010), they cannot coexist in the private     dictionary. Similarly, a range attribute definition (&quot;Oracle&quot;, {6000-60FF})    overlaps a range attribute definition (&quot;Oracle&quot;, {6010-6020}), they     cannot coexist in the private dictionary. As a rule, an attribute     must not match two entries in the dictionary.      </xs:documentation>
  </xs:annotation>
  <xs:element name="DICOM_PRIVATE_ATTRIBUTES" oraxdb:propNumber="3253" oraxdb:global="true" oraxdb:SQLName="DICOM_PRIVATE_ATTRIBUTES" oraxdb:SQLType="DICOM_PRIVATE_ATTRIBUTE513_T" oraxdb:SQLSchema="ORDSYS" oraxdb:memType="258">
    <xs:complexType oraxdb:SQLType="DICOM_PRIVATE_ATTRIBUTE513_T" oraxdb:SQLSchema="ORDSYS">
      <xs:sequence>
        <xs:element name="DOCUMENT_HEADER" type="dt:DOCUMENT_HEADER_T" minOccurs="0" oraxdb:propNumber="3243" oraxdb:global="false" oraxdb:SQLName="DOCUMENT_HEADER" oraxdb:SQLType="DOCUMENT_HEADER_T314_T" oraxdb:SQLSchema="ORDSYS" oraxdb:memType="258" oraxdb:MemInline="false" oraxdb:SQLInline="true" oraxdb:JavaInline="false"/>
        <xs:element name="ATTRIBUTE_DEFINERS" type="dt:ATTR_DEFINERS_T" minOccurs="0" oraxdb:propNumber="3244" oraxdb:global="false" oraxdb:SQLName="ATTRIBUTE_DEFINERS" oraxdb:SQLType="ATTR_DEFINERS_T309_T" oraxdb:SQLSchema="ORDSYS" oraxdb:memType="258" oraxdb:MemInline="false" oraxdb:SQLInline="true" oraxdb:JavaInline="false"/>
        <xs:element name="PRIVATE_ATTRIBUTE_DEFINITION" maxOccurs="unbounded" oraxdb:propNumber="3252" oraxdb:global="false" oraxdb:SQLName="PRIVATE_ATTRIBUTE_DEFINITION" oraxdb:SQLType="PRIVATE_ATTRIBUTE_DEFIN514_T" oraxdb:SQLSchema="ORDSYS" oraxdb:memType="258" oraxdb:MemInline="false" oraxdb:SQLInline="true" oraxdb:JavaInline="false" oraxdb:SQLCollType="PRIVATE_ATTRIBUTE_DE515_COLL" oraxdb:SQLCollSchema="ORDSYS">
          <xs:complexType oraxdb:SQLType="PRIVATE_ATTRIBUTE_DEFIN514_T" oraxdb:SQLSchema="ORDSYS">
            <xs:sequence>
              <xs:choice>
                <xs:element name="TAG" type="dt:ATTR_TAG_T" oraxdb:propNumber="3250" oraxdb:global="false" oraxdb:SQLName="TAG" oraxdb:SQLType="VARCHAR2" oraxdb:memType="1" oraxdb:MemInline="true" oraxdb:SQLInline="true" oraxdb:JavaInline="true"/>
                <xs:element name="TAG_RANGE" type="dt:ATTR_RANGE_T" oraxdb:propNumber="3251" oraxdb:global="false" oraxdb:SQLName="TAG_RANGE" oraxdb:SQLType="ATTR_RANGE_T308_T" oraxdb:SQLSchema="ORDSYS" oraxdb:memType="258" oraxdb:MemInline="false" oraxdb:SQLInline="true" oraxdb:JavaInline="false"/>
              </xs:choice>
              <xs:element name="NAME" type="dt:SHORT_STRING_T" oraxdb:propNumber="3245" oraxdb:global="false" oraxdb:SQLName="NAME" oraxdb:SQLType="VARCHAR2" oraxdb:memType="1" oraxdb:MemInline="true" oraxdb:SQLInline="true" oraxdb:JavaInline="true"/>
              <xs:element name="DEFINER" type="dt:LO" oraxdb:propNumber="3246" oraxdb:global="false" oraxdb:SQLName="DEFINER" oraxdb:SQLType="VARCHAR2" oraxdb:memType="1" oraxdb:MemInline="true" oraxdb:SQLInline="true" oraxdb:JavaInline="true"/>
              <xs:element name="VR" type="dt:VR_T" minOccurs="0" oraxdb:propNumber="3247" oraxdb:global="false" oraxdb:SQLName="VR" oraxdb:SQLType="VARCHAR2" oraxdb:memType="1" oraxdb:MemInline="true" oraxdb:SQLInline="true" oraxdb:JavaInline="true"/>
              <xs:element name="VM" type="dt:VM_T" minOccurs="0" oraxdb:propNumber="3248" oraxdb:global="false" oraxdb:SQLName="VM" oraxdb:SQLType="VARCHAR2" oraxdb:memType="1" oraxdb:MemInline="true" oraxdb:SQLInline="true" oraxdb:JavaInline="true"/>
              <xs:element name="RETIRED" type="xs:boolean" default="false" minOccurs="0" oraxdb:propNumber="3249" oraxdb:global="false" oraxdb:SQLName="RETIRED" oraxdb:SQLType="RAW" oraxdb:memType="252" oraxdb:MemInline="true" oraxdb:SQLInline="true" oraxdb:JavaInline="true"/>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
</xs:schema>
