Datatypes
Class CodeWithValue

This subtype of Code adds a numerical value, which could be either a score for codes used to capture potential answers on an assessment instrument, or might be used to provide functionality for "coded ordinals", which assigns a value to a concept. In either case, this value is pre-defined in the coding system, and therefore could be looked up in the coding system. Therefore, this datatype may be removed in the future, as it really isn't necessary, but may be useful in implementations which may wish to avoid a separate call to a terminology server. (Note that this datatype was renamed from CodedOrdinal to CodeWithValue to combine the LoincAnswerCode and CodedOrdinal subtypes on 10/15/2015).

"Coded data, where the coding system from which the code comes defines a partial or complete order on some or all of the codes in the system. Codes may be assigned a numerical value, but this is not required. [This datatype] adds semantics related to ordering and/or numerical values...." - HL7 V3.

Attributes
«REAL» Decimal value value

The value assigned to this code in the code System. - HL7 V3.

Attributes inherited from FHIM::Datatypes::Code FHIM::Datatypes::Code
code code, codeSystem codeSystem, displayText displayText, nullFlavor nullFlavor, originalText originalText, userSelected userSelected

Properties:

Alias
Classifier Behavior
Is Abstractfalse
Is Activefalse
Is Leaffalse
KeywordsCO
NameCodeWithValue
Name Expression
NamespaceDatatypes
Owned Template Signature
OwnerDatatypes
Owning Template Parameter
PackageDatatypes
Qualified NameFHIM::Datatypes::CodeWithValue
Representation
Stereotype
Template Parameter
VisibilityPublic

Attribute Details

 value
Public «REAL» Decimal value

The value assigned to this code in the code System. - HL7 V3.

Constraints:
Properties:

AggregationNone
Alias
Association
Association End
Class«CO» CodeWithValue
Datatype
Default
Default Value
Is Compositefalse
Is Derivedfalse
Is Derived Unionfalse
Is Leaffalse
Is Orderedfalse
Is Read Onlyfalse
Is Staticfalse
Is Uniquetrue
Keywords
Lower1
Lower Value(1)
Multiplicity1
Namevalue
Name Expression
Namespace«CO» CodeWithValue
Opposite
Owner«CO» CodeWithValue
Owning Association
Owning Template Parameter
Qualified NameFHIM::Datatypes::CodeWithValue::value
Stereotype
Template Parameter
Type«REAL» Decimal
Upper1
Upper Value(1)
VisibilityPublic