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.22.0
Show newest version
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 
// See http://java.sun.com/xml/jaxb 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2018.01.12 at 11:04:27 AM MST 
//


package org.hl7.fhir;

import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;
import org.jvnet.jaxb2_commons.lang.Equals;
import org.jvnet.jaxb2_commons.lang.EqualsStrategy;
import org.jvnet.jaxb2_commons.lang.HashCode;
import org.jvnet.jaxb2_commons.lang.HashCodeStrategy;
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.ToString;
import org.jvnet.jaxb2_commons.lang.ToStringStrategy;
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 Equals, HashCode, ToString { 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 JAXB 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 JAXB 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 JAXB 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; } public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) { if (!(object instanceof EligibilityResponse)) { 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)) { 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)) { 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)) { 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)) { 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)) { 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)) { 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)) { 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)) { 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)) { 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)) { 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)) { 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)) { 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)) { 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)) { 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)) { 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)) { 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)) { 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)) { 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)) { return false; } } return true; } public boolean equals(Object object) { final EqualsStrategy strategy = JAXBEqualsStrategy.INSTANCE; return equals(null, null, object, strategy); } public int hashCode(ObjectLocator locator, HashCodeStrategy 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); } { Identifier theRequestIdentifier; theRequestIdentifier = this.getRequestIdentifier(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "requestIdentifier", theRequestIdentifier), currentHashCode, theRequestIdentifier); } { Reference theRequestReference; theRequestReference = this.getRequestReference(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "requestReference", theRequestReference), currentHashCode, theRequestReference); } { RemittanceOutcome theOutcome; theOutcome = this.getOutcome(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "outcome", theOutcome), currentHashCode, theOutcome); } { org.hl7.fhir.String theDisposition; theDisposition = this.getDisposition(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "disposition", theDisposition), currentHashCode, theDisposition); } { Coding theRuleset; theRuleset = this.getRuleset(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "ruleset", theRuleset), currentHashCode, theRuleset); } { Coding theOriginalRuleset; theOriginalRuleset = this.getOriginalRuleset(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "originalRuleset", theOriginalRuleset), currentHashCode, theOriginalRuleset); } { DateTime theCreated; theCreated = this.getCreated(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "created", theCreated), currentHashCode, theCreated); } { Identifier theOrganizationIdentifier; theOrganizationIdentifier = this.getOrganizationIdentifier(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "organizationIdentifier", theOrganizationIdentifier), currentHashCode, theOrganizationIdentifier); } { Reference theOrganizationReference; theOrganizationReference = this.getOrganizationReference(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "organizationReference", theOrganizationReference), currentHashCode, theOrganizationReference); } { Identifier theRequestProviderIdentifier; theRequestProviderIdentifier = this.getRequestProviderIdentifier(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "requestProviderIdentifier", theRequestProviderIdentifier), currentHashCode, theRequestProviderIdentifier); } { Reference theRequestProviderReference; theRequestProviderReference = this.getRequestProviderReference(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "requestProviderReference", theRequestProviderReference), currentHashCode, theRequestProviderReference); } { Identifier theRequestOrganizationIdentifier; theRequestOrganizationIdentifier = this.getRequestOrganizationIdentifier(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "requestOrganizationIdentifier", theRequestOrganizationIdentifier), currentHashCode, theRequestOrganizationIdentifier); } { Reference theRequestOrganizationReference; theRequestOrganizationReference = this.getRequestOrganizationReference(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "requestOrganizationReference", theRequestOrganizationReference), currentHashCode, theRequestOrganizationReference); } { Boolean theInforce; theInforce = this.getInforce(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "inforce", theInforce), currentHashCode, theInforce); } { Reference theContract; theContract = this.getContract(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "contract", theContract), currentHashCode, theContract); } { Coding theForm; theForm = this.getForm(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "form", theForm), currentHashCode, theForm); } { List theBenefitBalance; theBenefitBalance = (((this.benefitBalance!= null)&&(!this.benefitBalance.isEmpty()))?this.getBenefitBalance():null); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "benefitBalance", theBenefitBalance), currentHashCode, theBenefitBalance); } { List theError; theError = (((this.error!= null)&&(!this.error.isEmpty()))?this.getError():null); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "error", theError), currentHashCode, theError); } return currentHashCode; } public int hashCode() { final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE; return this.hashCode(null, strategy); } public java.lang.String toString() { final ToStringStrategy strategy = JAXBToStringStrategy.INSTANCE; final StringBuilder buffer = new StringBuilder(); append(null, buffer, strategy); return buffer.toString(); } public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { strategy.appendStart(locator, this, buffer); appendFields(locator, buffer, strategy); strategy.appendEnd(locator, this, buffer); return buffer; } public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy 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); } { Identifier theRequestIdentifier; theRequestIdentifier = this.getRequestIdentifier(); strategy.appendField(locator, this, "requestIdentifier", buffer, theRequestIdentifier); } { Reference theRequestReference; theRequestReference = this.getRequestReference(); strategy.appendField(locator, this, "requestReference", buffer, theRequestReference); } { RemittanceOutcome theOutcome; theOutcome = this.getOutcome(); strategy.appendField(locator, this, "outcome", buffer, theOutcome); } { org.hl7.fhir.String theDisposition; theDisposition = this.getDisposition(); strategy.appendField(locator, this, "disposition", buffer, theDisposition); } { Coding theRuleset; theRuleset = this.getRuleset(); strategy.appendField(locator, this, "ruleset", buffer, theRuleset); } { Coding theOriginalRuleset; theOriginalRuleset = this.getOriginalRuleset(); strategy.appendField(locator, this, "originalRuleset", buffer, theOriginalRuleset); } { DateTime theCreated; theCreated = this.getCreated(); strategy.appendField(locator, this, "created", buffer, theCreated); } { Identifier theOrganizationIdentifier; theOrganizationIdentifier = this.getOrganizationIdentifier(); strategy.appendField(locator, this, "organizationIdentifier", buffer, theOrganizationIdentifier); } { Reference theOrganizationReference; theOrganizationReference = this.getOrganizationReference(); strategy.appendField(locator, this, "organizationReference", buffer, theOrganizationReference); } { Identifier theRequestProviderIdentifier; theRequestProviderIdentifier = this.getRequestProviderIdentifier(); strategy.appendField(locator, this, "requestProviderIdentifier", buffer, theRequestProviderIdentifier); } { Reference theRequestProviderReference; theRequestProviderReference = this.getRequestProviderReference(); strategy.appendField(locator, this, "requestProviderReference", buffer, theRequestProviderReference); } { Identifier theRequestOrganizationIdentifier; theRequestOrganizationIdentifier = this.getRequestOrganizationIdentifier(); strategy.appendField(locator, this, "requestOrganizationIdentifier", buffer, theRequestOrganizationIdentifier); } { Reference theRequestOrganizationReference; theRequestOrganizationReference = this.getRequestOrganizationReference(); strategy.appendField(locator, this, "requestOrganizationReference", buffer, theRequestOrganizationReference); } { Boolean theInforce; theInforce = this.getInforce(); strategy.appendField(locator, this, "inforce", buffer, theInforce); } { Reference theContract; theContract = this.getContract(); strategy.appendField(locator, this, "contract", buffer, theContract); } { Coding theForm; theForm = this.getForm(); strategy.appendField(locator, this, "form", buffer, theForm); } { List theBenefitBalance; theBenefitBalance = (((this.benefitBalance!= null)&&(!this.benefitBalance.isEmpty()))?this.getBenefitBalance():null); strategy.appendField(locator, this, "benefitBalance", buffer, theBenefitBalance); } { List theError; theError = (((this.error!= null)&&(!this.error.isEmpty()))?this.getError():null); strategy.appendField(locator, this, "error", buffer, theError); } return buffer; } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy