DDI 3.1 XML Schema Documentation (2009-10-18)
© DDI Alliance 2009 - licensed under the terms of the GNU Lesser General Public License
complexType "CodeValueType"
Namespace:
Content:
simple, 7 attributes
Defined:
globally in reusable.xsd, see XML source
Includes:
definitions of 7 attributes
Used:
at 33 locations
XML Representation Summary
<...
    codeListAgencyName
 = 
xs:string
    codeListID
 = 
xs:string
    codeListName
 = 
xs:string
    codeListSchemeURN
 = 
xs:string
    codeListURN
 = 
xs:string
    codeListVersionID
 = 
xs:string : "1.0"
    otherValue
 = 
xs:string
    >
   
Content: 
{ xs:string }
</...>
Known Direct Subtypes (5):
All Direct / Indirect Based Elements (33):
Known Usage Locations
Annotation
Provides a code value, as well as a reference to the code list from which the value is taken. Note that the CodeValue can be restricted to reference an enumeration.
Type Definition Detail
Type Derivation Tree
xs:string
  CodeValueType (extension)
Derivation:
extension of xs:string
XML Source (w/o annotations (8); see within schema source)
<xs:complexType name="CodeValueType">
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute name="codeListID" type="xs:string" use="optional"/>
<xs:attribute name="codeListName" type="xs:string" use="optional"/>
<xs:attribute name="codeListAgencyName" type="xs:string" use="optional"/>
<xs:attribute default="1.0" name="codeListVersionID" type="xs:string"/>
<xs:attribute name="otherValue" type="xs:string" use="optional"/>
<xs:attribute name="codeListURN" type="xs:string" use="optional"/>
<xs:attribute name="codeListSchemeURN" type="xs:string" use="optional"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
Attribute Detail (defined in this component only; 7/7)
codeListAgencyName
Type:
xs:string, predefined
Use:
optional
Agency maintaining the code list.
XML Source (w/o annotations (1); see within schema source)
<xs:attribute name="codeListAgencyName" type="xs:string" use="optional"/>

codeListID
Type:
xs:string, predefined
Use:
optional
Identifies the code list that the value is taken from.
XML Source (w/o annotations (1); see within schema source)
<xs:attribute name="codeListID" type="xs:string" use="optional"/>

codeListName
Type:
xs:string, predefined
Use:
optional
Identifies the code list that the value is taken from with a human-readable name.
XML Source (w/o annotations (1); see within schema source)
<xs:attribute name="codeListName" type="xs:string" use="optional"/>

codeListSchemeURN
Type:
xs:string, predefined
Use:
optional
Identifies the code list scheme using a URN.
XML Source (w/o annotations (1); see within schema source)
<xs:attribute name="codeListSchemeURN" type="xs:string" use="optional"/>

codeListURN
Type:
xs:string, predefined
Use:
optional
Identifies the code list that the value is taken from with a URN.
XML Source (w/o annotations (1); see within schema source)
<xs:attribute name="codeListURN" type="xs:string" use="optional"/>

codeListVersionID
Type:
xs:string, predefined
Use:
optional
Version of the code list. (Default value is 1.0)
Attribute Value
Default:
"1.0"
XML Source (w/o annotations (1); see within schema source)
<xs:attribute default="1.0" name="codeListVersionID" type="xs:string"/>

otherValue
Type:
xs:string, predefined
Use:
optional
If the codelist contains an 'Other' value - that is, a value which indicates a value not from that codelist is being used, then this attribute carries the foreign value.
XML Source (w/o annotations (1); see within schema source)
<xs:attribute name="otherValue" type="xs:string" use="optional"/>

XML schema documentation generated with DocFlex/XML SDK 1.7.2 using DocFlex/XML XSDDoc 2.1.0 template set