<?xml version="1.0" encoding="WINDOWS-1252"?>
<!-- Copyright (c) 2007, 2015, Oracle and/or its affiliates. All rights reserved.   NAME     ordcmpv.xsd - XML schema for DICOM private dictionary documents   MODIFIED   (MM/DD/YY)   llmartin    10/27/14 - 18735854: XML Schema Annotations   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:xdb="http://xmlns.oracle.com/xdb" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://xmlns.oracle.com/ord/dicom/privateDictionary_1_0" elementFormDefault="qualified" attributeFormDefault="unqualified" xdb:storeVarrayAsTable="true" xdb:flags="2105651" xdb:schemaURL="http://xmlns.oracle.com/ord/dicom/privateDictionary_1_0" xdb:schemaOwner="ORDSYS" xdb: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" xdb:SQLType="DICOM_PRIVATE_ATTR_ORD_DCM_T" xdb:propNumber="3233" xdb:global="true" xdb:SQLName="DICOM_PRIVATE_ATTRIBUTES" xdb:SQLSchema="ORDSYS" xdb:memType="258">
    <xs:complexType xdb:SQLType="DICOM_PRIVATE_ATTR_ORD_DCM_T" xdb:SQLSchema="ORDSYS">
      <xs:sequence>
        <xs:element name="DOCUMENT_HEADER" type="dt:DOCUMENT_HEADER_T" minOccurs="0" xdb:SQLType="DT_DOCUMENT_HEADER_ORD_DCM_T" xdb:propNumber="3223" xdb:global="false" xdb:SQLName="DOCUMENT_HEADER" xdb:SQLSchema="ORDSYS" xdb:memType="258" xdb:MemInline="false" xdb:SQLInline="true" xdb:JavaInline="false"/>
        <xs:element name="ATTRIBUTE_DEFINERS" type="dt:ATTR_DEFINERS_T" minOccurs="0" xdb:SQLType="DT_ATTR_DEFINERS_ORD_DCM_T" xdb:propNumber="3224" xdb:global="false" xdb:SQLName="ATTRIBUTE_DEFINERS" xdb:SQLSchema="ORDSYS" xdb:memType="258" xdb:MemInline="false" xdb:SQLInline="true" xdb:JavaInline="false"/>
        <xs:element name="PRIVATE_ATTRIBUTE_DEFINITION" maxOccurs="unbounded" xdb:SQLType="PRIVATE_ATTR_DEF_ORD_DCM_T" xdb:SQLCollType="RIVATE_ATTR_DEF_ORD_DCM_C" xdb:propNumber="3232" xdb:global="false" xdb:SQLName="PRIVATE_ATTRIBUTE_DEFINITION" xdb:SQLSchema="ORDSYS" xdb:memType="258" xdb:MemInline="false" xdb:SQLInline="true" xdb:JavaInline="false" xdb:SQLCollSchema="ORDSYS">
          <xs:complexType xdb:SQLType="PRIVATE_ATTR_DEF_ORD_DCM_T" xdb:SQLSchema="ORDSYS">
            <xs:sequence>
              <xs:choice>
                <xs:element name="TAG" type="dt:ATTR_TAG_T" xdb:propNumber="3230" xdb:global="false" xdb:SQLName="TAG" xdb:SQLType="VARCHAR2" xdb:memType="1" xdb:MemInline="true" xdb:SQLInline="true" xdb:JavaInline="true"/>
                <xs:element name="TAG_RANGE" type="dt:ATTR_RANGE_T" xdb:SQLType="DT_ATTR_RANCE_ORD_DCM_T" xdb:propNumber="3231" xdb:global="false" xdb:SQLName="TAG_RANGE" xdb:SQLSchema="ORDSYS" xdb:memType="258" xdb:MemInline="false" xdb:SQLInline="true" xdb:JavaInline="false"/>
              </xs:choice>
              <xs:element name="NAME" type="dt:SHORT_STRING_T" xdb:propNumber="3225" xdb:global="false" xdb:SQLName="NAME" xdb:SQLType="VARCHAR2" xdb:memType="1" xdb:MemInline="true" xdb:SQLInline="true" xdb:JavaInline="true"/>
              <xs:element name="DEFINER" type="dt:LO" xdb:propNumber="3226" xdb:global="false" xdb:SQLName="DEFINER" xdb:SQLType="VARCHAR2" xdb:memType="1" xdb:MemInline="true" xdb:SQLInline="true" xdb:JavaInline="true"/>
              <xs:element name="VR" type="dt:VR_T" minOccurs="0" xdb:propNumber="3227" xdb:global="false" xdb:SQLName="VR" xdb:SQLType="VARCHAR2" xdb:memType="1" xdb:MemInline="true" xdb:SQLInline="true" xdb:JavaInline="true"/>
              <xs:element name="VM" type="dt:VM_T" minOccurs="0" xdb:propNumber="3228" xdb:global="false" xdb:SQLName="VM" xdb:SQLType="VARCHAR2" xdb:memType="1" xdb:MemInline="true" xdb:SQLInline="true" xdb:JavaInline="true"/>
              <xs:element name="RETIRED" type="xs:boolean" default="false" minOccurs="0" xdb:propNumber="3229" xdb:global="false" xdb:SQLName="RETIRED" xdb:SQLType="RAW" xdb:memType="252" xdb:MemInline="true" xdb:SQLInline="true" xdb:JavaInline="true"/>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
</xs:schema>
