Code (metadata)

Code (metadata)

In metadata, the representation term code refers to, and is used in the name of, data elements whose allowable values can be represented as enumerated lists. Each enumerated value is a string that for brevity represents a specific meaning. For example, for a PersonGenderCode the allowable code valid values might be "male", "female" or "unknown". To be compliant with ISO standards a value meaning or definition must also be associated with each code.

The ISO/IEC 11179 metadata registry standard defines code as a system of valid symbols that substitute for longer values. In general, if the number of codes is small the list of valid codes and their definitions can be transmitted with a document that validates the data. Codes usually have a symbolic meaning that can be understood by a person.

One example code is a set of two letter state codes used in a US postal address. The code MN represents the state of Minnesota. Its equivalent ID using FIPS standards is the number 27. The number 27 would be classified as having a representation term of type Identifier and have the representation suffix of ID.

Another example is the three-letter international airport codes such as 'MSP' for the Minneapolis-St. Paul Airport. Although people use these codes to identify an airport, they would be classified as having a representation term of Code because they contain mnemonic information.

Sometimes identification systems are also called "codes" in common every-day language. For example people frequently refer to a location's "zip code". Because of the lack of symbolic meaning in a numeric value, zip codes would technically be classified under ISO guidelines as an identifier. For example in the NIEM and GJXDM standards a zip code is called LocationPostalCodeID. The concept is Location, the property is PostalCode and the representation term is ID.

It is sometimes difficult to determine if a data element is a code or an identifier. In general identifiers are sequential numbers used to identify a specific item in an identification scheme. If a data element has mnemonic information it is generally classified as a code.

If only two code values are needed, an indicator (Boolean true/false) representation term can be used.

See also


Wikimedia Foundation. 2010.

Игры ⚽ Поможем написать реферат

Look at other dictionaries:

  • Code (disambiguation) — Contents 1 Science and technology 1.1 Specific codes 2 Entertainment …   Wikipedia

  • Code Access Security — (CAS), in the Microsoft .NET framework, is Microsoft s solution to prevent untrusted code from performing privileged actions. When the CLR loads an assembly it will obtain evidence for the assembly and use this to identify the code group that the …   Wikipedia

  • Metadata — For the page on metadata about Wikipedia, see Wikipedia:Metadata. The term metadata is an ambiguous term which is used for two fundamentally different concepts (types). Although the expression data about data is often used, it does not apply to… …   Wikipedia

  • Metadata — Métadonnée  Pour l’article homonyme, voir Métadonnée (audio).  Une métadonnée (mot composé du préfixe grec meta, indiquant l auto référence ; le mot signifie donc proprement « donnée de/à propos de donnée ») est une… …   Wikipédia en Français

  • Métadata — Métadonnée  Pour l’article homonyme, voir Métadonnée (audio).  Une métadonnée (mot composé du préfixe grec meta, indiquant l auto référence ; le mot signifie donc proprement « donnée de/à propos de donnée ») est une… …   Wikipédia en Français

  • Metadata discovery — In metadata, metadata discovery is the process of using automated tools to discover the semantics of a data element in data sets. This process usually ends with a set of mappings between the data source elements and a centralized metadata… …   Wikipedia

  • Metadata Object Description Schema — Das Metadata Object Description Schema (MODS) ist ein XML Format für bibliografische Metadaten. Es wird als XML Schema vom Network Development and MARC Standards Office der Library of Congress entwickelt und verwaltet, seit Juni 2010 liegt es in… …   Deutsch Wikipedia

  • Metadata — Als Metadaten oder Metainformationen bezeichnet man allgemein Daten, die Informationen über andere Daten enthalten. Bei den beschriebenen Daten handelt es sich oft um größere Datensammlungen (Dokumente) wie Bücher, Datenbanken oder Dateien. So… …   Deutsch Wikipedia

  • .NET metadata — NET metadata, in the Microsoft .NET framework, refers to certain data structures embedded within the Common Intermediate Language code that describes the high level structure of the code. Metadata describes all classes and class members that are… …   Wikipedia

  • Extensible Metadata Platform — The Adobe Extensible Metadata Platform (XMP) is a standard for processing and storing standardized and proprietary metadata, created by Adobe Systems Inc..XMP standardizes the definition, creation, and processing of extensible metadata.… …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”