<?xml version="1.0" encoding="WINDOWS-1252"?>
<!-- Copyright (c) 2007, Oracle. All rights reserved.     NAME     ordcmui.xsd - XML schema for DICOM UID definition documents.    MODIFIED   (MM/DD/YY)   fechen      05/23/08 - change the meaning of isCompressed attribute to                          image content only.    dolin       06/06/07 -    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/UIDdefinition_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/UIDdefinition_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/UIDdefinition_1_0" oraxdb:schemaOwner="ORDSYS" oraxdb:numProps="12">
  <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 DICOM UIDs.       User can update this file to support new DICOM object types.    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_UID_DEFINITIONS        DOCUMENT_HEADER?          DOCUMENT_CHANGE_LOG*            DOCUMENT_MODIFIER            DOCUMENT_MODIFICATION_DATE            DOCUMENT_VERSION?            MODIFICATION_COMMENT?                BASE_DOCUMENT?                BASE_DOCUMENT_RELEASE_DATE?                BASE_DOCUMENT_DESCRIPTION?        UID_DEF (classification, isLE?, isEVR?, isCompressed?,retired?, contentType?)+          UID          NAME          DESCRIPTION?      A UID_DEF entry describes a UID value.      The mandatory classification attribute specifies what      a UID is. Its value can be &quot;transferSyntax&quot;, &quot;storageClass&quot;,      &quot;frameOfRef&quot;, &quot;ldapOID&quot;, &quot;entityID&quot;, or &quot;other&quot;.      &quot;transferSyntax&quot; means that the UID identifies transfer syntax.      &quot;storageClass&quot; means that the UID identifies a storage class.      &quot;frameOfRef&quot; means that the UID is a well-known frame of reference.      &quot;ldapOID&quot; means that the UID is an LDAP OID.      &quot;entityID&quot; means that the UID identifies an entity, which can be       an organization or a device manufacturer.      &quot;other&quot; means that the UID does not fall into any of the previous        categories.                      For entries that have a classification type of       &quot;transferSyntax&quot;, the attributes &quot;isLE&quot;, &quot;isEVR&quot;, and       &quot;isCompressed&quot; further define the transfer syntax. These       attributes are ignored for all other classification types.      The &quot;isLE&quot; attribute specifies whether the binary stream      will be encoded with little-endian byte order(defaults to true).       The &quot;isEVR&quot; attribute specifies whether the binary stream       will use the explicit VR encoding rule (defaults to true).       The &quot;isCompressed&quot; attribute specifies whether the       transfer syntax means that the image content is compressed       (defaults to true).              If an entry has a classification type of &quot;storageClass&quot;,       the &quot;contentType&quot; attribute further specifies the primary      content of a DICOM object belonging to this class.       The value of this attribute can be &quot;image&quot;, &quot;waveform&quot;,      &quot;report&quot; or &quot;other&quot;.      &quot;image&quot; can be single-frame, multi-frame images, or video.       &quot;waveform&quot; can be ECG, EEG, or any other 1D signal.       &quot;report&quot; means a structured report.       &quot;other&quot; means overlay, GSPS, KO, or any other object types that               do not belong to the previous categories.      For example &quot;Ultrasound Multi-frame Image Storage&quot; SOP      class has a UID of &quot;1.2.840.10008.5.1.4.1.1.3.1&quot;. Its       primary content is image.      </xs:documentation>
  </xs:annotation>
  <xs:element name="DICOM_UID_DEFINITIONS" oraxdb:propNumber="3304" oraxdb:global="true" oraxdb:SQLName="DICOM_UID_DEFINITIONS" oraxdb:SQLType="DICOM_UID_DEFINITIONS525_T" oraxdb:SQLSchema="ORDSYS" oraxdb:memType="258">
    <xs:complexType oraxdb:SQLType="DICOM_UID_DEFINITIONS525_T" oraxdb:SQLSchema="ORDSYS">
      <xs:sequence>
        <xs:element name="DOCUMENT_HEADER" type="dt:DOCUMENT_HEADER_T" nillable="true" minOccurs="0" oraxdb:propNumber="3296" 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="UID_DEF" maxOccurs="unbounded" oraxdb:propNumber="3303" oraxdb:global="false" oraxdb:SQLName="UID_DEF" oraxdb:SQLType="UID_DEF524_T" oraxdb:SQLSchema="ORDSYS" oraxdb:memType="258" oraxdb:MemInline="false" oraxdb:SQLInline="true" oraxdb:JavaInline="false" oraxdb:SQLCollType="UID_DEF526_COLL" oraxdb:SQLCollSchema="ORDSYS">
          <xs:complexType oraxdb:SQLType="UID_DEF524_T" oraxdb:SQLSchema="ORDSYS">
            <xs:complexContent>
              <xs:extension base="UID_ENTRY_T">
                <xs:attribute name="classification" use="required" oraxdb:propNumber="3297" oraxdb:global="false" oraxdb:SQLName="classification" oraxdb:SQLType="XDB$ENUM_T" oraxdb:SQLSchema="XDB" oraxdb:memType="259">
                  <xs:simpleType>
                    <xs:restriction base="xs:token">
                      <xs:enumeration value="transferSyntax"/>
                      <xs:enumeration value="storageClass"/>
                      <xs:enumeration value="frameOfRef"/>
                      <xs:enumeration value="ldapOID"/>
                      <xs:enumeration value="entityID"/>
                      <xs:enumeration value="other"/>
                    </xs:restriction>
                  </xs:simpleType>
                </xs:attribute>
                <xs:attribute name="isLE" type="xs:boolean" default="true" oraxdb:propNumber="3298" oraxdb:global="false" oraxdb:SQLName="isLE" oraxdb:SQLType="RAW" oraxdb:memType="252"/>
                <xs:attribute name="isEVR" type="xs:boolean" default="true" oraxdb:propNumber="3299" oraxdb:global="false" oraxdb:SQLName="isEVR" oraxdb:SQLType="RAW" oraxdb:memType="252"/>
                <xs:attribute name="isCompressed" type="xs:boolean" default="true" oraxdb:propNumber="3300" oraxdb:global="false" oraxdb:SQLName="isCompressed" oraxdb:SQLType="RAW" oraxdb:memType="252"/>
                <xs:attribute name="retired" type="xs:boolean" default="false" oraxdb:propNumber="3301" oraxdb:global="false" oraxdb:SQLName="retired" oraxdb:SQLType="RAW" oraxdb:memType="252"/>
                <xs:attribute name="contentType" default="image" oraxdb:propNumber="3302" oraxdb:global="false" oraxdb:SQLName="contentType" oraxdb:SQLType="XDB$ENUM_T" oraxdb:SQLSchema="XDB" oraxdb:memType="259">
                  <xs:simpleType>
                    <xs:restriction base="xs:token">
                      <xs:enumeration value="image"/>
                      <xs:enumeration value="waveform"/>
                      <xs:enumeration value="report"/>
                      <xs:enumeration value="other"/>
                    </xs:restriction>
                  </xs:simpleType>
                </xs:attribute>
              </xs:extension>
            </xs:complexContent>
          </xs:complexType>
        </xs:element>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:complexType name="UID_ENTRY_T" oraxdb:SQLType="UID_ENTRY_T522_T" oraxdb:SQLSchema="ORDSYS">
    <xs:sequence>
      <xs:element name="UID" type="dt:UI" oraxdb:propNumber="3305" oraxdb:global="false" oraxdb:SQLName="UID523" oraxdb:SQLType="VARCHAR2" oraxdb:memType="1" oraxdb:MemInline="true" oraxdb:SQLInline="true" oraxdb:JavaInline="true"/>
      <xs:element name="NAME" type="dt:SHORT_STRING_T" oraxdb:propNumber="3306" oraxdb:global="false" oraxdb:SQLName="NAME" oraxdb:SQLType="VARCHAR2" oraxdb:memType="1" oraxdb:MemInline="true" oraxdb:SQLInline="true" oraxdb:JavaInline="true"/>
      <xs:element name="DESCRIPTION" type="dt:SHORT_TEXT_T" minOccurs="0" oraxdb:propNumber="3307" oraxdb:global="false" oraxdb:SQLName="DESCRIPTION" oraxdb:SQLType="VARCHAR2" oraxdb:memType="1" oraxdb:MemInline="true" oraxdb:SQLInline="true" oraxdb:JavaInline="true"/>
    </xs:sequence>
  </xs:complexType>
</xs:schema>
