
org.hl7.v3.COCTMT530000UVEncounter 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.03.15 at 09:03:15 AM PDT
//
package org.hl7.v3;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
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.XmlElement;
import javax.xml.bind.annotation.XmlElementRef;
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_MT530000UV.Encounter complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="COCT_MT530000UV.Encounter">
* <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" minOccurs="0"/>
* <element name="text" type="{urn:hl7-org:v3}ED" minOccurs="0"/>
* <element name="statusCode" type="{urn:hl7-org:v3}CS" minOccurs="0"/>
* <element name="effectiveTime" type="{urn:hl7-org:v3}SXCM_TS" maxOccurs="unbounded" minOccurs="0"/>
* <element name="availabilityTime" type="{urn:hl7-org:v3}TS" minOccurs="0"/>
* <element name="priorityCode" type="{urn:hl7-org:v3}CE" minOccurs="0"/>
* <element name="confidentialityCode" type="{urn:hl7-org:v3}CE" maxOccurs="unbounded" minOccurs="0"/>
* <element name="admissionReferralSourceCode" type="{urn:hl7-org:v3}CE" minOccurs="0"/>
* <element name="lengthOfStayQuantity" type="{urn:hl7-org:v3}PQ" minOccurs="0"/>
* <element name="dischargeDispositionCode" type="{urn:hl7-org:v3}CE" minOccurs="0"/>
* <element name="preAdmitTestInd" type="{urn:hl7-org:v3}BL" minOccurs="0"/>
* <element name="specialCourtesiesCode" type="{urn:hl7-org:v3}CE" maxOccurs="unbounded" minOccurs="0"/>
* <element name="specialArrangementCode" type="{urn:hl7-org:v3}CE" maxOccurs="unbounded" minOccurs="0"/>
* <element name="subject" type="{urn:hl7-org:v3}COCT_MT530000UV.Subject2" maxOccurs="unbounded" minOccurs="0"/>
* <element name="recordTarget" type="{urn:hl7-org:v3}COCT_MT530000UV.RecordTarget" minOccurs="0"/>
* <element name="responsibleParty" type="{urn:hl7-org:v3}COCT_MT530000UV.ResponsibleParty2" maxOccurs="unbounded" minOccurs="0"/>
* <element name="performer" type="{urn:hl7-org:v3}COCT_MT530000UV.Performer" maxOccurs="unbounded" minOccurs="0"/>
* <element name="author" type="{urn:hl7-org:v3}COCT_MT530000UV.Author" maxOccurs="unbounded" minOccurs="0"/>
* <element name="dataEnterer" type="{urn:hl7-org:v3}COCT_MT530000UV.DataEnterer" minOccurs="0"/>
* <element name="informant" type="{urn:hl7-org:v3}COCT_MT530000UV.Informant" maxOccurs="unbounded" minOccurs="0"/>
* <element name="verifier" type="{urn:hl7-org:v3}COCT_MT530000UV.Verifier" maxOccurs="unbounded" minOccurs="0"/>
* <element name="location" type="{urn:hl7-org:v3}COCT_MT530000UV.Location" maxOccurs="unbounded" minOccurs="0"/>
* <element name="definition" type="{urn:hl7-org:v3}COCT_MT530000UV.Definition" minOccurs="0"/>
* <element name="conditions" type="{urn:hl7-org:v3}COCT_MT530000UV.Conditions" maxOccurs="unbounded" minOccurs="0"/>
* <element name="sourceOf1" type="{urn:hl7-org:v3}COCT_MT530000UV.SourceOf1" maxOccurs="unbounded" minOccurs="0"/>
* <element name="sourceOf2" type="{urn:hl7-org:v3}COCT_MT530000UV.SourceOf3" maxOccurs="unbounded" minOccurs="0"/>
* <element name="subjectOf" type="{urn:hl7-org:v3}COCT_MT530000UV.Subject1" minOccurs="0"/>
* <element name="targetOf" type="{urn:hl7-org:v3}COCT_MT530000UV.SourceOf2" 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}ActClass" fixed="ENC" />
* <attribute name="moodCode" use="required" type="{urn:hl7-org:v3}x_ClinicalStatementEncounterMood" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "COCT_MT530000UV.Encounter", propOrder = {
"realmCode",
"typeId",
"templateId",
"id",
"code",
"text",
"statusCode",
"effectiveTime",
"availabilityTime",
"priorityCode",
"confidentialityCode",
"admissionReferralSourceCode",
"lengthOfStayQuantity",
"dischargeDispositionCode",
"preAdmitTestInd",
"specialCourtesiesCode",
"specialArrangementCode",
"subject",
"recordTarget",
"responsibleParty",
"performer",
"author",
"dataEnterer",
"informant",
"verifier",
"location",
"definition",
"conditions",
"sourceOf1",
"sourceOf2",
"subjectOf",
"targetOf"
})
public class COCTMT530000UVEncounter {
protected List realmCode;
protected II typeId;
protected List templateId;
protected List id;
protected CD code;
protected ED text;
protected CS statusCode;
protected List effectiveTime;
protected TS availabilityTime;
protected CE priorityCode;
protected List confidentialityCode;
protected CE admissionReferralSourceCode;
protected PQ lengthOfStayQuantity;
protected CE dischargeDispositionCode;
protected BL preAdmitTestInd;
protected List specialCourtesiesCode;
protected List specialArrangementCode;
@XmlElement(nillable = true)
protected List subject;
@XmlElementRef(name = "recordTarget", namespace = "urn:hl7-org:v3", type = JAXBElement.class, required = false)
protected JAXBElement recordTarget;
@XmlElement(nillable = true)
protected List responsibleParty;
@XmlElement(nillable = true)
protected List performer;
@XmlElement(nillable = true)
protected List author;
@XmlElementRef(name = "dataEnterer", namespace = "urn:hl7-org:v3", type = JAXBElement.class, required = false)
protected JAXBElement dataEnterer;
@XmlElement(nillable = true)
protected List informant;
@XmlElement(nillable = true)
protected List verifier;
@XmlElement(nillable = true)
protected List location;
@XmlElementRef(name = "definition", namespace = "urn:hl7-org:v3", type = JAXBElement.class, required = false)
protected JAXBElement definition;
@XmlElement(nillable = true)
protected List conditions;
@XmlElement(nillable = true)
protected List sourceOf1;
@XmlElement(nillable = true)
protected List sourceOf2;
@XmlElementRef(name = "subjectOf", namespace = "urn:hl7-org:v3", type = JAXBElement.class, required = false)
protected JAXBElement subjectOf;
@XmlElement(nillable = true)
protected List targetOf;
@XmlAttribute(name = "nullFlavor")
protected List nullFlavor;
@XmlAttribute(name = "classCode", required = true)
protected List classCode;
@XmlAttribute(name = "moodCode", required = true)
protected XClinicalStatementEncounterMood 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 text property.
*
* @return
* possible object is
* {@link ED }
*
*/
public ED getText() {
return text;
}
/**
* Sets the value of the text property.
*
* @param value
* allowed object is
* {@link ED }
*
*/
public void setText(ED value) {
this.text = value;
}
/**
* Gets the value of the statusCode property.
*
* @return
* possible object is
* {@link CS }
*
*/
public CS getStatusCode() {
return statusCode;
}
/**
* Sets the value of the statusCode property.
*
* @param value
* allowed object is
* {@link CS }
*
*/
public void setStatusCode(CS value) {
this.statusCode = value;
}
/**
* Gets the value of the effectiveTime 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 effectiveTime property.
*
*
* For example, to add a new item, do as follows:
*
* getEffectiveTime().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link SXCMTS }
*
*
*/
public List getEffectiveTime() {
if (effectiveTime == null) {
effectiveTime = new ArrayList();
}
return this.effectiveTime;
}
/**
* Gets the value of the availabilityTime property.
*
* @return
* possible object is
* {@link TS }
*
*/
public TS getAvailabilityTime() {
return availabilityTime;
}
/**
* Sets the value of the availabilityTime property.
*
* @param value
* allowed object is
* {@link TS }
*
*/
public void setAvailabilityTime(TS value) {
this.availabilityTime = value;
}
/**
* Gets the value of the priorityCode property.
*
* @return
* possible object is
* {@link CE }
*
*/
public CE getPriorityCode() {
return priorityCode;
}
/**
* Sets the value of the priorityCode property.
*
* @param value
* allowed object is
* {@link CE }
*
*/
public void setPriorityCode(CE value) {
this.priorityCode = value;
}
/**
* 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 admissionReferralSourceCode property.
*
* @return
* possible object is
* {@link CE }
*
*/
public CE getAdmissionReferralSourceCode() {
return admissionReferralSourceCode;
}
/**
* Sets the value of the admissionReferralSourceCode property.
*
* @param value
* allowed object is
* {@link CE }
*
*/
public void setAdmissionReferralSourceCode(CE value) {
this.admissionReferralSourceCode = value;
}
/**
* Gets the value of the lengthOfStayQuantity property.
*
* @return
* possible object is
* {@link PQ }
*
*/
public PQ getLengthOfStayQuantity() {
return lengthOfStayQuantity;
}
/**
* Sets the value of the lengthOfStayQuantity property.
*
* @param value
* allowed object is
* {@link PQ }
*
*/
public void setLengthOfStayQuantity(PQ value) {
this.lengthOfStayQuantity = value;
}
/**
* Gets the value of the dischargeDispositionCode property.
*
* @return
* possible object is
* {@link CE }
*
*/
public CE getDischargeDispositionCode() {
return dischargeDispositionCode;
}
/**
* Sets the value of the dischargeDispositionCode property.
*
* @param value
* allowed object is
* {@link CE }
*
*/
public void setDischargeDispositionCode(CE value) {
this.dischargeDispositionCode = value;
}
/**
* Gets the value of the preAdmitTestInd property.
*
* @return
* possible object is
* {@link BL }
*
*/
public BL getPreAdmitTestInd() {
return preAdmitTestInd;
}
/**
* Sets the value of the preAdmitTestInd property.
*
* @param value
* allowed object is
* {@link BL }
*
*/
public void setPreAdmitTestInd(BL value) {
this.preAdmitTestInd = value;
}
/**
* Gets the value of the specialCourtesiesCode 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 specialCourtesiesCode property.
*
*
* For example, to add a new item, do as follows:
*
* getSpecialCourtesiesCode().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link CE }
*
*
*/
public List getSpecialCourtesiesCode() {
if (specialCourtesiesCode == null) {
specialCourtesiesCode = new ArrayList();
}
return this.specialCourtesiesCode;
}
/**
* Gets the value of the specialArrangementCode 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 specialArrangementCode property.
*
*
* For example, to add a new item, do as follows:
*
* getSpecialArrangementCode().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link CE }
*
*
*/
public List getSpecialArrangementCode() {
if (specialArrangementCode == null) {
specialArrangementCode = new ArrayList();
}
return this.specialArrangementCode;
}
/**
* 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 COCTMT530000UVSubject2 }
*
*
*/
public List getSubject() {
if (subject == null) {
subject = new ArrayList();
}
return this.subject;
}
/**
* Gets the value of the recordTarget property.
*
* @return
* possible object is
* {@link JAXBElement }{@code <}{@link COCTMT530000UVRecordTarget }{@code >}
*
*/
public JAXBElement getRecordTarget() {
return recordTarget;
}
/**
* Sets the value of the recordTarget property.
*
* @param value
* allowed object is
* {@link JAXBElement }{@code <}{@link COCTMT530000UVRecordTarget }{@code >}
*
*/
public void setRecordTarget(JAXBElement value) {
this.recordTarget = value;
}
/**
* Gets the value of the responsibleParty 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 responsibleParty property.
*
*
* For example, to add a new item, do as follows:
*
* getResponsibleParty().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link COCTMT530000UVResponsibleParty2 }
*
*
*/
public List getResponsibleParty() {
if (responsibleParty == null) {
responsibleParty = new ArrayList();
}
return this.responsibleParty;
}
/**
* Gets the value of the performer 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 performer property.
*
*
* For example, to add a new item, do as follows:
*
* getPerformer().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link COCTMT530000UVPerformer }
*
*
*/
public List getPerformer() {
if (performer == null) {
performer = new ArrayList();
}
return this.performer;
}
/**
* Gets the value of the author 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 author property.
*
*
* For example, to add a new item, do as follows:
*
* getAuthor().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link COCTMT530000UVAuthor }
*
*
*/
public List getAuthor() {
if (author == null) {
author = new ArrayList();
}
return this.author;
}
/**
* Gets the value of the dataEnterer property.
*
* @return
* possible object is
* {@link JAXBElement }{@code <}{@link COCTMT530000UVDataEnterer }{@code >}
*
*/
public JAXBElement getDataEnterer() {
return dataEnterer;
}
/**
* Sets the value of the dataEnterer property.
*
* @param value
* allowed object is
* {@link JAXBElement }{@code <}{@link COCTMT530000UVDataEnterer }{@code >}
*
*/
public void setDataEnterer(JAXBElement value) {
this.dataEnterer = value;
}
/**
* Gets the value of the informant 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 informant property.
*
*
* For example, to add a new item, do as follows:
*
* getInformant().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link COCTMT530000UVInformant }
*
*
*/
public List getInformant() {
if (informant == null) {
informant = new ArrayList();
}
return this.informant;
}
/**
* Gets the value of the verifier 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 verifier property.
*
*
* For example, to add a new item, do as follows:
*
* getVerifier().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link COCTMT530000UVVerifier }
*
*
*/
public List getVerifier() {
if (verifier == null) {
verifier = new ArrayList();
}
return this.verifier;
}
/**
* Gets the value of the location 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 location property.
*
*
* For example, to add a new item, do as follows:
*
* getLocation().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link COCTMT530000UVLocation }
*
*
*/
public List getLocation() {
if (location == null) {
location = new ArrayList();
}
return this.location;
}
/**
* Gets the value of the definition property.
*
* @return
* possible object is
* {@link JAXBElement }{@code <}{@link COCTMT530000UVDefinition }{@code >}
*
*/
public JAXBElement getDefinition() {
return definition;
}
/**
* Sets the value of the definition property.
*
* @param value
* allowed object is
* {@link JAXBElement }{@code <}{@link COCTMT530000UVDefinition }{@code >}
*
*/
public void setDefinition(JAXBElement value) {
this.definition = value;
}
/**
* Gets the value of the conditions 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 conditions property.
*
*
* For example, to add a new item, do as follows:
*
* getConditions().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link COCTMT530000UVConditions }
*
*
*/
public List getConditions() {
if (conditions == null) {
conditions = new ArrayList();
}
return this.conditions;
}
/**
* Gets the value of the sourceOf1 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 sourceOf1 property.
*
*
* For example, to add a new item, do as follows:
*
* getSourceOf1().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link COCTMT530000UVSourceOf1 }
*
*
*/
public List getSourceOf1() {
if (sourceOf1 == null) {
sourceOf1 = new ArrayList();
}
return this.sourceOf1;
}
/**
* Gets the value of the sourceOf2 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 sourceOf2 property.
*
*
* For example, to add a new item, do as follows:
*
* getSourceOf2().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link COCTMT530000UVSourceOf3 }
*
*
*/
public List getSourceOf2() {
if (sourceOf2 == null) {
sourceOf2 = new ArrayList();
}
return this.sourceOf2;
}
/**
* Gets the value of the subjectOf property.
*
* @return
* possible object is
* {@link JAXBElement }{@code <}{@link COCTMT530000UVSubject1 }{@code >}
*
*/
public JAXBElement getSubjectOf() {
return subjectOf;
}
/**
* Sets the value of the subjectOf property.
*
* @param value
* allowed object is
* {@link JAXBElement }{@code <}{@link COCTMT530000UVSubject1 }{@code >}
*
*/
public void setSubjectOf(JAXBElement value) {
this.subjectOf = value;
}
/**
* Gets the value of the targetOf 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 targetOf property.
*
*
* For example, to add a new item, do as follows:
*
* getTargetOf().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link COCTMT530000UVSourceOf2 }
*
*
*/
public List getTargetOf() {
if (targetOf == null) {
targetOf = new ArrayList();
}
return this.targetOf;
}
/**
* 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.
*
* @return
* possible object is
* {@link XClinicalStatementEncounterMood }
*
*/
public XClinicalStatementEncounterMood getMoodCode() {
return moodCode;
}
/**
* Sets the value of the moodCode property.
*
* @param value
* allowed object is
* {@link XClinicalStatementEncounterMood }
*
*/
public void setMoodCode(XClinicalStatementEncounterMood value) {
this.moodCode = value;
}
public COCTMT530000UVEncounter withRealmCode(CS... values) {
if (values!= null) {
for (CS value: values) {
getRealmCode().add(value);
}
}
return this;
}
public COCTMT530000UVEncounter withRealmCode(Collection values) {
if (values!= null) {
getRealmCode().addAll(values);
}
return this;
}
public COCTMT530000UVEncounter withTypeId(II value) {
setTypeId(value);
return this;
}
public COCTMT530000UVEncounter withTemplateId(II... values) {
if (values!= null) {
for (II value: values) {
getTemplateId().add(value);
}
}
return this;
}
public COCTMT530000UVEncounter withTemplateId(Collection values) {
if (values!= null) {
getTemplateId().addAll(values);
}
return this;
}
public COCTMT530000UVEncounter withId(II... values) {
if (values!= null) {
for (II value: values) {
getId().add(value);
}
}
return this;
}
public COCTMT530000UVEncounter withId(Collection values) {
if (values!= null) {
getId().addAll(values);
}
return this;
}
public COCTMT530000UVEncounter withCode(CD value) {
setCode(value);
return this;
}
public COCTMT530000UVEncounter withText(ED value) {
setText(value);
return this;
}
public COCTMT530000UVEncounter withStatusCode(CS value) {
setStatusCode(value);
return this;
}
public COCTMT530000UVEncounter withEffectiveTime(SXCMTS... values) {
if (values!= null) {
for (SXCMTS value: values) {
getEffectiveTime().add(value);
}
}
return this;
}
public COCTMT530000UVEncounter withEffectiveTime(Collection values) {
if (values!= null) {
getEffectiveTime().addAll(values);
}
return this;
}
public COCTMT530000UVEncounter withAvailabilityTime(TS value) {
setAvailabilityTime(value);
return this;
}
public COCTMT530000UVEncounter withPriorityCode(CE value) {
setPriorityCode(value);
return this;
}
public COCTMT530000UVEncounter withConfidentialityCode(CE... values) {
if (values!= null) {
for (CE value: values) {
getConfidentialityCode().add(value);
}
}
return this;
}
public COCTMT530000UVEncounter withConfidentialityCode(Collection values) {
if (values!= null) {
getConfidentialityCode().addAll(values);
}
return this;
}
public COCTMT530000UVEncounter withAdmissionReferralSourceCode(CE value) {
setAdmissionReferralSourceCode(value);
return this;
}
public COCTMT530000UVEncounter withLengthOfStayQuantity(PQ value) {
setLengthOfStayQuantity(value);
return this;
}
public COCTMT530000UVEncounter withDischargeDispositionCode(CE value) {
setDischargeDispositionCode(value);
return this;
}
public COCTMT530000UVEncounter withPreAdmitTestInd(BL value) {
setPreAdmitTestInd(value);
return this;
}
public COCTMT530000UVEncounter withSpecialCourtesiesCode(CE... values) {
if (values!= null) {
for (CE value: values) {
getSpecialCourtesiesCode().add(value);
}
}
return this;
}
public COCTMT530000UVEncounter withSpecialCourtesiesCode(Collection values) {
if (values!= null) {
getSpecialCourtesiesCode().addAll(values);
}
return this;
}
public COCTMT530000UVEncounter withSpecialArrangementCode(CE... values) {
if (values!= null) {
for (CE value: values) {
getSpecialArrangementCode().add(value);
}
}
return this;
}
public COCTMT530000UVEncounter withSpecialArrangementCode(Collection values) {
if (values!= null) {
getSpecialArrangementCode().addAll(values);
}
return this;
}
public COCTMT530000UVEncounter withSubject(COCTMT530000UVSubject2 ... values) {
if (values!= null) {
for (COCTMT530000UVSubject2 value: values) {
getSubject().add(value);
}
}
return this;
}
public COCTMT530000UVEncounter withSubject(Collection values) {
if (values!= null) {
getSubject().addAll(values);
}
return this;
}
public COCTMT530000UVEncounter withRecordTarget(JAXBElement value) {
setRecordTarget(value);
return this;
}
public COCTMT530000UVEncounter withResponsibleParty(COCTMT530000UVResponsibleParty2 ... values) {
if (values!= null) {
for (COCTMT530000UVResponsibleParty2 value: values) {
getResponsibleParty().add(value);
}
}
return this;
}
public COCTMT530000UVEncounter withResponsibleParty(Collection values) {
if (values!= null) {
getResponsibleParty().addAll(values);
}
return this;
}
public COCTMT530000UVEncounter withPerformer(COCTMT530000UVPerformer... values) {
if (values!= null) {
for (COCTMT530000UVPerformer value: values) {
getPerformer().add(value);
}
}
return this;
}
public COCTMT530000UVEncounter withPerformer(Collection values) {
if (values!= null) {
getPerformer().addAll(values);
}
return this;
}
public COCTMT530000UVEncounter withAuthor(COCTMT530000UVAuthor... values) {
if (values!= null) {
for (COCTMT530000UVAuthor value: values) {
getAuthor().add(value);
}
}
return this;
}
public COCTMT530000UVEncounter withAuthor(Collection values) {
if (values!= null) {
getAuthor().addAll(values);
}
return this;
}
public COCTMT530000UVEncounter withDataEnterer(JAXBElement value) {
setDataEnterer(value);
return this;
}
public COCTMT530000UVEncounter withInformant(COCTMT530000UVInformant... values) {
if (values!= null) {
for (COCTMT530000UVInformant value: values) {
getInformant().add(value);
}
}
return this;
}
public COCTMT530000UVEncounter withInformant(Collection values) {
if (values!= null) {
getInformant().addAll(values);
}
return this;
}
public COCTMT530000UVEncounter withVerifier(COCTMT530000UVVerifier... values) {
if (values!= null) {
for (COCTMT530000UVVerifier value: values) {
getVerifier().add(value);
}
}
return this;
}
public COCTMT530000UVEncounter withVerifier(Collection values) {
if (values!= null) {
getVerifier().addAll(values);
}
return this;
}
public COCTMT530000UVEncounter withLocation(COCTMT530000UVLocation... values) {
if (values!= null) {
for (COCTMT530000UVLocation value: values) {
getLocation().add(value);
}
}
return this;
}
public COCTMT530000UVEncounter withLocation(Collection values) {
if (values!= null) {
getLocation().addAll(values);
}
return this;
}
public COCTMT530000UVEncounter withDefinition(JAXBElement value) {
setDefinition(value);
return this;
}
public COCTMT530000UVEncounter withConditions(COCTMT530000UVConditions... values) {
if (values!= null) {
for (COCTMT530000UVConditions value: values) {
getConditions().add(value);
}
}
return this;
}
public COCTMT530000UVEncounter withConditions(Collection values) {
if (values!= null) {
getConditions().addAll(values);
}
return this;
}
public COCTMT530000UVEncounter withSourceOf1(COCTMT530000UVSourceOf1 ... values) {
if (values!= null) {
for (COCTMT530000UVSourceOf1 value: values) {
getSourceOf1().add(value);
}
}
return this;
}
public COCTMT530000UVEncounter withSourceOf1(Collection values) {
if (values!= null) {
getSourceOf1().addAll(values);
}
return this;
}
public COCTMT530000UVEncounter withSourceOf2(COCTMT530000UVSourceOf3 ... values) {
if (values!= null) {
for (COCTMT530000UVSourceOf3 value: values) {
getSourceOf2().add(value);
}
}
return this;
}
public COCTMT530000UVEncounter withSourceOf2(Collection values) {
if (values!= null) {
getSourceOf2().addAll(values);
}
return this;
}
public COCTMT530000UVEncounter withSubjectOf(JAXBElement value) {
setSubjectOf(value);
return this;
}
public COCTMT530000UVEncounter withTargetOf(COCTMT530000UVSourceOf2 ... values) {
if (values!= null) {
for (COCTMT530000UVSourceOf2 value: values) {
getTargetOf().add(value);
}
}
return this;
}
public COCTMT530000UVEncounter withTargetOf(Collection values) {
if (values!= null) {
getTargetOf().addAll(values);
}
return this;
}
public COCTMT530000UVEncounter withNullFlavor(String... values) {
if (values!= null) {
for (String value: values) {
getNullFlavor().add(value);
}
}
return this;
}
public COCTMT530000UVEncounter withNullFlavor(Collection values) {
if (values!= null) {
getNullFlavor().addAll(values);
}
return this;
}
public COCTMT530000UVEncounter withClassCode(String... values) {
if (values!= null) {
for (String value: values) {
getClassCode().add(value);
}
}
return this;
}
public COCTMT530000UVEncounter withClassCode(Collection values) {
if (values!= null) {
getClassCode().addAll(values);
}
return this;
}
public COCTMT530000UVEncounter withMoodCode(XClinicalStatementEncounterMood value) {
setMoodCode(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);
}
}