Package org.hl7.v3
Class CV
java.lang.Object
org.hl7.v3.ANY
org.hl7.v3.CD
org.hl7.v3.CE
org.hl7.v3.CV
Coded data, consists of a code, display name, code system,
and original text. Used when a single code value must be sent.
Java class for CV complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CV">
<complexContent>
<restriction base="{urn:hl7-org:v3}CE">
<sequence>
<element name="originalText" type="{urn:hl7-org:v3}ED" minOccurs="0"/>
<element name="translation" type="{urn:hl7-org:v3}CD" maxOccurs="0" minOccurs="0"/>
</sequence>
<attribute name="code" type="{urn:hl7-org:v3}cs" />
<attribute name="codeSystem" type="{urn:hl7-org:v3}uid" />
<attribute name="codeSystemName" type="{urn:hl7-org:v3}st" />
<attribute name="codeSystemVersion" type="{urn:hl7-org:v3}st" />
<attribute name="displayName" type="{urn:hl7-org:v3}st" />
</restriction>
</complexContent>
</complexType>
-
Field Summary
Fields inherited from class org.hl7.v3.CD
code, codeSystem, codeSystemName, codeSystemVersion, displayName, originalText, qualifier, translationFields inherited from class org.hl7.v3.ANY
nullFlavor -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()toString()Generates a String representation of the contents of this type.withCodeSystem(String value) withCodeSystemName(String value) withCodeSystemVersion(String value) withDisplayName(String value) withNullFlavor(String... values) withNullFlavor(Collection<String> values) withOriginalText(ED value) withQualifier(Collection<CR> values) withQualifier(CR... values) withTranslation(Collection<CD> values) withTranslation(CD... values) Methods inherited from class org.hl7.v3.CD
getCode, getCodeSystem, getCodeSystemName, getCodeSystemVersion, getDisplayName, getOriginalText, getQualifier, getTranslation, setCode, setCodeSystem, setCodeSystemName, setCodeSystemVersion, setDisplayName, setOriginalTextMethods inherited from class org.hl7.v3.ANY
getNullFlavor
-
Constructor Details
-
CV
public CV()
-
-
Method Details
-
withOriginalText
- Overrides:
withOriginalTextin classCE
-
withQualifier
- Overrides:
withQualifierin classCE
-
withQualifier
- Overrides:
withQualifierin classCE
-
withTranslation
- Overrides:
withTranslationin classCE
-
withTranslation
- Overrides:
withTranslationin classCE
-
withCode
-
withCodeSystem
- Overrides:
withCodeSystemin classCE
-
withCodeSystemName
- Overrides:
withCodeSystemNamein classCE
-
withCodeSystemVersion
- Overrides:
withCodeSystemVersionin classCE
-
withDisplayName
- Overrides:
withDisplayNamein classCE
-
withNullFlavor
- Overrides:
withNullFlavorin classCE
-
withNullFlavor
- Overrides:
withNullFlavorin classCE
-
equals
-
hashCode
public int hashCode() -
toString
Generates a String representation of the contents of this type. This is an extension method, produced by the 'ts' xjc plugin
-