This wiki has undergone a migration to Confluence found Here
Value Set Naming Conventions
Jump to navigation
Jump to search
Overview
In order to provide consistency in how models and value sets are interpreted, a set of naming conventions pertaining to value sets has been in common use. This will help vocabulary users in identifying existing value sets that may meet their requirements, as well as provide a consistency for developing and reviewing vocabulary updates.
Naming Convention
- Uniqueness: The names used for Value Sets in the "Universal" vocabulary repository must be unique. Therefore any proposed name SHALL have been researched to be certain that the name is not already in use.
- Structure: Value Set names SHALL be UpperCamelCase, with no special characters.
- Value Sets drawing values solely from code systems:
ActClass, ActMood, ActRelationshipType, ParticipationType, RoleClass, RoleLinkType, EntityClass, EntityDeterminer SHALL follow the following pattern rules:- Code system name: The first element of the Value set name SHALL BE the code system name as above.
- "all codes" If the Value set is "all codes" from the designated code system, the first element name is sufficient. I.e. The Value Set name will be identical to the code system name
- code-based content, transitive If the value set is defined as a code from the primary code system and all of that codes descendants, the name SHALL be formed by concatenating an UpperCamelCase rendition of the "print name" for that code to the first element.
- code-based content, enumerated If the Value set is being enumerated, an upper case word or a CamelCase phrase MUST be concatenated to the first element.
- Value Sets drawing values from other HL7-maintained code systems SHOULD follow the following pattern rules:
- Code system name: The first element of the Value set name SHOULD be the "short" code system name for the primary HL7-maintained code system from which it draws value.
- Review existing value sets based on that code system to determine any previously used pattern involving the code system name. Some of these are not in the first element, and others split the name. If an existing pattern is present, it SHOULD be used.
- "all codes" If the Value set is "all codes" from the designated code system, the first element name is sufficient.
- code-based content, transitive If the value set is defined as a code from the primary code system and all of that codes descendants, the name SHOULD be formed by combining an UpperCamelCase rendition of the "print name" with the pattern selected for the code system name.
- code-based content, enumerated If the Value set is being enumerated, an upper case word or a CamelCase phrase SHOULD be combined with the pattern selected for the code system name.
- Code system name: The first element of the Value set name SHOULD be the "short" code system name for the primary HL7-maintained code system from which it draws value.
- Value Sets Based on external code systems for use in the Universal realm need to be identifiable and unique. For that reason, the following are recommended:
- Code system name: Some element of the value set name should indicate the primary code system from which the value set draws values.
- This element SHOULD be used in the same location in all value sets based on that code system.
- Review existing value sets based on that code system to determine any previously used pattern. If present, an existing pattern SHOULD be used.
- Code system name: Some element of the value set name should indicate the primary code system from which the value set draws values.