
org.hl7.v3.PRPAMT201303UV02NonPersonLivingSubject 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 PRPA_MT201303UV02.NonPersonLivingSubject complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="PRPA_MT201303UV02.NonPersonLivingSubject">
* <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}CE" minOccurs="0"/>
* <element name="name" type="{urn:hl7-org:v3}EN" maxOccurs="unbounded" minOccurs="0"/>
* <element name="desc" type="{urn:hl7-org:v3}ED" minOccurs="0"/>
* <element name="existenceTime" type="{urn:hl7-org:v3}IVL_TS" minOccurs="0"/>
* <element name="telecom" type="{urn:hl7-org:v3}TEL" maxOccurs="unbounded" minOccurs="0"/>
* <element name="riskCode" type="{urn:hl7-org:v3}CE" maxOccurs="unbounded" minOccurs="0"/>
* <element name="handlingCode" type="{urn:hl7-org:v3}CE" maxOccurs="unbounded" minOccurs="0"/>
* <element name="administrativeGenderCode" type="{urn:hl7-org:v3}CE" minOccurs="0"/>
* <element name="birthTime" type="{urn:hl7-org:v3}TS" minOccurs="0"/>
* <element name="deceasedInd" type="{urn:hl7-org:v3}BL" minOccurs="0"/>
* <element name="deceasedTime" type="{urn:hl7-org:v3}TS" minOccurs="0"/>
* <element name="multipleBirthInd" type="{urn:hl7-org:v3}BL" minOccurs="0"/>
* <element name="multipleBirthOrderNumber" type="{urn:hl7-org:v3}INT" minOccurs="0"/>
* <element name="organDonorInd" type="{urn:hl7-org:v3}BL" minOccurs="0"/>
* <element name="strainText" type="{urn:hl7-org:v3}ED" minOccurs="0"/>
* <element name="genderStatusCode" type="{urn:hl7-org:v3}CE" minOccurs="0"/>
* <element name="asPatientOfOtherProvider" type="{urn:hl7-org:v3}PRPA_MT201303UV02.PatientOfOtherProvider" maxOccurs="unbounded" minOccurs="0"/>
* <element name="asMember" type="{urn:hl7-org:v3}PRPA_MT201303UV02.Member" maxOccurs="unbounded" minOccurs="0"/>
* <element name="asOtherIDs" type="{urn:hl7-org:v3}PRPA_MT201303UV02.OtherIDs" maxOccurs="unbounded" minOccurs="0"/>
* <element name="contactParty" type="{urn:hl7-org:v3}PRPA_MT201303UV02.ContactParty" maxOccurs="unbounded" minOccurs="0"/>
* <element name="guardian" type="{urn:hl7-org:v3}PRPA_MT201303UV02.Guardian" maxOccurs="unbounded" minOccurs="0"/>
* <element name="personalRelationship" type="{urn:hl7-org:v3}PRPA_MT201303UV02.PersonalRelationship" maxOccurs="unbounded" minOccurs="0"/>
* <element name="careGiver" type="{urn:hl7-org:v3}PRPA_MT201303UV02.CareGiver" maxOccurs="unbounded" minOccurs="0"/>
* <element name="birthPlace" type="{urn:hl7-org:v3}PRPA_MT201303UV02.BirthPlace" minOccurs="0"/>
* <element name="guarantorRole" type="{urn:hl7-org:v3}COCT_MT670000UV04.GuarantorRole" 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}EntityClassNonPersonLivingSubject" />
* <attribute name="determinerCode" type="{urn:hl7-org:v3}EntityDeterminer" fixed="INSTANCE" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "PRPA_MT201303UV02.NonPersonLivingSubject", namespace = "urn:hl7-org:v3", propOrder = {
"realmCode",
"typeId",
"templateId",
"id",
"code",
"name",
"desc",
"existenceTime",
"telecom",
"riskCode",
"handlingCode",
"administrativeGenderCode",
"birthTime",
"deceasedInd",
"deceasedTime",
"multipleBirthInd",
"multipleBirthOrderNumber",
"organDonorInd",
"strainText",
"genderStatusCode",
"asPatientOfOtherProvider",
"asMember",
"asOtherIDs",
"contactParty",
"guardian",
"personalRelationship",
"careGiver",
"birthPlace",
"guarantorRole"
})
public class PRPAMT201303UV02NonPersonLivingSubject {
@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")
protected CE code;
@XmlElement(namespace = "urn:hl7-org:v3")
protected List name;
@XmlElement(namespace = "urn:hl7-org:v3")
protected ED desc;
@XmlElement(namespace = "urn:hl7-org:v3")
protected IVLTS existenceTime;
@XmlElement(namespace = "urn:hl7-org:v3")
protected List telecom;
@XmlElement(namespace = "urn:hl7-org:v3")
protected List riskCode;
@XmlElement(namespace = "urn:hl7-org:v3")
protected List handlingCode;
@XmlElement(namespace = "urn:hl7-org:v3")
protected CE administrativeGenderCode;
@XmlElement(namespace = "urn:hl7-org:v3")
protected TS birthTime;
@XmlElement(namespace = "urn:hl7-org:v3")
protected BL deceasedInd;
@XmlElement(namespace = "urn:hl7-org:v3")
protected TS deceasedTime;
@XmlElement(namespace = "urn:hl7-org:v3")
protected BL multipleBirthInd;
@XmlElement(namespace = "urn:hl7-org:v3")
protected INT multipleBirthOrderNumber;
@XmlElement(namespace = "urn:hl7-org:v3")
protected BL organDonorInd;
@XmlElement(namespace = "urn:hl7-org:v3")
protected ED strainText;
@XmlElement(namespace = "urn:hl7-org:v3")
protected CE genderStatusCode;
@XmlElement(namespace = "urn:hl7-org:v3", nillable = true)
protected List asPatientOfOtherProvider;
@XmlElement(namespace = "urn:hl7-org:v3", nillable = true)
protected List asMember;
@XmlElement(namespace = "urn:hl7-org:v3", nillable = true)
protected List asOtherIDs;
@XmlElement(namespace = "urn:hl7-org:v3", nillable = true)
protected List contactParty;
@XmlElement(namespace = "urn:hl7-org:v3", nillable = true)
protected List guardian;
@XmlElement(namespace = "urn:hl7-org:v3", nillable = true)
protected List personalRelationship;
@XmlElement(namespace = "urn:hl7-org:v3", nillable = true)
protected List careGiver;
@XmlElement(namespace = "urn:hl7-org:v3", nillable = true)
protected PRPAMT201303UV02BirthPlace birthPlace;
@XmlElement(namespace = "urn:hl7-org:v3", nillable = true)
protected List guarantorRole;
@XmlAttribute(name = "nullFlavor")
protected List nullFlavor;
@XmlAttribute(name = "classCode", required = true)
protected EntityClassNonPersonLivingSubject classCode;
@XmlAttribute(name = "determinerCode")
protected String determinerCode;
/**
* 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 CE }
*
*/
public CE getCode() {
return code;
}
/**
* Sets the value of the code property.
*
* @param value
* allowed object is
* {@link CE }
*
*/
public void setCode(CE value) {
this.code = value;
}
/**
* Gets the value of the name 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 name property.
*
*
* For example, to add a new item, do as follows:
*
* getName().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link EN }
*
*
*/
public List getName() {
if (name == null) {
name = new ArrayList();
}
return this.name;
}
/**
* Gets the value of the desc property.
*
* @return
* possible object is
* {@link ED }
*
*/
public ED getDesc() {
return desc;
}
/**
* Sets the value of the desc property.
*
* @param value
* allowed object is
* {@link ED }
*
*/
public void setDesc(ED value) {
this.desc = value;
}
/**
* Gets the value of the existenceTime property.
*
* @return
* possible object is
* {@link IVLTS }
*
*/
public IVLTS getExistenceTime() {
return existenceTime;
}
/**
* Sets the value of the existenceTime property.
*
* @param value
* allowed object is
* {@link IVLTS }
*
*/
public void setExistenceTime(IVLTS value) {
this.existenceTime = value;
}
/**
* Gets the value of the telecom 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 telecom property.
*
*
* For example, to add a new item, do as follows:
*
* getTelecom().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link TEL }
*
*
*/
public List getTelecom() {
if (telecom == null) {
telecom = new ArrayList();
}
return this.telecom;
}
/**
* Gets the value of the riskCode 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 riskCode property.
*
*
* For example, to add a new item, do as follows:
*
* getRiskCode().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link CE }
*
*
*/
public List getRiskCode() {
if (riskCode == null) {
riskCode = new ArrayList();
}
return this.riskCode;
}
/**
* Gets the value of the handlingCode 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 handlingCode property.
*
*
* For example, to add a new item, do as follows:
*
* getHandlingCode().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link CE }
*
*
*/
public List getHandlingCode() {
if (handlingCode == null) {
handlingCode = new ArrayList();
}
return this.handlingCode;
}
/**
* Gets the value of the administrativeGenderCode property.
*
* @return
* possible object is
* {@link CE }
*
*/
public CE getAdministrativeGenderCode() {
return administrativeGenderCode;
}
/**
* Sets the value of the administrativeGenderCode property.
*
* @param value
* allowed object is
* {@link CE }
*
*/
public void setAdministrativeGenderCode(CE value) {
this.administrativeGenderCode = value;
}
/**
* Gets the value of the birthTime property.
*
* @return
* possible object is
* {@link TS }
*
*/
public TS getBirthTime() {
return birthTime;
}
/**
* Sets the value of the birthTime property.
*
* @param value
* allowed object is
* {@link TS }
*
*/
public void setBirthTime(TS value) {
this.birthTime = value;
}
/**
* Gets the value of the deceasedInd property.
*
* @return
* possible object is
* {@link BL }
*
*/
public BL getDeceasedInd() {
return deceasedInd;
}
/**
* Sets the value of the deceasedInd property.
*
* @param value
* allowed object is
* {@link BL }
*
*/
public void setDeceasedInd(BL value) {
this.deceasedInd = value;
}
/**
* Gets the value of the deceasedTime property.
*
* @return
* possible object is
* {@link TS }
*
*/
public TS getDeceasedTime() {
return deceasedTime;
}
/**
* Sets the value of the deceasedTime property.
*
* @param value
* allowed object is
* {@link TS }
*
*/
public void setDeceasedTime(TS value) {
this.deceasedTime = value;
}
/**
* Gets the value of the multipleBirthInd property.
*
* @return
* possible object is
* {@link BL }
*
*/
public BL getMultipleBirthInd() {
return multipleBirthInd;
}
/**
* Sets the value of the multipleBirthInd property.
*
* @param value
* allowed object is
* {@link BL }
*
*/
public void setMultipleBirthInd(BL value) {
this.multipleBirthInd = value;
}
/**
* Gets the value of the multipleBirthOrderNumber property.
*
* @return
* possible object is
* {@link INT }
*
*/
public INT getMultipleBirthOrderNumber() {
return multipleBirthOrderNumber;
}
/**
* Sets the value of the multipleBirthOrderNumber property.
*
* @param value
* allowed object is
* {@link INT }
*
*/
public void setMultipleBirthOrderNumber(INT value) {
this.multipleBirthOrderNumber = value;
}
/**
* Gets the value of the organDonorInd property.
*
* @return
* possible object is
* {@link BL }
*
*/
public BL getOrganDonorInd() {
return organDonorInd;
}
/**
* Sets the value of the organDonorInd property.
*
* @param value
* allowed object is
* {@link BL }
*
*/
public void setOrganDonorInd(BL value) {
this.organDonorInd = value;
}
/**
* Gets the value of the strainText property.
*
* @return
* possible object is
* {@link ED }
*
*/
public ED getStrainText() {
return strainText;
}
/**
* Sets the value of the strainText property.
*
* @param value
* allowed object is
* {@link ED }
*
*/
public void setStrainText(ED value) {
this.strainText = value;
}
/**
* Gets the value of the genderStatusCode property.
*
* @return
* possible object is
* {@link CE }
*
*/
public CE getGenderStatusCode() {
return genderStatusCode;
}
/**
* Sets the value of the genderStatusCode property.
*
* @param value
* allowed object is
* {@link CE }
*
*/
public void setGenderStatusCode(CE value) {
this.genderStatusCode = value;
}
/**
* Gets the value of the asPatientOfOtherProvider 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 asPatientOfOtherProvider property.
*
*
* For example, to add a new item, do as follows:
*
* getAsPatientOfOtherProvider().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link PRPAMT201303UV02PatientOfOtherProvider }
*
*
*/
public List getAsPatientOfOtherProvider() {
if (asPatientOfOtherProvider == null) {
asPatientOfOtherProvider = new ArrayList();
}
return this.asPatientOfOtherProvider;
}
/**
* Gets the value of the asMember 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 asMember property.
*
*
* For example, to add a new item, do as follows:
*
* getAsMember().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link PRPAMT201303UV02Member }
*
*
*/
public List getAsMember() {
if (asMember == null) {
asMember = new ArrayList();
}
return this.asMember;
}
/**
* Gets the value of the asOtherIDs 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 asOtherIDs property.
*
*
* For example, to add a new item, do as follows:
*
* getAsOtherIDs().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link PRPAMT201303UV02OtherIDs }
*
*
*/
public List getAsOtherIDs() {
if (asOtherIDs == null) {
asOtherIDs = new ArrayList();
}
return this.asOtherIDs;
}
/**
* Gets the value of the contactParty 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 contactParty property.
*
*
* For example, to add a new item, do as follows:
*
* getContactParty().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link PRPAMT201303UV02ContactParty }
*
*
*/
public List getContactParty() {
if (contactParty == null) {
contactParty = new ArrayList();
}
return this.contactParty;
}
/**
* Gets the value of the guardian 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 guardian property.
*
*
* For example, to add a new item, do as follows:
*
* getGuardian().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link PRPAMT201303UV02Guardian }
*
*
*/
public List getGuardian() {
if (guardian == null) {
guardian = new ArrayList();
}
return this.guardian;
}
/**
* Gets the value of the personalRelationship 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 personalRelationship property.
*
*
* For example, to add a new item, do as follows:
*
* getPersonalRelationship().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link PRPAMT201303UV02PersonalRelationship }
*
*
*/
public List getPersonalRelationship() {
if (personalRelationship == null) {
personalRelationship = new ArrayList();
}
return this.personalRelationship;
}
/**
* Gets the value of the careGiver 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 careGiver property.
*
*
* For example, to add a new item, do as follows:
*
* getCareGiver().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link PRPAMT201303UV02CareGiver }
*
*
*/
public List getCareGiver() {
if (careGiver == null) {
careGiver = new ArrayList();
}
return this.careGiver;
}
/**
* Gets the value of the birthPlace property.
*
* @return
* possible object is
* {@link PRPAMT201303UV02BirthPlace }
*
*/
public PRPAMT201303UV02BirthPlace getBirthPlace() {
return birthPlace;
}
/**
* Sets the value of the birthPlace property.
*
* @param value
* allowed object is
* {@link PRPAMT201303UV02BirthPlace }
*
*/
public void setBirthPlace(PRPAMT201303UV02BirthPlace value) {
this.birthPlace = value;
}
/**
* Gets the value of the guarantorRole 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 guarantorRole property.
*
*
* For example, to add a new item, do as follows:
*
* getGuarantorRole().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link COCTMT670000UV04GuarantorRole }
*
*
*/
public List getGuarantorRole() {
if (guarantorRole == null) {
guarantorRole = new ArrayList();
}
return this.guarantorRole;
}
/**
* 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.
*
* @return
* possible object is
* {@link EntityClassNonPersonLivingSubject }
*
*/
public EntityClassNonPersonLivingSubject getClassCode() {
return classCode;
}
/**
* Sets the value of the classCode property.
*
* @param value
* allowed object is
* {@link EntityClassNonPersonLivingSubject }
*
*/
public void setClassCode(EntityClassNonPersonLivingSubject value) {
this.classCode = value;
}
/**
* Gets the value of the determinerCode property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getDeterminerCode() {
if (determinerCode == null) {
return "INSTANCE";
} else {
return determinerCode;
}
}
/**
* Sets the value of the determinerCode property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDeterminerCode(String value) {
this.determinerCode = value;
}
public PRPAMT201303UV02NonPersonLivingSubject withRealmCode(CS... values) {
if (values!= null) {
for (CS value: values) {
getRealmCode().add(value);
}
}
return this;
}
public PRPAMT201303UV02NonPersonLivingSubject withRealmCode(Collection values) {
if (values!= null) {
getRealmCode().addAll(values);
}
return this;
}
public PRPAMT201303UV02NonPersonLivingSubject withTypeId(II value) {
setTypeId(value);
return this;
}
public PRPAMT201303UV02NonPersonLivingSubject withTemplateId(II... values) {
if (values!= null) {
for (II value: values) {
getTemplateId().add(value);
}
}
return this;
}
public PRPAMT201303UV02NonPersonLivingSubject withTemplateId(Collection values) {
if (values!= null) {
getTemplateId().addAll(values);
}
return this;
}
public PRPAMT201303UV02NonPersonLivingSubject withId(II... values) {
if (values!= null) {
for (II value: values) {
getId().add(value);
}
}
return this;
}
public PRPAMT201303UV02NonPersonLivingSubject withId(Collection values) {
if (values!= null) {
getId().addAll(values);
}
return this;
}
public PRPAMT201303UV02NonPersonLivingSubject withCode(CE value) {
setCode(value);
return this;
}
public PRPAMT201303UV02NonPersonLivingSubject withName(EN... values) {
if (values!= null) {
for (EN value: values) {
getName().add(value);
}
}
return this;
}
public PRPAMT201303UV02NonPersonLivingSubject withName(Collection values) {
if (values!= null) {
getName().addAll(values);
}
return this;
}
public PRPAMT201303UV02NonPersonLivingSubject withDesc(ED value) {
setDesc(value);
return this;
}
public PRPAMT201303UV02NonPersonLivingSubject withExistenceTime(IVLTS value) {
setExistenceTime(value);
return this;
}
public PRPAMT201303UV02NonPersonLivingSubject withTelecom(TEL... values) {
if (values!= null) {
for (TEL value: values) {
getTelecom().add(value);
}
}
return this;
}
public PRPAMT201303UV02NonPersonLivingSubject withTelecom(Collection values) {
if (values!= null) {
getTelecom().addAll(values);
}
return this;
}
public PRPAMT201303UV02NonPersonLivingSubject withRiskCode(CE... values) {
if (values!= null) {
for (CE value: values) {
getRiskCode().add(value);
}
}
return this;
}
public PRPAMT201303UV02NonPersonLivingSubject withRiskCode(Collection values) {
if (values!= null) {
getRiskCode().addAll(values);
}
return this;
}
public PRPAMT201303UV02NonPersonLivingSubject withHandlingCode(CE... values) {
if (values!= null) {
for (CE value: values) {
getHandlingCode().add(value);
}
}
return this;
}
public PRPAMT201303UV02NonPersonLivingSubject withHandlingCode(Collection values) {
if (values!= null) {
getHandlingCode().addAll(values);
}
return this;
}
public PRPAMT201303UV02NonPersonLivingSubject withAdministrativeGenderCode(CE value) {
setAdministrativeGenderCode(value);
return this;
}
public PRPAMT201303UV02NonPersonLivingSubject withBirthTime(TS value) {
setBirthTime(value);
return this;
}
public PRPAMT201303UV02NonPersonLivingSubject withDeceasedInd(BL value) {
setDeceasedInd(value);
return this;
}
public PRPAMT201303UV02NonPersonLivingSubject withDeceasedTime(TS value) {
setDeceasedTime(value);
return this;
}
public PRPAMT201303UV02NonPersonLivingSubject withMultipleBirthInd(BL value) {
setMultipleBirthInd(value);
return this;
}
public PRPAMT201303UV02NonPersonLivingSubject withMultipleBirthOrderNumber(INT value) {
setMultipleBirthOrderNumber(value);
return this;
}
public PRPAMT201303UV02NonPersonLivingSubject withOrganDonorInd(BL value) {
setOrganDonorInd(value);
return this;
}
public PRPAMT201303UV02NonPersonLivingSubject withStrainText(ED value) {
setStrainText(value);
return this;
}
public PRPAMT201303UV02NonPersonLivingSubject withGenderStatusCode(CE value) {
setGenderStatusCode(value);
return this;
}
public PRPAMT201303UV02NonPersonLivingSubject withAsPatientOfOtherProvider(PRPAMT201303UV02PatientOfOtherProvider... values) {
if (values!= null) {
for (PRPAMT201303UV02PatientOfOtherProvider value: values) {
getAsPatientOfOtherProvider().add(value);
}
}
return this;
}
public PRPAMT201303UV02NonPersonLivingSubject withAsPatientOfOtherProvider(Collection values) {
if (values!= null) {
getAsPatientOfOtherProvider().addAll(values);
}
return this;
}
public PRPAMT201303UV02NonPersonLivingSubject withAsMember(PRPAMT201303UV02Member... values) {
if (values!= null) {
for (PRPAMT201303UV02Member value: values) {
getAsMember().add(value);
}
}
return this;
}
public PRPAMT201303UV02NonPersonLivingSubject withAsMember(Collection values) {
if (values!= null) {
getAsMember().addAll(values);
}
return this;
}
public PRPAMT201303UV02NonPersonLivingSubject withAsOtherIDs(PRPAMT201303UV02OtherIDs... values) {
if (values!= null) {
for (PRPAMT201303UV02OtherIDs value: values) {
getAsOtherIDs().add(value);
}
}
return this;
}
public PRPAMT201303UV02NonPersonLivingSubject withAsOtherIDs(Collection values) {
if (values!= null) {
getAsOtherIDs().addAll(values);
}
return this;
}
public PRPAMT201303UV02NonPersonLivingSubject withContactParty(PRPAMT201303UV02ContactParty... values) {
if (values!= null) {
for (PRPAMT201303UV02ContactParty value: values) {
getContactParty().add(value);
}
}
return this;
}
public PRPAMT201303UV02NonPersonLivingSubject withContactParty(Collection values) {
if (values!= null) {
getContactParty().addAll(values);
}
return this;
}
public PRPAMT201303UV02NonPersonLivingSubject withGuardian(PRPAMT201303UV02Guardian... values) {
if (values!= null) {
for (PRPAMT201303UV02Guardian value: values) {
getGuardian().add(value);
}
}
return this;
}
public PRPAMT201303UV02NonPersonLivingSubject withGuardian(Collection values) {
if (values!= null) {
getGuardian().addAll(values);
}
return this;
}
public PRPAMT201303UV02NonPersonLivingSubject withPersonalRelationship(PRPAMT201303UV02PersonalRelationship... values) {
if (values!= null) {
for (PRPAMT201303UV02PersonalRelationship value: values) {
getPersonalRelationship().add(value);
}
}
return this;
}
public PRPAMT201303UV02NonPersonLivingSubject withPersonalRelationship(Collection values) {
if (values!= null) {
getPersonalRelationship().addAll(values);
}
return this;
}
public PRPAMT201303UV02NonPersonLivingSubject withCareGiver(PRPAMT201303UV02CareGiver... values) {
if (values!= null) {
for (PRPAMT201303UV02CareGiver value: values) {
getCareGiver().add(value);
}
}
return this;
}
public PRPAMT201303UV02NonPersonLivingSubject withCareGiver(Collection values) {
if (values!= null) {
getCareGiver().addAll(values);
}
return this;
}
public PRPAMT201303UV02NonPersonLivingSubject withBirthPlace(PRPAMT201303UV02BirthPlace value) {
setBirthPlace(value);
return this;
}
public PRPAMT201303UV02NonPersonLivingSubject withGuarantorRole(COCTMT670000UV04GuarantorRole... values) {
if (values!= null) {
for (COCTMT670000UV04GuarantorRole value: values) {
getGuarantorRole().add(value);
}
}
return this;
}
public PRPAMT201303UV02NonPersonLivingSubject withGuarantorRole(Collection values) {
if (values!= null) {
getGuarantorRole().addAll(values);
}
return this;
}
public PRPAMT201303UV02NonPersonLivingSubject withNullFlavor(String... values) {
if (values!= null) {
for (String value: values) {
getNullFlavor().add(value);
}
}
return this;
}
public PRPAMT201303UV02NonPersonLivingSubject withNullFlavor(Collection values) {
if (values!= null) {
getNullFlavor().addAll(values);
}
return this;
}
public PRPAMT201303UV02NonPersonLivingSubject withClassCode(EntityClassNonPersonLivingSubject value) {
setClassCode(value);
return this;
}
public PRPAMT201303UV02NonPersonLivingSubject withDeterminerCode(String value) {
setDeterminerCode(value);
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);
}
}