|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
V
- the underlying code type.public interface CD
HL7 datatype CD. Backed by a Code.
A CD represents any kind of concept usually by giving a code defined in a code system. A CD can contain the original text or phrase that served as the basis of the coding and one or more translations into different coding systems. A CD can also contain qualifiers to describe, e.g., the concept of a "left foot" as a postcoordinated term built from the primary code "FOOT" and the qualifier "LEFT". In cases of an exceptional value, the CD need not contain a code but only the original text describing that concept.
CD is mostly used in one of its restricted or "profiled" forms, CS, CE, CV. Use of the full concept descriptor data type is not common. It requires a conscious decision and documented rationale. In all other cases, one of the CD restrictions shall be used.
All CD restrictions constrain certain properties. Properties may be constrained to the extent that only one value may be allowed for that property, in which case mentioning the property becomes redundant. Constraining a property to one value is referred to as suppressing that property. Although, conceptually a suppressed property is still semantically applicable, it is safe for an HL7 interface to assume the implicit default value without testing.
Method Summary | |
---|---|
String |
getDisplayName()
Returns the display name. |
String |
getOriginalText()
Returns the original text. |
List<CD> |
getTranslations()
Returns the translations for this CD. |
void |
setDisplayName(String displayName)
Sets the display name. |
void |
setOriginalText(String originalText)
Sets the original text. |
Methods inherited from interface ca.infoway.messagebuilder.datatype.ANY |
---|
getNullFlavor, getValue, isNull, nonNull, notApplicable, other, setNullFlavor, setValue, unknown |
Methods inherited from interface ca.infoway.messagebuilder.datatype.BareANY |
---|
getBareValue, getDataType, setDataType |
Methods inherited from interface ca.infoway.messagebuilder.datatype.nullflavor.NullFlavorSupport |
---|
hasNullFlavor |
Method Detail |
---|
String getDisplayName()
void setDisplayName(String displayName)
displayName
- the display nameList<CD> getTranslations()
String getOriginalText()
void setOriginalText(String originalText)
originalText
- the original text
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |