# Logical Record Architecture for Health and Social Care
## Discharge Summary Release 0.02

Contents
The content of this release is not comprehensive and is not fully validated and must not be used in live system implementations.
# Reference Model Class: CD.CV
This is implemented as described in ISO 21090. ## Specializes ## CD ## Attributes
Name | Data type | Occurs | Description
--- | --- | --- | ---
code | String | 0..1 | This attribute specifies the plain code symbol defined by the code system, or an expression in a syntax defined by the code system which describes the concept. This is a string representation of a code symbol or expression as defined by the coding system.
codeSystem | Uid | 0..1 | This is implemented as described in ISO 21090.
codeSystemName | String | 0..1 | This is implemented as described in ISO 21090.
codeSystemVersion | String | 0..1 | This is implemented as described in ISO 21090.
codingRationale | CodingRationale | 1..1 | The coding rationale attribute is optional in ISO 21090, and appears to be used to support translations (see below). Its use is deprecated in the LRA.
displayName | ST | 0..1 | The use of this attribute is optional within ISO 21090 and deprecated in the LRA.
originalText | ED.Text | 0..1 | The originalText attribute is the primary textual representation of a coded string, and can either be provided inline or by reference. It refers to the human readable rendering of the concept which was the source of the assigned code (which may be post hoc in 21090). A separate requirement exists for a structured text rendering of a code or code phrase within a number of defined contexts (e.g. verbose, terse, structured format) this attribute is not appropriate for this use. At present this use case is unmet in ISO 21090, and it may be that it may be best met by a specification of rules or through an operation to define the rendering pattern for individual contexts. . This is implemented as described in ISO 21090.
source | CD | 0..1 | If a CD is a result of a translation or mapping, having been performed then the original CD element is represented as the source attribute. The LRA requires that this be supported, and that this is used to represent the source (or origin) of any code mapping. In the specific example of Read to SNOMED mapping source MUST contain the original read code. It is possible for a source to also have a source attribute. Thus an entire history of translation should be maintained for any translated or mapped code. . This is implemented as described in ISO 21090.
translation | CD | 1..1 | In ISO21090 the assertion of equivalence to a concept in another coding system is enabled through a stated set of translations. In the LRA it is believed that the use cases for â€œbefore the eventâ€ code translation is not clear, and the potential for misuse high. This optional attribute in ISO 21090 is deprecated within the LRA and systems MUST NOT supply it. Logic in the LRA MUST NOT rely on this attribute. It is noted that language translations (in contrast to codeset translations) are not supported in the CD datatype â€" language translations are a feature of some terminology systems.
valueSet | String | 0..1 | This attribute is optional in ISO 21090 and deprecated in the LRA. ValueSets are a property of the information model slots and may be expressed not as sets but constraints.
valueSetVersion | String | 0..1 | This attribute is optional in ISO 21090 and deprecated in the LRA. ValueSets are a property of the information model slots in archetyped 13606 models and may be expressed not as sets but terminology constraints in the LRA.
## Constraints
Type | Name | Specification
--- | --- | ---
no source | Invariant | inv: source.oclIsUndefined
no translations | Invariant | inv: translation.isEmpty
## Reference Model Type ##