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

org.hl7.fhir.PaymentReconciliation 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.09.27 at 11:16:19 AM MDT 
//


package org.hl7.fhir;

import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlType;
import org.jvnet.jaxb2_commons.lang.Equals2;
import org.jvnet.jaxb2_commons.lang.EqualsStrategy2;
import org.jvnet.jaxb2_commons.lang.HashCode2;
import org.jvnet.jaxb2_commons.lang.HashCodeStrategy2;
import org.jvnet.jaxb2_commons.lang.JAXBEqualsStrategy;
import org.jvnet.jaxb2_commons.lang.JAXBHashCodeStrategy;
import org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy;
import org.jvnet.jaxb2_commons.lang.ToString2;
import org.jvnet.jaxb2_commons.lang.ToStringStrategy2;
import org.jvnet.jaxb2_commons.locator.ObjectLocator;
import org.jvnet.jaxb2_commons.locator.util.LocatorUtils;


/**
 * If the element is present, it must have either a @value, an @id, or extensions
 * 
 * 

Java class for PaymentReconciliation complex type. * *

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

 * <complexType name="PaymentReconciliation">
 *   <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"/>
 *         <element name="period" type="{http://hl7.org/fhir}Period" 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="detail" type="{http://hl7.org/fhir}PaymentReconciliation.Detail" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="form" type="{http://hl7.org/fhir}Coding" minOccurs="0"/>
 *         <element name="total" type="{http://hl7.org/fhir}Money"/>
 *         <element name="note" type="{http://hl7.org/fhir}PaymentReconciliation.Note" maxOccurs="unbounded" minOccurs="0"/>
 *       </sequence>
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "PaymentReconciliation", propOrder = { "identifier", "requestIdentifier", "requestReference", "outcome", "disposition", "ruleset", "originalRuleset", "created", "period", "organizationIdentifier", "organizationReference", "requestProviderIdentifier", "requestProviderReference", "requestOrganizationIdentifier", "requestOrganizationReference", "detail", "form", "total", "note" }) public class PaymentReconciliation 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 Period period; protected Identifier organizationIdentifier; protected Reference organizationReference; protected Identifier requestProviderIdentifier; protected Reference requestProviderReference; protected Identifier requestOrganizationIdentifier; protected Reference requestOrganizationReference; protected List detail; protected Coding form; @XmlElement(required = true) protected Money total; protected List note; /** * 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 period property. * * @return * possible object is * {@link Period } * */ public Period getPeriod() { return period; } /** * Sets the value of the period property. * * @param value * allowed object is * {@link Period } * */ public void setPeriod(Period value) { this.period = value; } /** * Gets the value of the 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 detail 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 detail property. * *

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

     *    getDetail().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link PaymentReconciliationDetail } * * */ public List getDetail() { if (detail == null) { detail = new ArrayList(); } return this.detail; } /** * 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 total property. * * @return * possible object is * {@link Money } * */ public Money getTotal() { return total; } /** * Sets the value of the total property. * * @param value * allowed object is * {@link Money } * */ public void setTotal(Money value) { this.total = 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 PaymentReconciliationNote } * * */ public List getNote() { if (note == null) { note = new ArrayList(); } return this.note; } public PaymentReconciliation withIdentifier(Identifier... values) { if (values!= null) { for (Identifier value: values) { getIdentifier().add(value); } } return this; } public PaymentReconciliation withIdentifier(Collection values) { if (values!= null) { getIdentifier().addAll(values); } return this; } public PaymentReconciliation withRequestIdentifier(Identifier value) { setRequestIdentifier(value); return this; } public PaymentReconciliation withRequestReference(Reference value) { setRequestReference(value); return this; } public PaymentReconciliation withOutcome(RemittanceOutcome value) { setOutcome(value); return this; } public PaymentReconciliation withDisposition(org.hl7.fhir.String value) { setDisposition(value); return this; } public PaymentReconciliation withRuleset(Coding value) { setRuleset(value); return this; } public PaymentReconciliation withOriginalRuleset(Coding value) { setOriginalRuleset(value); return this; } public PaymentReconciliation withCreated(DateTime value) { setCreated(value); return this; } public PaymentReconciliation withPeriod(Period value) { setPeriod(value); return this; } public PaymentReconciliation withOrganizationIdentifier(Identifier value) { setOrganizationIdentifier(value); return this; } public PaymentReconciliation withOrganizationReference(Reference value) { setOrganizationReference(value); return this; } public PaymentReconciliation withRequestProviderIdentifier(Identifier value) { setRequestProviderIdentifier(value); return this; } public PaymentReconciliation withRequestProviderReference(Reference value) { setRequestProviderReference(value); return this; } public PaymentReconciliation withRequestOrganizationIdentifier(Identifier value) { setRequestOrganizationIdentifier(value); return this; } public PaymentReconciliation withRequestOrganizationReference(Reference value) { setRequestOrganizationReference(value); return this; } public PaymentReconciliation withDetail(PaymentReconciliationDetail... values) { if (values!= null) { for (PaymentReconciliationDetail value: values) { getDetail().add(value); } } return this; } public PaymentReconciliation withDetail(Collection values) { if (values!= null) { getDetail().addAll(values); } return this; } public PaymentReconciliation withForm(Coding value) { setForm(value); return this; } public PaymentReconciliation withTotal(Money value) { setTotal(value); return this; } public PaymentReconciliation withNote(PaymentReconciliationNote... values) { if (values!= null) { for (PaymentReconciliationNote value: values) { getNote().add(value); } } return this; } public PaymentReconciliation withNote(Collection values) { if (values!= null) { getNote().addAll(values); } return this; } @Override public PaymentReconciliation withText(Narrative value) { setText(value); return this; } @Override public PaymentReconciliation withContained(ResourceContainer... values) { if (values!= null) { for (ResourceContainer value: values) { getContained().add(value); } } return this; } @Override public PaymentReconciliation withContained(Collection values) { if (values!= null) { getContained().addAll(values); } return this; } @Override public PaymentReconciliation withExtension(Extension... values) { if (values!= null) { for (Extension value: values) { getExtension().add(value); } } return this; } @Override public PaymentReconciliation withExtension(Collection values) { if (values!= null) { getExtension().addAll(values); } return this; } @Override public PaymentReconciliation withModifierExtension(Extension... values) { if (values!= null) { for (Extension value: values) { getModifierExtension().add(value); } } return this; } @Override public PaymentReconciliation withModifierExtension(Collection values) { if (values!= null) { getModifierExtension().addAll(values); } return this; } @Override public PaymentReconciliation withId(Id value) { setId(value); return this; } @Override public PaymentReconciliation withMeta(Meta value) { setMeta(value); return this; } @Override public PaymentReconciliation withImplicitRules(Uri value) { setImplicitRules(value); return this; } @Override public PaymentReconciliation 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 PaymentReconciliation that = ((PaymentReconciliation) 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; } } { Period lhsPeriod; lhsPeriod = this.getPeriod(); Period rhsPeriod; rhsPeriod = that.getPeriod(); if (!strategy.equals(LocatorUtils.property(thisLocator, "period", lhsPeriod), LocatorUtils.property(thatLocator, "period", rhsPeriod), lhsPeriod, rhsPeriod, (this.period!= null), (that.period!= null))) { return false; } } { 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; } } { List lhsDetail; lhsDetail = (((this.detail!= null)&&(!this.detail.isEmpty()))?this.getDetail():null); List rhsDetail; rhsDetail = (((that.detail!= null)&&(!that.detail.isEmpty()))?that.getDetail():null); if (!strategy.equals(LocatorUtils.property(thisLocator, "detail", lhsDetail), LocatorUtils.property(thatLocator, "detail", rhsDetail), lhsDetail, rhsDetail, ((this.detail!= null)&&(!this.detail.isEmpty())), ((that.detail!= null)&&(!that.detail.isEmpty())))) { 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; } } { Money lhsTotal; lhsTotal = this.getTotal(); Money rhsTotal; rhsTotal = that.getTotal(); if (!strategy.equals(LocatorUtils.property(thisLocator, "total", lhsTotal), LocatorUtils.property(thatLocator, "total", rhsTotal), lhsTotal, rhsTotal, (this.total!= null), (that.total!= 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; } } 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)); } { Period thePeriod; thePeriod = this.getPeriod(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "period", thePeriod), currentHashCode, thePeriod, (this.period!= 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)); } { List theDetail; theDetail = (((this.detail!= null)&&(!this.detail.isEmpty()))?this.getDetail():null); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "detail", theDetail), currentHashCode, theDetail, ((this.detail!= null)&&(!this.detail.isEmpty()))); } { Coding theForm; theForm = this.getForm(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "form", theForm), currentHashCode, theForm, (this.form!= null)); } { Money theTotal; theTotal = this.getTotal(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "total", theTotal), currentHashCode, theTotal, (this.total!= 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()))); } 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)); } { Period thePeriod; thePeriod = this.getPeriod(); strategy.appendField(locator, this, "period", buffer, thePeriod, (this.period!= 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)); } { List theDetail; theDetail = (((this.detail!= null)&&(!this.detail.isEmpty()))?this.getDetail():null); strategy.appendField(locator, this, "detail", buffer, theDetail, ((this.detail!= null)&&(!this.detail.isEmpty()))); } { Coding theForm; theForm = this.getForm(); strategy.appendField(locator, this, "form", buffer, theForm, (this.form!= null)); } { Money theTotal; theTotal = this.getTotal(); strategy.appendField(locator, this, "total", buffer, theTotal, (this.total!= 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()))); } return buffer; } public void setIdentifier(List value) { this.identifier = value; } public void setDetail(List value) { this.detail = value; } public void setNote(List value) { this.note = value; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy