All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.hl7.fhir.EligibilityResponse Maven / Gradle / Ivy

Go to download

The quick library for the Clinical Quality Language Java reference implementation

There is a newer version: 3.18.0
Show newest version
//
// 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 EligibilityResponse complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

 * <complexType name="EligibilityResponse">
 *   <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="outcome" type="{http://hl7.org/fhir}RemittanceOutcome" minOccurs="0"/>
 *         <element name="disposition" type="{http://hl7.org/fhir}string" minOccurs="0"/>
 *         <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="inforce" type="{http://hl7.org/fhir}boolean" minOccurs="0"/>
 *         <element name="contract" type="{http://hl7.org/fhir}Reference" minOccurs="0"/>
 *         <element name="form" type="{http://hl7.org/fhir}Coding" minOccurs="0"/>
 *         <element name="benefitBalance" type="{http://hl7.org/fhir}EligibilityResponse.BenefitBalance" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="error" type="{http://hl7.org/fhir}EligibilityResponse.Error" maxOccurs="unbounded" minOccurs="0"/>
 *       </sequence>
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "EligibilityResponse", propOrder = { "identifier", "requestIdentifier", "requestReference", "outcome", "disposition", "ruleset", "originalRuleset", "created", "organizationIdentifier", "organizationReference", "requestProviderIdentifier", "requestProviderReference", "requestOrganizationIdentifier", "requestOrganizationReference", "inforce", "contract", "form", "benefitBalance", "error" }) public class EligibilityResponse extends DomainResource implements Equals2, HashCode2, ToString2 { protected List identifier; protected Identifier requestIdentifier; protected Reference requestReference; protected RemittanceOutcome outcome; protected org.hl7.fhir.String disposition; 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 Boolean inforce; protected Reference contract; protected Coding form; protected List benefitBalance; protected List error; /** * 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 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 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 inforce property. * * @return * possible object is * {@link Boolean } * */ public Boolean getInforce() { return inforce; } /** * Sets the value of the inforce property. * * @param value * allowed object is * {@link Boolean } * */ public void setInforce(Boolean value) { this.inforce = value; } /** * Gets the value of the contract property. * * @return * possible object is * {@link Reference } * */ public Reference getContract() { return contract; } /** * Sets the value of the contract property. * * @param value * allowed object is * {@link Reference } * */ public void setContract(Reference value) { this.contract = 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 benefitBalance 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 benefitBalance property. * *

* For example, to add a new item, do as follows: *

     *    getBenefitBalance().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link EligibilityResponseBenefitBalance } * * */ public List getBenefitBalance() { if (benefitBalance == null) { benefitBalance = new ArrayList(); } return this.benefitBalance; } /** * 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 EligibilityResponseError } * * */ public List getError() { if (error == null) { error = new ArrayList(); } return this.error; } public EligibilityResponse withIdentifier(Identifier... values) { if (values!= null) { for (Identifier value: values) { getIdentifier().add(value); } } return this; } public EligibilityResponse withIdentifier(Collection values) { if (values!= null) { getIdentifier().addAll(values); } return this; } public EligibilityResponse withRequestIdentifier(Identifier value) { setRequestIdentifier(value); return this; } public EligibilityResponse withRequestReference(Reference value) { setRequestReference(value); return this; } public EligibilityResponse withOutcome(RemittanceOutcome value) { setOutcome(value); return this; } public EligibilityResponse withDisposition(org.hl7.fhir.String value) { setDisposition(value); return this; } public EligibilityResponse withRuleset(Coding value) { setRuleset(value); return this; } public EligibilityResponse withOriginalRuleset(Coding value) { setOriginalRuleset(value); return this; } public EligibilityResponse withCreated(DateTime value) { setCreated(value); return this; } public EligibilityResponse withOrganizationIdentifier(Identifier value) { setOrganizationIdentifier(value); return this; } public EligibilityResponse withOrganizationReference(Reference value) { setOrganizationReference(value); return this; } public EligibilityResponse withRequestProviderIdentifier(Identifier value) { setRequestProviderIdentifier(value); return this; } public EligibilityResponse withRequestProviderReference(Reference value) { setRequestProviderReference(value); return this; } public EligibilityResponse withRequestOrganizationIdentifier(Identifier value) { setRequestOrganizationIdentifier(value); return this; } public EligibilityResponse withRequestOrganizationReference(Reference value) { setRequestOrganizationReference(value); return this; } public EligibilityResponse withInforce(Boolean value) { setInforce(value); return this; } public EligibilityResponse withContract(Reference value) { setContract(value); return this; } public EligibilityResponse withForm(Coding value) { setForm(value); return this; } public EligibilityResponse withBenefitBalance(EligibilityResponseBenefitBalance... values) { if (values!= null) { for (EligibilityResponseBenefitBalance value: values) { getBenefitBalance().add(value); } } return this; } public EligibilityResponse withBenefitBalance(Collection values) { if (values!= null) { getBenefitBalance().addAll(values); } return this; } public EligibilityResponse withError(EligibilityResponseError... values) { if (values!= null) { for (EligibilityResponseError value: values) { getError().add(value); } } return this; } public EligibilityResponse withError(Collection values) { if (values!= null) { getError().addAll(values); } return this; } @Override public EligibilityResponse withText(Narrative value) { setText(value); return this; } @Override public EligibilityResponse withContained(ResourceContainer... values) { if (values!= null) { for (ResourceContainer value: values) { getContained().add(value); } } return this; } @Override public EligibilityResponse withContained(Collection values) { if (values!= null) { getContained().addAll(values); } return this; } @Override public EligibilityResponse withExtension(Extension... values) { if (values!= null) { for (Extension value: values) { getExtension().add(value); } } return this; } @Override public EligibilityResponse withExtension(Collection values) { if (values!= null) { getExtension().addAll(values); } return this; } @Override public EligibilityResponse withModifierExtension(Extension... values) { if (values!= null) { for (Extension value: values) { getModifierExtension().add(value); } } return this; } @Override public EligibilityResponse withModifierExtension(Collection values) { if (values!= null) { getModifierExtension().addAll(values); } return this; } @Override public EligibilityResponse withId(Id value) { setId(value); return this; } @Override public EligibilityResponse withMeta(Meta value) { setMeta(value); return this; } @Override public EligibilityResponse withImplicitRules(Uri value) { setImplicitRules(value); return this; } @Override public EligibilityResponse 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 EligibilityResponse that = ((EligibilityResponse) 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; } } { 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 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; } } { Boolean lhsInforce; lhsInforce = this.getInforce(); Boolean rhsInforce; rhsInforce = that.getInforce(); if (!strategy.equals(LocatorUtils.property(thisLocator, "inforce", lhsInforce), LocatorUtils.property(thatLocator, "inforce", rhsInforce), lhsInforce, rhsInforce, (this.inforce!= null), (that.inforce!= null))) { return false; } } { Reference lhsContract; lhsContract = this.getContract(); Reference rhsContract; rhsContract = that.getContract(); if (!strategy.equals(LocatorUtils.property(thisLocator, "contract", lhsContract), LocatorUtils.property(thatLocator, "contract", rhsContract), lhsContract, rhsContract, (this.contract!= null), (that.contract!= 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 lhsBenefitBalance; lhsBenefitBalance = (((this.benefitBalance!= null)&&(!this.benefitBalance.isEmpty()))?this.getBenefitBalance():null); List rhsBenefitBalance; rhsBenefitBalance = (((that.benefitBalance!= null)&&(!that.benefitBalance.isEmpty()))?that.getBenefitBalance():null); if (!strategy.equals(LocatorUtils.property(thisLocator, "benefitBalance", lhsBenefitBalance), LocatorUtils.property(thatLocator, "benefitBalance", rhsBenefitBalance), lhsBenefitBalance, rhsBenefitBalance, ((this.benefitBalance!= null)&&(!this.benefitBalance.isEmpty())), ((that.benefitBalance!= null)&&(!that.benefitBalance.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; } } 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)); } { 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 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)); } { Boolean theInforce; theInforce = this.getInforce(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "inforce", theInforce), currentHashCode, theInforce, (this.inforce!= null)); } { Reference theContract; theContract = this.getContract(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "contract", theContract), currentHashCode, theContract, (this.contract!= null)); } { Coding theForm; theForm = this.getForm(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "form", theForm), currentHashCode, theForm, (this.form!= null)); } { List theBenefitBalance; theBenefitBalance = (((this.benefitBalance!= null)&&(!this.benefitBalance.isEmpty()))?this.getBenefitBalance():null); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "benefitBalance", theBenefitBalance), currentHashCode, theBenefitBalance, ((this.benefitBalance!= null)&&(!this.benefitBalance.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()))); } 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)); } { 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 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)); } { Boolean theInforce; theInforce = this.getInforce(); strategy.appendField(locator, this, "inforce", buffer, theInforce, (this.inforce!= null)); } { Reference theContract; theContract = this.getContract(); strategy.appendField(locator, this, "contract", buffer, theContract, (this.contract!= null)); } { Coding theForm; theForm = this.getForm(); strategy.appendField(locator, this, "form", buffer, theForm, (this.form!= null)); } { List theBenefitBalance; theBenefitBalance = (((this.benefitBalance!= null)&&(!this.benefitBalance.isEmpty()))?this.getBenefitBalance():null); strategy.appendField(locator, this, "benefitBalance", buffer, theBenefitBalance, ((this.benefitBalance!= null)&&(!this.benefitBalance.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()))); } return buffer; } public void setIdentifier(List value) { this.identifier = value; } public void setBenefitBalance(List value) { this.benefitBalance = value; } public void setError(List value) { this.error = value; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy