Class CD
Java class for CD complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CD">
<complexContent>
<extension base="{urn:hl7-org:v3}ANY">
<sequence>
<element name="originalText" type="{urn:hl7-org:v3}ED" minOccurs="0"/>
<element name="qualifier" type="{urn:hl7-org:v3}CR" maxOccurs="unbounded" minOccurs="0"/>
<element name="translation" type="{urn:hl7-org:v3}CD" maxOccurs="unbounded" 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" />
</extension>
</complexContent>
</complexType>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected EDFields inherited from class org.hl7.v3.ANY
nullFlavor -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetCode()Gets the value of the code property.Gets the value of the codeSystem property.Gets the value of the codeSystemName property.Gets the value of the codeSystemVersion property.Gets the value of the displayName property.Gets the value of the originalText property.Gets the value of the qualifier property.Gets the value of the translation property.inthashCode()voidSets the value of the code property.voidsetCodeSystem(String value) Sets the value of the codeSystem property.voidsetCodeSystemName(String value) Sets the value of the codeSystemName property.voidsetCodeSystemVersion(String value) Sets the value of the codeSystemVersion property.voidsetDisplayName(String value) Sets the value of the displayName property.voidsetOriginalText(ED value) Sets the value of the originalText property.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.ANY
getNullFlavor
-
Field Details
-
originalText
-
qualifier
-
translation
-
code
-
codeSystem
-
codeSystemName
-
codeSystemVersion
-
displayName
-
-
Constructor Details
-
CD
public CD()
-
-
Method Details
-
getOriginalText
Gets the value of the originalText property.- Returns:
- possible object is
ED
-
setOriginalText
Sets the value of the originalText property.- Parameters:
value- allowed object isED
-
getQualifier
Gets the value of the qualifier property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the Jakarta XML Binding object. This is why there is not a
setmethod for the qualifier property.For example, to add a new item, do as follows:
getQualifier().add(newItem);Objects of the following type(s) are allowed in the list
CR -
getTranslation
Gets the value of the translation property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the Jakarta XML Binding object. This is why there is not a
setmethod for the translation property.For example, to add a new item, do as follows:
getTranslation().add(newItem);Objects of the following type(s) are allowed in the list
CD -
getCode
Gets the value of the code property.- Returns:
- possible object is
String
-
setCode
Sets the value of the code property.- Parameters:
value- allowed object isString
-
getCodeSystem
Gets the value of the codeSystem property.- Returns:
- possible object is
String
-
setCodeSystem
Sets the value of the codeSystem property.- Parameters:
value- allowed object isString
-
getCodeSystemName
Gets the value of the codeSystemName property.- Returns:
- possible object is
String
-
setCodeSystemName
Sets the value of the codeSystemName property.- Parameters:
value- allowed object isString
-
getCodeSystemVersion
Gets the value of the codeSystemVersion property.- Returns:
- possible object is
String
-
setCodeSystemVersion
Sets the value of the codeSystemVersion property.- Parameters:
value- allowed object isString
-
getDisplayName
Gets the value of the displayName property.- Returns:
- possible object is
String
-
setDisplayName
Sets the value of the displayName property.- Parameters:
value- allowed object isString
-
withOriginalText
-
withQualifier
-
withQualifier
-
withTranslation
-
withTranslation
-
withCode
-
withCodeSystem
-
withCodeSystemName
-
withCodeSystemVersion
-
withDisplayName
-
withNullFlavor
- Overrides:
withNullFlavorin classANY
-
withNullFlavor
- Overrides:
withNullFlavorin classANY
-
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
-