
org.hl7.v3.PRPAMT201302UV02PatientPatientPerson 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.07.06 at 04:34:42 PM PDT
//
package org.hl7.v3;
import java.util.Collection;
import javax.xml.bind.JAXBElement;
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.patientPerson complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="PRPA_MT201302UV02.Patient.patientPerson">
* <complexContent>
* <extension base="{urn:hl7-org:v3}PRPA_MT201302UV02.Person">
* <attribute name="updateMode" type="{urn:hl7-org:v3}PRPA_MT201302UV02.Patient.patientPerson.updateMode" />
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "PRPA_MT201302UV02.Patient.patientPerson", namespace = "urn:hl7-org:v3")
public class PRPAMT201302UV02PatientPatientPerson
extends PRPAMT201302UV02Person
{
@XmlAttribute(name = "updateMode")
protected PRPAMT201302UV02PatientPatientPersonUpdateMode updateMode;
/**
* Gets the value of the updateMode property.
*
* @return
* possible object is
* {@link PRPAMT201302UV02PatientPatientPersonUpdateMode }
*
*/
public PRPAMT201302UV02PatientPatientPersonUpdateMode getUpdateMode() {
return updateMode;
}
/**
* Sets the value of the updateMode property.
*
* @param value
* allowed object is
* {@link PRPAMT201302UV02PatientPatientPersonUpdateMode }
*
*/
public void setUpdateMode(PRPAMT201302UV02PatientPatientPersonUpdateMode value) {
this.updateMode = value;
}
public PRPAMT201302UV02PatientPatientPerson withUpdateMode(PRPAMT201302UV02PatientPatientPersonUpdateMode value) {
setUpdateMode(value);
return this;
}
@Override
public PRPAMT201302UV02PatientPatientPerson withRealmCode(CS... values) {
if (values!= null) {
for (CS value: values) {
getRealmCode().add(value);
}
}
return this;
}
@Override
public PRPAMT201302UV02PatientPatientPerson withRealmCode(Collection values) {
if (values!= null) {
getRealmCode().addAll(values);
}
return this;
}
@Override
public PRPAMT201302UV02PatientPatientPerson withTypeId(II value) {
setTypeId(value);
return this;
}
@Override
public PRPAMT201302UV02PatientPatientPerson withTemplateId(II... values) {
if (values!= null) {
for (II value: values) {
getTemplateId().add(value);
}
}
return this;
}
@Override
public PRPAMT201302UV02PatientPatientPerson withTemplateId(Collection values) {
if (values!= null) {
getTemplateId().addAll(values);
}
return this;
}
@Override
public PRPAMT201302UV02PatientPatientPerson withId(PRPAMT201302UV02PersonId... values) {
if (values!= null) {
for (PRPAMT201302UV02PersonId value: values) {
getId().add(value);
}
}
return this;
}
@Override
public PRPAMT201302UV02PatientPatientPerson withId(Collection values) {
if (values!= null) {
getId().addAll(values);
}
return this;
}
@Override
public PRPAMT201302UV02PatientPatientPerson withName(PN... values) {
if (values!= null) {
for (PN value: values) {
getName().add(value);
}
}
return this;
}
@Override
public PRPAMT201302UV02PatientPatientPerson withName(Collection values) {
if (values!= null) {
getName().addAll(values);
}
return this;
}
@Override
public PRPAMT201302UV02PatientPatientPerson withDesc(ED value) {
setDesc(value);
return this;
}
@Override
public PRPAMT201302UV02PatientPatientPerson withTelecom(TEL... values) {
if (values!= null) {
for (TEL value: values) {
getTelecom().add(value);
}
}
return this;
}
@Override
public PRPAMT201302UV02PatientPatientPerson withTelecom(Collection values) {
if (values!= null) {
getTelecom().addAll(values);
}
return this;
}
@Override
public PRPAMT201302UV02PatientPatientPerson withAdministrativeGenderCode(CE value) {
setAdministrativeGenderCode(value);
return this;
}
@Override
public PRPAMT201302UV02PatientPatientPerson withBirthTime(TS value) {
setBirthTime(value);
return this;
}
@Override
public PRPAMT201302UV02PatientPatientPerson withDeceasedInd(BL value) {
setDeceasedInd(value);
return this;
}
@Override
public PRPAMT201302UV02PatientPatientPerson withDeceasedTime(TS value) {
setDeceasedTime(value);
return this;
}
@Override
public PRPAMT201302UV02PatientPatientPerson withMultipleBirthInd(BL value) {
setMultipleBirthInd(value);
return this;
}
@Override
public PRPAMT201302UV02PatientPatientPerson withMultipleBirthOrderNumber(INT value) {
setMultipleBirthOrderNumber(value);
return this;
}
@Override
public PRPAMT201302UV02PatientPatientPerson withOrganDonorInd(BL value) {
setOrganDonorInd(value);
return this;
}
@Override
public PRPAMT201302UV02PatientPatientPerson withAddr(AD... values) {
if (values!= null) {
for (AD value: values) {
getAddr().add(value);
}
}
return this;
}
@Override
public PRPAMT201302UV02PatientPatientPerson withAddr(Collection values) {
if (values!= null) {
getAddr().addAll(values);
}
return this;
}
@Override
public PRPAMT201302UV02PatientPatientPerson withMaritalStatusCode(CE value) {
setMaritalStatusCode(value);
return this;
}
@Override
public PRPAMT201302UV02PatientPatientPerson withEducationLevelCode(CE value) {
setEducationLevelCode(value);
return this;
}
@Override
public PRPAMT201302UV02PatientPatientPerson withDisabilityCode(CE... values) {
if (values!= null) {
for (CE value: values) {
getDisabilityCode().add(value);
}
}
return this;
}
@Override
public PRPAMT201302UV02PatientPatientPerson withDisabilityCode(Collection values) {
if (values!= null) {
getDisabilityCode().addAll(values);
}
return this;
}
@Override
public PRPAMT201302UV02PatientPatientPerson withLivingArrangementCode(CE value) {
setLivingArrangementCode(value);
return this;
}
@Override
public PRPAMT201302UV02PatientPatientPerson withReligiousAffiliationCode(CE value) {
setReligiousAffiliationCode(value);
return this;
}
@Override
public PRPAMT201302UV02PatientPatientPerson withRaceCode(CE... values) {
if (values!= null) {
for (CE value: values) {
getRaceCode().add(value);
}
}
return this;
}
@Override
public PRPAMT201302UV02PatientPatientPerson withRaceCode(Collection values) {
if (values!= null) {
getRaceCode().addAll(values);
}
return this;
}
@Override
public PRPAMT201302UV02PatientPatientPerson withEthnicGroupCode(CE... values) {
if (values!= null) {
for (CE value: values) {
getEthnicGroupCode().add(value);
}
}
return this;
}
@Override
public PRPAMT201302UV02PatientPatientPerson withEthnicGroupCode(Collection values) {
if (values!= null) {
getEthnicGroupCode().addAll(values);
}
return this;
}
@Override
public PRPAMT201302UV02PatientPatientPerson withAsPatientOfOtherProvider(PRPAMT201302UV02PatientOfOtherProvider... values) {
if (values!= null) {
for (PRPAMT201302UV02PatientOfOtherProvider value: values) {
getAsPatientOfOtherProvider().add(value);
}
}
return this;
}
@Override
public PRPAMT201302UV02PatientPatientPerson withAsPatientOfOtherProvider(Collection values) {
if (values!= null) {
getAsPatientOfOtherProvider().addAll(values);
}
return this;
}
@Override
public PRPAMT201302UV02PatientPatientPerson withAsEmployee(PRPAMT201302UV02Employee... values) {
if (values!= null) {
for (PRPAMT201302UV02Employee value: values) {
getAsEmployee().add(value);
}
}
return this;
}
@Override
public PRPAMT201302UV02PatientPatientPerson withAsEmployee(Collection values) {
if (values!= null) {
getAsEmployee().addAll(values);
}
return this;
}
@Override
public PRPAMT201302UV02PatientPatientPerson withAsCitizen(PRPAMT201302UV02Citizen... values) {
if (values!= null) {
for (PRPAMT201302UV02Citizen value: values) {
getAsCitizen().add(value);
}
}
return this;
}
@Override
public PRPAMT201302UV02PatientPatientPerson withAsCitizen(Collection values) {
if (values!= null) {
getAsCitizen().addAll(values);
}
return this;
}
@Override
public PRPAMT201302UV02PatientPatientPerson withAsStudent(PRPAMT201302UV02Student... values) {
if (values!= null) {
for (PRPAMT201302UV02Student value: values) {
getAsStudent().add(value);
}
}
return this;
}
@Override
public PRPAMT201302UV02PatientPatientPerson withAsStudent(Collection values) {
if (values!= null) {
getAsStudent().addAll(values);
}
return this;
}
@Override
public PRPAMT201302UV02PatientPatientPerson withAsMember(PRPAMT201302UV02Member... values) {
if (values!= null) {
for (PRPAMT201302UV02Member value: values) {
getAsMember().add(value);
}
}
return this;
}
@Override
public PRPAMT201302UV02PatientPatientPerson withAsMember(Collection values) {
if (values!= null) {
getAsMember().addAll(values);
}
return this;
}
@Override
public PRPAMT201302UV02PatientPatientPerson withAsOtherIDs(PRPAMT201302UV02OtherIDs... values) {
if (values!= null) {
for (PRPAMT201302UV02OtherIDs value: values) {
getAsOtherIDs().add(value);
}
}
return this;
}
@Override
public PRPAMT201302UV02PatientPatientPerson withAsOtherIDs(Collection values) {
if (values!= null) {
getAsOtherIDs().addAll(values);
}
return this;
}
@Override
public PRPAMT201302UV02PatientPatientPerson withContactParty(PRPAMT201302UV02ContactParty... values) {
if (values!= null) {
for (PRPAMT201302UV02ContactParty value: values) {
getContactParty().add(value);
}
}
return this;
}
@Override
public PRPAMT201302UV02PatientPatientPerson withContactParty(Collection values) {
if (values!= null) {
getContactParty().addAll(values);
}
return this;
}
@Override
public PRPAMT201302UV02PatientPatientPerson withGuardian(PRPAMT201302UV02Guardian... values) {
if (values!= null) {
for (PRPAMT201302UV02Guardian value: values) {
getGuardian().add(value);
}
}
return this;
}
@Override
public PRPAMT201302UV02PatientPatientPerson withGuardian(Collection values) {
if (values!= null) {
getGuardian().addAll(values);
}
return this;
}
@Override
public PRPAMT201302UV02PatientPatientPerson withPersonalRelationship(PRPAMT201302UV02PersonalRelationship... values) {
if (values!= null) {
for (PRPAMT201302UV02PersonalRelationship value: values) {
getPersonalRelationship().add(value);
}
}
return this;
}
@Override
public PRPAMT201302UV02PatientPatientPerson withPersonalRelationship(Collection values) {
if (values!= null) {
getPersonalRelationship().addAll(values);
}
return this;
}
@Override
public PRPAMT201302UV02PatientPatientPerson withCareGiver(PRPAMT201302UV02CareGiver... values) {
if (values!= null) {
for (PRPAMT201302UV02CareGiver value: values) {
getCareGiver().add(value);
}
}
return this;
}
@Override
public PRPAMT201302UV02PatientPatientPerson withCareGiver(Collection values) {
if (values!= null) {
getCareGiver().addAll(values);
}
return this;
}
@Override
public PRPAMT201302UV02PatientPatientPerson withBirthPlace(JAXBElement value) {
setBirthPlace(value);
return this;
}
@Override
public PRPAMT201302UV02PatientPatientPerson withGuarantorRole(COCTMT670000UV04GuarantorRole... values) {
if (values!= null) {
for (COCTMT670000UV04GuarantorRole value: values) {
getGuarantorRole().add(value);
}
}
return this;
}
@Override
public PRPAMT201302UV02PatientPatientPerson withGuarantorRole(Collection values) {
if (values!= null) {
getGuarantorRole().addAll(values);
}
return this;
}
@Override
public PRPAMT201302UV02PatientPatientPerson withLanguageCommunication(PRPAMT201302UV02LanguageCommunication... values) {
if (values!= null) {
for (PRPAMT201302UV02LanguageCommunication value: values) {
getLanguageCommunication().add(value);
}
}
return this;
}
@Override
public PRPAMT201302UV02PatientPatientPerson withLanguageCommunication(Collection values) {
if (values!= null) {
getLanguageCommunication().addAll(values);
}
return this;
}
@Override
public PRPAMT201302UV02PatientPatientPerson withNullFlavor(String... values) {
if (values!= null) {
for (String value: values) {
getNullFlavor().add(value);
}
}
return this;
}
@Override
public PRPAMT201302UV02PatientPatientPerson withNullFlavor(Collection values) {
if (values!= null) {
getNullFlavor().addAll(values);
}
return this;
}
@Override
public PRPAMT201302UV02PatientPatientPerson withClassCode(String... values) {
if (values!= null) {
for (String value: values) {
getClassCode().add(value);
}
}
return this;
}
@Override
public PRPAMT201302UV02PatientPatientPerson withClassCode(Collection values) {
if (values!= null) {
getClassCode().addAll(values);
}
return this;
}
@Override
public PRPAMT201302UV02PatientPatientPerson 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);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy