
ihe.iti.svs._2008.CE Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ihe-iti Show documentation
Show all versions of ihe-iti Show documentation
Codegen for IHE ITI Profiles.
package ihe.iti.svs._2008;
import java.util.Collection;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;
import org.apache.commons.lang.builder.EqualsBuilder;
import org.apache.commons.lang.builder.HashCodeBuilder;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;
/**
*
* Coded data, consists of a coded value (CV)
* and, optionally, coded value(s) from other coding systems
* that identify the same concept. Used when alternative
* codes may exist.
*
*
* Java class for CE complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="CE">
* <complexContent>
* <restriction base="{urn:ihe:iti:svs:2008}CD">
* <sequence>
* <element name="originalText" type="{urn:ihe:iti:svs:2008}ED" minOccurs="0"/>
* <element name="qualifier" type="{urn:ihe:iti:svs:2008}CR" maxOccurs="0" minOccurs="0"/>
* <element name="translation" type="{urn:ihe:iti:svs:2008}CD" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* <attribute name="code" type="{urn:ihe:iti:svs:2008}cs" />
* <attribute name="codeSystem" type="{urn:ihe:iti:svs:2008}uid" />
* <attribute name="codeSystemName" type="{urn:ihe:iti:svs:2008}st" />
* <attribute name="codeSystemVersion" type="{urn:ihe:iti:svs:2008}st" />
* <attribute name="displayName" type="{urn:ihe:iti:svs:2008}st" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "CE")
@XmlSeeAlso({
EIVLEvent.class,
CV.class,
HXITCE.class
})
public class CE
extends CD
{
@Override
public CE withOriginalText(ED value) {
setOriginalText(value);
return this;
}
@Override
public CE withQualifier(CR... values) {
if (values!= null) {
for (CR value: values) {
getQualifier().add(value);
}
}
return this;
}
@Override
public CE withQualifier(Collection values) {
if (values!= null) {
getQualifier().addAll(values);
}
return this;
}
@Override
public CE withTranslation(CD... values) {
if (values!= null) {
for (CD value: values) {
getTranslation().add(value);
}
}
return this;
}
@Override
public CE withTranslation(Collection values) {
if (values!= null) {
getTranslation().addAll(values);
}
return this;
}
@Override
public CE withCode(String value) {
setCode(value);
return this;
}
@Override
public CE withCodeSystem(String value) {
setCodeSystem(value);
return this;
}
@Override
public CE withCodeSystemName(String value) {
setCodeSystemName(value);
return this;
}
@Override
public CE withCodeSystemVersion(String value) {
setCodeSystemVersion(value);
return this;
}
@Override
public CE withDisplayName(String value) {
setDisplayName(value);
return this;
}
@Override
public CE withNullFlavor(String... values) {
if (values!= null) {
for (String value: values) {
getNullFlavor().add(value);
}
}
return this;
}
@Override
public CE withNullFlavor(Collection values) {
if (values!= null) {
getNullFlavor().addAll(values);
}
return this;
}
@Override
public String toString() {
return ToStringBuilder.reflectionToString(this, ToStringStyle.MULTI_LINE_STYLE);
}
@Override
public boolean equals(Object that) {
return EqualsBuilder.reflectionEquals(this, that);
}
@Override
public int hashCode() {
return HashCodeBuilder.reflectionHashCode(this);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy