complexType "CodeValueType"
Namespace:
Content:
simple, 7 attributes
Defined:
globally in reusable.xsd; see XML source
Includes:
definitions of 7 attributes
Used:
at 119 locations
XML Representation Summary
<...
   
 = 
xs:string
 = 
xs:string
 = 
xs:string
 = 
xs:string : "1.0"
 = 
xs:string
 = 
xs:string
 = 
xs:string
   
>
   
Content: 
{ xs:string }
</...>
Known Direct Subtypes (2):
ContentDateOffsetType, KindOfDataType
All Direct / Indirect Based Elements (119):
AddressMatchType, AggregationMethod, AnalysisUnit, ApplicationOfProfile, AttributeKey, AttributeValue, BasedOnRationaleCode, ByteOrder, Calendar, CharacterSet, Characteristic, ClassType, CommonalityTypeCoded, ContentDateOffset, ContributorRole, CoordinateSource, CoordinateSystem, CoordinateZone, DateFieldFormat, DateTypeCode, Datum, DefaultDataType, DisplayLayout, EmailTypeCode, EndOfLineMarker, ErrorCorrection, EvaluatorRole, EventType, ExternalComplianceCode, FileFormat, Function, FunderRole, GenericOutputFormat, GeographicLevelCode, GeoreferencedObject, HistoricalDateFormat, IntendedFrequency, ItemFormat, KindOfData, Language, MIMEType, ManagingAgency, MeasureValue, MeasurementUnit, Media, NoteSubject, NumericTypeCode, Object, ProcessingStatus, ProgramLanguage, ProprietaryDataType, ProprietaryOutputFormat, PublisherRole, RationaleCode, Read, RecommendedDataType, RegionalCoverage, RelationshipAction, ResponseUnit, SeriesAbbreviation, ShapeFileFormat, SoftwarePackage, SourceType, SourceUnit, Speak, StorageFormat, TimeZone, TypeOfActionToMinimizeLosses, TypeOfAddress, TypeOfArea, TypeOfAudioClip, TypeOfCategoryGroup, TypeOfCategoryStatistic, TypeOfCodeListGroup, TypeOfCollectionSituation, TypeOfConceptGroup, TypeOfConceptualVariableGroup, TypeOfControlConstructGroup, TypeOfDataCollectionMethodology, TypeOfDeviationFromSampleDesign, TypeOfEvaluation, TypeOfGeographicLocationGroup, TypeOfGeographicStructureGroup, TypeOfID, TypeOfImage, TypeOfIndividualName, TypeOfInstantMessaging, TypeOfInstructionGroup, TypeOfInstrument, TypeOfInstrumentGroup, TypeOfLabel, TypeOfLocation, TypeOfManagedRepresentationGroup, TypeOfMaterial, TypeOfMetadataQuality, TypeOfModeOfCollection, TypeOfNCubeGroup, TypeOfNote, TypeOfOrganizationGroup, TypeOfOrganizationName, TypeOfPhysicalStructureGroup, TypeOfProcessingEventGroup, TypeOfProcessingInstructionGroup, TypeOfQualityStatementGroup, TypeOfQuestionGroup, TypeOfRecordLayoutGroup, TypeOfRepresentedVariableGroup, TypeOfResourcePackage, TypeOfSamplingProcedure, TypeOfSequence, TypeOfSummaryStatistic, TypeOfTelephone, TypeOfTimeMethod, TypeOfUniverseGroup, TypeOfVariableGroup, TypeOfVideoClip, TypeOfWeighting, VariableRole, Write
Known Usage Locations
Annotation
Allows for string content which may be taken from an externally maintained controlled vocabulary (code value). If the content is from a controlled vocabulary provide the code value, as well as a reference to the code list from which the value is taken. Provide as many of the identifying attributes as needed to adequately identify the controlled vocabulary. Note that DDI has published a number of controlled vocabularies applicable to several locations using the CodeValue structure. Use of shared controlled vocabularies helps support interoperability and machine actionability.
Type Definition Detail
Type Derivation Tree
xs:string (extension)
  CodeValueType
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 (all declarations; defined within this component only; 7/7)
codeListAgencyName
Type:
xs:string, predefined
Use:
optional
The name of the 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
The ID of the code list (controlled vocabulary) that the content was 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
The name of the code list.
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
If maintained within a scheme, the URN of the scheme containing the codelist.
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
The URN of the codelist.
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
The version number of the code list (default 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 value of the string is "Other" or the equivalent from the codelist, this attribute can provide a more specific value not found in the codelist.
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 RE 1.9.0 using DocFlex/XML XSDDoc 2.8.0 template set