complexType "CodeValueType"
Namespace:
Content:
simple, 7 attributes
Defined:
globally in reusable.xsd; see XML source
Includes:
definitions of 7 attributes
Used:
at 166 locations
XML Representation Summary
<...
   
 = 
xs:string
 = 
xs:string
 = 
xs:string
 = 
xs:string
 = 
xs:string
 = 
xs:string
 = 
xs:string
   
>
   
Content: 
{ xs:string }
</...>
Known Direct Subtypes (3):
All Direct / Indirect Based Elements (166):
AddressMatchType, AggregationMethod, AnalysisUnit, ApplicationOfProfile, AttributeKey, AttributeValue, BasedOnRationaleCode, ByteOrder, Calendar, CharacterSet, Characteristic, ClassType, CollationAlgorithm, CommonalityTypeCoded, ContentDateOffset, ContributorRole, CoordinateSource, CoordinateSystem, CoordinateZone, CountryCode, DateFieldFormat, DateTypeCode, Datum, DefaultDataType, DisplayLayout, EmailTypeCode, EndOfLineMarker, ErrorCorrection, EvaluatorRole, EventType, ExternalComplianceCode, FieldedLanguages, FileFormat, Function, FunderRole, GeneralDataFormat, GenericOutputFormat, GeographicLevelCode, GeoreferencedObject, HistoricalDateFormat, IntendedFrequency, ItemFormat, KindOfData, Language, LevelCodeStructure, LevelCodeType, LevelOfInformationClassification, MIMEType, ManagingAgency, MeasureValue, MeasurementUnit, Media, MethodOfDelivery, NoteSubject, NumericTypeCode, Object, ProcessingStatus, ProgramLanguage, ProprietaryDataType, ProprietaryOutputFormat, PublisherRole, RationaleCode, Read, RecommendedDataType, RegionalCoverage, RelationshipAction, RelationshipMappingType, ResponseUnit, ReviewerRole, SeriesAbbreviation, SeriesContext, ShapeFileFormat, SoftwarePackage, SourceType, SourceUnit, Speak, StaffClass, StorageFormat, SubjectArea, TimeZone, TypeOfAccess, TypeOfActionToMinimizeLosses, TypeOfAdditionalData, TypeOfAddress, TypeOfAdministrationMethod, TypeOfApprovalReview, TypeOfArea, TypeOfAudioClip, TypeOfCategoryGroup, TypeOfCategoryStatistic, TypeOfCodeListGroup, TypeOfCognitiveExpertReview, TypeOfCognitiveInterview, TypeOfCollectionSituation, TypeOfComputationItem, TypeOfConceptGroup, TypeOfConceptualVariableGroup, TypeOfContentReview, TypeOfControlConstructGroup, TypeOfDataCollectionMethodology, TypeOfDevelopmentActivityGroup, TypeOfDeviationFromSampleDesign, TypeOfEvaluation, TypeOfFocusGroup, TypeOfGeographicLocationGroup, TypeOfGeographicStructureGroup, TypeOfGroup, TypeOfID, TypeOfIfThenElse, TypeOfImage, TypeOfIndividualName, TypeOfInformationClassification, TypeOfInstantMessaging, TypeOfInstructionGroup, TypeOfInstrument, TypeOfInstrumentGroup, TypeOfLabel, TypeOfLocation, TypeOfManagedRepresentationGroup, TypeOfMappedItem, TypeOfMaterial, TypeOfMeasurementGroup, TypeOfMeasurementItem, TypeOfMetadataQuality, TypeOfModeOfCollection, TypeOfNCubeGroup, TypeOfNote, TypeOfOrganizationGroup, TypeOfOrganizationName, TypeOfOtherMaterialGroup, TypeOfPhysicalInstanceGroup, TypeOfPhysicalStructureGroup, TypeOfPretestCollectionMode, TypeOfProcessingEventGroup, TypeOfProcessingInstructionGroup, TypeOfQualityStandardGroup, TypeOfQualityStatementGroup, TypeOfQuestionGroup, TypeOfRecordLayoutGroup, TypeOfRelationship, TypeOfRepresentedVariableGroup, TypeOfRequirementsAssessment, TypeOfResource, TypeOfResourcePackage, TypeOfResult, TypeOfSample, TypeOfSamplingInformationGroup, TypeOfSamplingPlan, TypeOfSamplingProcedure, TypeOfSequence, TypeOfStudyUnit, TypeOfSummaryStatistic, TypeOfTelephone, TypeOfTimeMethod, TypeOfTranslationAid, TypeOfTranslationMethod, TypeOfUnit, TypeOfUnitTypeGroup, TypeOfUniverseGroup, TypeOfVariableAttribute, TypeOfVariableGroup, TypeOfVideoClip, TypeOfWeighting, TypeOfWeightingMethodology, 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 controlled vocabulary 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="controlledVocabularyID" type="xs:string" use="optional"/>
<xs:attribute name="controlledVocabularyName" type="xs:string" use="optional"/>
<xs:attribute name="controlledVocabularyAgencyName" type="xs:string" use="optional"/>
<xs:attribute name="controlledVocabularyVersionID" type="xs:string" use="optional"/>
<xs:attribute name="otherValue" type="xs:string" use="optional"/>
<xs:attribute name="controlledVocabularyURN" type="xs:string" use="optional"/>
<xs:attribute name="controlledVocabularySchemeURN" type="xs:string" use="optional"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
Attribute Detail (all declarations; defined within this component only; 7/7)
controlledVocabularyAgencyName
Type:
xs:string, predefined
Use:
optional
The name of the agency maintaining the controlled vocabulary.
XML Source (w/o annotations (1); see within schema source)
<xs:attribute name="controlledVocabularyAgencyName" type="xs:string" use="optional"/>

controlledVocabularyID
Type:
xs:string, predefined
Use:
optional
The ID of the controlled vocabulary that the content was taken from.
XML Source (w/o annotations (1); see within schema source)
<xs:attribute name="controlledVocabularyID" type="xs:string" use="optional"/>

controlledVocabularyName
Type:
xs:string, predefined
Use:
optional
The name of the controlled vocabulary.
XML Source (w/o annotations (1); see within schema source)
<xs:attribute name="controlledVocabularyName" type="xs:string" use="optional"/>

controlledVocabularySchemeURN
Type:
xs:string, predefined
Use:
optional
If maintained within a scheme, the URN of the scheme containing the controlled vocabulary.
XML Source (w/o annotations (1); see within schema source)
<xs:attribute name="controlledVocabularySchemeURN" type="xs:string" use="optional"/>

controlledVocabularyURN
Type:
xs:string, predefined
Use:
optional
The URN of the controlled vocabulary.
XML Source (w/o annotations (1); see within schema source)
<xs:attribute name="controlledVocabularyURN" type="xs:string" use="optional"/>

controlledVocabularyVersionID
Type:
xs:string, predefined
Use:
optional
The version number of the controlled vocabulary.
XML Source (w/o annotations (1); see within schema source)
<xs:attribute name="controlledVocabularyVersionID" type="xs:string" use="optional"/>

otherValue
Type:
xs:string, predefined
Use:
optional
If the value of the string is "Other" or the equivalent from the controlled vocabulary, this attribute can provide a more specific value not found in the controlled vocabulary.
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 1.12 using DocFlex/XML XSDDoc 2.9.0 template set