
org.hl7.v3.PRPAMT201302UV02PatientStatusCode 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.
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.6
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2014.03.10 at 07:30:12 PM PDT
//
package org.hl7.v3;
import java.util.Collection;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
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;
/**
* Java class for PRPA_MT201302UV02.Patient.statusCode complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="PRPA_MT201302UV02.Patient.statusCode">
* <complexContent>
* <extension base="{urn:hl7-org:v3}CS">
* <attribute name="updateMode" type="{urn:hl7-org:v3}PRPA_MT201302UV02.Patient.statusCode.updateMode" />
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "PRPA_MT201302UV02.Patient.statusCode", namespace = "urn:hl7-org:v3")
public class PRPAMT201302UV02PatientStatusCode
extends CS
{
@XmlAttribute(name = "updateMode")
protected PRPAMT201302UV02PatientStatusCodeUpdateMode updateMode;
/**
* Gets the value of the updateMode property.
*
* @return
* possible object is
* {@link PRPAMT201302UV02PatientStatusCodeUpdateMode }
*
*/
public PRPAMT201302UV02PatientStatusCodeUpdateMode getUpdateMode() {
return updateMode;
}
/**
* Sets the value of the updateMode property.
*
* @param value
* allowed object is
* {@link PRPAMT201302UV02PatientStatusCodeUpdateMode }
*
*/
public void setUpdateMode(PRPAMT201302UV02PatientStatusCodeUpdateMode value) {
this.updateMode = value;
}
public PRPAMT201302UV02PatientStatusCode withUpdateMode(PRPAMT201302UV02PatientStatusCodeUpdateMode value) {
setUpdateMode(value);
return this;
}
@Override
public PRPAMT201302UV02PatientStatusCode withOriginalText(ED value) {
setOriginalText(value);
return this;
}
@Override
public PRPAMT201302UV02PatientStatusCode withQualifier(CR... values) {
if (values!= null) {
for (CR value: values) {
getQualifier().add(value);
}
}
return this;
}
@Override
public PRPAMT201302UV02PatientStatusCode withQualifier(Collection values) {
if (values!= null) {
getQualifier().addAll(values);
}
return this;
}
@Override
public PRPAMT201302UV02PatientStatusCode withTranslation(CD... values) {
if (values!= null) {
for (CD value: values) {
getTranslation().add(value);
}
}
return this;
}
@Override
public PRPAMT201302UV02PatientStatusCode withTranslation(Collection values) {
if (values!= null) {
getTranslation().addAll(values);
}
return this;
}
@Override
public PRPAMT201302UV02PatientStatusCode withCode(String value) {
setCode(value);
return this;
}
@Override
public PRPAMT201302UV02PatientStatusCode withCodeSystem(String value) {
setCodeSystem(value);
return this;
}
@Override
public PRPAMT201302UV02PatientStatusCode withCodeSystemName(String value) {
setCodeSystemName(value);
return this;
}
@Override
public PRPAMT201302UV02PatientStatusCode withCodeSystemVersion(String value) {
setCodeSystemVersion(value);
return this;
}
@Override
public PRPAMT201302UV02PatientStatusCode withDisplayName(String value) {
setDisplayName(value);
return this;
}
@Override
public PRPAMT201302UV02PatientStatusCode withNullFlavor(String... values) {
if (values!= null) {
for (String value: values) {
getNullFlavor().add(value);
}
}
return this;
}
@Override
public PRPAMT201302UV02PatientStatusCode 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