[DDI-SRG] Bug 122
Wendy Thomas
wlt at pop.umn.edu
Wed Feb 6 17:05:36 EST 2008
bug 122 has been updated based on comments from Achim it includes a
revised proposal with 2 points that need discussion tomorrow.
Revised Proposed Solution:
CHANGE:
Move CodeSchemeReference and Code to
CHOICE: 0..n
CodeSchemeReference
Code
ENDCHOICE
in CodeScheme
REPLACE Code in CodeType with the same choice structure thereby allowing
nesting of CodeScheme within a code
ADD EXTENSION to CodeSchemeReference:
add optional attribute levelNumber to assign a level number to all
members of a non-hierachical CodeScheme so that it can be imported at a
specified level (to make subordinate to a total)
add optional attribute parentLevel to assign a parent level to the
top level of a hierarchical code list
<EditsForCurrentUse> 0..1
<CodeValue attributes: newLevelNumber (0..1) newIsDiscrete
(0..1)> 1..n
PLEASE NOTE: This did not include Achim's suggestion of putting the
renumbering of levels in the CodeSchemeReference. This structure is used
in Variable and you do not want to provide the option of changing levels
for use within the variable. In this case selectling a level has a totally
different meaning. In fact we should review the meaning of the items in
CodeSubsetInfo in each case. For Variables this means take only a
specified level or levels, take the most discrete, or take specified
codes/code ranges. They must retain their original meanings for use in
both structures.
PLEASE NOTE:
Request was also made to change Level Number to a string to allow for
alpha numeric codes in use in many systems since there is no order
implication in the Level Number. First that information (the actual code
used in the system) goes in the code value. It would be nice to be able to
insert a new level in an appropriate location such as 1.1 or 1_1 or 1a.
However I think "string" is way to inclusive.
Wendy L. Thomas Phone: +1 612.624.4389
Data Access Core Director Fax: +1 612.626.8375
Minnesota Population Center Email: wlt at pop.umn.edu
University of Minnesota
50 Willey Hall
225 19th Avenue South
Minneapolis, MN 55455
More information about the DDI-SRG
mailing list