complexType "CodeValueType"
Namespace: |
|
Content: |
|
Defined: |
|
Includes: |
|
Used: |
|
XML Representation Summary |
<... |
|
|
= |
xs:string |
|
= |
xs:string |
|
= |
xs:string |
|
= |
xs:string : "1.0" |
|
= |
xs:string |
|
= |
xs:string |
|
= |
xs:string |
|
|
> |
|
|
</...> |
Known Direct Subtypes (2):
-
All Direct / Indirect Based Elements (118):
-
AddressMatchType,
AggregationMethod,
AnalysisUnit,
ApplicationOfProfile,
AttributeKey,
AttributeValue,
BasedOnRationaleCode,
ByteOrder,
Calendar,
Characteristic,
CharacterSet,
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,
ManagingAgency,
MeasurementUnit,
MeasureValue,
Media,
MIMEType,
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,
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="otherValue" type="xs:string" use="optional"/> <xs:attribute name="codeListURN" 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)
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)
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
XML Source (w/o annotations (1); see within schema source)
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"/> |