MINI MINI MANI MO

Path : /opt/oracle/product/18c/dbhomeXE/ord/xml/xsd/
File Upload :
Current File : //opt/oracle/product/18c/dbhomeXE/ord/xml/xsd/ordcman.xsd

<?xml version="1.0" encoding="UTF-8"?>
<!--
 Copyright (c) 2007, 2015, Oracle and/or its affiliates. All rights reserved.

   NAME
     ordcman.xsd - XML schema for DICOM anonymity documents

   MODIFIED   (MM/DD/YY)
   llmartin    10/20/14 - 18735854: XML Schema Annotations
   myalavar    06/06/07 - review comments
   myalavar    04/10/07 - copyright 
   myalavar    04/09/07 - add major_minor version
   dguo        04/03/05 - Created

-->

<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xdb="http://xmlns.oracle.com/xdb" xmlns="http://xmlns.oracle.com/ord/dicom/anonymity_1_0" xmlns:dt="http://xmlns.oracle.com/ord/dicom/datatype_1_0" targetNamespace="http://xmlns.oracle.com/ord/dicom/anonymity_1_0" elementFormDefault="qualified" attributeFormDefault="unqualified">
  <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 DICOM anonymity document.
      
       Structure Overview
        Question mark "?" means optional items.
        Plus "+" means one or more items.
        Asterisk "*" means zero or more items.
        
        ANONYMITY_RULE_DOCUMENT
        DOCUMENT_HEADER?
         DOCUMENT_CHANGE_LOG*
          DOCUMENT_MODIFIER
          DOCUMENT_MODIFICATION_DATE
          DOCUMENT_VERSION?
          MODIFICATION_COMMENT?
          BASE_DOCUMENT?
          BASE_DOCUMENT_RELEASE_DATE?
          BASE_DOCUMENT_DESCRIPTION?
       PRIVATE_ATTRIBUTES
       UNDEFINED_STANDARD_ATTRIBUTES
       UNDEFINED_PRIVATE_ATTRIBUTES
       INDIVIDUAL_ATTRIBUTE*
       
       The preceding element values specify the actions required to make 
       a DICOM attribute, or a selected group of DICOM attributes, 
       anonymous.
       
      </xs:documentation>
  </xs:annotation>
  <xs:element name="ANONYMITY_RULE_DOCUMENT" xdb:SQLType="ANONYMITY_RULE_DOC_ORD_DCM_T">
    <xs:complexType>
      <xs:sequence>
        <xs:element name="DOCUMENT_HEADER" type="dt:DOCUMENT_HEADER_T" nillable="true" minOccurs="0" xdb:SQLType="DT_DOCUMENT_HEADER_ORD_DCM_T"/>
        <xs:element name="PRIVATE_ATTRIBUTES" type="ANONYM_G_T" xdb:SQLType="ANONYM_G_ORD_DCM_T">
          <xs:annotation>
            <xs:documentation>
              Specify the action required to make all private 
              attributes anonymous.
            </xs:documentation>
          </xs:annotation>
        </xs:element>
        <xs:element name="UNDEFINED_STANDARD_ATTRIBUTES" type="ANONYM_G_T" xdb:SQLType="ANONYM_G_ORD_DCM_T">
          <xs:annotation>
            <xs:documentation>
            Specify the action required to make all undefined 
            standard attributes anonymous. Undefined standard 
            attributes are not defined by the standard data dictionaries
            when makeAnonymous or isAnonymous functions are invoked.
            </xs:documentation>
          </xs:annotation>
        </xs:element>
        <xs:element name="UNDEFINED_PRIVATE_ATTRIBUTES" type="ANONYM_G_T" xdb:SQLType="ANONYM_G_ORD_DCM_T">
          <xs:annotation>
            <xs:documentation>
              Specify the action required to make all undefined private 
              attributes anonymous. Undefined private attributes are 
              not defined by the private data dictionaries when 
              makeAnonymous or isAnonymous functions are invoked. 
              This element takes priority over the previous 
              element PRIVATE_ATTRIBUTES.
            </xs:documentation>
          </xs:annotation>
        </xs:element>
        <xs:element name="INDIVIDUAL_ATTRIBUTE" minOccurs="0" maxOccurs="unbounded" xdb:SQLType="INDIVIDUAL_ATTRIBUTE_ORD_DCM_T" xdb:SQLCollType="INDIVIDUAL_ATTR_ORD_DCM_C">
          <xs:annotation>
            <xs:documentation>
              Specify the action required to make an attribute anonymous.
              This element overwrites the group specifications
              specified in the preceding elements.
            </xs:documentation>
          </xs:annotation>
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ATTRIBUTE_TAG" type="dt:VALUE_LOCATOR_T"/>
              <xs:element name="DESCRIPTION" type="dt:SHORT_TEXT_T" minOccurs="0"/>
              <xs:element name="ANONYMITY_ACTION" type="ANONYM_T" nillable="true" xdb:SQLType="ANONYM_ORD_DCM_T"/>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:complexType name="ANONYM_T" xdb:SQLType="ANONYM_ORD_DCM_T">
    <xs:simpleContent>
      <xs:annotation>
        <xs:documentation>
          The anonymity action type has an attribute action, 
          which defines the action used to make an
          attribute anonymous.
          If the value of the action attribute is "none", no
          action will be taken.
          If the value of the action attribute is "remove", then 
          the element does not require a value.(The default value
          of the action attribute is "remove").
          The selected candidate attribute will be removed from 
          the DICOM object to make it anonymous.
          If the value of the action attribute is "replace", then 
          the string value encoded in the attribute will be cast 
          into the corresponding type of the attribute and the
          new value replaces the original.
          If the value of the action attribute is "empty" , then the
          attribute will be changed into zero length attribute (for future
          use only).
          If the value of the action attribute is "encrypt", then the string 
          value encoded in the action attribute will be replaced with an
          encrypted value (for future use only).
        </xs:documentation>
      </xs:annotation>
      <xs:extension base="dt:SHORT_STRING_T">
        <xs:attribute name="action" default="remove">
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:enumeration value="none"/>
              <xs:enumeration value="remove"/>
              <xs:enumeration value="replace"/>
              <xs:enumeration value="empty"/>
              <xs:enumeration value="encrypt"/>
            </xs:restriction>
          </xs:simpleType>
        </xs:attribute>
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>
  <xs:complexType name="ANONYM_G_T" xdb:SQLType="ANONYM_G_ORD_DCM_T">
    <xs:simpleContent>
      <xs:annotation>
        <xs:documentation>
          The anonymity action type for a group attribute is similar to
          ANONYM_T except that it does not allow "replace" action.
        </xs:documentation>
      </xs:annotation>
      <xs:extension base="dt:SHORT_STRING_T">
        <xs:attribute name="action" default="remove">
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:enumeration value="none"/>
              <xs:enumeration value="remove"/>
              <xs:enumeration value="empty"/>
              <xs:enumeration value="encrypt"/>
            </xs:restriction>
          </xs:simpleType>
        </xs:attribute>
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>
</xs:schema>

OHA YOOOO