org.hl7.fhir.ClaimResponse 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.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 ClaimResponse complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="ClaimResponse">
* <complexContent>
* <extension base="{http://hl7.org/fhir}DomainResource">
* <sequence>
* <element name="identifier" type="{http://hl7.org/fhir}Identifier" maxOccurs="unbounded" minOccurs="0"/>
* <choice minOccurs="0">
* <element name="requestIdentifier" type="{http://hl7.org/fhir}Identifier"/>
* <element name="requestReference" type="{http://hl7.org/fhir}Reference"/>
* </choice>
* <element name="ruleset" type="{http://hl7.org/fhir}Coding" minOccurs="0"/>
* <element name="originalRuleset" type="{http://hl7.org/fhir}Coding" minOccurs="0"/>
* <element name="created" type="{http://hl7.org/fhir}dateTime" minOccurs="0"/>
* <choice minOccurs="0">
* <element name="organizationIdentifier" type="{http://hl7.org/fhir}Identifier"/>
* <element name="organizationReference" type="{http://hl7.org/fhir}Reference"/>
* </choice>
* <choice minOccurs="0">
* <element name="requestProviderIdentifier" type="{http://hl7.org/fhir}Identifier"/>
* <element name="requestProviderReference" type="{http://hl7.org/fhir}Reference"/>
* </choice>
* <choice minOccurs="0">
* <element name="requestOrganizationIdentifier" type="{http://hl7.org/fhir}Identifier"/>
* <element name="requestOrganizationReference" type="{http://hl7.org/fhir}Reference"/>
* </choice>
* <element name="outcome" type="{http://hl7.org/fhir}RemittanceOutcome" minOccurs="0"/>
* <element name="disposition" type="{http://hl7.org/fhir}string" minOccurs="0"/>
* <element name="payeeType" type="{http://hl7.org/fhir}Coding" minOccurs="0"/>
* <element name="item" type="{http://hl7.org/fhir}ClaimResponse.Item" maxOccurs="unbounded" minOccurs="0"/>
* <element name="addItem" type="{http://hl7.org/fhir}ClaimResponse.AddItem" maxOccurs="unbounded" minOccurs="0"/>
* <element name="error" type="{http://hl7.org/fhir}ClaimResponse.Error" maxOccurs="unbounded" minOccurs="0"/>
* <element name="totalCost" type="{http://hl7.org/fhir}Money" minOccurs="0"/>
* <element name="unallocDeductable" type="{http://hl7.org/fhir}Money" minOccurs="0"/>
* <element name="totalBenefit" type="{http://hl7.org/fhir}Money" minOccurs="0"/>
* <element name="paymentAdjustment" type="{http://hl7.org/fhir}Money" minOccurs="0"/>
* <element name="paymentAdjustmentReason" type="{http://hl7.org/fhir}Coding" minOccurs="0"/>
* <element name="paymentDate" type="{http://hl7.org/fhir}date" minOccurs="0"/>
* <element name="paymentAmount" type="{http://hl7.org/fhir}Money" minOccurs="0"/>
* <element name="paymentRef" type="{http://hl7.org/fhir}Identifier" minOccurs="0"/>
* <element name="reserved" type="{http://hl7.org/fhir}Coding" minOccurs="0"/>
* <element name="form" type="{http://hl7.org/fhir}Coding" minOccurs="0"/>
* <element name="note" type="{http://hl7.org/fhir}ClaimResponse.Note" maxOccurs="unbounded" minOccurs="0"/>
* <element name="coverage" type="{http://hl7.org/fhir}ClaimResponse.Coverage" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ClaimResponse", propOrder = {
"identifier",
"requestIdentifier",
"requestReference",
"ruleset",
"originalRuleset",
"created",
"organizationIdentifier",
"organizationReference",
"requestProviderIdentifier",
"requestProviderReference",
"requestOrganizationIdentifier",
"requestOrganizationReference",
"outcome",
"disposition",
"payeeType",
"item",
"addItem",
"error",
"totalCost",
"unallocDeductable",
"totalBenefit",
"paymentAdjustment",
"paymentAdjustmentReason",
"paymentDate",
"paymentAmount",
"paymentRef",
"reserved",
"form",
"note",
"coverage"
})
public class ClaimResponse
extends DomainResource
implements Equals2, HashCode2, ToString2
{
protected List identifier;
protected Identifier requestIdentifier;
protected Reference requestReference;
protected Coding ruleset;
protected Coding originalRuleset;
protected DateTime created;
protected Identifier organizationIdentifier;
protected Reference organizationReference;
protected Identifier requestProviderIdentifier;
protected Reference requestProviderReference;
protected Identifier requestOrganizationIdentifier;
protected Reference requestOrganizationReference;
protected RemittanceOutcome outcome;
protected org.hl7.fhir.String disposition;
protected Coding payeeType;
protected List item;
protected List addItem;
protected List error;
protected Money totalCost;
protected Money unallocDeductable;
protected Money totalBenefit;
protected Money paymentAdjustment;
protected Coding paymentAdjustmentReason;
protected Date paymentDate;
protected Money paymentAmount;
protected Identifier paymentRef;
protected Coding reserved;
protected Coding form;
protected List note;
protected List coverage;
/**
* 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 requestIdentifier property.
*
* @return
* possible object is
* {@link Identifier }
*
*/
public Identifier getRequestIdentifier() {
return requestIdentifier;
}
/**
* Sets the value of the requestIdentifier property.
*
* @param value
* allowed object is
* {@link Identifier }
*
*/
public void setRequestIdentifier(Identifier value) {
this.requestIdentifier = value;
}
/**
* Gets the value of the requestReference property.
*
* @return
* possible object is
* {@link Reference }
*
*/
public Reference getRequestReference() {
return requestReference;
}
/**
* Sets the value of the requestReference property.
*
* @param value
* allowed object is
* {@link Reference }
*
*/
public void setRequestReference(Reference value) {
this.requestReference = value;
}
/**
* Gets the value of the ruleset property.
*
* @return
* possible object is
* {@link Coding }
*
*/
public Coding getRuleset() {
return ruleset;
}
/**
* Sets the value of the ruleset property.
*
* @param value
* allowed object is
* {@link Coding }
*
*/
public void setRuleset(Coding value) {
this.ruleset = value;
}
/**
* Gets the value of the originalRuleset property.
*
* @return
* possible object is
* {@link Coding }
*
*/
public Coding getOriginalRuleset() {
return originalRuleset;
}
/**
* Sets the value of the originalRuleset property.
*
* @param value
* allowed object is
* {@link Coding }
*
*/
public void setOriginalRuleset(Coding value) {
this.originalRuleset = value;
}
/**
* Gets the value of the created property.
*
* @return
* possible object is
* {@link DateTime }
*
*/
public DateTime getCreated() {
return created;
}
/**
* Sets the value of the created property.
*
* @param value
* allowed object is
* {@link DateTime }
*
*/
public void setCreated(DateTime value) {
this.created = value;
}
/**
* Gets the value of the organizationIdentifier property.
*
* @return
* possible object is
* {@link Identifier }
*
*/
public Identifier getOrganizationIdentifier() {
return organizationIdentifier;
}
/**
* Sets the value of the organizationIdentifier property.
*
* @param value
* allowed object is
* {@link Identifier }
*
*/
public void setOrganizationIdentifier(Identifier value) {
this.organizationIdentifier = value;
}
/**
* Gets the value of the organizationReference property.
*
* @return
* possible object is
* {@link Reference }
*
*/
public Reference getOrganizationReference() {
return organizationReference;
}
/**
* Sets the value of the organizationReference property.
*
* @param value
* allowed object is
* {@link Reference }
*
*/
public void setOrganizationReference(Reference value) {
this.organizationReference = value;
}
/**
* Gets the value of the requestProviderIdentifier property.
*
* @return
* possible object is
* {@link Identifier }
*
*/
public Identifier getRequestProviderIdentifier() {
return requestProviderIdentifier;
}
/**
* Sets the value of the requestProviderIdentifier property.
*
* @param value
* allowed object is
* {@link Identifier }
*
*/
public void setRequestProviderIdentifier(Identifier value) {
this.requestProviderIdentifier = value;
}
/**
* Gets the value of the requestProviderReference property.
*
* @return
* possible object is
* {@link Reference }
*
*/
public Reference getRequestProviderReference() {
return requestProviderReference;
}
/**
* Sets the value of the requestProviderReference property.
*
* @param value
* allowed object is
* {@link Reference }
*
*/
public void setRequestProviderReference(Reference value) {
this.requestProviderReference = value;
}
/**
* Gets the value of the requestOrganizationIdentifier property.
*
* @return
* possible object is
* {@link Identifier }
*
*/
public Identifier getRequestOrganizationIdentifier() {
return requestOrganizationIdentifier;
}
/**
* Sets the value of the requestOrganizationIdentifier property.
*
* @param value
* allowed object is
* {@link Identifier }
*
*/
public void setRequestOrganizationIdentifier(Identifier value) {
this.requestOrganizationIdentifier = value;
}
/**
* Gets the value of the requestOrganizationReference property.
*
* @return
* possible object is
* {@link Reference }
*
*/
public Reference getRequestOrganizationReference() {
return requestOrganizationReference;
}
/**
* Sets the value of the requestOrganizationReference property.
*
* @param value
* allowed object is
* {@link Reference }
*
*/
public void setRequestOrganizationReference(Reference value) {
this.requestOrganizationReference = value;
}
/**
* Gets the value of the outcome property.
*
* @return
* possible object is
* {@link RemittanceOutcome }
*
*/
public RemittanceOutcome getOutcome() {
return outcome;
}
/**
* Sets the value of the outcome property.
*
* @param value
* allowed object is
* {@link RemittanceOutcome }
*
*/
public void setOutcome(RemittanceOutcome value) {
this.outcome = value;
}
/**
* Gets the value of the disposition property.
*
* @return
* possible object is
* {@link org.hl7.fhir.String }
*
*/
public org.hl7.fhir.String getDisposition() {
return disposition;
}
/**
* Sets the value of the disposition property.
*
* @param value
* allowed object is
* {@link org.hl7.fhir.String }
*
*/
public void setDisposition(org.hl7.fhir.String value) {
this.disposition = value;
}
/**
* Gets the value of the payeeType property.
*
* @return
* possible object is
* {@link Coding }
*
*/
public Coding getPayeeType() {
return payeeType;
}
/**
* Sets the value of the payeeType property.
*
* @param value
* allowed object is
* {@link Coding }
*
*/
public void setPayeeType(Coding value) {
this.payeeType = value;
}
/**
* Gets the value of the item 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 item property.
*
*
* For example, to add a new item, do as follows:
*
* getItem().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link ClaimResponseItem }
*
*
*/
public List getItem() {
if (item == null) {
item = new ArrayList();
}
return this.item;
}
/**
* Gets the value of the addItem 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 addItem property.
*
*
* For example, to add a new item, do as follows:
*
* getAddItem().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link ClaimResponseAddItem }
*
*
*/
public List getAddItem() {
if (addItem == null) {
addItem = new ArrayList();
}
return this.addItem;
}
/**
* Gets the value of the error 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 error property.
*
*
* For example, to add a new item, do as follows:
*
* getError().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link ClaimResponseError }
*
*
*/
public List getError() {
if (error == null) {
error = new ArrayList();
}
return this.error;
}
/**
* Gets the value of the totalCost property.
*
* @return
* possible object is
* {@link Money }
*
*/
public Money getTotalCost() {
return totalCost;
}
/**
* Sets the value of the totalCost property.
*
* @param value
* allowed object is
* {@link Money }
*
*/
public void setTotalCost(Money value) {
this.totalCost = value;
}
/**
* Gets the value of the unallocDeductable property.
*
* @return
* possible object is
* {@link Money }
*
*/
public Money getUnallocDeductable() {
return unallocDeductable;
}
/**
* Sets the value of the unallocDeductable property.
*
* @param value
* allowed object is
* {@link Money }
*
*/
public void setUnallocDeductable(Money value) {
this.unallocDeductable = value;
}
/**
* Gets the value of the totalBenefit property.
*
* @return
* possible object is
* {@link Money }
*
*/
public Money getTotalBenefit() {
return totalBenefit;
}
/**
* Sets the value of the totalBenefit property.
*
* @param value
* allowed object is
* {@link Money }
*
*/
public void setTotalBenefit(Money value) {
this.totalBenefit = value;
}
/**
* Gets the value of the paymentAdjustment property.
*
* @return
* possible object is
* {@link Money }
*
*/
public Money getPaymentAdjustment() {
return paymentAdjustment;
}
/**
* Sets the value of the paymentAdjustment property.
*
* @param value
* allowed object is
* {@link Money }
*
*/
public void setPaymentAdjustment(Money value) {
this.paymentAdjustment = value;
}
/**
* Gets the value of the paymentAdjustmentReason property.
*
* @return
* possible object is
* {@link Coding }
*
*/
public Coding getPaymentAdjustmentReason() {
return paymentAdjustmentReason;
}
/**
* Sets the value of the paymentAdjustmentReason property.
*
* @param value
* allowed object is
* {@link Coding }
*
*/
public void setPaymentAdjustmentReason(Coding value) {
this.paymentAdjustmentReason = value;
}
/**
* Gets the value of the paymentDate property.
*
* @return
* possible object is
* {@link Date }
*
*/
public Date getPaymentDate() {
return paymentDate;
}
/**
* Sets the value of the paymentDate property.
*
* @param value
* allowed object is
* {@link Date }
*
*/
public void setPaymentDate(Date value) {
this.paymentDate = value;
}
/**
* Gets the value of the paymentAmount property.
*
* @return
* possible object is
* {@link Money }
*
*/
public Money getPaymentAmount() {
return paymentAmount;
}
/**
* Sets the value of the paymentAmount property.
*
* @param value
* allowed object is
* {@link Money }
*
*/
public void setPaymentAmount(Money value) {
this.paymentAmount = value;
}
/**
* Gets the value of the paymentRef property.
*
* @return
* possible object is
* {@link Identifier }
*
*/
public Identifier getPaymentRef() {
return paymentRef;
}
/**
* Sets the value of the paymentRef property.
*
* @param value
* allowed object is
* {@link Identifier }
*
*/
public void setPaymentRef(Identifier value) {
this.paymentRef = value;
}
/**
* Gets the value of the reserved property.
*
* @return
* possible object is
* {@link Coding }
*
*/
public Coding getReserved() {
return reserved;
}
/**
* Sets the value of the reserved property.
*
* @param value
* allowed object is
* {@link Coding }
*
*/
public void setReserved(Coding value) {
this.reserved = value;
}
/**
* Gets the value of the form property.
*
* @return
* possible object is
* {@link Coding }
*
*/
public Coding getForm() {
return form;
}
/**
* Sets the value of the form property.
*
* @param value
* allowed object is
* {@link Coding }
*
*/
public void setForm(Coding value) {
this.form = value;
}
/**
* Gets the value of the note 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 note property.
*
*
* For example, to add a new item, do as follows:
*
* getNote().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link ClaimResponseNote }
*
*
*/
public List getNote() {
if (note == null) {
note = new ArrayList();
}
return this.note;
}
/**
* Gets the value of the coverage 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 coverage property.
*
*
* For example, to add a new item, do as follows:
*
* getCoverage().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link ClaimResponseCoverage }
*
*
*/
public List getCoverage() {
if (coverage == null) {
coverage = new ArrayList();
}
return this.coverage;
}
public ClaimResponse withIdentifier(Identifier... values) {
if (values!= null) {
for (Identifier value: values) {
getIdentifier().add(value);
}
}
return this;
}
public ClaimResponse withIdentifier(Collection values) {
if (values!= null) {
getIdentifier().addAll(values);
}
return this;
}
public ClaimResponse withRequestIdentifier(Identifier value) {
setRequestIdentifier(value);
return this;
}
public ClaimResponse withRequestReference(Reference value) {
setRequestReference(value);
return this;
}
public ClaimResponse withRuleset(Coding value) {
setRuleset(value);
return this;
}
public ClaimResponse withOriginalRuleset(Coding value) {
setOriginalRuleset(value);
return this;
}
public ClaimResponse withCreated(DateTime value) {
setCreated(value);
return this;
}
public ClaimResponse withOrganizationIdentifier(Identifier value) {
setOrganizationIdentifier(value);
return this;
}
public ClaimResponse withOrganizationReference(Reference value) {
setOrganizationReference(value);
return this;
}
public ClaimResponse withRequestProviderIdentifier(Identifier value) {
setRequestProviderIdentifier(value);
return this;
}
public ClaimResponse withRequestProviderReference(Reference value) {
setRequestProviderReference(value);
return this;
}
public ClaimResponse withRequestOrganizationIdentifier(Identifier value) {
setRequestOrganizationIdentifier(value);
return this;
}
public ClaimResponse withRequestOrganizationReference(Reference value) {
setRequestOrganizationReference(value);
return this;
}
public ClaimResponse withOutcome(RemittanceOutcome value) {
setOutcome(value);
return this;
}
public ClaimResponse withDisposition(org.hl7.fhir.String value) {
setDisposition(value);
return this;
}
public ClaimResponse withPayeeType(Coding value) {
setPayeeType(value);
return this;
}
public ClaimResponse withItem(ClaimResponseItem... values) {
if (values!= null) {
for (ClaimResponseItem value: values) {
getItem().add(value);
}
}
return this;
}
public ClaimResponse withItem(Collection values) {
if (values!= null) {
getItem().addAll(values);
}
return this;
}
public ClaimResponse withAddItem(ClaimResponseAddItem... values) {
if (values!= null) {
for (ClaimResponseAddItem value: values) {
getAddItem().add(value);
}
}
return this;
}
public ClaimResponse withAddItem(Collection values) {
if (values!= null) {
getAddItem().addAll(values);
}
return this;
}
public ClaimResponse withError(ClaimResponseError... values) {
if (values!= null) {
for (ClaimResponseError value: values) {
getError().add(value);
}
}
return this;
}
public ClaimResponse withError(Collection values) {
if (values!= null) {
getError().addAll(values);
}
return this;
}
public ClaimResponse withTotalCost(Money value) {
setTotalCost(value);
return this;
}
public ClaimResponse withUnallocDeductable(Money value) {
setUnallocDeductable(value);
return this;
}
public ClaimResponse withTotalBenefit(Money value) {
setTotalBenefit(value);
return this;
}
public ClaimResponse withPaymentAdjustment(Money value) {
setPaymentAdjustment(value);
return this;
}
public ClaimResponse withPaymentAdjustmentReason(Coding value) {
setPaymentAdjustmentReason(value);
return this;
}
public ClaimResponse withPaymentDate(Date value) {
setPaymentDate(value);
return this;
}
public ClaimResponse withPaymentAmount(Money value) {
setPaymentAmount(value);
return this;
}
public ClaimResponse withPaymentRef(Identifier value) {
setPaymentRef(value);
return this;
}
public ClaimResponse withReserved(Coding value) {
setReserved(value);
return this;
}
public ClaimResponse withForm(Coding value) {
setForm(value);
return this;
}
public ClaimResponse withNote(ClaimResponseNote... values) {
if (values!= null) {
for (ClaimResponseNote value: values) {
getNote().add(value);
}
}
return this;
}
public ClaimResponse withNote(Collection values) {
if (values!= null) {
getNote().addAll(values);
}
return this;
}
public ClaimResponse withCoverage(ClaimResponseCoverage... values) {
if (values!= null) {
for (ClaimResponseCoverage value: values) {
getCoverage().add(value);
}
}
return this;
}
public ClaimResponse withCoverage(Collection values) {
if (values!= null) {
getCoverage().addAll(values);
}
return this;
}
@Override
public ClaimResponse withText(Narrative value) {
setText(value);
return this;
}
@Override
public ClaimResponse withContained(ResourceContainer... values) {
if (values!= null) {
for (ResourceContainer value: values) {
getContained().add(value);
}
}
return this;
}
@Override
public ClaimResponse withContained(Collection values) {
if (values!= null) {
getContained().addAll(values);
}
return this;
}
@Override
public ClaimResponse withExtension(Extension... values) {
if (values!= null) {
for (Extension value: values) {
getExtension().add(value);
}
}
return this;
}
@Override
public ClaimResponse withExtension(Collection values) {
if (values!= null) {
getExtension().addAll(values);
}
return this;
}
@Override
public ClaimResponse withModifierExtension(Extension... values) {
if (values!= null) {
for (Extension value: values) {
getModifierExtension().add(value);
}
}
return this;
}
@Override
public ClaimResponse withModifierExtension(Collection values) {
if (values!= null) {
getModifierExtension().addAll(values);
}
return this;
}
@Override
public ClaimResponse withId(Id value) {
setId(value);
return this;
}
@Override
public ClaimResponse withMeta(Meta value) {
setMeta(value);
return this;
}
@Override
public ClaimResponse withImplicitRules(Uri value) {
setImplicitRules(value);
return this;
}
@Override
public ClaimResponse 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 ClaimResponse that = ((ClaimResponse) 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;
}
}
{
Identifier lhsRequestIdentifier;
lhsRequestIdentifier = this.getRequestIdentifier();
Identifier rhsRequestIdentifier;
rhsRequestIdentifier = that.getRequestIdentifier();
if (!strategy.equals(LocatorUtils.property(thisLocator, "requestIdentifier", lhsRequestIdentifier), LocatorUtils.property(thatLocator, "requestIdentifier", rhsRequestIdentifier), lhsRequestIdentifier, rhsRequestIdentifier, (this.requestIdentifier!= null), (that.requestIdentifier!= null))) {
return false;
}
}
{
Reference lhsRequestReference;
lhsRequestReference = this.getRequestReference();
Reference rhsRequestReference;
rhsRequestReference = that.getRequestReference();
if (!strategy.equals(LocatorUtils.property(thisLocator, "requestReference", lhsRequestReference), LocatorUtils.property(thatLocator, "requestReference", rhsRequestReference), lhsRequestReference, rhsRequestReference, (this.requestReference!= null), (that.requestReference!= null))) {
return false;
}
}
{
Coding lhsRuleset;
lhsRuleset = this.getRuleset();
Coding rhsRuleset;
rhsRuleset = that.getRuleset();
if (!strategy.equals(LocatorUtils.property(thisLocator, "ruleset", lhsRuleset), LocatorUtils.property(thatLocator, "ruleset", rhsRuleset), lhsRuleset, rhsRuleset, (this.ruleset!= null), (that.ruleset!= null))) {
return false;
}
}
{
Coding lhsOriginalRuleset;
lhsOriginalRuleset = this.getOriginalRuleset();
Coding rhsOriginalRuleset;
rhsOriginalRuleset = that.getOriginalRuleset();
if (!strategy.equals(LocatorUtils.property(thisLocator, "originalRuleset", lhsOriginalRuleset), LocatorUtils.property(thatLocator, "originalRuleset", rhsOriginalRuleset), lhsOriginalRuleset, rhsOriginalRuleset, (this.originalRuleset!= null), (that.originalRuleset!= null))) {
return false;
}
}
{
DateTime lhsCreated;
lhsCreated = this.getCreated();
DateTime rhsCreated;
rhsCreated = that.getCreated();
if (!strategy.equals(LocatorUtils.property(thisLocator, "created", lhsCreated), LocatorUtils.property(thatLocator, "created", rhsCreated), lhsCreated, rhsCreated, (this.created!= null), (that.created!= null))) {
return false;
}
}
{
Identifier lhsOrganizationIdentifier;
lhsOrganizationIdentifier = this.getOrganizationIdentifier();
Identifier rhsOrganizationIdentifier;
rhsOrganizationIdentifier = that.getOrganizationIdentifier();
if (!strategy.equals(LocatorUtils.property(thisLocator, "organizationIdentifier", lhsOrganizationIdentifier), LocatorUtils.property(thatLocator, "organizationIdentifier", rhsOrganizationIdentifier), lhsOrganizationIdentifier, rhsOrganizationIdentifier, (this.organizationIdentifier!= null), (that.organizationIdentifier!= null))) {
return false;
}
}
{
Reference lhsOrganizationReference;
lhsOrganizationReference = this.getOrganizationReference();
Reference rhsOrganizationReference;
rhsOrganizationReference = that.getOrganizationReference();
if (!strategy.equals(LocatorUtils.property(thisLocator, "organizationReference", lhsOrganizationReference), LocatorUtils.property(thatLocator, "organizationReference", rhsOrganizationReference), lhsOrganizationReference, rhsOrganizationReference, (this.organizationReference!= null), (that.organizationReference!= null))) {
return false;
}
}
{
Identifier lhsRequestProviderIdentifier;
lhsRequestProviderIdentifier = this.getRequestProviderIdentifier();
Identifier rhsRequestProviderIdentifier;
rhsRequestProviderIdentifier = that.getRequestProviderIdentifier();
if (!strategy.equals(LocatorUtils.property(thisLocator, "requestProviderIdentifier", lhsRequestProviderIdentifier), LocatorUtils.property(thatLocator, "requestProviderIdentifier", rhsRequestProviderIdentifier), lhsRequestProviderIdentifier, rhsRequestProviderIdentifier, (this.requestProviderIdentifier!= null), (that.requestProviderIdentifier!= null))) {
return false;
}
}
{
Reference lhsRequestProviderReference;
lhsRequestProviderReference = this.getRequestProviderReference();
Reference rhsRequestProviderReference;
rhsRequestProviderReference = that.getRequestProviderReference();
if (!strategy.equals(LocatorUtils.property(thisLocator, "requestProviderReference", lhsRequestProviderReference), LocatorUtils.property(thatLocator, "requestProviderReference", rhsRequestProviderReference), lhsRequestProviderReference, rhsRequestProviderReference, (this.requestProviderReference!= null), (that.requestProviderReference!= null))) {
return false;
}
}
{
Identifier lhsRequestOrganizationIdentifier;
lhsRequestOrganizationIdentifier = this.getRequestOrganizationIdentifier();
Identifier rhsRequestOrganizationIdentifier;
rhsRequestOrganizationIdentifier = that.getRequestOrganizationIdentifier();
if (!strategy.equals(LocatorUtils.property(thisLocator, "requestOrganizationIdentifier", lhsRequestOrganizationIdentifier), LocatorUtils.property(thatLocator, "requestOrganizationIdentifier", rhsRequestOrganizationIdentifier), lhsRequestOrganizationIdentifier, rhsRequestOrganizationIdentifier, (this.requestOrganizationIdentifier!= null), (that.requestOrganizationIdentifier!= null))) {
return false;
}
}
{
Reference lhsRequestOrganizationReference;
lhsRequestOrganizationReference = this.getRequestOrganizationReference();
Reference rhsRequestOrganizationReference;
rhsRequestOrganizationReference = that.getRequestOrganizationReference();
if (!strategy.equals(LocatorUtils.property(thisLocator, "requestOrganizationReference", lhsRequestOrganizationReference), LocatorUtils.property(thatLocator, "requestOrganizationReference", rhsRequestOrganizationReference), lhsRequestOrganizationReference, rhsRequestOrganizationReference, (this.requestOrganizationReference!= null), (that.requestOrganizationReference!= null))) {
return false;
}
}
{
RemittanceOutcome lhsOutcome;
lhsOutcome = this.getOutcome();
RemittanceOutcome rhsOutcome;
rhsOutcome = that.getOutcome();
if (!strategy.equals(LocatorUtils.property(thisLocator, "outcome", lhsOutcome), LocatorUtils.property(thatLocator, "outcome", rhsOutcome), lhsOutcome, rhsOutcome, (this.outcome!= null), (that.outcome!= null))) {
return false;
}
}
{
org.hl7.fhir.String lhsDisposition;
lhsDisposition = this.getDisposition();
org.hl7.fhir.String rhsDisposition;
rhsDisposition = that.getDisposition();
if (!strategy.equals(LocatorUtils.property(thisLocator, "disposition", lhsDisposition), LocatorUtils.property(thatLocator, "disposition", rhsDisposition), lhsDisposition, rhsDisposition, (this.disposition!= null), (that.disposition!= null))) {
return false;
}
}
{
Coding lhsPayeeType;
lhsPayeeType = this.getPayeeType();
Coding rhsPayeeType;
rhsPayeeType = that.getPayeeType();
if (!strategy.equals(LocatorUtils.property(thisLocator, "payeeType", lhsPayeeType), LocatorUtils.property(thatLocator, "payeeType", rhsPayeeType), lhsPayeeType, rhsPayeeType, (this.payeeType!= null), (that.payeeType!= null))) {
return false;
}
}
{
List lhsItem;
lhsItem = (((this.item!= null)&&(!this.item.isEmpty()))?this.getItem():null);
List rhsItem;
rhsItem = (((that.item!= null)&&(!that.item.isEmpty()))?that.getItem():null);
if (!strategy.equals(LocatorUtils.property(thisLocator, "item", lhsItem), LocatorUtils.property(thatLocator, "item", rhsItem), lhsItem, rhsItem, ((this.item!= null)&&(!this.item.isEmpty())), ((that.item!= null)&&(!that.item.isEmpty())))) {
return false;
}
}
{
List lhsAddItem;
lhsAddItem = (((this.addItem!= null)&&(!this.addItem.isEmpty()))?this.getAddItem():null);
List rhsAddItem;
rhsAddItem = (((that.addItem!= null)&&(!that.addItem.isEmpty()))?that.getAddItem():null);
if (!strategy.equals(LocatorUtils.property(thisLocator, "addItem", lhsAddItem), LocatorUtils.property(thatLocator, "addItem", rhsAddItem), lhsAddItem, rhsAddItem, ((this.addItem!= null)&&(!this.addItem.isEmpty())), ((that.addItem!= null)&&(!that.addItem.isEmpty())))) {
return false;
}
}
{
List lhsError;
lhsError = (((this.error!= null)&&(!this.error.isEmpty()))?this.getError():null);
List rhsError;
rhsError = (((that.error!= null)&&(!that.error.isEmpty()))?that.getError():null);
if (!strategy.equals(LocatorUtils.property(thisLocator, "error", lhsError), LocatorUtils.property(thatLocator, "error", rhsError), lhsError, rhsError, ((this.error!= null)&&(!this.error.isEmpty())), ((that.error!= null)&&(!that.error.isEmpty())))) {
return false;
}
}
{
Money lhsTotalCost;
lhsTotalCost = this.getTotalCost();
Money rhsTotalCost;
rhsTotalCost = that.getTotalCost();
if (!strategy.equals(LocatorUtils.property(thisLocator, "totalCost", lhsTotalCost), LocatorUtils.property(thatLocator, "totalCost", rhsTotalCost), lhsTotalCost, rhsTotalCost, (this.totalCost!= null), (that.totalCost!= null))) {
return false;
}
}
{
Money lhsUnallocDeductable;
lhsUnallocDeductable = this.getUnallocDeductable();
Money rhsUnallocDeductable;
rhsUnallocDeductable = that.getUnallocDeductable();
if (!strategy.equals(LocatorUtils.property(thisLocator, "unallocDeductable", lhsUnallocDeductable), LocatorUtils.property(thatLocator, "unallocDeductable", rhsUnallocDeductable), lhsUnallocDeductable, rhsUnallocDeductable, (this.unallocDeductable!= null), (that.unallocDeductable!= null))) {
return false;
}
}
{
Money lhsTotalBenefit;
lhsTotalBenefit = this.getTotalBenefit();
Money rhsTotalBenefit;
rhsTotalBenefit = that.getTotalBenefit();
if (!strategy.equals(LocatorUtils.property(thisLocator, "totalBenefit", lhsTotalBenefit), LocatorUtils.property(thatLocator, "totalBenefit", rhsTotalBenefit), lhsTotalBenefit, rhsTotalBenefit, (this.totalBenefit!= null), (that.totalBenefit!= null))) {
return false;
}
}
{
Money lhsPaymentAdjustment;
lhsPaymentAdjustment = this.getPaymentAdjustment();
Money rhsPaymentAdjustment;
rhsPaymentAdjustment = that.getPaymentAdjustment();
if (!strategy.equals(LocatorUtils.property(thisLocator, "paymentAdjustment", lhsPaymentAdjustment), LocatorUtils.property(thatLocator, "paymentAdjustment", rhsPaymentAdjustment), lhsPaymentAdjustment, rhsPaymentAdjustment, (this.paymentAdjustment!= null), (that.paymentAdjustment!= null))) {
return false;
}
}
{
Coding lhsPaymentAdjustmentReason;
lhsPaymentAdjustmentReason = this.getPaymentAdjustmentReason();
Coding rhsPaymentAdjustmentReason;
rhsPaymentAdjustmentReason = that.getPaymentAdjustmentReason();
if (!strategy.equals(LocatorUtils.property(thisLocator, "paymentAdjustmentReason", lhsPaymentAdjustmentReason), LocatorUtils.property(thatLocator, "paymentAdjustmentReason", rhsPaymentAdjustmentReason), lhsPaymentAdjustmentReason, rhsPaymentAdjustmentReason, (this.paymentAdjustmentReason!= null), (that.paymentAdjustmentReason!= null))) {
return false;
}
}
{
Date lhsPaymentDate;
lhsPaymentDate = this.getPaymentDate();
Date rhsPaymentDate;
rhsPaymentDate = that.getPaymentDate();
if (!strategy.equals(LocatorUtils.property(thisLocator, "paymentDate", lhsPaymentDate), LocatorUtils.property(thatLocator, "paymentDate", rhsPaymentDate), lhsPaymentDate, rhsPaymentDate, (this.paymentDate!= null), (that.paymentDate!= null))) {
return false;
}
}
{
Money lhsPaymentAmount;
lhsPaymentAmount = this.getPaymentAmount();
Money rhsPaymentAmount;
rhsPaymentAmount = that.getPaymentAmount();
if (!strategy.equals(LocatorUtils.property(thisLocator, "paymentAmount", lhsPaymentAmount), LocatorUtils.property(thatLocator, "paymentAmount", rhsPaymentAmount), lhsPaymentAmount, rhsPaymentAmount, (this.paymentAmount!= null), (that.paymentAmount!= null))) {
return false;
}
}
{
Identifier lhsPaymentRef;
lhsPaymentRef = this.getPaymentRef();
Identifier rhsPaymentRef;
rhsPaymentRef = that.getPaymentRef();
if (!strategy.equals(LocatorUtils.property(thisLocator, "paymentRef", lhsPaymentRef), LocatorUtils.property(thatLocator, "paymentRef", rhsPaymentRef), lhsPaymentRef, rhsPaymentRef, (this.paymentRef!= null), (that.paymentRef!= null))) {
return false;
}
}
{
Coding lhsReserved;
lhsReserved = this.getReserved();
Coding rhsReserved;
rhsReserved = that.getReserved();
if (!strategy.equals(LocatorUtils.property(thisLocator, "reserved", lhsReserved), LocatorUtils.property(thatLocator, "reserved", rhsReserved), lhsReserved, rhsReserved, (this.reserved!= null), (that.reserved!= null))) {
return false;
}
}
{
Coding lhsForm;
lhsForm = this.getForm();
Coding rhsForm;
rhsForm = that.getForm();
if (!strategy.equals(LocatorUtils.property(thisLocator, "form", lhsForm), LocatorUtils.property(thatLocator, "form", rhsForm), lhsForm, rhsForm, (this.form!= null), (that.form!= null))) {
return false;
}
}
{
List lhsNote;
lhsNote = (((this.note!= null)&&(!this.note.isEmpty()))?this.getNote():null);
List rhsNote;
rhsNote = (((that.note!= null)&&(!that.note.isEmpty()))?that.getNote():null);
if (!strategy.equals(LocatorUtils.property(thisLocator, "note", lhsNote), LocatorUtils.property(thatLocator, "note", rhsNote), lhsNote, rhsNote, ((this.note!= null)&&(!this.note.isEmpty())), ((that.note!= null)&&(!that.note.isEmpty())))) {
return false;
}
}
{
List lhsCoverage;
lhsCoverage = (((this.coverage!= null)&&(!this.coverage.isEmpty()))?this.getCoverage():null);
List rhsCoverage;
rhsCoverage = (((that.coverage!= null)&&(!that.coverage.isEmpty()))?that.getCoverage():null);
if (!strategy.equals(LocatorUtils.property(thisLocator, "coverage", lhsCoverage), LocatorUtils.property(thatLocator, "coverage", rhsCoverage), lhsCoverage, rhsCoverage, ((this.coverage!= null)&&(!this.coverage.isEmpty())), ((that.coverage!= null)&&(!that.coverage.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())));
}
{
Identifier theRequestIdentifier;
theRequestIdentifier = this.getRequestIdentifier();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "requestIdentifier", theRequestIdentifier), currentHashCode, theRequestIdentifier, (this.requestIdentifier!= null));
}
{
Reference theRequestReference;
theRequestReference = this.getRequestReference();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "requestReference", theRequestReference), currentHashCode, theRequestReference, (this.requestReference!= null));
}
{
Coding theRuleset;
theRuleset = this.getRuleset();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "ruleset", theRuleset), currentHashCode, theRuleset, (this.ruleset!= null));
}
{
Coding theOriginalRuleset;
theOriginalRuleset = this.getOriginalRuleset();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "originalRuleset", theOriginalRuleset), currentHashCode, theOriginalRuleset, (this.originalRuleset!= null));
}
{
DateTime theCreated;
theCreated = this.getCreated();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "created", theCreated), currentHashCode, theCreated, (this.created!= null));
}
{
Identifier theOrganizationIdentifier;
theOrganizationIdentifier = this.getOrganizationIdentifier();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "organizationIdentifier", theOrganizationIdentifier), currentHashCode, theOrganizationIdentifier, (this.organizationIdentifier!= null));
}
{
Reference theOrganizationReference;
theOrganizationReference = this.getOrganizationReference();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "organizationReference", theOrganizationReference), currentHashCode, theOrganizationReference, (this.organizationReference!= null));
}
{
Identifier theRequestProviderIdentifier;
theRequestProviderIdentifier = this.getRequestProviderIdentifier();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "requestProviderIdentifier", theRequestProviderIdentifier), currentHashCode, theRequestProviderIdentifier, (this.requestProviderIdentifier!= null));
}
{
Reference theRequestProviderReference;
theRequestProviderReference = this.getRequestProviderReference();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "requestProviderReference", theRequestProviderReference), currentHashCode, theRequestProviderReference, (this.requestProviderReference!= null));
}
{
Identifier theRequestOrganizationIdentifier;
theRequestOrganizationIdentifier = this.getRequestOrganizationIdentifier();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "requestOrganizationIdentifier", theRequestOrganizationIdentifier), currentHashCode, theRequestOrganizationIdentifier, (this.requestOrganizationIdentifier!= null));
}
{
Reference theRequestOrganizationReference;
theRequestOrganizationReference = this.getRequestOrganizationReference();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "requestOrganizationReference", theRequestOrganizationReference), currentHashCode, theRequestOrganizationReference, (this.requestOrganizationReference!= null));
}
{
RemittanceOutcome theOutcome;
theOutcome = this.getOutcome();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "outcome", theOutcome), currentHashCode, theOutcome, (this.outcome!= null));
}
{
org.hl7.fhir.String theDisposition;
theDisposition = this.getDisposition();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "disposition", theDisposition), currentHashCode, theDisposition, (this.disposition!= null));
}
{
Coding thePayeeType;
thePayeeType = this.getPayeeType();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "payeeType", thePayeeType), currentHashCode, thePayeeType, (this.payeeType!= null));
}
{
List theItem;
theItem = (((this.item!= null)&&(!this.item.isEmpty()))?this.getItem():null);
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "item", theItem), currentHashCode, theItem, ((this.item!= null)&&(!this.item.isEmpty())));
}
{
List theAddItem;
theAddItem = (((this.addItem!= null)&&(!this.addItem.isEmpty()))?this.getAddItem():null);
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "addItem", theAddItem), currentHashCode, theAddItem, ((this.addItem!= null)&&(!this.addItem.isEmpty())));
}
{
List theError;
theError = (((this.error!= null)&&(!this.error.isEmpty()))?this.getError():null);
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "error", theError), currentHashCode, theError, ((this.error!= null)&&(!this.error.isEmpty())));
}
{
Money theTotalCost;
theTotalCost = this.getTotalCost();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "totalCost", theTotalCost), currentHashCode, theTotalCost, (this.totalCost!= null));
}
{
Money theUnallocDeductable;
theUnallocDeductable = this.getUnallocDeductable();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "unallocDeductable", theUnallocDeductable), currentHashCode, theUnallocDeductable, (this.unallocDeductable!= null));
}
{
Money theTotalBenefit;
theTotalBenefit = this.getTotalBenefit();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "totalBenefit", theTotalBenefit), currentHashCode, theTotalBenefit, (this.totalBenefit!= null));
}
{
Money thePaymentAdjustment;
thePaymentAdjustment = this.getPaymentAdjustment();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "paymentAdjustment", thePaymentAdjustment), currentHashCode, thePaymentAdjustment, (this.paymentAdjustment!= null));
}
{
Coding thePaymentAdjustmentReason;
thePaymentAdjustmentReason = this.getPaymentAdjustmentReason();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "paymentAdjustmentReason", thePaymentAdjustmentReason), currentHashCode, thePaymentAdjustmentReason, (this.paymentAdjustmentReason!= null));
}
{
Date thePaymentDate;
thePaymentDate = this.getPaymentDate();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "paymentDate", thePaymentDate), currentHashCode, thePaymentDate, (this.paymentDate!= null));
}
{
Money thePaymentAmount;
thePaymentAmount = this.getPaymentAmount();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "paymentAmount", thePaymentAmount), currentHashCode, thePaymentAmount, (this.paymentAmount!= null));
}
{
Identifier thePaymentRef;
thePaymentRef = this.getPaymentRef();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "paymentRef", thePaymentRef), currentHashCode, thePaymentRef, (this.paymentRef!= null));
}
{
Coding theReserved;
theReserved = this.getReserved();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "reserved", theReserved), currentHashCode, theReserved, (this.reserved!= null));
}
{
Coding theForm;
theForm = this.getForm();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "form", theForm), currentHashCode, theForm, (this.form!= null));
}
{
List theNote;
theNote = (((this.note!= null)&&(!this.note.isEmpty()))?this.getNote():null);
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "note", theNote), currentHashCode, theNote, ((this.note!= null)&&(!this.note.isEmpty())));
}
{
List theCoverage;
theCoverage = (((this.coverage!= null)&&(!this.coverage.isEmpty()))?this.getCoverage():null);
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "coverage", theCoverage), currentHashCode, theCoverage, ((this.coverage!= null)&&(!this.coverage.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())));
}
{
Identifier theRequestIdentifier;
theRequestIdentifier = this.getRequestIdentifier();
strategy.appendField(locator, this, "requestIdentifier", buffer, theRequestIdentifier, (this.requestIdentifier!= null));
}
{
Reference theRequestReference;
theRequestReference = this.getRequestReference();
strategy.appendField(locator, this, "requestReference", buffer, theRequestReference, (this.requestReference!= null));
}
{
Coding theRuleset;
theRuleset = this.getRuleset();
strategy.appendField(locator, this, "ruleset", buffer, theRuleset, (this.ruleset!= null));
}
{
Coding theOriginalRuleset;
theOriginalRuleset = this.getOriginalRuleset();
strategy.appendField(locator, this, "originalRuleset", buffer, theOriginalRuleset, (this.originalRuleset!= null));
}
{
DateTime theCreated;
theCreated = this.getCreated();
strategy.appendField(locator, this, "created", buffer, theCreated, (this.created!= null));
}
{
Identifier theOrganizationIdentifier;
theOrganizationIdentifier = this.getOrganizationIdentifier();
strategy.appendField(locator, this, "organizationIdentifier", buffer, theOrganizationIdentifier, (this.organizationIdentifier!= null));
}
{
Reference theOrganizationReference;
theOrganizationReference = this.getOrganizationReference();
strategy.appendField(locator, this, "organizationReference", buffer, theOrganizationReference, (this.organizationReference!= null));
}
{
Identifier theRequestProviderIdentifier;
theRequestProviderIdentifier = this.getRequestProviderIdentifier();
strategy.appendField(locator, this, "requestProviderIdentifier", buffer, theRequestProviderIdentifier, (this.requestProviderIdentifier!= null));
}
{
Reference theRequestProviderReference;
theRequestProviderReference = this.getRequestProviderReference();
strategy.appendField(locator, this, "requestProviderReference", buffer, theRequestProviderReference, (this.requestProviderReference!= null));
}
{
Identifier theRequestOrganizationIdentifier;
theRequestOrganizationIdentifier = this.getRequestOrganizationIdentifier();
strategy.appendField(locator, this, "requestOrganizationIdentifier", buffer, theRequestOrganizationIdentifier, (this.requestOrganizationIdentifier!= null));
}
{
Reference theRequestOrganizationReference;
theRequestOrganizationReference = this.getRequestOrganizationReference();
strategy.appendField(locator, this, "requestOrganizationReference", buffer, theRequestOrganizationReference, (this.requestOrganizationReference!= null));
}
{
RemittanceOutcome theOutcome;
theOutcome = this.getOutcome();
strategy.appendField(locator, this, "outcome", buffer, theOutcome, (this.outcome!= null));
}
{
org.hl7.fhir.String theDisposition;
theDisposition = this.getDisposition();
strategy.appendField(locator, this, "disposition", buffer, theDisposition, (this.disposition!= null));
}
{
Coding thePayeeType;
thePayeeType = this.getPayeeType();
strategy.appendField(locator, this, "payeeType", buffer, thePayeeType, (this.payeeType!= null));
}
{
List theItem;
theItem = (((this.item!= null)&&(!this.item.isEmpty()))?this.getItem():null);
strategy.appendField(locator, this, "item", buffer, theItem, ((this.item!= null)&&(!this.item.isEmpty())));
}
{
List theAddItem;
theAddItem = (((this.addItem!= null)&&(!this.addItem.isEmpty()))?this.getAddItem():null);
strategy.appendField(locator, this, "addItem", buffer, theAddItem, ((this.addItem!= null)&&(!this.addItem.isEmpty())));
}
{
List theError;
theError = (((this.error!= null)&&(!this.error.isEmpty()))?this.getError():null);
strategy.appendField(locator, this, "error", buffer, theError, ((this.error!= null)&&(!this.error.isEmpty())));
}
{
Money theTotalCost;
theTotalCost = this.getTotalCost();
strategy.appendField(locator, this, "totalCost", buffer, theTotalCost, (this.totalCost!= null));
}
{
Money theUnallocDeductable;
theUnallocDeductable = this.getUnallocDeductable();
strategy.appendField(locator, this, "unallocDeductable", buffer, theUnallocDeductable, (this.unallocDeductable!= null));
}
{
Money theTotalBenefit;
theTotalBenefit = this.getTotalBenefit();
strategy.appendField(locator, this, "totalBenefit", buffer, theTotalBenefit, (this.totalBenefit!= null));
}
{
Money thePaymentAdjustment;
thePaymentAdjustment = this.getPaymentAdjustment();
strategy.appendField(locator, this, "paymentAdjustment", buffer, thePaymentAdjustment, (this.paymentAdjustment!= null));
}
{
Coding thePaymentAdjustmentReason;
thePaymentAdjustmentReason = this.getPaymentAdjustmentReason();
strategy.appendField(locator, this, "paymentAdjustmentReason", buffer, thePaymentAdjustmentReason, (this.paymentAdjustmentReason!= null));
}
{
Date thePaymentDate;
thePaymentDate = this.getPaymentDate();
strategy.appendField(locator, this, "paymentDate", buffer, thePaymentDate, (this.paymentDate!= null));
}
{
Money thePaymentAmount;
thePaymentAmount = this.getPaymentAmount();
strategy.appendField(locator, this, "paymentAmount", buffer, thePaymentAmount, (this.paymentAmount!= null));
}
{
Identifier thePaymentRef;
thePaymentRef = this.getPaymentRef();
strategy.appendField(locator, this, "paymentRef", buffer, thePaymentRef, (this.paymentRef!= null));
}
{
Coding theReserved;
theReserved = this.getReserved();
strategy.appendField(locator, this, "reserved", buffer, theReserved, (this.reserved!= null));
}
{
Coding theForm;
theForm = this.getForm();
strategy.appendField(locator, this, "form", buffer, theForm, (this.form!= null));
}
{
List theNote;
theNote = (((this.note!= null)&&(!this.note.isEmpty()))?this.getNote():null);
strategy.appendField(locator, this, "note", buffer, theNote, ((this.note!= null)&&(!this.note.isEmpty())));
}
{
List theCoverage;
theCoverage = (((this.coverage!= null)&&(!this.coverage.isEmpty()))?this.getCoverage():null);
strategy.appendField(locator, this, "coverage", buffer, theCoverage, ((this.coverage!= null)&&(!this.coverage.isEmpty())));
}
return buffer;
}
public void setIdentifier(List value) {
this.identifier = value;
}
public void setItem(List value) {
this.item = value;
}
public void setAddItem(List value) {
this.addItem = value;
}
public void setError(List value) {
this.error = value;
}
public void setNote(List value) {
this.note = value;
}
public void setCoverage(List value) {
this.coverage = value;
}
}