Commons Codes and Code Sets Ontology
type: Ontology
abstract: This ontology defines commonly used concepts for describing codes, including standardized codes such as ISO language, country, and other code sets, the North American Industry Classification System (NAICS) codes, and custom code sets that many organizations develop for various purposes, derived from the patterns specified in ISO 11179-3, Metadata Registries.
contributor: Elisa Kendall, Thematix Partners LLC
contributor: Pete Rivett, agnos.ai U.K. Ltd
license: http://opensource.org/licenses/MIT
imports: AnnotationVocabulary
imports: Collections
imports: Designators
version IRI: CodesAndCodeSets
change note: The https://www.omg.org/spec/Commons/20220501/CodesAndCodeSets.rdf version of this ontology was modified to make CodeSet a subclass of Arrangement (COMMONS-19) and to add a note to code set for clarity (COMMONS-26).
note: The codes and code sets ontology conforms with the OWL 2 DL semantics, and is outside of OWL 2 RL due to (1) imported axioms from the designations ontology, and (2) the inclusion of a local some values constraint. The latter could be removed as needed to support OWL RL rule-based applications that cannot be extended to support it.
note: This ontology was originally designed for use in the OMG Languages, Countries and Codes (LCC) specification as part of the broader LanguageRepresentation ontology. The concepts have also been used in the Financial Industry Business Ontology (FIBO) for representing currency codes, market identifiers (MIC codes), codes for corporate actions, and so forth.
copyright: Copyright (c) 2014-2022 EDM Council, Inc.
copyright: Copyright (c) 2014-2022 Thematix Partners LLC
copyright: Copyright (c) 2021-2022 agnos.ai U.K. Ltd
copyright: Copyright (c) 2022 Object Management Group, Inc.

code element
type: Class
subclass of: Designation
subclass of: Restriction
  on property: isMemberOf
  some values from: code set
source: ISO/IEC 11179-3 Information technology - Metadata registries (MDR) - Part 3: Registry metamodel and basic attributes, Third edition, 2013-02-15
definition: sequence of characters denoting something for some purpose, within a specified context, according to some rule set
example: An example of a code set that has multiple versions are the International Statistical Classification of Diseases and Related Health Problems (ICD) codes such as ICD-9, ICD-10, and so forth, that specify the same codes across multiple versions.
note: Note that codes may be included in multiple code lists, especially in cases where there are multiple versions of those code lists. ICD-9 and ICD-10 are examples of code sets that specify, in some cases, the same codes, but across different versions of those code sets.

code set
type: Class
subclass of: Arrangement
subclass of: Collection
subclass of: Restriction
  on property: hasMember
  all values from: code element
source: ISO/IEC 11179-3 Information technology - Metadata registries (MDR) - Part 3: Registry metamodel and basic attributes, Third edition, 2013-02-15
definition: system of alpha-numeric symbols, or combinations of symbols, that stand for specified values in some context
note: Note that a given code set will typically include a finite and known list of codes. Code sets may also be versioned. ICD-9 and ICD-10 are examples of code sets that specify, in some cases, the same codes, but across different versions of those code sets.
synonym: coding scheme