next up previous contents
Next: ITEM_TYPE_LIST Up: DDL Definitions Describing Previous: ITEM_TYPE

ITEM_TYPE_CONDITIONS

 

The category item_type_conditions defines special conditions applied to a data item type. This category has been included in order to comply with previous applications of STAR and CIF. Since the constructions that are embodied in this category are antithetical to the data model that underlies this DDL, it is recommended that this category only be used for the purpose of parsing existing data files and dictionaries.

The DDL for the item_type_conditions category is given in the following section.

save_ITEM_TYPE_CONDITIONS

    _category.description
;
    Attributes for specifying additional conditions associated with 
    the data type of the item.
;
    _category.id                         item_type_conditions
    _category.mandatory_code             no 
    _category_key.name                 '_item_type_conditions.name'
     loop_
    _category_group.id                 'ddl_group'
                                       'item_group'
                                       'compliance_group'
     save_


save__item_type_conditions.code              

    _item_description.description
;    
     Codes defining conditions on the _item_type.code specification.

     'esd' permits a number string to contain an appended standard
           deviation number enclosed within parentheses. E.g. 4.37(5)

     'seq' permits data to be declared as a sequence of values
           separated by a comma <,> or a colon <:>.
           * The sequence v1,v2,v3,. signals that v1, v2, v3, etc.
             are alternative values or the data item.
           * The sequence v1:v2 signals that v1 and v2 are the boundary
             values of a continuous range of values. This mechanism
             was used to specify permitted ranges of an item in 
             previous DDL versions.
      Combinations of alternate and range sequences are permitted.
;
    _item.name                         '_item_type_conditions.code'            
    _item.category_id                    item_type_conditions          
    _item.mandatory_code                 yes 
    _item_type.code                      code 
     loop_
    _item_enumeration.value
    _item_enumeration.detail
 
          none   'no extra conditions apply to this data item'
          esd    'numbers may have esd values appended within ()'
          seq    'data may be declared as a comma or colon separated sequence'

     save_



John Westbrook
Thu Apr 11 06:25:55 EDT 1996