
org.hl7.v3.COCTMT290000UV06BillableClinicalService Maven / Gradle / Ivy
Show all versions of ihe-iti Show documentation
//
// 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: 2013.12.15 at 11:19:24 AM PST
//
package org.hl7.v3;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
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 COCT_MT290000UV06.BillableClinicalService complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="COCT_MT290000UV06.BillableClinicalService">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <group ref="{urn:hl7-org:v3}InfrastructureRootElements"/>
* <element name="id" type="{urn:hl7-org:v3}II" maxOccurs="unbounded" minOccurs="0"/>
* <element name="code" type="{urn:hl7-org:v3}CD"/>
* <element name="effectiveTime" type="{urn:hl7-org:v3}IVL_TS"/>
* <element name="priorityCode" type="{urn:hl7-org:v3}CE" maxOccurs="unbounded" minOccurs="0"/>
* <element name="confidentialityCode" type="{urn:hl7-org:v3}CE" maxOccurs="unbounded" minOccurs="0"/>
* <element name="repeatNumber" type="{urn:hl7-org:v3}IVL_INT" minOccurs="0"/>
* <element name="reasonCode" type="{urn:hl7-org:v3}CE" maxOccurs="unbounded" minOccurs="0"/>
* <element name="subject" type="{urn:hl7-org:v3}COCT_MT290000UV06.Subject5" maxOccurs="unbounded" minOccurs="0"/>
* <element name="reusableDevice" type="{urn:hl7-org:v3}COCT_MT290000UV06.ReusableDevice" minOccurs="0"/>
* <element name="product" type="{urn:hl7-org:v3}COCT_MT290000UV06.Product1" maxOccurs="unbounded" minOccurs="0"/>
* <element name="responsibleParty" type="{urn:hl7-org:v3}COCT_MT290000UV06.ResponsibleParty" minOccurs="0"/>
* <element name="secondaryPerformer" type="{urn:hl7-org:v3}COCT_MT290000UV06.SecondaryPerformer" maxOccurs="unbounded" minOccurs="0"/>
* <element name="performer" type="{urn:hl7-org:v3}COCT_MT290000UV06.Performer" minOccurs="0"/>
* <element name="author" type="{urn:hl7-org:v3}COCT_MT290000UV06.Author" minOccurs="0"/>
* <element name="consultant" type="{urn:hl7-org:v3}COCT_MT290000UV06.Consultant" maxOccurs="unbounded" minOccurs="0"/>
* <element name="location" type="{urn:hl7-org:v3}COCT_MT290000UV06.Location" minOccurs="0"/>
* <element name="inFulfillmentOf" type="{urn:hl7-org:v3}COCT_MT290000UV06.InFulfillmentOf" maxOccurs="unbounded" minOccurs="0"/>
* <element name="reason1" type="{urn:hl7-org:v3}COCT_MT290000UV06.Reason1" maxOccurs="unbounded" minOccurs="0"/>
* <element name="reason2" type="{urn:hl7-org:v3}COCT_MT290000UV06.Reason4" maxOccurs="unbounded" minOccurs="0"/>
* <element name="reason3" type="{urn:hl7-org:v3}COCT_MT290000UV06.Reason3" maxOccurs="unbounded" minOccurs="0"/>
* <element name="component" type="{urn:hl7-org:v3}COCT_MT290000UV06.Component2" minOccurs="0"/>
* <element name="subjectOf1" type="{urn:hl7-org:v3}COCT_MT290000UV06.Subject2" maxOccurs="unbounded" minOccurs="0"/>
* <element name="subjectOf2" type="{urn:hl7-org:v3}COCT_MT290000UV06.Subject" minOccurs="0"/>
* <element name="componentOf" type="{urn:hl7-org:v3}COCT_MT290000UV06.Component1" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* <attGroup ref="{urn:hl7-org:v3}InfrastructureRootAttributes"/>
* <attribute name="nullFlavor" type="{urn:hl7-org:v3}NullFlavor" />
* <attribute name="classCode" use="required" type="{urn:hl7-org:v3}ActClassRoot" />
* <attribute name="moodCode" use="required" type="{urn:hl7-org:v3}ActMoodCompletionTrack" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "COCT_MT290000UV06.BillableClinicalService", namespace = "urn:hl7-org:v3", propOrder = {
"realmCode",
"typeId",
"templateId",
"id",
"code",
"effectiveTime",
"priorityCode",
"confidentialityCode",
"repeatNumber",
"reasonCode",
"subject",
"reusableDevice",
"product",
"responsibleParty",
"secondaryPerformer",
"performer",
"author",
"consultant",
"location",
"inFulfillmentOf",
"reason1",
"reason2",
"reason3",
"component",
"subjectOf1",
"subjectOf2",
"componentOf"
})
public class COCTMT290000UV06BillableClinicalService {
@XmlElement(namespace = "urn:hl7-org:v3")
protected List realmCode;
@XmlElement(namespace = "urn:hl7-org:v3")
protected II typeId;
@XmlElement(namespace = "urn:hl7-org:v3")
protected List templateId;
@XmlElement(namespace = "urn:hl7-org:v3")
protected List id;
@XmlElement(namespace = "urn:hl7-org:v3", required = true)
protected CD code;
@XmlElement(namespace = "urn:hl7-org:v3", required = true)
protected IVLTS effectiveTime;
@XmlElement(namespace = "urn:hl7-org:v3")
protected List priorityCode;
@XmlElement(namespace = "urn:hl7-org:v3")
protected List confidentialityCode;
@XmlElement(namespace = "urn:hl7-org:v3")
protected IVLINT repeatNumber;
@XmlElement(namespace = "urn:hl7-org:v3")
protected List reasonCode;
@XmlElement(namespace = "urn:hl7-org:v3", nillable = true)
protected List subject;
@XmlElement(namespace = "urn:hl7-org:v3", nillable = true)
protected COCTMT290000UV06ReusableDevice reusableDevice;
@XmlElement(namespace = "urn:hl7-org:v3", nillable = true)
protected List product;
@XmlElement(namespace = "urn:hl7-org:v3", nillable = true)
protected COCTMT290000UV06ResponsibleParty responsibleParty;
@XmlElement(namespace = "urn:hl7-org:v3", nillable = true)
protected List secondaryPerformer;
@XmlElement(namespace = "urn:hl7-org:v3", nillable = true)
protected COCTMT290000UV06Performer performer;
@XmlElement(namespace = "urn:hl7-org:v3", nillable = true)
protected COCTMT290000UV06Author author;
@XmlElement(namespace = "urn:hl7-org:v3", nillable = true)
protected List consultant;
@XmlElement(namespace = "urn:hl7-org:v3", nillable = true)
protected COCTMT290000UV06Location location;
@XmlElement(namespace = "urn:hl7-org:v3", nillable = true)
protected List inFulfillmentOf;
@XmlElement(namespace = "urn:hl7-org:v3", nillable = true)
protected List reason1;
@XmlElement(namespace = "urn:hl7-org:v3", nillable = true)
protected List reason2;
@XmlElement(namespace = "urn:hl7-org:v3", nillable = true)
protected List reason3;
@XmlElement(namespace = "urn:hl7-org:v3", nillable = true)
protected COCTMT290000UV06Component2 component;
@XmlElement(namespace = "urn:hl7-org:v3", nillable = true)
protected List subjectOf1;
@XmlElement(namespace = "urn:hl7-org:v3", nillable = true)
protected COCTMT290000UV06Subject subjectOf2;
@XmlElement(namespace = "urn:hl7-org:v3", nillable = true)
protected List componentOf;
@XmlAttribute(name = "nullFlavor")
protected List nullFlavor;
@XmlAttribute(name = "classCode", required = true)
protected List classCode;
@XmlAttribute(name = "moodCode", required = true)
protected List moodCode;
/**
* Gets the value of the realmCode 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 JAXB object.
* This is why there is not a set
method for the realmCode property.
*
*
* For example, to add a new item, do as follows:
*
* getRealmCode().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link CS }
*
*
*/
public List getRealmCode() {
if (realmCode == null) {
realmCode = new ArrayList();
}
return this.realmCode;
}
/**
* Gets the value of the typeId property.
*
* @return
* possible object is
* {@link II }
*
*/
public II getTypeId() {
return typeId;
}
/**
* Sets the value of the typeId property.
*
* @param value
* allowed object is
* {@link II }
*
*/
public void setTypeId(II value) {
this.typeId = value;
}
/**
* Gets the value of the templateId 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 JAXB object.
* This is why there is not a set
method for the templateId property.
*
*
* For example, to add a new item, do as follows:
*
* getTemplateId().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link II }
*
*
*/
public List getTemplateId() {
if (templateId == null) {
templateId = new ArrayList();
}
return this.templateId;
}
/**
* Gets the value of the id 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 JAXB object.
* This is why there is not a set
method for the id property.
*
*
* For example, to add a new item, do as follows:
*
* getId().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link II }
*
*
*/
public List getId() {
if (id == null) {
id = new ArrayList();
}
return this.id;
}
/**
* Gets the value of the code property.
*
* @return
* possible object is
* {@link CD }
*
*/
public CD getCode() {
return code;
}
/**
* Sets the value of the code property.
*
* @param value
* allowed object is
* {@link CD }
*
*/
public void setCode(CD value) {
this.code = value;
}
/**
* Gets the value of the effectiveTime property.
*
* @return
* possible object is
* {@link IVLTS }
*
*/
public IVLTS getEffectiveTime() {
return effectiveTime;
}
/**
* Sets the value of the effectiveTime property.
*
* @param value
* allowed object is
* {@link IVLTS }
*
*/
public void setEffectiveTime(IVLTS value) {
this.effectiveTime = value;
}
/**
* Gets the value of the priorityCode 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 JAXB object.
* This is why there is not a set
method for the priorityCode property.
*
*
* For example, to add a new item, do as follows:
*
* getPriorityCode().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link CE }
*
*
*/
public List getPriorityCode() {
if (priorityCode == null) {
priorityCode = new ArrayList();
}
return this.priorityCode;
}
/**
* Gets the value of the confidentialityCode 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 JAXB object.
* This is why there is not a set
method for the confidentialityCode property.
*
*
* For example, to add a new item, do as follows:
*
* getConfidentialityCode().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link CE }
*
*
*/
public List getConfidentialityCode() {
if (confidentialityCode == null) {
confidentialityCode = new ArrayList();
}
return this.confidentialityCode;
}
/**
* Gets the value of the repeatNumber property.
*
* @return
* possible object is
* {@link IVLINT }
*
*/
public IVLINT getRepeatNumber() {
return repeatNumber;
}
/**
* Sets the value of the repeatNumber property.
*
* @param value
* allowed object is
* {@link IVLINT }
*
*/
public void setRepeatNumber(IVLINT value) {
this.repeatNumber = value;
}
/**
* Gets the value of the reasonCode 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 JAXB object.
* This is why there is not a set
method for the reasonCode property.
*
*
* For example, to add a new item, do as follows:
*
* getReasonCode().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link CE }
*
*
*/
public List getReasonCode() {
if (reasonCode == null) {
reasonCode = new ArrayList();
}
return this.reasonCode;
}
/**
* Gets the value of the subject 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 JAXB object.
* This is why there is not a set
method for the subject property.
*
*
* For example, to add a new item, do as follows:
*
* getSubject().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link COCTMT290000UV06Subject5 }
*
*
*/
public List getSubject() {
if (subject == null) {
subject = new ArrayList();
}
return this.subject;
}
/**
* Gets the value of the reusableDevice property.
*
* @return
* possible object is
* {@link COCTMT290000UV06ReusableDevice }
*
*/
public COCTMT290000UV06ReusableDevice getReusableDevice() {
return reusableDevice;
}
/**
* Sets the value of the reusableDevice property.
*
* @param value
* allowed object is
* {@link COCTMT290000UV06ReusableDevice }
*
*/
public void setReusableDevice(COCTMT290000UV06ReusableDevice value) {
this.reusableDevice = value;
}
/**
* Gets the value of the product 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 JAXB object.
* This is why there is not a set
method for the product property.
*
*
* For example, to add a new item, do as follows:
*
* getProduct().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link COCTMT290000UV06Product1 }
*
*
*/
public List getProduct() {
if (product == null) {
product = new ArrayList();
}
return this.product;
}
/**
* Gets the value of the responsibleParty property.
*
* @return
* possible object is
* {@link COCTMT290000UV06ResponsibleParty }
*
*/
public COCTMT290000UV06ResponsibleParty getResponsibleParty() {
return responsibleParty;
}
/**
* Sets the value of the responsibleParty property.
*
* @param value
* allowed object is
* {@link COCTMT290000UV06ResponsibleParty }
*
*/
public void setResponsibleParty(COCTMT290000UV06ResponsibleParty value) {
this.responsibleParty = value;
}
/**
* Gets the value of the secondaryPerformer 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 JAXB object.
* This is why there is not a set
method for the secondaryPerformer property.
*
*
* For example, to add a new item, do as follows:
*
* getSecondaryPerformer().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link COCTMT290000UV06SecondaryPerformer }
*
*
*/
public List getSecondaryPerformer() {
if (secondaryPerformer == null) {
secondaryPerformer = new ArrayList();
}
return this.secondaryPerformer;
}
/**
* Gets the value of the performer property.
*
* @return
* possible object is
* {@link COCTMT290000UV06Performer }
*
*/
public COCTMT290000UV06Performer getPerformer() {
return performer;
}
/**
* Sets the value of the performer property.
*
* @param value
* allowed object is
* {@link COCTMT290000UV06Performer }
*
*/
public void setPerformer(COCTMT290000UV06Performer value) {
this.performer = value;
}
/**
* Gets the value of the author property.
*
* @return
* possible object is
* {@link COCTMT290000UV06Author }
*
*/
public COCTMT290000UV06Author getAuthor() {
return author;
}
/**
* Sets the value of the author property.
*
* @param value
* allowed object is
* {@link COCTMT290000UV06Author }
*
*/
public void setAuthor(COCTMT290000UV06Author value) {
this.author = value;
}
/**
* Gets the value of the consultant 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 JAXB object.
* This is why there is not a set
method for the consultant property.
*
*
* For example, to add a new item, do as follows:
*
* getConsultant().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link COCTMT290000UV06Consultant }
*
*
*/
public List getConsultant() {
if (consultant == null) {
consultant = new ArrayList();
}
return this.consultant;
}
/**
* Gets the value of the location property.
*
* @return
* possible object is
* {@link COCTMT290000UV06Location }
*
*/
public COCTMT290000UV06Location getLocation() {
return location;
}
/**
* Sets the value of the location property.
*
* @param value
* allowed object is
* {@link COCTMT290000UV06Location }
*
*/
public void setLocation(COCTMT290000UV06Location value) {
this.location = value;
}
/**
* Gets the value of the inFulfillmentOf 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 JAXB object.
* This is why there is not a set
method for the inFulfillmentOf property.
*
*
* For example, to add a new item, do as follows:
*
* getInFulfillmentOf().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link COCTMT290000UV06InFulfillmentOf }
*
*
*/
public List getInFulfillmentOf() {
if (inFulfillmentOf == null) {
inFulfillmentOf = new ArrayList();
}
return this.inFulfillmentOf;
}
/**
* Gets the value of the reason1 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 JAXB object.
* This is why there is not a set
method for the reason1 property.
*
*
* For example, to add a new item, do as follows:
*
* getReason1().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link COCTMT290000UV06Reason1 }
*
*
*/
public List getReason1() {
if (reason1 == null) {
reason1 = new ArrayList();
}
return this.reason1;
}
/**
* Gets the value of the reason2 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 JAXB object.
* This is why there is not a set
method for the reason2 property.
*
*
* For example, to add a new item, do as follows:
*
* getReason2().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link COCTMT290000UV06Reason4 }
*
*
*/
public List getReason2() {
if (reason2 == null) {
reason2 = new ArrayList();
}
return this.reason2;
}
/**
* Gets the value of the reason3 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 JAXB object.
* This is why there is not a set
method for the reason3 property.
*
*
* For example, to add a new item, do as follows:
*
* getReason3().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link COCTMT290000UV06Reason3 }
*
*
*/
public List getReason3() {
if (reason3 == null) {
reason3 = new ArrayList();
}
return this.reason3;
}
/**
* Gets the value of the component property.
*
* @return
* possible object is
* {@link COCTMT290000UV06Component2 }
*
*/
public COCTMT290000UV06Component2 getComponent() {
return component;
}
/**
* Sets the value of the component property.
*
* @param value
* allowed object is
* {@link COCTMT290000UV06Component2 }
*
*/
public void setComponent(COCTMT290000UV06Component2 value) {
this.component = value;
}
/**
* Gets the value of the subjectOf1 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 JAXB object.
* This is why there is not a set
method for the subjectOf1 property.
*
*
* For example, to add a new item, do as follows:
*
* getSubjectOf1().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link COCTMT290000UV06Subject2 }
*
*
*/
public List getSubjectOf1() {
if (subjectOf1 == null) {
subjectOf1 = new ArrayList();
}
return this.subjectOf1;
}
/**
* Gets the value of the subjectOf2 property.
*
* @return
* possible object is
* {@link COCTMT290000UV06Subject }
*
*/
public COCTMT290000UV06Subject getSubjectOf2() {
return subjectOf2;
}
/**
* Sets the value of the subjectOf2 property.
*
* @param value
* allowed object is
* {@link COCTMT290000UV06Subject }
*
*/
public void setSubjectOf2(COCTMT290000UV06Subject value) {
this.subjectOf2 = value;
}
/**
* Gets the value of the componentOf 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 JAXB object.
* This is why there is not a set
method for the componentOf property.
*
*
* For example, to add a new item, do as follows:
*
* getComponentOf().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link COCTMT290000UV06Component1 }
*
*
*/
public List getComponentOf() {
if (componentOf == null) {
componentOf = new ArrayList();
}
return this.componentOf;
}
/**
* Gets the value of the nullFlavor 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 JAXB object.
* This is why there is not a set
method for the nullFlavor property.
*
*
* For example, to add a new item, do as follows:
*
* getNullFlavor().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
*/
public List getNullFlavor() {
if (nullFlavor == null) {
nullFlavor = new ArrayList();
}
return this.nullFlavor;
}
/**
* Gets the value of the classCode 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 JAXB object.
* This is why there is not a set
method for the classCode property.
*
*
* For example, to add a new item, do as follows:
*
* getClassCode().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
*/
public List getClassCode() {
if (classCode == null) {
classCode = new ArrayList();
}
return this.classCode;
}
/**
* Gets the value of the moodCode 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 JAXB object.
* This is why there is not a set
method for the moodCode property.
*
*
* For example, to add a new item, do as follows:
*
* getMoodCode().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
*/
public List getMoodCode() {
if (moodCode == null) {
moodCode = new ArrayList();
}
return this.moodCode;
}
public COCTMT290000UV06BillableClinicalService withRealmCode(CS... values) {
if (values!= null) {
for (CS value: values) {
getRealmCode().add(value);
}
}
return this;
}
public COCTMT290000UV06BillableClinicalService withRealmCode(Collection values) {
if (values!= null) {
getRealmCode().addAll(values);
}
return this;
}
public COCTMT290000UV06BillableClinicalService withTypeId(II value) {
setTypeId(value);
return this;
}
public COCTMT290000UV06BillableClinicalService withTemplateId(II... values) {
if (values!= null) {
for (II value: values) {
getTemplateId().add(value);
}
}
return this;
}
public COCTMT290000UV06BillableClinicalService withTemplateId(Collection values) {
if (values!= null) {
getTemplateId().addAll(values);
}
return this;
}
public COCTMT290000UV06BillableClinicalService withId(II... values) {
if (values!= null) {
for (II value: values) {
getId().add(value);
}
}
return this;
}
public COCTMT290000UV06BillableClinicalService withId(Collection values) {
if (values!= null) {
getId().addAll(values);
}
return this;
}
public COCTMT290000UV06BillableClinicalService withCode(CD value) {
setCode(value);
return this;
}
public COCTMT290000UV06BillableClinicalService withEffectiveTime(IVLTS value) {
setEffectiveTime(value);
return this;
}
public COCTMT290000UV06BillableClinicalService withPriorityCode(CE... values) {
if (values!= null) {
for (CE value: values) {
getPriorityCode().add(value);
}
}
return this;
}
public COCTMT290000UV06BillableClinicalService withPriorityCode(Collection values) {
if (values!= null) {
getPriorityCode().addAll(values);
}
return this;
}
public COCTMT290000UV06BillableClinicalService withConfidentialityCode(CE... values) {
if (values!= null) {
for (CE value: values) {
getConfidentialityCode().add(value);
}
}
return this;
}
public COCTMT290000UV06BillableClinicalService withConfidentialityCode(Collection values) {
if (values!= null) {
getConfidentialityCode().addAll(values);
}
return this;
}
public COCTMT290000UV06BillableClinicalService withRepeatNumber(IVLINT value) {
setRepeatNumber(value);
return this;
}
public COCTMT290000UV06BillableClinicalService withReasonCode(CE... values) {
if (values!= null) {
for (CE value: values) {
getReasonCode().add(value);
}
}
return this;
}
public COCTMT290000UV06BillableClinicalService withReasonCode(Collection values) {
if (values!= null) {
getReasonCode().addAll(values);
}
return this;
}
public COCTMT290000UV06BillableClinicalService withSubject(COCTMT290000UV06Subject5 ... values) {
if (values!= null) {
for (COCTMT290000UV06Subject5 value: values) {
getSubject().add(value);
}
}
return this;
}
public COCTMT290000UV06BillableClinicalService withSubject(Collection values) {
if (values!= null) {
getSubject().addAll(values);
}
return this;
}
public COCTMT290000UV06BillableClinicalService withReusableDevice(COCTMT290000UV06ReusableDevice value) {
setReusableDevice(value);
return this;
}
public COCTMT290000UV06BillableClinicalService withProduct(COCTMT290000UV06Product1 ... values) {
if (values!= null) {
for (COCTMT290000UV06Product1 value: values) {
getProduct().add(value);
}
}
return this;
}
public COCTMT290000UV06BillableClinicalService withProduct(Collection values) {
if (values!= null) {
getProduct().addAll(values);
}
return this;
}
public COCTMT290000UV06BillableClinicalService withResponsibleParty(COCTMT290000UV06ResponsibleParty value) {
setResponsibleParty(value);
return this;
}
public COCTMT290000UV06BillableClinicalService withSecondaryPerformer(COCTMT290000UV06SecondaryPerformer... values) {
if (values!= null) {
for (COCTMT290000UV06SecondaryPerformer value: values) {
getSecondaryPerformer().add(value);
}
}
return this;
}
public COCTMT290000UV06BillableClinicalService withSecondaryPerformer(Collection values) {
if (values!= null) {
getSecondaryPerformer().addAll(values);
}
return this;
}
public COCTMT290000UV06BillableClinicalService withPerformer(COCTMT290000UV06Performer value) {
setPerformer(value);
return this;
}
public COCTMT290000UV06BillableClinicalService withAuthor(COCTMT290000UV06Author value) {
setAuthor(value);
return this;
}
public COCTMT290000UV06BillableClinicalService withConsultant(COCTMT290000UV06Consultant... values) {
if (values!= null) {
for (COCTMT290000UV06Consultant value: values) {
getConsultant().add(value);
}
}
return this;
}
public COCTMT290000UV06BillableClinicalService withConsultant(Collection values) {
if (values!= null) {
getConsultant().addAll(values);
}
return this;
}
public COCTMT290000UV06BillableClinicalService withLocation(COCTMT290000UV06Location value) {
setLocation(value);
return this;
}
public COCTMT290000UV06BillableClinicalService withInFulfillmentOf(COCTMT290000UV06InFulfillmentOf... values) {
if (values!= null) {
for (COCTMT290000UV06InFulfillmentOf value: values) {
getInFulfillmentOf().add(value);
}
}
return this;
}
public COCTMT290000UV06BillableClinicalService withInFulfillmentOf(Collection values) {
if (values!= null) {
getInFulfillmentOf().addAll(values);
}
return this;
}
public COCTMT290000UV06BillableClinicalService withReason1(COCTMT290000UV06Reason1 ... values) {
if (values!= null) {
for (COCTMT290000UV06Reason1 value: values) {
getReason1().add(value);
}
}
return this;
}
public COCTMT290000UV06BillableClinicalService withReason1(Collection values) {
if (values!= null) {
getReason1().addAll(values);
}
return this;
}
public COCTMT290000UV06BillableClinicalService withReason2(COCTMT290000UV06Reason4 ... values) {
if (values!= null) {
for (COCTMT290000UV06Reason4 value: values) {
getReason2().add(value);
}
}
return this;
}
public COCTMT290000UV06BillableClinicalService withReason2(Collection values) {
if (values!= null) {
getReason2().addAll(values);
}
return this;
}
public COCTMT290000UV06BillableClinicalService withReason3(COCTMT290000UV06Reason3 ... values) {
if (values!= null) {
for (COCTMT290000UV06Reason3 value: values) {
getReason3().add(value);
}
}
return this;
}
public COCTMT290000UV06BillableClinicalService withReason3(Collection values) {
if (values!= null) {
getReason3().addAll(values);
}
return this;
}
public COCTMT290000UV06BillableClinicalService withComponent(COCTMT290000UV06Component2 value) {
setComponent(value);
return this;
}
public COCTMT290000UV06BillableClinicalService withSubjectOf1(COCTMT290000UV06Subject2 ... values) {
if (values!= null) {
for (COCTMT290000UV06Subject2 value: values) {
getSubjectOf1().add(value);
}
}
return this;
}
public COCTMT290000UV06BillableClinicalService withSubjectOf1(Collection values) {
if (values!= null) {
getSubjectOf1().addAll(values);
}
return this;
}
public COCTMT290000UV06BillableClinicalService withSubjectOf2(COCTMT290000UV06Subject value) {
setSubjectOf2(value);
return this;
}
public COCTMT290000UV06BillableClinicalService withComponentOf(COCTMT290000UV06Component1 ... values) {
if (values!= null) {
for (COCTMT290000UV06Component1 value: values) {
getComponentOf().add(value);
}
}
return this;
}
public COCTMT290000UV06BillableClinicalService withComponentOf(Collection values) {
if (values!= null) {
getComponentOf().addAll(values);
}
return this;
}
public COCTMT290000UV06BillableClinicalService withNullFlavor(String... values) {
if (values!= null) {
for (String value: values) {
getNullFlavor().add(value);
}
}
return this;
}
public COCTMT290000UV06BillableClinicalService withNullFlavor(Collection values) {
if (values!= null) {
getNullFlavor().addAll(values);
}
return this;
}
public COCTMT290000UV06BillableClinicalService withClassCode(String... values) {
if (values!= null) {
for (String value: values) {
getClassCode().add(value);
}
}
return this;
}
public COCTMT290000UV06BillableClinicalService withClassCode(Collection values) {
if (values!= null) {
getClassCode().addAll(values);
}
return this;
}
public COCTMT290000UV06BillableClinicalService withMoodCode(String... values) {
if (values!= null) {
for (String value: values) {
getMoodCode().add(value);
}
}
return this;
}
public COCTMT290000UV06BillableClinicalService withMoodCode(Collection values) {
if (values!= null) {
getMoodCode().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);
}
}