org.hl7.fhir.EpisodeOfCare Maven / Gradle / Ivy
Show all versions of quick Show documentation
//
// This file was generated by the Eclipse Implementation of JAXB, v3.0.2
// See https://eclipse-ee4j.github.io/jaxb-ri
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2024.05.02 at 09:57:28 AM MDT
//
package org.hl7.fhir;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlType;
import org.jvnet.jaxb2_commons.lang.Equals2;
import org.jvnet.jaxb2_commons.lang.EqualsStrategy2;
import org.jvnet.jaxb2_commons.lang.HashCode2;
import org.jvnet.jaxb2_commons.lang.HashCodeStrategy2;
import org.jvnet.jaxb2_commons.lang.JAXBEqualsStrategy;
import org.jvnet.jaxb2_commons.lang.JAXBHashCodeStrategy;
import org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy;
import org.jvnet.jaxb2_commons.lang.ToString2;
import org.jvnet.jaxb2_commons.lang.ToStringStrategy2;
import org.jvnet.jaxb2_commons.locator.ObjectLocator;
import org.jvnet.jaxb2_commons.locator.util.LocatorUtils;
/**
* If the element is present, it must have either a @value, an @id, or extensions
*
* Java class for EpisodeOfCare complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="EpisodeOfCare">
* <complexContent>
* <extension base="{http://hl7.org/fhir}DomainResource">
* <sequence>
* <element name="identifier" type="{http://hl7.org/fhir}Identifier" maxOccurs="unbounded" minOccurs="0"/>
* <element name="status" type="{http://hl7.org/fhir}EpisodeOfCareStatus"/>
* <element name="statusHistory" type="{http://hl7.org/fhir}EpisodeOfCare.StatusHistory" maxOccurs="unbounded" minOccurs="0"/>
* <element name="type" type="{http://hl7.org/fhir}CodeableConcept" maxOccurs="unbounded" minOccurs="0"/>
* <element name="condition" type="{http://hl7.org/fhir}Reference" maxOccurs="unbounded" minOccurs="0"/>
* <element name="patient" type="{http://hl7.org/fhir}Reference"/>
* <element name="managingOrganization" type="{http://hl7.org/fhir}Reference" minOccurs="0"/>
* <element name="period" type="{http://hl7.org/fhir}Period" minOccurs="0"/>
* <element name="referralRequest" type="{http://hl7.org/fhir}Reference" maxOccurs="unbounded" minOccurs="0"/>
* <element name="careManager" type="{http://hl7.org/fhir}Reference" minOccurs="0"/>
* <element name="team" type="{http://hl7.org/fhir}Reference" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "EpisodeOfCare", propOrder = {
"identifier",
"status",
"statusHistory",
"type",
"condition",
"patient",
"managingOrganization",
"period",
"referralRequest",
"careManager",
"team"
})
public class EpisodeOfCare
extends DomainResource
implements Equals2, HashCode2, ToString2
{
protected List identifier;
@XmlElement(required = true)
protected EpisodeOfCareStatus status;
protected List statusHistory;
protected List type;
protected List condition;
@XmlElement(required = true)
protected Reference patient;
protected Reference managingOrganization;
protected Period period;
protected List referralRequest;
protected Reference careManager;
protected List team;
/**
* Gets the value of the identifier 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 Jakarta XML Binding object.
* This is why there is not a set
method for the identifier property.
*
*
* For example, to add a new item, do as follows:
*
* getIdentifier().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Identifier }
*
*
*/
public List getIdentifier() {
if (identifier == null) {
identifier = new ArrayList();
}
return this.identifier;
}
/**
* Gets the value of the status property.
*
* @return
* possible object is
* {@link EpisodeOfCareStatus }
*
*/
public EpisodeOfCareStatus getStatus() {
return status;
}
/**
* Sets the value of the status property.
*
* @param value
* allowed object is
* {@link EpisodeOfCareStatus }
*
*/
public void setStatus(EpisodeOfCareStatus value) {
this.status = value;
}
/**
* Gets the value of the statusHistory 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 Jakarta XML Binding object.
* This is why there is not a set
method for the statusHistory property.
*
*
* For example, to add a new item, do as follows:
*
* getStatusHistory().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link EpisodeOfCareStatusHistory }
*
*
*/
public List getStatusHistory() {
if (statusHistory == null) {
statusHistory = new ArrayList();
}
return this.statusHistory;
}
/**
* Gets the value of the type 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 Jakarta XML Binding object.
* This is why there is not a set
method for the type property.
*
*
* For example, to add a new item, do as follows:
*
* getType().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link CodeableConcept }
*
*
*/
public List getType() {
if (type == null) {
type = new ArrayList();
}
return this.type;
}
/**
* Gets the value of the condition 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 Jakarta XML Binding object.
* This is why there is not a set
method for the condition property.
*
*
* For example, to add a new item, do as follows:
*
* getCondition().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Reference }
*
*
*/
public List getCondition() {
if (condition == null) {
condition = new ArrayList();
}
return this.condition;
}
/**
* Gets the value of the patient property.
*
* @return
* possible object is
* {@link Reference }
*
*/
public Reference getPatient() {
return patient;
}
/**
* Sets the value of the patient property.
*
* @param value
* allowed object is
* {@link Reference }
*
*/
public void setPatient(Reference value) {
this.patient = value;
}
/**
* Gets the value of the managingOrganization property.
*
* @return
* possible object is
* {@link Reference }
*
*/
public Reference getManagingOrganization() {
return managingOrganization;
}
/**
* Sets the value of the managingOrganization property.
*
* @param value
* allowed object is
* {@link Reference }
*
*/
public void setManagingOrganization(Reference value) {
this.managingOrganization = value;
}
/**
* Gets the value of the period property.
*
* @return
* possible object is
* {@link Period }
*
*/
public Period getPeriod() {
return period;
}
/**
* Sets the value of the period property.
*
* @param value
* allowed object is
* {@link Period }
*
*/
public void setPeriod(Period value) {
this.period = value;
}
/**
* Gets the value of the referralRequest 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 Jakarta XML Binding object.
* This is why there is not a set
method for the referralRequest property.
*
*
* For example, to add a new item, do as follows:
*
* getReferralRequest().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Reference }
*
*
*/
public List getReferralRequest() {
if (referralRequest == null) {
referralRequest = new ArrayList();
}
return this.referralRequest;
}
/**
* Gets the value of the careManager property.
*
* @return
* possible object is
* {@link Reference }
*
*/
public Reference getCareManager() {
return careManager;
}
/**
* Sets the value of the careManager property.
*
* @param value
* allowed object is
* {@link Reference }
*
*/
public void setCareManager(Reference value) {
this.careManager = value;
}
/**
* Gets the value of the team 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 Jakarta XML Binding object.
* This is why there is not a set
method for the team property.
*
*
* For example, to add a new item, do as follows:
*
* getTeam().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Reference }
*
*
*/
public List getTeam() {
if (team == null) {
team = new ArrayList();
}
return this.team;
}
public EpisodeOfCare withIdentifier(Identifier... values) {
if (values!= null) {
for (Identifier value: values) {
getIdentifier().add(value);
}
}
return this;
}
public EpisodeOfCare withIdentifier(Collection values) {
if (values!= null) {
getIdentifier().addAll(values);
}
return this;
}
public EpisodeOfCare withStatus(EpisodeOfCareStatus value) {
setStatus(value);
return this;
}
public EpisodeOfCare withStatusHistory(EpisodeOfCareStatusHistory... values) {
if (values!= null) {
for (EpisodeOfCareStatusHistory value: values) {
getStatusHistory().add(value);
}
}
return this;
}
public EpisodeOfCare withStatusHistory(Collection values) {
if (values!= null) {
getStatusHistory().addAll(values);
}
return this;
}
public EpisodeOfCare withType(CodeableConcept... values) {
if (values!= null) {
for (CodeableConcept value: values) {
getType().add(value);
}
}
return this;
}
public EpisodeOfCare withType(Collection values) {
if (values!= null) {
getType().addAll(values);
}
return this;
}
public EpisodeOfCare withCondition(Reference... values) {
if (values!= null) {
for (Reference value: values) {
getCondition().add(value);
}
}
return this;
}
public EpisodeOfCare withCondition(Collection values) {
if (values!= null) {
getCondition().addAll(values);
}
return this;
}
public EpisodeOfCare withPatient(Reference value) {
setPatient(value);
return this;
}
public EpisodeOfCare withManagingOrganization(Reference value) {
setManagingOrganization(value);
return this;
}
public EpisodeOfCare withPeriod(Period value) {
setPeriod(value);
return this;
}
public EpisodeOfCare withReferralRequest(Reference... values) {
if (values!= null) {
for (Reference value: values) {
getReferralRequest().add(value);
}
}
return this;
}
public EpisodeOfCare withReferralRequest(Collection values) {
if (values!= null) {
getReferralRequest().addAll(values);
}
return this;
}
public EpisodeOfCare withCareManager(Reference value) {
setCareManager(value);
return this;
}
public EpisodeOfCare withTeam(Reference... values) {
if (values!= null) {
for (Reference value: values) {
getTeam().add(value);
}
}
return this;
}
public EpisodeOfCare withTeam(Collection values) {
if (values!= null) {
getTeam().addAll(values);
}
return this;
}
@Override
public EpisodeOfCare withText(Narrative value) {
setText(value);
return this;
}
@Override
public EpisodeOfCare withContained(ResourceContainer... values) {
if (values!= null) {
for (ResourceContainer value: values) {
getContained().add(value);
}
}
return this;
}
@Override
public EpisodeOfCare withContained(Collection values) {
if (values!= null) {
getContained().addAll(values);
}
return this;
}
@Override
public EpisodeOfCare withExtension(Extension... values) {
if (values!= null) {
for (Extension value: values) {
getExtension().add(value);
}
}
return this;
}
@Override
public EpisodeOfCare withExtension(Collection values) {
if (values!= null) {
getExtension().addAll(values);
}
return this;
}
@Override
public EpisodeOfCare withModifierExtension(Extension... values) {
if (values!= null) {
for (Extension value: values) {
getModifierExtension().add(value);
}
}
return this;
}
@Override
public EpisodeOfCare withModifierExtension(Collection values) {
if (values!= null) {
getModifierExtension().addAll(values);
}
return this;
}
@Override
public EpisodeOfCare withId(Id value) {
setId(value);
return this;
}
@Override
public EpisodeOfCare withMeta(Meta value) {
setMeta(value);
return this;
}
@Override
public EpisodeOfCare withImplicitRules(Uri value) {
setImplicitRules(value);
return this;
}
@Override
public EpisodeOfCare withLanguage(Code value) {
setLanguage(value);
return this;
}
@Override
public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy2 strategy) {
if ((object == null)||(this.getClass()!= object.getClass())) {
return false;
}
if (this == object) {
return true;
}
if (!super.equals(thisLocator, thatLocator, object, strategy)) {
return false;
}
final EpisodeOfCare that = ((EpisodeOfCare) object);
{
List lhsIdentifier;
lhsIdentifier = (((this.identifier!= null)&&(!this.identifier.isEmpty()))?this.getIdentifier():null);
List rhsIdentifier;
rhsIdentifier = (((that.identifier!= null)&&(!that.identifier.isEmpty()))?that.getIdentifier():null);
if (!strategy.equals(LocatorUtils.property(thisLocator, "identifier", lhsIdentifier), LocatorUtils.property(thatLocator, "identifier", rhsIdentifier), lhsIdentifier, rhsIdentifier, ((this.identifier!= null)&&(!this.identifier.isEmpty())), ((that.identifier!= null)&&(!that.identifier.isEmpty())))) {
return false;
}
}
{
EpisodeOfCareStatus lhsStatus;
lhsStatus = this.getStatus();
EpisodeOfCareStatus rhsStatus;
rhsStatus = that.getStatus();
if (!strategy.equals(LocatorUtils.property(thisLocator, "status", lhsStatus), LocatorUtils.property(thatLocator, "status", rhsStatus), lhsStatus, rhsStatus, (this.status!= null), (that.status!= null))) {
return false;
}
}
{
List lhsStatusHistory;
lhsStatusHistory = (((this.statusHistory!= null)&&(!this.statusHistory.isEmpty()))?this.getStatusHistory():null);
List rhsStatusHistory;
rhsStatusHistory = (((that.statusHistory!= null)&&(!that.statusHistory.isEmpty()))?that.getStatusHistory():null);
if (!strategy.equals(LocatorUtils.property(thisLocator, "statusHistory", lhsStatusHistory), LocatorUtils.property(thatLocator, "statusHistory", rhsStatusHistory), lhsStatusHistory, rhsStatusHistory, ((this.statusHistory!= null)&&(!this.statusHistory.isEmpty())), ((that.statusHistory!= null)&&(!that.statusHistory.isEmpty())))) {
return false;
}
}
{
List lhsType;
lhsType = (((this.type!= null)&&(!this.type.isEmpty()))?this.getType():null);
List rhsType;
rhsType = (((that.type!= null)&&(!that.type.isEmpty()))?that.getType():null);
if (!strategy.equals(LocatorUtils.property(thisLocator, "type", lhsType), LocatorUtils.property(thatLocator, "type", rhsType), lhsType, rhsType, ((this.type!= null)&&(!this.type.isEmpty())), ((that.type!= null)&&(!that.type.isEmpty())))) {
return false;
}
}
{
List lhsCondition;
lhsCondition = (((this.condition!= null)&&(!this.condition.isEmpty()))?this.getCondition():null);
List rhsCondition;
rhsCondition = (((that.condition!= null)&&(!that.condition.isEmpty()))?that.getCondition():null);
if (!strategy.equals(LocatorUtils.property(thisLocator, "condition", lhsCondition), LocatorUtils.property(thatLocator, "condition", rhsCondition), lhsCondition, rhsCondition, ((this.condition!= null)&&(!this.condition.isEmpty())), ((that.condition!= null)&&(!that.condition.isEmpty())))) {
return false;
}
}
{
Reference lhsPatient;
lhsPatient = this.getPatient();
Reference rhsPatient;
rhsPatient = that.getPatient();
if (!strategy.equals(LocatorUtils.property(thisLocator, "patient", lhsPatient), LocatorUtils.property(thatLocator, "patient", rhsPatient), lhsPatient, rhsPatient, (this.patient!= null), (that.patient!= null))) {
return false;
}
}
{
Reference lhsManagingOrganization;
lhsManagingOrganization = this.getManagingOrganization();
Reference rhsManagingOrganization;
rhsManagingOrganization = that.getManagingOrganization();
if (!strategy.equals(LocatorUtils.property(thisLocator, "managingOrganization", lhsManagingOrganization), LocatorUtils.property(thatLocator, "managingOrganization", rhsManagingOrganization), lhsManagingOrganization, rhsManagingOrganization, (this.managingOrganization!= null), (that.managingOrganization!= null))) {
return false;
}
}
{
Period lhsPeriod;
lhsPeriod = this.getPeriod();
Period rhsPeriod;
rhsPeriod = that.getPeriod();
if (!strategy.equals(LocatorUtils.property(thisLocator, "period", lhsPeriod), LocatorUtils.property(thatLocator, "period", rhsPeriod), lhsPeriod, rhsPeriod, (this.period!= null), (that.period!= null))) {
return false;
}
}
{
List lhsReferralRequest;
lhsReferralRequest = (((this.referralRequest!= null)&&(!this.referralRequest.isEmpty()))?this.getReferralRequest():null);
List rhsReferralRequest;
rhsReferralRequest = (((that.referralRequest!= null)&&(!that.referralRequest.isEmpty()))?that.getReferralRequest():null);
if (!strategy.equals(LocatorUtils.property(thisLocator, "referralRequest", lhsReferralRequest), LocatorUtils.property(thatLocator, "referralRequest", rhsReferralRequest), lhsReferralRequest, rhsReferralRequest, ((this.referralRequest!= null)&&(!this.referralRequest.isEmpty())), ((that.referralRequest!= null)&&(!that.referralRequest.isEmpty())))) {
return false;
}
}
{
Reference lhsCareManager;
lhsCareManager = this.getCareManager();
Reference rhsCareManager;
rhsCareManager = that.getCareManager();
if (!strategy.equals(LocatorUtils.property(thisLocator, "careManager", lhsCareManager), LocatorUtils.property(thatLocator, "careManager", rhsCareManager), lhsCareManager, rhsCareManager, (this.careManager!= null), (that.careManager!= null))) {
return false;
}
}
{
List lhsTeam;
lhsTeam = (((this.team!= null)&&(!this.team.isEmpty()))?this.getTeam():null);
List rhsTeam;
rhsTeam = (((that.team!= null)&&(!that.team.isEmpty()))?that.getTeam():null);
if (!strategy.equals(LocatorUtils.property(thisLocator, "team", lhsTeam), LocatorUtils.property(thatLocator, "team", rhsTeam), lhsTeam, rhsTeam, ((this.team!= null)&&(!this.team.isEmpty())), ((that.team!= null)&&(!that.team.isEmpty())))) {
return false;
}
}
return true;
}
@Override
public boolean equals(Object object) {
final EqualsStrategy2 strategy = JAXBEqualsStrategy.getInstance();
return equals(null, null, object, strategy);
}
@Override
public int hashCode(ObjectLocator locator, HashCodeStrategy2 strategy) {
int currentHashCode = super.hashCode(locator, strategy);
{
List theIdentifier;
theIdentifier = (((this.identifier!= null)&&(!this.identifier.isEmpty()))?this.getIdentifier():null);
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "identifier", theIdentifier), currentHashCode, theIdentifier, ((this.identifier!= null)&&(!this.identifier.isEmpty())));
}
{
EpisodeOfCareStatus theStatus;
theStatus = this.getStatus();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "status", theStatus), currentHashCode, theStatus, (this.status!= null));
}
{
List theStatusHistory;
theStatusHistory = (((this.statusHistory!= null)&&(!this.statusHistory.isEmpty()))?this.getStatusHistory():null);
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "statusHistory", theStatusHistory), currentHashCode, theStatusHistory, ((this.statusHistory!= null)&&(!this.statusHistory.isEmpty())));
}
{
List theType;
theType = (((this.type!= null)&&(!this.type.isEmpty()))?this.getType():null);
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "type", theType), currentHashCode, theType, ((this.type!= null)&&(!this.type.isEmpty())));
}
{
List theCondition;
theCondition = (((this.condition!= null)&&(!this.condition.isEmpty()))?this.getCondition():null);
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "condition", theCondition), currentHashCode, theCondition, ((this.condition!= null)&&(!this.condition.isEmpty())));
}
{
Reference thePatient;
thePatient = this.getPatient();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "patient", thePatient), currentHashCode, thePatient, (this.patient!= null));
}
{
Reference theManagingOrganization;
theManagingOrganization = this.getManagingOrganization();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "managingOrganization", theManagingOrganization), currentHashCode, theManagingOrganization, (this.managingOrganization!= null));
}
{
Period thePeriod;
thePeriod = this.getPeriod();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "period", thePeriod), currentHashCode, thePeriod, (this.period!= null));
}
{
List theReferralRequest;
theReferralRequest = (((this.referralRequest!= null)&&(!this.referralRequest.isEmpty()))?this.getReferralRequest():null);
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "referralRequest", theReferralRequest), currentHashCode, theReferralRequest, ((this.referralRequest!= null)&&(!this.referralRequest.isEmpty())));
}
{
Reference theCareManager;
theCareManager = this.getCareManager();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "careManager", theCareManager), currentHashCode, theCareManager, (this.careManager!= null));
}
{
List theTeam;
theTeam = (((this.team!= null)&&(!this.team.isEmpty()))?this.getTeam():null);
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "team", theTeam), currentHashCode, theTeam, ((this.team!= null)&&(!this.team.isEmpty())));
}
return currentHashCode;
}
@Override
public int hashCode() {
final HashCodeStrategy2 strategy = JAXBHashCodeStrategy.getInstance();
return this.hashCode(null, strategy);
}
@Override
public java.lang.String toString() {
final ToStringStrategy2 strategy = JAXBToStringStrategy.getInstance();
final StringBuilder buffer = new StringBuilder();
append(null, buffer, strategy);
return buffer.toString();
}
@Override
public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy2 strategy) {
strategy.appendStart(locator, this, buffer);
appendFields(locator, buffer, strategy);
strategy.appendEnd(locator, this, buffer);
return buffer;
}
@Override
public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy2 strategy) {
super.appendFields(locator, buffer, strategy);
{
List theIdentifier;
theIdentifier = (((this.identifier!= null)&&(!this.identifier.isEmpty()))?this.getIdentifier():null);
strategy.appendField(locator, this, "identifier", buffer, theIdentifier, ((this.identifier!= null)&&(!this.identifier.isEmpty())));
}
{
EpisodeOfCareStatus theStatus;
theStatus = this.getStatus();
strategy.appendField(locator, this, "status", buffer, theStatus, (this.status!= null));
}
{
List theStatusHistory;
theStatusHistory = (((this.statusHistory!= null)&&(!this.statusHistory.isEmpty()))?this.getStatusHistory():null);
strategy.appendField(locator, this, "statusHistory", buffer, theStatusHistory, ((this.statusHistory!= null)&&(!this.statusHistory.isEmpty())));
}
{
List theType;
theType = (((this.type!= null)&&(!this.type.isEmpty()))?this.getType():null);
strategy.appendField(locator, this, "type", buffer, theType, ((this.type!= null)&&(!this.type.isEmpty())));
}
{
List theCondition;
theCondition = (((this.condition!= null)&&(!this.condition.isEmpty()))?this.getCondition():null);
strategy.appendField(locator, this, "condition", buffer, theCondition, ((this.condition!= null)&&(!this.condition.isEmpty())));
}
{
Reference thePatient;
thePatient = this.getPatient();
strategy.appendField(locator, this, "patient", buffer, thePatient, (this.patient!= null));
}
{
Reference theManagingOrganization;
theManagingOrganization = this.getManagingOrganization();
strategy.appendField(locator, this, "managingOrganization", buffer, theManagingOrganization, (this.managingOrganization!= null));
}
{
Period thePeriod;
thePeriod = this.getPeriod();
strategy.appendField(locator, this, "period", buffer, thePeriod, (this.period!= null));
}
{
List theReferralRequest;
theReferralRequest = (((this.referralRequest!= null)&&(!this.referralRequest.isEmpty()))?this.getReferralRequest():null);
strategy.appendField(locator, this, "referralRequest", buffer, theReferralRequest, ((this.referralRequest!= null)&&(!this.referralRequest.isEmpty())));
}
{
Reference theCareManager;
theCareManager = this.getCareManager();
strategy.appendField(locator, this, "careManager", buffer, theCareManager, (this.careManager!= null));
}
{
List theTeam;
theTeam = (((this.team!= null)&&(!this.team.isEmpty()))?this.getTeam():null);
strategy.appendField(locator, this, "team", buffer, theTeam, ((this.team!= null)&&(!this.team.isEmpty())));
}
return buffer;
}
public void setIdentifier(List value) {
this.identifier = value;
}
public void setStatusHistory(List value) {
this.statusHistory = value;
}
public void setType(List value) {
this.type = value;
}
public void setCondition(List value) {
this.condition = value;
}
public void setReferralRequest(List value) {
this.referralRequest = value;
}
public void setTeam(List value) {
this.team = value;
}
}