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

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

Go to download

The quick library for the Clinical Quality Language Java reference implementation

There is a newer version: 3.15.0
Show newest version
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.4.0-b180830.0438 
// See https://javaee.github.io/jaxb-v2/ 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2023.10.25 at 10:12:25 AM MDT 
//


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.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 EligibilityRequest complex type. * *

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

 * <complexType name="EligibilityRequest">
 *   <complexContent>
 *     <extension base="{http://hl7.org/fhir}DomainResource">
 *       <sequence>
 *         <element name="identifier" type="{http://hl7.org/fhir}Identifier" maxOccurs="unbounded" 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="targetIdentifier" type="{http://hl7.org/fhir}Identifier"/>
 *           <element name="targetReference" type="{http://hl7.org/fhir}Reference"/>
 *         </choice>
 *         <choice minOccurs="0">
 *           <element name="providerIdentifier" type="{http://hl7.org/fhir}Identifier"/>
 *           <element name="providerReference" type="{http://hl7.org/fhir}Reference"/>
 *         </choice>
 *         <choice minOccurs="0">
 *           <element name="organizationIdentifier" type="{http://hl7.org/fhir}Identifier"/>
 *           <element name="organizationReference" type="{http://hl7.org/fhir}Reference"/>
 *         </choice>
 *         <element name="priority" type="{http://hl7.org/fhir}Coding" minOccurs="0"/>
 *         <choice minOccurs="0">
 *           <element name="entererIdentifier" type="{http://hl7.org/fhir}Identifier"/>
 *           <element name="entererReference" type="{http://hl7.org/fhir}Reference"/>
 *         </choice>
 *         <choice minOccurs="0">
 *           <element name="facilityIdentifier" type="{http://hl7.org/fhir}Identifier"/>
 *           <element name="facilityReference" type="{http://hl7.org/fhir}Reference"/>
 *         </choice>
 *         <choice minOccurs="0">
 *           <element name="patientIdentifier" type="{http://hl7.org/fhir}Identifier"/>
 *           <element name="patientReference" type="{http://hl7.org/fhir}Reference"/>
 *         </choice>
 *         <choice minOccurs="0">
 *           <element name="coverageIdentifier" type="{http://hl7.org/fhir}Identifier"/>
 *           <element name="coverageReference" type="{http://hl7.org/fhir}Reference"/>
 *         </choice>
 *         <element name="businessArrangement" type="{http://hl7.org/fhir}string" minOccurs="0"/>
 *         <choice minOccurs="0">
 *           <element name="servicedDate" type="{http://hl7.org/fhir}date"/>
 *           <element name="servicedPeriod" type="{http://hl7.org/fhir}Period"/>
 *         </choice>
 *         <element name="benefitCategory" type="{http://hl7.org/fhir}Coding" minOccurs="0"/>
 *         <element name="benefitSubCategory" type="{http://hl7.org/fhir}Coding" minOccurs="0"/>
 *       </sequence>
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "EligibilityRequest", propOrder = { "identifier", "ruleset", "originalRuleset", "created", "targetIdentifier", "targetReference", "providerIdentifier", "providerReference", "organizationIdentifier", "organizationReference", "priority", "entererIdentifier", "entererReference", "facilityIdentifier", "facilityReference", "patientIdentifier", "patientReference", "coverageIdentifier", "coverageReference", "businessArrangement", "servicedDate", "servicedPeriod", "benefitCategory", "benefitSubCategory" }) public class EligibilityRequest extends DomainResource implements Equals2, HashCode2, ToString2 { protected List identifier; protected Coding ruleset; protected Coding originalRuleset; protected DateTime created; protected Identifier targetIdentifier; protected Reference targetReference; protected Identifier providerIdentifier; protected Reference providerReference; protected Identifier organizationIdentifier; protected Reference organizationReference; protected Coding priority; protected Identifier entererIdentifier; protected Reference entererReference; protected Identifier facilityIdentifier; protected Reference facilityReference; protected Identifier patientIdentifier; protected Reference patientReference; protected Identifier coverageIdentifier; protected Reference coverageReference; protected org.hl7.fhir.String businessArrangement; protected Date servicedDate; protected Period servicedPeriod; protected Coding benefitCategory; protected Coding benefitSubCategory; /** * 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 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 targetIdentifier property. * * @return * possible object is * {@link Identifier } * */ public Identifier getTargetIdentifier() { return targetIdentifier; } /** * Sets the value of the targetIdentifier property. * * @param value * allowed object is * {@link Identifier } * */ public void setTargetIdentifier(Identifier value) { this.targetIdentifier = value; } /** * Gets the value of the targetReference property. * * @return * possible object is * {@link Reference } * */ public Reference getTargetReference() { return targetReference; } /** * Sets the value of the targetReference property. * * @param value * allowed object is * {@link Reference } * */ public void setTargetReference(Reference value) { this.targetReference = value; } /** * Gets the value of the providerIdentifier property. * * @return * possible object is * {@link Identifier } * */ public Identifier getProviderIdentifier() { return providerIdentifier; } /** * Sets the value of the providerIdentifier property. * * @param value * allowed object is * {@link Identifier } * */ public void setProviderIdentifier(Identifier value) { this.providerIdentifier = value; } /** * Gets the value of the providerReference property. * * @return * possible object is * {@link Reference } * */ public Reference getProviderReference() { return providerReference; } /** * Sets the value of the providerReference property. * * @param value * allowed object is * {@link Reference } * */ public void setProviderReference(Reference value) { this.providerReference = 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 priority property. * * @return * possible object is * {@link Coding } * */ public Coding getPriority() { return priority; } /** * Sets the value of the priority property. * * @param value * allowed object is * {@link Coding } * */ public void setPriority(Coding value) { this.priority = value; } /** * Gets the value of the entererIdentifier property. * * @return * possible object is * {@link Identifier } * */ public Identifier getEntererIdentifier() { return entererIdentifier; } /** * Sets the value of the entererIdentifier property. * * @param value * allowed object is * {@link Identifier } * */ public void setEntererIdentifier(Identifier value) { this.entererIdentifier = value; } /** * Gets the value of the entererReference property. * * @return * possible object is * {@link Reference } * */ public Reference getEntererReference() { return entererReference; } /** * Sets the value of the entererReference property. * * @param value * allowed object is * {@link Reference } * */ public void setEntererReference(Reference value) { this.entererReference = value; } /** * Gets the value of the facilityIdentifier property. * * @return * possible object is * {@link Identifier } * */ public Identifier getFacilityIdentifier() { return facilityIdentifier; } /** * Sets the value of the facilityIdentifier property. * * @param value * allowed object is * {@link Identifier } * */ public void setFacilityIdentifier(Identifier value) { this.facilityIdentifier = value; } /** * Gets the value of the facilityReference property. * * @return * possible object is * {@link Reference } * */ public Reference getFacilityReference() { return facilityReference; } /** * Sets the value of the facilityReference property. * * @param value * allowed object is * {@link Reference } * */ public void setFacilityReference(Reference value) { this.facilityReference = value; } /** * Gets the value of the patientIdentifier property. * * @return * possible object is * {@link Identifier } * */ public Identifier getPatientIdentifier() { return patientIdentifier; } /** * Sets the value of the patientIdentifier property. * * @param value * allowed object is * {@link Identifier } * */ public void setPatientIdentifier(Identifier value) { this.patientIdentifier = value; } /** * Gets the value of the patientReference property. * * @return * possible object is * {@link Reference } * */ public Reference getPatientReference() { return patientReference; } /** * Sets the value of the patientReference property. * * @param value * allowed object is * {@link Reference } * */ public void setPatientReference(Reference value) { this.patientReference = value; } /** * Gets the value of the coverageIdentifier property. * * @return * possible object is * {@link Identifier } * */ public Identifier getCoverageIdentifier() { return coverageIdentifier; } /** * Sets the value of the coverageIdentifier property. * * @param value * allowed object is * {@link Identifier } * */ public void setCoverageIdentifier(Identifier value) { this.coverageIdentifier = value; } /** * Gets the value of the coverageReference property. * * @return * possible object is * {@link Reference } * */ public Reference getCoverageReference() { return coverageReference; } /** * Sets the value of the coverageReference property. * * @param value * allowed object is * {@link Reference } * */ public void setCoverageReference(Reference value) { this.coverageReference = value; } /** * Gets the value of the businessArrangement property. * * @return * possible object is * {@link org.hl7.fhir.String } * */ public org.hl7.fhir.String getBusinessArrangement() { return businessArrangement; } /** * Sets the value of the businessArrangement property. * * @param value * allowed object is * {@link org.hl7.fhir.String } * */ public void setBusinessArrangement(org.hl7.fhir.String value) { this.businessArrangement = value; } /** * Gets the value of the servicedDate property. * * @return * possible object is * {@link Date } * */ public Date getServicedDate() { return servicedDate; } /** * Sets the value of the servicedDate property. * * @param value * allowed object is * {@link Date } * */ public void setServicedDate(Date value) { this.servicedDate = value; } /** * Gets the value of the servicedPeriod property. * * @return * possible object is * {@link Period } * */ public Period getServicedPeriod() { return servicedPeriod; } /** * Sets the value of the servicedPeriod property. * * @param value * allowed object is * {@link Period } * */ public void setServicedPeriod(Period value) { this.servicedPeriod = value; } /** * Gets the value of the benefitCategory property. * * @return * possible object is * {@link Coding } * */ public Coding getBenefitCategory() { return benefitCategory; } /** * Sets the value of the benefitCategory property. * * @param value * allowed object is * {@link Coding } * */ public void setBenefitCategory(Coding value) { this.benefitCategory = value; } /** * Gets the value of the benefitSubCategory property. * * @return * possible object is * {@link Coding } * */ public Coding getBenefitSubCategory() { return benefitSubCategory; } /** * Sets the value of the benefitSubCategory property. * * @param value * allowed object is * {@link Coding } * */ public void setBenefitSubCategory(Coding value) { this.benefitSubCategory = value; } public EligibilityRequest withIdentifier(Identifier... values) { if (values!= null) { for (Identifier value: values) { getIdentifier().add(value); } } return this; } public EligibilityRequest withIdentifier(Collection values) { if (values!= null) { getIdentifier().addAll(values); } return this; } public EligibilityRequest withRuleset(Coding value) { setRuleset(value); return this; } public EligibilityRequest withOriginalRuleset(Coding value) { setOriginalRuleset(value); return this; } public EligibilityRequest withCreated(DateTime value) { setCreated(value); return this; } public EligibilityRequest withTargetIdentifier(Identifier value) { setTargetIdentifier(value); return this; } public EligibilityRequest withTargetReference(Reference value) { setTargetReference(value); return this; } public EligibilityRequest withProviderIdentifier(Identifier value) { setProviderIdentifier(value); return this; } public EligibilityRequest withProviderReference(Reference value) { setProviderReference(value); return this; } public EligibilityRequest withOrganizationIdentifier(Identifier value) { setOrganizationIdentifier(value); return this; } public EligibilityRequest withOrganizationReference(Reference value) { setOrganizationReference(value); return this; } public EligibilityRequest withPriority(Coding value) { setPriority(value); return this; } public EligibilityRequest withEntererIdentifier(Identifier value) { setEntererIdentifier(value); return this; } public EligibilityRequest withEntererReference(Reference value) { setEntererReference(value); return this; } public EligibilityRequest withFacilityIdentifier(Identifier value) { setFacilityIdentifier(value); return this; } public EligibilityRequest withFacilityReference(Reference value) { setFacilityReference(value); return this; } public EligibilityRequest withPatientIdentifier(Identifier value) { setPatientIdentifier(value); return this; } public EligibilityRequest withPatientReference(Reference value) { setPatientReference(value); return this; } public EligibilityRequest withCoverageIdentifier(Identifier value) { setCoverageIdentifier(value); return this; } public EligibilityRequest withCoverageReference(Reference value) { setCoverageReference(value); return this; } public EligibilityRequest withBusinessArrangement(org.hl7.fhir.String value) { setBusinessArrangement(value); return this; } public EligibilityRequest withServicedDate(Date value) { setServicedDate(value); return this; } public EligibilityRequest withServicedPeriod(Period value) { setServicedPeriod(value); return this; } public EligibilityRequest withBenefitCategory(Coding value) { setBenefitCategory(value); return this; } public EligibilityRequest withBenefitSubCategory(Coding value) { setBenefitSubCategory(value); return this; } @Override public EligibilityRequest withText(Narrative value) { setText(value); return this; } @Override public EligibilityRequest withContained(ResourceContainer... values) { if (values!= null) { for (ResourceContainer value: values) { getContained().add(value); } } return this; } @Override public EligibilityRequest withContained(Collection values) { if (values!= null) { getContained().addAll(values); } return this; } @Override public EligibilityRequest withExtension(Extension... values) { if (values!= null) { for (Extension value: values) { getExtension().add(value); } } return this; } @Override public EligibilityRequest withExtension(Collection values) { if (values!= null) { getExtension().addAll(values); } return this; } @Override public EligibilityRequest withModifierExtension(Extension... values) { if (values!= null) { for (Extension value: values) { getModifierExtension().add(value); } } return this; } @Override public EligibilityRequest withModifierExtension(Collection values) { if (values!= null) { getModifierExtension().addAll(values); } return this; } @Override public EligibilityRequest withId(Id value) { setId(value); return this; } @Override public EligibilityRequest withMeta(Meta value) { setMeta(value); return this; } @Override public EligibilityRequest withImplicitRules(Uri value) { setImplicitRules(value); return this; } @Override public EligibilityRequest 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 EligibilityRequest that = ((EligibilityRequest) 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; } } { 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 lhsTargetIdentifier; lhsTargetIdentifier = this.getTargetIdentifier(); Identifier rhsTargetIdentifier; rhsTargetIdentifier = that.getTargetIdentifier(); if (!strategy.equals(LocatorUtils.property(thisLocator, "targetIdentifier", lhsTargetIdentifier), LocatorUtils.property(thatLocator, "targetIdentifier", rhsTargetIdentifier), lhsTargetIdentifier, rhsTargetIdentifier, (this.targetIdentifier!= null), (that.targetIdentifier!= null))) { return false; } } { Reference lhsTargetReference; lhsTargetReference = this.getTargetReference(); Reference rhsTargetReference; rhsTargetReference = that.getTargetReference(); if (!strategy.equals(LocatorUtils.property(thisLocator, "targetReference", lhsTargetReference), LocatorUtils.property(thatLocator, "targetReference", rhsTargetReference), lhsTargetReference, rhsTargetReference, (this.targetReference!= null), (that.targetReference!= null))) { return false; } } { Identifier lhsProviderIdentifier; lhsProviderIdentifier = this.getProviderIdentifier(); Identifier rhsProviderIdentifier; rhsProviderIdentifier = that.getProviderIdentifier(); if (!strategy.equals(LocatorUtils.property(thisLocator, "providerIdentifier", lhsProviderIdentifier), LocatorUtils.property(thatLocator, "providerIdentifier", rhsProviderIdentifier), lhsProviderIdentifier, rhsProviderIdentifier, (this.providerIdentifier!= null), (that.providerIdentifier!= null))) { return false; } } { Reference lhsProviderReference; lhsProviderReference = this.getProviderReference(); Reference rhsProviderReference; rhsProviderReference = that.getProviderReference(); if (!strategy.equals(LocatorUtils.property(thisLocator, "providerReference", lhsProviderReference), LocatorUtils.property(thatLocator, "providerReference", rhsProviderReference), lhsProviderReference, rhsProviderReference, (this.providerReference!= null), (that.providerReference!= 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; } } { Coding lhsPriority; lhsPriority = this.getPriority(); Coding rhsPriority; rhsPriority = that.getPriority(); if (!strategy.equals(LocatorUtils.property(thisLocator, "priority", lhsPriority), LocatorUtils.property(thatLocator, "priority", rhsPriority), lhsPriority, rhsPriority, (this.priority!= null), (that.priority!= null))) { return false; } } { Identifier lhsEntererIdentifier; lhsEntererIdentifier = this.getEntererIdentifier(); Identifier rhsEntererIdentifier; rhsEntererIdentifier = that.getEntererIdentifier(); if (!strategy.equals(LocatorUtils.property(thisLocator, "entererIdentifier", lhsEntererIdentifier), LocatorUtils.property(thatLocator, "entererIdentifier", rhsEntererIdentifier), lhsEntererIdentifier, rhsEntererIdentifier, (this.entererIdentifier!= null), (that.entererIdentifier!= null))) { return false; } } { Reference lhsEntererReference; lhsEntererReference = this.getEntererReference(); Reference rhsEntererReference; rhsEntererReference = that.getEntererReference(); if (!strategy.equals(LocatorUtils.property(thisLocator, "entererReference", lhsEntererReference), LocatorUtils.property(thatLocator, "entererReference", rhsEntererReference), lhsEntererReference, rhsEntererReference, (this.entererReference!= null), (that.entererReference!= null))) { return false; } } { Identifier lhsFacilityIdentifier; lhsFacilityIdentifier = this.getFacilityIdentifier(); Identifier rhsFacilityIdentifier; rhsFacilityIdentifier = that.getFacilityIdentifier(); if (!strategy.equals(LocatorUtils.property(thisLocator, "facilityIdentifier", lhsFacilityIdentifier), LocatorUtils.property(thatLocator, "facilityIdentifier", rhsFacilityIdentifier), lhsFacilityIdentifier, rhsFacilityIdentifier, (this.facilityIdentifier!= null), (that.facilityIdentifier!= null))) { return false; } } { Reference lhsFacilityReference; lhsFacilityReference = this.getFacilityReference(); Reference rhsFacilityReference; rhsFacilityReference = that.getFacilityReference(); if (!strategy.equals(LocatorUtils.property(thisLocator, "facilityReference", lhsFacilityReference), LocatorUtils.property(thatLocator, "facilityReference", rhsFacilityReference), lhsFacilityReference, rhsFacilityReference, (this.facilityReference!= null), (that.facilityReference!= null))) { return false; } } { Identifier lhsPatientIdentifier; lhsPatientIdentifier = this.getPatientIdentifier(); Identifier rhsPatientIdentifier; rhsPatientIdentifier = that.getPatientIdentifier(); if (!strategy.equals(LocatorUtils.property(thisLocator, "patientIdentifier", lhsPatientIdentifier), LocatorUtils.property(thatLocator, "patientIdentifier", rhsPatientIdentifier), lhsPatientIdentifier, rhsPatientIdentifier, (this.patientIdentifier!= null), (that.patientIdentifier!= null))) { return false; } } { Reference lhsPatientReference; lhsPatientReference = this.getPatientReference(); Reference rhsPatientReference; rhsPatientReference = that.getPatientReference(); if (!strategy.equals(LocatorUtils.property(thisLocator, "patientReference", lhsPatientReference), LocatorUtils.property(thatLocator, "patientReference", rhsPatientReference), lhsPatientReference, rhsPatientReference, (this.patientReference!= null), (that.patientReference!= null))) { return false; } } { Identifier lhsCoverageIdentifier; lhsCoverageIdentifier = this.getCoverageIdentifier(); Identifier rhsCoverageIdentifier; rhsCoverageIdentifier = that.getCoverageIdentifier(); if (!strategy.equals(LocatorUtils.property(thisLocator, "coverageIdentifier", lhsCoverageIdentifier), LocatorUtils.property(thatLocator, "coverageIdentifier", rhsCoverageIdentifier), lhsCoverageIdentifier, rhsCoverageIdentifier, (this.coverageIdentifier!= null), (that.coverageIdentifier!= null))) { return false; } } { Reference lhsCoverageReference; lhsCoverageReference = this.getCoverageReference(); Reference rhsCoverageReference; rhsCoverageReference = that.getCoverageReference(); if (!strategy.equals(LocatorUtils.property(thisLocator, "coverageReference", lhsCoverageReference), LocatorUtils.property(thatLocator, "coverageReference", rhsCoverageReference), lhsCoverageReference, rhsCoverageReference, (this.coverageReference!= null), (that.coverageReference!= null))) { return false; } } { org.hl7.fhir.String lhsBusinessArrangement; lhsBusinessArrangement = this.getBusinessArrangement(); org.hl7.fhir.String rhsBusinessArrangement; rhsBusinessArrangement = that.getBusinessArrangement(); if (!strategy.equals(LocatorUtils.property(thisLocator, "businessArrangement", lhsBusinessArrangement), LocatorUtils.property(thatLocator, "businessArrangement", rhsBusinessArrangement), lhsBusinessArrangement, rhsBusinessArrangement, (this.businessArrangement!= null), (that.businessArrangement!= null))) { return false; } } { Date lhsServicedDate; lhsServicedDate = this.getServicedDate(); Date rhsServicedDate; rhsServicedDate = that.getServicedDate(); if (!strategy.equals(LocatorUtils.property(thisLocator, "servicedDate", lhsServicedDate), LocatorUtils.property(thatLocator, "servicedDate", rhsServicedDate), lhsServicedDate, rhsServicedDate, (this.servicedDate!= null), (that.servicedDate!= null))) { return false; } } { Period lhsServicedPeriod; lhsServicedPeriod = this.getServicedPeriod(); Period rhsServicedPeriod; rhsServicedPeriod = that.getServicedPeriod(); if (!strategy.equals(LocatorUtils.property(thisLocator, "servicedPeriod", lhsServicedPeriod), LocatorUtils.property(thatLocator, "servicedPeriod", rhsServicedPeriod), lhsServicedPeriod, rhsServicedPeriod, (this.servicedPeriod!= null), (that.servicedPeriod!= null))) { return false; } } { Coding lhsBenefitCategory; lhsBenefitCategory = this.getBenefitCategory(); Coding rhsBenefitCategory; rhsBenefitCategory = that.getBenefitCategory(); if (!strategy.equals(LocatorUtils.property(thisLocator, "benefitCategory", lhsBenefitCategory), LocatorUtils.property(thatLocator, "benefitCategory", rhsBenefitCategory), lhsBenefitCategory, rhsBenefitCategory, (this.benefitCategory!= null), (that.benefitCategory!= null))) { return false; } } { Coding lhsBenefitSubCategory; lhsBenefitSubCategory = this.getBenefitSubCategory(); Coding rhsBenefitSubCategory; rhsBenefitSubCategory = that.getBenefitSubCategory(); if (!strategy.equals(LocatorUtils.property(thisLocator, "benefitSubCategory", lhsBenefitSubCategory), LocatorUtils.property(thatLocator, "benefitSubCategory", rhsBenefitSubCategory), lhsBenefitSubCategory, rhsBenefitSubCategory, (this.benefitSubCategory!= null), (that.benefitSubCategory!= null))) { 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()))); } { 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 theTargetIdentifier; theTargetIdentifier = this.getTargetIdentifier(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "targetIdentifier", theTargetIdentifier), currentHashCode, theTargetIdentifier, (this.targetIdentifier!= null)); } { Reference theTargetReference; theTargetReference = this.getTargetReference(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "targetReference", theTargetReference), currentHashCode, theTargetReference, (this.targetReference!= null)); } { Identifier theProviderIdentifier; theProviderIdentifier = this.getProviderIdentifier(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "providerIdentifier", theProviderIdentifier), currentHashCode, theProviderIdentifier, (this.providerIdentifier!= null)); } { Reference theProviderReference; theProviderReference = this.getProviderReference(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "providerReference", theProviderReference), currentHashCode, theProviderReference, (this.providerReference!= 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)); } { Coding thePriority; thePriority = this.getPriority(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "priority", thePriority), currentHashCode, thePriority, (this.priority!= null)); } { Identifier theEntererIdentifier; theEntererIdentifier = this.getEntererIdentifier(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "entererIdentifier", theEntererIdentifier), currentHashCode, theEntererIdentifier, (this.entererIdentifier!= null)); } { Reference theEntererReference; theEntererReference = this.getEntererReference(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "entererReference", theEntererReference), currentHashCode, theEntererReference, (this.entererReference!= null)); } { Identifier theFacilityIdentifier; theFacilityIdentifier = this.getFacilityIdentifier(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "facilityIdentifier", theFacilityIdentifier), currentHashCode, theFacilityIdentifier, (this.facilityIdentifier!= null)); } { Reference theFacilityReference; theFacilityReference = this.getFacilityReference(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "facilityReference", theFacilityReference), currentHashCode, theFacilityReference, (this.facilityReference!= null)); } { Identifier thePatientIdentifier; thePatientIdentifier = this.getPatientIdentifier(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "patientIdentifier", thePatientIdentifier), currentHashCode, thePatientIdentifier, (this.patientIdentifier!= null)); } { Reference thePatientReference; thePatientReference = this.getPatientReference(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "patientReference", thePatientReference), currentHashCode, thePatientReference, (this.patientReference!= null)); } { Identifier theCoverageIdentifier; theCoverageIdentifier = this.getCoverageIdentifier(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "coverageIdentifier", theCoverageIdentifier), currentHashCode, theCoverageIdentifier, (this.coverageIdentifier!= null)); } { Reference theCoverageReference; theCoverageReference = this.getCoverageReference(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "coverageReference", theCoverageReference), currentHashCode, theCoverageReference, (this.coverageReference!= null)); } { org.hl7.fhir.String theBusinessArrangement; theBusinessArrangement = this.getBusinessArrangement(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "businessArrangement", theBusinessArrangement), currentHashCode, theBusinessArrangement, (this.businessArrangement!= null)); } { Date theServicedDate; theServicedDate = this.getServicedDate(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "servicedDate", theServicedDate), currentHashCode, theServicedDate, (this.servicedDate!= null)); } { Period theServicedPeriod; theServicedPeriod = this.getServicedPeriod(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "servicedPeriod", theServicedPeriod), currentHashCode, theServicedPeriod, (this.servicedPeriod!= null)); } { Coding theBenefitCategory; theBenefitCategory = this.getBenefitCategory(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "benefitCategory", theBenefitCategory), currentHashCode, theBenefitCategory, (this.benefitCategory!= null)); } { Coding theBenefitSubCategory; theBenefitSubCategory = this.getBenefitSubCategory(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "benefitSubCategory", theBenefitSubCategory), currentHashCode, theBenefitSubCategory, (this.benefitSubCategory!= null)); } 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()))); } { 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 theTargetIdentifier; theTargetIdentifier = this.getTargetIdentifier(); strategy.appendField(locator, this, "targetIdentifier", buffer, theTargetIdentifier, (this.targetIdentifier!= null)); } { Reference theTargetReference; theTargetReference = this.getTargetReference(); strategy.appendField(locator, this, "targetReference", buffer, theTargetReference, (this.targetReference!= null)); } { Identifier theProviderIdentifier; theProviderIdentifier = this.getProviderIdentifier(); strategy.appendField(locator, this, "providerIdentifier", buffer, theProviderIdentifier, (this.providerIdentifier!= null)); } { Reference theProviderReference; theProviderReference = this.getProviderReference(); strategy.appendField(locator, this, "providerReference", buffer, theProviderReference, (this.providerReference!= 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)); } { Coding thePriority; thePriority = this.getPriority(); strategy.appendField(locator, this, "priority", buffer, thePriority, (this.priority!= null)); } { Identifier theEntererIdentifier; theEntererIdentifier = this.getEntererIdentifier(); strategy.appendField(locator, this, "entererIdentifier", buffer, theEntererIdentifier, (this.entererIdentifier!= null)); } { Reference theEntererReference; theEntererReference = this.getEntererReference(); strategy.appendField(locator, this, "entererReference", buffer, theEntererReference, (this.entererReference!= null)); } { Identifier theFacilityIdentifier; theFacilityIdentifier = this.getFacilityIdentifier(); strategy.appendField(locator, this, "facilityIdentifier", buffer, theFacilityIdentifier, (this.facilityIdentifier!= null)); } { Reference theFacilityReference; theFacilityReference = this.getFacilityReference(); strategy.appendField(locator, this, "facilityReference", buffer, theFacilityReference, (this.facilityReference!= null)); } { Identifier thePatientIdentifier; thePatientIdentifier = this.getPatientIdentifier(); strategy.appendField(locator, this, "patientIdentifier", buffer, thePatientIdentifier, (this.patientIdentifier!= null)); } { Reference thePatientReference; thePatientReference = this.getPatientReference(); strategy.appendField(locator, this, "patientReference", buffer, thePatientReference, (this.patientReference!= null)); } { Identifier theCoverageIdentifier; theCoverageIdentifier = this.getCoverageIdentifier(); strategy.appendField(locator, this, "coverageIdentifier", buffer, theCoverageIdentifier, (this.coverageIdentifier!= null)); } { Reference theCoverageReference; theCoverageReference = this.getCoverageReference(); strategy.appendField(locator, this, "coverageReference", buffer, theCoverageReference, (this.coverageReference!= null)); } { org.hl7.fhir.String theBusinessArrangement; theBusinessArrangement = this.getBusinessArrangement(); strategy.appendField(locator, this, "businessArrangement", buffer, theBusinessArrangement, (this.businessArrangement!= null)); } { Date theServicedDate; theServicedDate = this.getServicedDate(); strategy.appendField(locator, this, "servicedDate", buffer, theServicedDate, (this.servicedDate!= null)); } { Period theServicedPeriod; theServicedPeriod = this.getServicedPeriod(); strategy.appendField(locator, this, "servicedPeriod", buffer, theServicedPeriod, (this.servicedPeriod!= null)); } { Coding theBenefitCategory; theBenefitCategory = this.getBenefitCategory(); strategy.appendField(locator, this, "benefitCategory", buffer, theBenefitCategory, (this.benefitCategory!= null)); } { Coding theBenefitSubCategory; theBenefitSubCategory = this.getBenefitSubCategory(); strategy.appendField(locator, this, "benefitSubCategory", buffer, theBenefitSubCategory, (this.benefitSubCategory!= null)); } return buffer; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy