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

org.hl7.fhir.Claim 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: 2023.12.06 at 03:09:41 PM MST 
//


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

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

 * <complexType name="Claim">
 *   <complexContent>
 *     <extension base="{http://hl7.org/fhir}DomainResource">
 *       <sequence>
 *         <element name="type" type="{http://hl7.org/fhir}ClaimType"/>
 *         <element name="subType" type="{http://hl7.org/fhir}Coding" maxOccurs="unbounded" minOccurs="0"/>
 *         <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"/>
 *         <element name="billablePeriod" type="{http://hl7.org/fhir}Period" 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="use" type="{http://hl7.org/fhir}Use" minOccurs="0"/>
 *         <element name="priority" type="{http://hl7.org/fhir}Coding" minOccurs="0"/>
 *         <element name="fundsReserve" 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>
 *         <element name="related" type="{http://hl7.org/fhir}Claim.Related" maxOccurs="unbounded" minOccurs="0"/>
 *         <choice minOccurs="0">
 *           <element name="prescriptionIdentifier" type="{http://hl7.org/fhir}Identifier"/>
 *           <element name="prescriptionReference" type="{http://hl7.org/fhir}Reference"/>
 *         </choice>
 *         <choice minOccurs="0">
 *           <element name="originalPrescriptionIdentifier" type="{http://hl7.org/fhir}Identifier"/>
 *           <element name="originalPrescriptionReference" type="{http://hl7.org/fhir}Reference"/>
 *         </choice>
 *         <element name="payee" type="{http://hl7.org/fhir}Claim.Payee" minOccurs="0"/>
 *         <choice minOccurs="0">
 *           <element name="referralIdentifier" type="{http://hl7.org/fhir}Identifier"/>
 *           <element name="referralReference" type="{http://hl7.org/fhir}Reference"/>
 *         </choice>
 *         <element name="occurrenceCode" type="{http://hl7.org/fhir}Coding" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="occurenceSpanCode" type="{http://hl7.org/fhir}Coding" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="valueCode" type="{http://hl7.org/fhir}Coding" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="diagnosis" type="{http://hl7.org/fhir}Claim.Diagnosis" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="procedure" type="{http://hl7.org/fhir}Claim.Procedure" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="specialCondition" type="{http://hl7.org/fhir}Coding" maxOccurs="unbounded" minOccurs="0"/>
 *         <choice>
 *           <element name="patientIdentifier" type="{http://hl7.org/fhir}Identifier"/>
 *           <element name="patientReference" type="{http://hl7.org/fhir}Reference"/>
 *         </choice>
 *         <element name="coverage" type="{http://hl7.org/fhir}Claim.Coverage" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="accidentDate" type="{http://hl7.org/fhir}date" minOccurs="0"/>
 *         <element name="accidentType" type="{http://hl7.org/fhir}Coding" minOccurs="0"/>
 *         <choice minOccurs="0">
 *           <element name="accidentLocationAddress" type="{http://hl7.org/fhir}Address"/>
 *           <element name="accidentLocationReference" type="{http://hl7.org/fhir}Reference"/>
 *         </choice>
 *         <element name="interventionException" type="{http://hl7.org/fhir}Coding" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="onset" type="{http://hl7.org/fhir}Claim.Onset" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="employmentImpacted" type="{http://hl7.org/fhir}Period" minOccurs="0"/>
 *         <element name="hospitalization" type="{http://hl7.org/fhir}Period" minOccurs="0"/>
 *         <element name="item" type="{http://hl7.org/fhir}Claim.Item" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="total" type="{http://hl7.org/fhir}Money" minOccurs="0"/>
 *         <element name="additionalMaterial" type="{http://hl7.org/fhir}Coding" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="missingTeeth" type="{http://hl7.org/fhir}Claim.MissingTeeth" maxOccurs="unbounded" minOccurs="0"/>
 *       </sequence>
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "Claim", propOrder = { "type", "subType", "identifier", "ruleset", "originalRuleset", "created", "billablePeriod", "targetIdentifier", "targetReference", "providerIdentifier", "providerReference", "organizationIdentifier", "organizationReference", "use", "priority", "fundsReserve", "entererIdentifier", "entererReference", "facilityIdentifier", "facilityReference", "related", "prescriptionIdentifier", "prescriptionReference", "originalPrescriptionIdentifier", "originalPrescriptionReference", "payee", "referralIdentifier", "referralReference", "occurrenceCode", "occurenceSpanCode", "valueCode", "diagnosis", "procedure", "specialCondition", "patientIdentifier", "patientReference", "coverage", "accidentDate", "accidentType", "accidentLocationAddress", "accidentLocationReference", "interventionException", "onset", "employmentImpacted", "hospitalization", "item", "total", "additionalMaterial", "missingTeeth" }) public class Claim extends DomainResource implements Equals2, HashCode2, ToString2 { @XmlElement(required = true) protected ClaimType type; protected List subType; protected List identifier; protected Coding ruleset; protected Coding originalRuleset; protected DateTime created; protected Period billablePeriod; protected Identifier targetIdentifier; protected Reference targetReference; protected Identifier providerIdentifier; protected Reference providerReference; protected Identifier organizationIdentifier; protected Reference organizationReference; protected Use use; protected Coding priority; protected Coding fundsReserve; protected Identifier entererIdentifier; protected Reference entererReference; protected Identifier facilityIdentifier; protected Reference facilityReference; protected List related; protected Identifier prescriptionIdentifier; protected Reference prescriptionReference; protected Identifier originalPrescriptionIdentifier; protected Reference originalPrescriptionReference; protected ClaimPayee payee; protected Identifier referralIdentifier; protected Reference referralReference; protected List occurrenceCode; protected List occurenceSpanCode; protected List valueCode; protected List diagnosis; protected List procedure; protected List specialCondition; protected Identifier patientIdentifier; protected Reference patientReference; protected List coverage; protected Date accidentDate; protected Coding accidentType; protected Address accidentLocationAddress; protected Reference accidentLocationReference; protected List interventionException; protected List onset; protected Period employmentImpacted; protected Period hospitalization; protected List item; protected Money total; protected List additionalMaterial; protected List missingTeeth; /** * Gets the value of the type property. * * @return * possible object is * {@link ClaimType } * */ public ClaimType getType() { return type; } /** * Sets the value of the type property. * * @param value * allowed object is * {@link ClaimType } * */ public void setType(ClaimType value) { this.type = value; } /** * Gets the value of the subType 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 subType property. * *

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

     *    getSubType().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link Coding } * * */ public List getSubType() { if (subType == null) { subType = new ArrayList(); } return this.subType; } /** * 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 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 billablePeriod property. * * @return * possible object is * {@link Period } * */ public Period getBillablePeriod() { return billablePeriod; } /** * Sets the value of the billablePeriod property. * * @param value * allowed object is * {@link Period } * */ public void setBillablePeriod(Period value) { this.billablePeriod = 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 use property. * * @return * possible object is * {@link Use } * */ public Use getUse() { return use; } /** * Sets the value of the use property. * * @param value * allowed object is * {@link Use } * */ public void setUse(Use value) { this.use = 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 fundsReserve property. * * @return * possible object is * {@link Coding } * */ public Coding getFundsReserve() { return fundsReserve; } /** * Sets the value of the fundsReserve property. * * @param value * allowed object is * {@link Coding } * */ public void setFundsReserve(Coding value) { this.fundsReserve = 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 related 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 related property. * *

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

     *    getRelated().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link ClaimRelated } * * */ public List getRelated() { if (related == null) { related = new ArrayList(); } return this.related; } /** * Gets the value of the prescriptionIdentifier property. * * @return * possible object is * {@link Identifier } * */ public Identifier getPrescriptionIdentifier() { return prescriptionIdentifier; } /** * Sets the value of the prescriptionIdentifier property. * * @param value * allowed object is * {@link Identifier } * */ public void setPrescriptionIdentifier(Identifier value) { this.prescriptionIdentifier = value; } /** * Gets the value of the prescriptionReference property. * * @return * possible object is * {@link Reference } * */ public Reference getPrescriptionReference() { return prescriptionReference; } /** * Sets the value of the prescriptionReference property. * * @param value * allowed object is * {@link Reference } * */ public void setPrescriptionReference(Reference value) { this.prescriptionReference = value; } /** * Gets the value of the originalPrescriptionIdentifier property. * * @return * possible object is * {@link Identifier } * */ public Identifier getOriginalPrescriptionIdentifier() { return originalPrescriptionIdentifier; } /** * Sets the value of the originalPrescriptionIdentifier property. * * @param value * allowed object is * {@link Identifier } * */ public void setOriginalPrescriptionIdentifier(Identifier value) { this.originalPrescriptionIdentifier = value; } /** * Gets the value of the originalPrescriptionReference property. * * @return * possible object is * {@link Reference } * */ public Reference getOriginalPrescriptionReference() { return originalPrescriptionReference; } /** * Sets the value of the originalPrescriptionReference property. * * @param value * allowed object is * {@link Reference } * */ public void setOriginalPrescriptionReference(Reference value) { this.originalPrescriptionReference = value; } /** * Gets the value of the payee property. * * @return * possible object is * {@link ClaimPayee } * */ public ClaimPayee getPayee() { return payee; } /** * Sets the value of the payee property. * * @param value * allowed object is * {@link ClaimPayee } * */ public void setPayee(ClaimPayee value) { this.payee = value; } /** * Gets the value of the referralIdentifier property. * * @return * possible object is * {@link Identifier } * */ public Identifier getReferralIdentifier() { return referralIdentifier; } /** * Sets the value of the referralIdentifier property. * * @param value * allowed object is * {@link Identifier } * */ public void setReferralIdentifier(Identifier value) { this.referralIdentifier = value; } /** * Gets the value of the referralReference property. * * @return * possible object is * {@link Reference } * */ public Reference getReferralReference() { return referralReference; } /** * Sets the value of the referralReference property. * * @param value * allowed object is * {@link Reference } * */ public void setReferralReference(Reference value) { this.referralReference = value; } /** * Gets the value of the occurrenceCode 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 occurrenceCode property. * *

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

     *    getOccurrenceCode().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link Coding } * * */ public List getOccurrenceCode() { if (occurrenceCode == null) { occurrenceCode = new ArrayList(); } return this.occurrenceCode; } /** * Gets the value of the occurenceSpanCode 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 occurenceSpanCode property. * *

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

     *    getOccurenceSpanCode().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link Coding } * * */ public List getOccurenceSpanCode() { if (occurenceSpanCode == null) { occurenceSpanCode = new ArrayList(); } return this.occurenceSpanCode; } /** * Gets the value of the valueCode 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 valueCode property. * *

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

     *    getValueCode().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link Coding } * * */ public List getValueCode() { if (valueCode == null) { valueCode = new ArrayList(); } return this.valueCode; } /** * Gets the value of the diagnosis 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 diagnosis property. * *

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

     *    getDiagnosis().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link ClaimDiagnosis } * * */ public List getDiagnosis() { if (diagnosis == null) { diagnosis = new ArrayList(); } return this.diagnosis; } /** * Gets the value of the procedure 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 procedure property. * *

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

     *    getProcedure().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link ClaimProcedure } * * */ public List getProcedure() { if (procedure == null) { procedure = new ArrayList(); } return this.procedure; } /** * Gets the value of the specialCondition 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 specialCondition property. * *

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

     *    getSpecialCondition().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link Coding } * * */ public List getSpecialCondition() { if (specialCondition == null) { specialCondition = new ArrayList(); } return this.specialCondition; } /** * 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 coverage property. * *

* This accessor method returns a reference to the live list, * not a snapshot. Therefore any modification you make to the * returned list will be present inside the Jakarta XML Binding object. * This is why there is not a set method for the coverage property. * *

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

     *    getCoverage().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link ClaimCoverage } * * */ public List getCoverage() { if (coverage == null) { coverage = new ArrayList(); } return this.coverage; } /** * Gets the value of the accidentDate property. * * @return * possible object is * {@link Date } * */ public Date getAccidentDate() { return accidentDate; } /** * Sets the value of the accidentDate property. * * @param value * allowed object is * {@link Date } * */ public void setAccidentDate(Date value) { this.accidentDate = value; } /** * Gets the value of the accidentType property. * * @return * possible object is * {@link Coding } * */ public Coding getAccidentType() { return accidentType; } /** * Sets the value of the accidentType property. * * @param value * allowed object is * {@link Coding } * */ public void setAccidentType(Coding value) { this.accidentType = value; } /** * Gets the value of the accidentLocationAddress property. * * @return * possible object is * {@link Address } * */ public Address getAccidentLocationAddress() { return accidentLocationAddress; } /** * Sets the value of the accidentLocationAddress property. * * @param value * allowed object is * {@link Address } * */ public void setAccidentLocationAddress(Address value) { this.accidentLocationAddress = value; } /** * Gets the value of the accidentLocationReference property. * * @return * possible object is * {@link Reference } * */ public Reference getAccidentLocationReference() { return accidentLocationReference; } /** * Sets the value of the accidentLocationReference property. * * @param value * allowed object is * {@link Reference } * */ public void setAccidentLocationReference(Reference value) { this.accidentLocationReference = value; } /** * Gets the value of the interventionException 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 interventionException property. * *

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

     *    getInterventionException().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link Coding } * * */ public List getInterventionException() { if (interventionException == null) { interventionException = new ArrayList(); } return this.interventionException; } /** * Gets the value of the onset 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 onset property. * *

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

     *    getOnset().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link ClaimOnset } * * */ public List getOnset() { if (onset == null) { onset = new ArrayList(); } return this.onset; } /** * Gets the value of the employmentImpacted property. * * @return * possible object is * {@link Period } * */ public Period getEmploymentImpacted() { return employmentImpacted; } /** * Sets the value of the employmentImpacted property. * * @param value * allowed object is * {@link Period } * */ public void setEmploymentImpacted(Period value) { this.employmentImpacted = value; } /** * Gets the value of the hospitalization property. * * @return * possible object is * {@link Period } * */ public Period getHospitalization() { return hospitalization; } /** * Sets the value of the hospitalization property. * * @param value * allowed object is * {@link Period } * */ public void setHospitalization(Period value) { this.hospitalization = value; } /** * Gets the value of the item property. * *

* This accessor method returns a reference to the live list, * not a snapshot. Therefore any modification you make to the * returned list will be present inside the Jakarta XML Binding object. * This is why there is not a set method for the item property. * *

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

     *    getItem().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link ClaimItem } * * */ public List getItem() { if (item == null) { item = new ArrayList(); } return this.item; } /** * 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 additionalMaterial 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 additionalMaterial property. * *

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

     *    getAdditionalMaterial().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link Coding } * * */ public List getAdditionalMaterial() { if (additionalMaterial == null) { additionalMaterial = new ArrayList(); } return this.additionalMaterial; } /** * Gets the value of the missingTeeth 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 missingTeeth property. * *

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

     *    getMissingTeeth().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link ClaimMissingTeeth } * * */ public List getMissingTeeth() { if (missingTeeth == null) { missingTeeth = new ArrayList(); } return this.missingTeeth; } public Claim withType(ClaimType value) { setType(value); return this; } public Claim withSubType(Coding... values) { if (values!= null) { for (Coding value: values) { getSubType().add(value); } } return this; } public Claim withSubType(Collection values) { if (values!= null) { getSubType().addAll(values); } return this; } public Claim withIdentifier(Identifier... values) { if (values!= null) { for (Identifier value: values) { getIdentifier().add(value); } } return this; } public Claim withIdentifier(Collection values) { if (values!= null) { getIdentifier().addAll(values); } return this; } public Claim withRuleset(Coding value) { setRuleset(value); return this; } public Claim withOriginalRuleset(Coding value) { setOriginalRuleset(value); return this; } public Claim withCreated(DateTime value) { setCreated(value); return this; } public Claim withBillablePeriod(Period value) { setBillablePeriod(value); return this; } public Claim withTargetIdentifier(Identifier value) { setTargetIdentifier(value); return this; } public Claim withTargetReference(Reference value) { setTargetReference(value); return this; } public Claim withProviderIdentifier(Identifier value) { setProviderIdentifier(value); return this; } public Claim withProviderReference(Reference value) { setProviderReference(value); return this; } public Claim withOrganizationIdentifier(Identifier value) { setOrganizationIdentifier(value); return this; } public Claim withOrganizationReference(Reference value) { setOrganizationReference(value); return this; } public Claim withUse(Use value) { setUse(value); return this; } public Claim withPriority(Coding value) { setPriority(value); return this; } public Claim withFundsReserve(Coding value) { setFundsReserve(value); return this; } public Claim withEntererIdentifier(Identifier value) { setEntererIdentifier(value); return this; } public Claim withEntererReference(Reference value) { setEntererReference(value); return this; } public Claim withFacilityIdentifier(Identifier value) { setFacilityIdentifier(value); return this; } public Claim withFacilityReference(Reference value) { setFacilityReference(value); return this; } public Claim withRelated(ClaimRelated... values) { if (values!= null) { for (ClaimRelated value: values) { getRelated().add(value); } } return this; } public Claim withRelated(Collection values) { if (values!= null) { getRelated().addAll(values); } return this; } public Claim withPrescriptionIdentifier(Identifier value) { setPrescriptionIdentifier(value); return this; } public Claim withPrescriptionReference(Reference value) { setPrescriptionReference(value); return this; } public Claim withOriginalPrescriptionIdentifier(Identifier value) { setOriginalPrescriptionIdentifier(value); return this; } public Claim withOriginalPrescriptionReference(Reference value) { setOriginalPrescriptionReference(value); return this; } public Claim withPayee(ClaimPayee value) { setPayee(value); return this; } public Claim withReferralIdentifier(Identifier value) { setReferralIdentifier(value); return this; } public Claim withReferralReference(Reference value) { setReferralReference(value); return this; } public Claim withOccurrenceCode(Coding... values) { if (values!= null) { for (Coding value: values) { getOccurrenceCode().add(value); } } return this; } public Claim withOccurrenceCode(Collection values) { if (values!= null) { getOccurrenceCode().addAll(values); } return this; } public Claim withOccurenceSpanCode(Coding... values) { if (values!= null) { for (Coding value: values) { getOccurenceSpanCode().add(value); } } return this; } public Claim withOccurenceSpanCode(Collection values) { if (values!= null) { getOccurenceSpanCode().addAll(values); } return this; } public Claim withValueCode(Coding... values) { if (values!= null) { for (Coding value: values) { getValueCode().add(value); } } return this; } public Claim withValueCode(Collection values) { if (values!= null) { getValueCode().addAll(values); } return this; } public Claim withDiagnosis(ClaimDiagnosis... values) { if (values!= null) { for (ClaimDiagnosis value: values) { getDiagnosis().add(value); } } return this; } public Claim withDiagnosis(Collection values) { if (values!= null) { getDiagnosis().addAll(values); } return this; } public Claim withProcedure(ClaimProcedure... values) { if (values!= null) { for (ClaimProcedure value: values) { getProcedure().add(value); } } return this; } public Claim withProcedure(Collection values) { if (values!= null) { getProcedure().addAll(values); } return this; } public Claim withSpecialCondition(Coding... values) { if (values!= null) { for (Coding value: values) { getSpecialCondition().add(value); } } return this; } public Claim withSpecialCondition(Collection values) { if (values!= null) { getSpecialCondition().addAll(values); } return this; } public Claim withPatientIdentifier(Identifier value) { setPatientIdentifier(value); return this; } public Claim withPatientReference(Reference value) { setPatientReference(value); return this; } public Claim withCoverage(ClaimCoverage... values) { if (values!= null) { for (ClaimCoverage value: values) { getCoverage().add(value); } } return this; } public Claim withCoverage(Collection values) { if (values!= null) { getCoverage().addAll(values); } return this; } public Claim withAccidentDate(Date value) { setAccidentDate(value); return this; } public Claim withAccidentType(Coding value) { setAccidentType(value); return this; } public Claim withAccidentLocationAddress(Address value) { setAccidentLocationAddress(value); return this; } public Claim withAccidentLocationReference(Reference value) { setAccidentLocationReference(value); return this; } public Claim withInterventionException(Coding... values) { if (values!= null) { for (Coding value: values) { getInterventionException().add(value); } } return this; } public Claim withInterventionException(Collection values) { if (values!= null) { getInterventionException().addAll(values); } return this; } public Claim withOnset(ClaimOnset... values) { if (values!= null) { for (ClaimOnset value: values) { getOnset().add(value); } } return this; } public Claim withOnset(Collection values) { if (values!= null) { getOnset().addAll(values); } return this; } public Claim withEmploymentImpacted(Period value) { setEmploymentImpacted(value); return this; } public Claim withHospitalization(Period value) { setHospitalization(value); return this; } public Claim withItem(ClaimItem... values) { if (values!= null) { for (ClaimItem value: values) { getItem().add(value); } } return this; } public Claim withItem(Collection values) { if (values!= null) { getItem().addAll(values); } return this; } public Claim withTotal(Money value) { setTotal(value); return this; } public Claim withAdditionalMaterial(Coding... values) { if (values!= null) { for (Coding value: values) { getAdditionalMaterial().add(value); } } return this; } public Claim withAdditionalMaterial(Collection values) { if (values!= null) { getAdditionalMaterial().addAll(values); } return this; } public Claim withMissingTeeth(ClaimMissingTeeth... values) { if (values!= null) { for (ClaimMissingTeeth value: values) { getMissingTeeth().add(value); } } return this; } public Claim withMissingTeeth(Collection values) { if (values!= null) { getMissingTeeth().addAll(values); } return this; } @Override public Claim withText(Narrative value) { setText(value); return this; } @Override public Claim withContained(ResourceContainer... values) { if (values!= null) { for (ResourceContainer value: values) { getContained().add(value); } } return this; } @Override public Claim withContained(Collection values) { if (values!= null) { getContained().addAll(values); } return this; } @Override public Claim withExtension(Extension... values) { if (values!= null) { for (Extension value: values) { getExtension().add(value); } } return this; } @Override public Claim withExtension(Collection values) { if (values!= null) { getExtension().addAll(values); } return this; } @Override public Claim withModifierExtension(Extension... values) { if (values!= null) { for (Extension value: values) { getModifierExtension().add(value); } } return this; } @Override public Claim withModifierExtension(Collection values) { if (values!= null) { getModifierExtension().addAll(values); } return this; } @Override public Claim withId(Id value) { setId(value); return this; } @Override public Claim withMeta(Meta value) { setMeta(value); return this; } @Override public Claim withImplicitRules(Uri value) { setImplicitRules(value); return this; } @Override public Claim 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 Claim that = ((Claim) object); { ClaimType lhsType; lhsType = this.getType(); ClaimType rhsType; rhsType = that.getType(); if (!strategy.equals(LocatorUtils.property(thisLocator, "type", lhsType), LocatorUtils.property(thatLocator, "type", rhsType), lhsType, rhsType, (this.type!= null), (that.type!= null))) { return false; } } { List lhsSubType; lhsSubType = (((this.subType!= null)&&(!this.subType.isEmpty()))?this.getSubType():null); List rhsSubType; rhsSubType = (((that.subType!= null)&&(!that.subType.isEmpty()))?that.getSubType():null); if (!strategy.equals(LocatorUtils.property(thisLocator, "subType", lhsSubType), LocatorUtils.property(thatLocator, "subType", rhsSubType), lhsSubType, rhsSubType, ((this.subType!= null)&&(!this.subType.isEmpty())), ((that.subType!= null)&&(!that.subType.isEmpty())))) { return false; } } { 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; } } { Period lhsBillablePeriod; lhsBillablePeriod = this.getBillablePeriod(); Period rhsBillablePeriod; rhsBillablePeriod = that.getBillablePeriod(); if (!strategy.equals(LocatorUtils.property(thisLocator, "billablePeriod", lhsBillablePeriod), LocatorUtils.property(thatLocator, "billablePeriod", rhsBillablePeriod), lhsBillablePeriod, rhsBillablePeriod, (this.billablePeriod!= null), (that.billablePeriod!= 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; } } { Use lhsUse; lhsUse = this.getUse(); Use rhsUse; rhsUse = that.getUse(); if (!strategy.equals(LocatorUtils.property(thisLocator, "use", lhsUse), LocatorUtils.property(thatLocator, "use", rhsUse), lhsUse, rhsUse, (this.use!= null), (that.use!= 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; } } { Coding lhsFundsReserve; lhsFundsReserve = this.getFundsReserve(); Coding rhsFundsReserve; rhsFundsReserve = that.getFundsReserve(); if (!strategy.equals(LocatorUtils.property(thisLocator, "fundsReserve", lhsFundsReserve), LocatorUtils.property(thatLocator, "fundsReserve", rhsFundsReserve), lhsFundsReserve, rhsFundsReserve, (this.fundsReserve!= null), (that.fundsReserve!= 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; } } { List lhsRelated; lhsRelated = (((this.related!= null)&&(!this.related.isEmpty()))?this.getRelated():null); List rhsRelated; rhsRelated = (((that.related!= null)&&(!that.related.isEmpty()))?that.getRelated():null); if (!strategy.equals(LocatorUtils.property(thisLocator, "related", lhsRelated), LocatorUtils.property(thatLocator, "related", rhsRelated), lhsRelated, rhsRelated, ((this.related!= null)&&(!this.related.isEmpty())), ((that.related!= null)&&(!that.related.isEmpty())))) { return false; } } { Identifier lhsPrescriptionIdentifier; lhsPrescriptionIdentifier = this.getPrescriptionIdentifier(); Identifier rhsPrescriptionIdentifier; rhsPrescriptionIdentifier = that.getPrescriptionIdentifier(); if (!strategy.equals(LocatorUtils.property(thisLocator, "prescriptionIdentifier", lhsPrescriptionIdentifier), LocatorUtils.property(thatLocator, "prescriptionIdentifier", rhsPrescriptionIdentifier), lhsPrescriptionIdentifier, rhsPrescriptionIdentifier, (this.prescriptionIdentifier!= null), (that.prescriptionIdentifier!= null))) { return false; } } { Reference lhsPrescriptionReference; lhsPrescriptionReference = this.getPrescriptionReference(); Reference rhsPrescriptionReference; rhsPrescriptionReference = that.getPrescriptionReference(); if (!strategy.equals(LocatorUtils.property(thisLocator, "prescriptionReference", lhsPrescriptionReference), LocatorUtils.property(thatLocator, "prescriptionReference", rhsPrescriptionReference), lhsPrescriptionReference, rhsPrescriptionReference, (this.prescriptionReference!= null), (that.prescriptionReference!= null))) { return false; } } { Identifier lhsOriginalPrescriptionIdentifier; lhsOriginalPrescriptionIdentifier = this.getOriginalPrescriptionIdentifier(); Identifier rhsOriginalPrescriptionIdentifier; rhsOriginalPrescriptionIdentifier = that.getOriginalPrescriptionIdentifier(); if (!strategy.equals(LocatorUtils.property(thisLocator, "originalPrescriptionIdentifier", lhsOriginalPrescriptionIdentifier), LocatorUtils.property(thatLocator, "originalPrescriptionIdentifier", rhsOriginalPrescriptionIdentifier), lhsOriginalPrescriptionIdentifier, rhsOriginalPrescriptionIdentifier, (this.originalPrescriptionIdentifier!= null), (that.originalPrescriptionIdentifier!= null))) { return false; } } { Reference lhsOriginalPrescriptionReference; lhsOriginalPrescriptionReference = this.getOriginalPrescriptionReference(); Reference rhsOriginalPrescriptionReference; rhsOriginalPrescriptionReference = that.getOriginalPrescriptionReference(); if (!strategy.equals(LocatorUtils.property(thisLocator, "originalPrescriptionReference", lhsOriginalPrescriptionReference), LocatorUtils.property(thatLocator, "originalPrescriptionReference", rhsOriginalPrescriptionReference), lhsOriginalPrescriptionReference, rhsOriginalPrescriptionReference, (this.originalPrescriptionReference!= null), (that.originalPrescriptionReference!= null))) { return false; } } { ClaimPayee lhsPayee; lhsPayee = this.getPayee(); ClaimPayee rhsPayee; rhsPayee = that.getPayee(); if (!strategy.equals(LocatorUtils.property(thisLocator, "payee", lhsPayee), LocatorUtils.property(thatLocator, "payee", rhsPayee), lhsPayee, rhsPayee, (this.payee!= null), (that.payee!= null))) { return false; } } { Identifier lhsReferralIdentifier; lhsReferralIdentifier = this.getReferralIdentifier(); Identifier rhsReferralIdentifier; rhsReferralIdentifier = that.getReferralIdentifier(); if (!strategy.equals(LocatorUtils.property(thisLocator, "referralIdentifier", lhsReferralIdentifier), LocatorUtils.property(thatLocator, "referralIdentifier", rhsReferralIdentifier), lhsReferralIdentifier, rhsReferralIdentifier, (this.referralIdentifier!= null), (that.referralIdentifier!= null))) { return false; } } { Reference lhsReferralReference; lhsReferralReference = this.getReferralReference(); Reference rhsReferralReference; rhsReferralReference = that.getReferralReference(); if (!strategy.equals(LocatorUtils.property(thisLocator, "referralReference", lhsReferralReference), LocatorUtils.property(thatLocator, "referralReference", rhsReferralReference), lhsReferralReference, rhsReferralReference, (this.referralReference!= null), (that.referralReference!= null))) { return false; } } { List lhsOccurrenceCode; lhsOccurrenceCode = (((this.occurrenceCode!= null)&&(!this.occurrenceCode.isEmpty()))?this.getOccurrenceCode():null); List rhsOccurrenceCode; rhsOccurrenceCode = (((that.occurrenceCode!= null)&&(!that.occurrenceCode.isEmpty()))?that.getOccurrenceCode():null); if (!strategy.equals(LocatorUtils.property(thisLocator, "occurrenceCode", lhsOccurrenceCode), LocatorUtils.property(thatLocator, "occurrenceCode", rhsOccurrenceCode), lhsOccurrenceCode, rhsOccurrenceCode, ((this.occurrenceCode!= null)&&(!this.occurrenceCode.isEmpty())), ((that.occurrenceCode!= null)&&(!that.occurrenceCode.isEmpty())))) { return false; } } { List lhsOccurenceSpanCode; lhsOccurenceSpanCode = (((this.occurenceSpanCode!= null)&&(!this.occurenceSpanCode.isEmpty()))?this.getOccurenceSpanCode():null); List rhsOccurenceSpanCode; rhsOccurenceSpanCode = (((that.occurenceSpanCode!= null)&&(!that.occurenceSpanCode.isEmpty()))?that.getOccurenceSpanCode():null); if (!strategy.equals(LocatorUtils.property(thisLocator, "occurenceSpanCode", lhsOccurenceSpanCode), LocatorUtils.property(thatLocator, "occurenceSpanCode", rhsOccurenceSpanCode), lhsOccurenceSpanCode, rhsOccurenceSpanCode, ((this.occurenceSpanCode!= null)&&(!this.occurenceSpanCode.isEmpty())), ((that.occurenceSpanCode!= null)&&(!that.occurenceSpanCode.isEmpty())))) { return false; } } { List lhsValueCode; lhsValueCode = (((this.valueCode!= null)&&(!this.valueCode.isEmpty()))?this.getValueCode():null); List rhsValueCode; rhsValueCode = (((that.valueCode!= null)&&(!that.valueCode.isEmpty()))?that.getValueCode():null); if (!strategy.equals(LocatorUtils.property(thisLocator, "valueCode", lhsValueCode), LocatorUtils.property(thatLocator, "valueCode", rhsValueCode), lhsValueCode, rhsValueCode, ((this.valueCode!= null)&&(!this.valueCode.isEmpty())), ((that.valueCode!= null)&&(!that.valueCode.isEmpty())))) { return false; } } { List lhsDiagnosis; lhsDiagnosis = (((this.diagnosis!= null)&&(!this.diagnosis.isEmpty()))?this.getDiagnosis():null); List rhsDiagnosis; rhsDiagnosis = (((that.diagnosis!= null)&&(!that.diagnosis.isEmpty()))?that.getDiagnosis():null); if (!strategy.equals(LocatorUtils.property(thisLocator, "diagnosis", lhsDiagnosis), LocatorUtils.property(thatLocator, "diagnosis", rhsDiagnosis), lhsDiagnosis, rhsDiagnosis, ((this.diagnosis!= null)&&(!this.diagnosis.isEmpty())), ((that.diagnosis!= null)&&(!that.diagnosis.isEmpty())))) { return false; } } { List lhsProcedure; lhsProcedure = (((this.procedure!= null)&&(!this.procedure.isEmpty()))?this.getProcedure():null); List rhsProcedure; rhsProcedure = (((that.procedure!= null)&&(!that.procedure.isEmpty()))?that.getProcedure():null); if (!strategy.equals(LocatorUtils.property(thisLocator, "procedure", lhsProcedure), LocatorUtils.property(thatLocator, "procedure", rhsProcedure), lhsProcedure, rhsProcedure, ((this.procedure!= null)&&(!this.procedure.isEmpty())), ((that.procedure!= null)&&(!that.procedure.isEmpty())))) { return false; } } { List lhsSpecialCondition; lhsSpecialCondition = (((this.specialCondition!= null)&&(!this.specialCondition.isEmpty()))?this.getSpecialCondition():null); List rhsSpecialCondition; rhsSpecialCondition = (((that.specialCondition!= null)&&(!that.specialCondition.isEmpty()))?that.getSpecialCondition():null); if (!strategy.equals(LocatorUtils.property(thisLocator, "specialCondition", lhsSpecialCondition), LocatorUtils.property(thatLocator, "specialCondition", rhsSpecialCondition), lhsSpecialCondition, rhsSpecialCondition, ((this.specialCondition!= null)&&(!this.specialCondition.isEmpty())), ((that.specialCondition!= null)&&(!that.specialCondition.isEmpty())))) { 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; } } { List lhsCoverage; lhsCoverage = (((this.coverage!= null)&&(!this.coverage.isEmpty()))?this.getCoverage():null); List rhsCoverage; rhsCoverage = (((that.coverage!= null)&&(!that.coverage.isEmpty()))?that.getCoverage():null); if (!strategy.equals(LocatorUtils.property(thisLocator, "coverage", lhsCoverage), LocatorUtils.property(thatLocator, "coverage", rhsCoverage), lhsCoverage, rhsCoverage, ((this.coverage!= null)&&(!this.coverage.isEmpty())), ((that.coverage!= null)&&(!that.coverage.isEmpty())))) { return false; } } { Date lhsAccidentDate; lhsAccidentDate = this.getAccidentDate(); Date rhsAccidentDate; rhsAccidentDate = that.getAccidentDate(); if (!strategy.equals(LocatorUtils.property(thisLocator, "accidentDate", lhsAccidentDate), LocatorUtils.property(thatLocator, "accidentDate", rhsAccidentDate), lhsAccidentDate, rhsAccidentDate, (this.accidentDate!= null), (that.accidentDate!= null))) { return false; } } { Coding lhsAccidentType; lhsAccidentType = this.getAccidentType(); Coding rhsAccidentType; rhsAccidentType = that.getAccidentType(); if (!strategy.equals(LocatorUtils.property(thisLocator, "accidentType", lhsAccidentType), LocatorUtils.property(thatLocator, "accidentType", rhsAccidentType), lhsAccidentType, rhsAccidentType, (this.accidentType!= null), (that.accidentType!= null))) { return false; } } { Address lhsAccidentLocationAddress; lhsAccidentLocationAddress = this.getAccidentLocationAddress(); Address rhsAccidentLocationAddress; rhsAccidentLocationAddress = that.getAccidentLocationAddress(); if (!strategy.equals(LocatorUtils.property(thisLocator, "accidentLocationAddress", lhsAccidentLocationAddress), LocatorUtils.property(thatLocator, "accidentLocationAddress", rhsAccidentLocationAddress), lhsAccidentLocationAddress, rhsAccidentLocationAddress, (this.accidentLocationAddress!= null), (that.accidentLocationAddress!= null))) { return false; } } { Reference lhsAccidentLocationReference; lhsAccidentLocationReference = this.getAccidentLocationReference(); Reference rhsAccidentLocationReference; rhsAccidentLocationReference = that.getAccidentLocationReference(); if (!strategy.equals(LocatorUtils.property(thisLocator, "accidentLocationReference", lhsAccidentLocationReference), LocatorUtils.property(thatLocator, "accidentLocationReference", rhsAccidentLocationReference), lhsAccidentLocationReference, rhsAccidentLocationReference, (this.accidentLocationReference!= null), (that.accidentLocationReference!= null))) { return false; } } { List lhsInterventionException; lhsInterventionException = (((this.interventionException!= null)&&(!this.interventionException.isEmpty()))?this.getInterventionException():null); List rhsInterventionException; rhsInterventionException = (((that.interventionException!= null)&&(!that.interventionException.isEmpty()))?that.getInterventionException():null); if (!strategy.equals(LocatorUtils.property(thisLocator, "interventionException", lhsInterventionException), LocatorUtils.property(thatLocator, "interventionException", rhsInterventionException), lhsInterventionException, rhsInterventionException, ((this.interventionException!= null)&&(!this.interventionException.isEmpty())), ((that.interventionException!= null)&&(!that.interventionException.isEmpty())))) { return false; } } { List lhsOnset; lhsOnset = (((this.onset!= null)&&(!this.onset.isEmpty()))?this.getOnset():null); List rhsOnset; rhsOnset = (((that.onset!= null)&&(!that.onset.isEmpty()))?that.getOnset():null); if (!strategy.equals(LocatorUtils.property(thisLocator, "onset", lhsOnset), LocatorUtils.property(thatLocator, "onset", rhsOnset), lhsOnset, rhsOnset, ((this.onset!= null)&&(!this.onset.isEmpty())), ((that.onset!= null)&&(!that.onset.isEmpty())))) { return false; } } { Period lhsEmploymentImpacted; lhsEmploymentImpacted = this.getEmploymentImpacted(); Period rhsEmploymentImpacted; rhsEmploymentImpacted = that.getEmploymentImpacted(); if (!strategy.equals(LocatorUtils.property(thisLocator, "employmentImpacted", lhsEmploymentImpacted), LocatorUtils.property(thatLocator, "employmentImpacted", rhsEmploymentImpacted), lhsEmploymentImpacted, rhsEmploymentImpacted, (this.employmentImpacted!= null), (that.employmentImpacted!= null))) { return false; } } { Period lhsHospitalization; lhsHospitalization = this.getHospitalization(); Period rhsHospitalization; rhsHospitalization = that.getHospitalization(); if (!strategy.equals(LocatorUtils.property(thisLocator, "hospitalization", lhsHospitalization), LocatorUtils.property(thatLocator, "hospitalization", rhsHospitalization), lhsHospitalization, rhsHospitalization, (this.hospitalization!= null), (that.hospitalization!= null))) { return false; } } { List lhsItem; lhsItem = (((this.item!= null)&&(!this.item.isEmpty()))?this.getItem():null); List rhsItem; rhsItem = (((that.item!= null)&&(!that.item.isEmpty()))?that.getItem():null); if (!strategy.equals(LocatorUtils.property(thisLocator, "item", lhsItem), LocatorUtils.property(thatLocator, "item", rhsItem), lhsItem, rhsItem, ((this.item!= null)&&(!this.item.isEmpty())), ((that.item!= null)&&(!that.item.isEmpty())))) { return false; } } { 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 lhsAdditionalMaterial; lhsAdditionalMaterial = (((this.additionalMaterial!= null)&&(!this.additionalMaterial.isEmpty()))?this.getAdditionalMaterial():null); List rhsAdditionalMaterial; rhsAdditionalMaterial = (((that.additionalMaterial!= null)&&(!that.additionalMaterial.isEmpty()))?that.getAdditionalMaterial():null); if (!strategy.equals(LocatorUtils.property(thisLocator, "additionalMaterial", lhsAdditionalMaterial), LocatorUtils.property(thatLocator, "additionalMaterial", rhsAdditionalMaterial), lhsAdditionalMaterial, rhsAdditionalMaterial, ((this.additionalMaterial!= null)&&(!this.additionalMaterial.isEmpty())), ((that.additionalMaterial!= null)&&(!that.additionalMaterial.isEmpty())))) { return false; } } { List lhsMissingTeeth; lhsMissingTeeth = (((this.missingTeeth!= null)&&(!this.missingTeeth.isEmpty()))?this.getMissingTeeth():null); List rhsMissingTeeth; rhsMissingTeeth = (((that.missingTeeth!= null)&&(!that.missingTeeth.isEmpty()))?that.getMissingTeeth():null); if (!strategy.equals(LocatorUtils.property(thisLocator, "missingTeeth", lhsMissingTeeth), LocatorUtils.property(thatLocator, "missingTeeth", rhsMissingTeeth), lhsMissingTeeth, rhsMissingTeeth, ((this.missingTeeth!= null)&&(!this.missingTeeth.isEmpty())), ((that.missingTeeth!= null)&&(!that.missingTeeth.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); { ClaimType theType; theType = this.getType(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "type", theType), currentHashCode, theType, (this.type!= null)); } { List theSubType; theSubType = (((this.subType!= null)&&(!this.subType.isEmpty()))?this.getSubType():null); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "subType", theSubType), currentHashCode, theSubType, ((this.subType!= null)&&(!this.subType.isEmpty()))); } { 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)); } { Period theBillablePeriod; theBillablePeriod = this.getBillablePeriod(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "billablePeriod", theBillablePeriod), currentHashCode, theBillablePeriod, (this.billablePeriod!= 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)); } { Use theUse; theUse = this.getUse(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "use", theUse), currentHashCode, theUse, (this.use!= null)); } { Coding thePriority; thePriority = this.getPriority(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "priority", thePriority), currentHashCode, thePriority, (this.priority!= null)); } { Coding theFundsReserve; theFundsReserve = this.getFundsReserve(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "fundsReserve", theFundsReserve), currentHashCode, theFundsReserve, (this.fundsReserve!= 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)); } { List theRelated; theRelated = (((this.related!= null)&&(!this.related.isEmpty()))?this.getRelated():null); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "related", theRelated), currentHashCode, theRelated, ((this.related!= null)&&(!this.related.isEmpty()))); } { Identifier thePrescriptionIdentifier; thePrescriptionIdentifier = this.getPrescriptionIdentifier(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "prescriptionIdentifier", thePrescriptionIdentifier), currentHashCode, thePrescriptionIdentifier, (this.prescriptionIdentifier!= null)); } { Reference thePrescriptionReference; thePrescriptionReference = this.getPrescriptionReference(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "prescriptionReference", thePrescriptionReference), currentHashCode, thePrescriptionReference, (this.prescriptionReference!= null)); } { Identifier theOriginalPrescriptionIdentifier; theOriginalPrescriptionIdentifier = this.getOriginalPrescriptionIdentifier(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "originalPrescriptionIdentifier", theOriginalPrescriptionIdentifier), currentHashCode, theOriginalPrescriptionIdentifier, (this.originalPrescriptionIdentifier!= null)); } { Reference theOriginalPrescriptionReference; theOriginalPrescriptionReference = this.getOriginalPrescriptionReference(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "originalPrescriptionReference", theOriginalPrescriptionReference), currentHashCode, theOriginalPrescriptionReference, (this.originalPrescriptionReference!= null)); } { ClaimPayee thePayee; thePayee = this.getPayee(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "payee", thePayee), currentHashCode, thePayee, (this.payee!= null)); } { Identifier theReferralIdentifier; theReferralIdentifier = this.getReferralIdentifier(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "referralIdentifier", theReferralIdentifier), currentHashCode, theReferralIdentifier, (this.referralIdentifier!= null)); } { Reference theReferralReference; theReferralReference = this.getReferralReference(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "referralReference", theReferralReference), currentHashCode, theReferralReference, (this.referralReference!= null)); } { List theOccurrenceCode; theOccurrenceCode = (((this.occurrenceCode!= null)&&(!this.occurrenceCode.isEmpty()))?this.getOccurrenceCode():null); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "occurrenceCode", theOccurrenceCode), currentHashCode, theOccurrenceCode, ((this.occurrenceCode!= null)&&(!this.occurrenceCode.isEmpty()))); } { List theOccurenceSpanCode; theOccurenceSpanCode = (((this.occurenceSpanCode!= null)&&(!this.occurenceSpanCode.isEmpty()))?this.getOccurenceSpanCode():null); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "occurenceSpanCode", theOccurenceSpanCode), currentHashCode, theOccurenceSpanCode, ((this.occurenceSpanCode!= null)&&(!this.occurenceSpanCode.isEmpty()))); } { List theValueCode; theValueCode = (((this.valueCode!= null)&&(!this.valueCode.isEmpty()))?this.getValueCode():null); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "valueCode", theValueCode), currentHashCode, theValueCode, ((this.valueCode!= null)&&(!this.valueCode.isEmpty()))); } { List theDiagnosis; theDiagnosis = (((this.diagnosis!= null)&&(!this.diagnosis.isEmpty()))?this.getDiagnosis():null); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "diagnosis", theDiagnosis), currentHashCode, theDiagnosis, ((this.diagnosis!= null)&&(!this.diagnosis.isEmpty()))); } { List theProcedure; theProcedure = (((this.procedure!= null)&&(!this.procedure.isEmpty()))?this.getProcedure():null); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "procedure", theProcedure), currentHashCode, theProcedure, ((this.procedure!= null)&&(!this.procedure.isEmpty()))); } { List theSpecialCondition; theSpecialCondition = (((this.specialCondition!= null)&&(!this.specialCondition.isEmpty()))?this.getSpecialCondition():null); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "specialCondition", theSpecialCondition), currentHashCode, theSpecialCondition, ((this.specialCondition!= null)&&(!this.specialCondition.isEmpty()))); } { 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)); } { List theCoverage; theCoverage = (((this.coverage!= null)&&(!this.coverage.isEmpty()))?this.getCoverage():null); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "coverage", theCoverage), currentHashCode, theCoverage, ((this.coverage!= null)&&(!this.coverage.isEmpty()))); } { Date theAccidentDate; theAccidentDate = this.getAccidentDate(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "accidentDate", theAccidentDate), currentHashCode, theAccidentDate, (this.accidentDate!= null)); } { Coding theAccidentType; theAccidentType = this.getAccidentType(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "accidentType", theAccidentType), currentHashCode, theAccidentType, (this.accidentType!= null)); } { Address theAccidentLocationAddress; theAccidentLocationAddress = this.getAccidentLocationAddress(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "accidentLocationAddress", theAccidentLocationAddress), currentHashCode, theAccidentLocationAddress, (this.accidentLocationAddress!= null)); } { Reference theAccidentLocationReference; theAccidentLocationReference = this.getAccidentLocationReference(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "accidentLocationReference", theAccidentLocationReference), currentHashCode, theAccidentLocationReference, (this.accidentLocationReference!= null)); } { List theInterventionException; theInterventionException = (((this.interventionException!= null)&&(!this.interventionException.isEmpty()))?this.getInterventionException():null); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "interventionException", theInterventionException), currentHashCode, theInterventionException, ((this.interventionException!= null)&&(!this.interventionException.isEmpty()))); } { List theOnset; theOnset = (((this.onset!= null)&&(!this.onset.isEmpty()))?this.getOnset():null); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "onset", theOnset), currentHashCode, theOnset, ((this.onset!= null)&&(!this.onset.isEmpty()))); } { Period theEmploymentImpacted; theEmploymentImpacted = this.getEmploymentImpacted(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "employmentImpacted", theEmploymentImpacted), currentHashCode, theEmploymentImpacted, (this.employmentImpacted!= null)); } { Period theHospitalization; theHospitalization = this.getHospitalization(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "hospitalization", theHospitalization), currentHashCode, theHospitalization, (this.hospitalization!= null)); } { List theItem; theItem = (((this.item!= null)&&(!this.item.isEmpty()))?this.getItem():null); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "item", theItem), currentHashCode, theItem, ((this.item!= null)&&(!this.item.isEmpty()))); } { Money theTotal; theTotal = this.getTotal(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "total", theTotal), currentHashCode, theTotal, (this.total!= null)); } { List theAdditionalMaterial; theAdditionalMaterial = (((this.additionalMaterial!= null)&&(!this.additionalMaterial.isEmpty()))?this.getAdditionalMaterial():null); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "additionalMaterial", theAdditionalMaterial), currentHashCode, theAdditionalMaterial, ((this.additionalMaterial!= null)&&(!this.additionalMaterial.isEmpty()))); } { List theMissingTeeth; theMissingTeeth = (((this.missingTeeth!= null)&&(!this.missingTeeth.isEmpty()))?this.getMissingTeeth():null); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "missingTeeth", theMissingTeeth), currentHashCode, theMissingTeeth, ((this.missingTeeth!= null)&&(!this.missingTeeth.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); { ClaimType theType; theType = this.getType(); strategy.appendField(locator, this, "type", buffer, theType, (this.type!= null)); } { List theSubType; theSubType = (((this.subType!= null)&&(!this.subType.isEmpty()))?this.getSubType():null); strategy.appendField(locator, this, "subType", buffer, theSubType, ((this.subType!= null)&&(!this.subType.isEmpty()))); } { 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)); } { Period theBillablePeriod; theBillablePeriod = this.getBillablePeriod(); strategy.appendField(locator, this, "billablePeriod", buffer, theBillablePeriod, (this.billablePeriod!= 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)); } { Use theUse; theUse = this.getUse(); strategy.appendField(locator, this, "use", buffer, theUse, (this.use!= null)); } { Coding thePriority; thePriority = this.getPriority(); strategy.appendField(locator, this, "priority", buffer, thePriority, (this.priority!= null)); } { Coding theFundsReserve; theFundsReserve = this.getFundsReserve(); strategy.appendField(locator, this, "fundsReserve", buffer, theFundsReserve, (this.fundsReserve!= 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)); } { List theRelated; theRelated = (((this.related!= null)&&(!this.related.isEmpty()))?this.getRelated():null); strategy.appendField(locator, this, "related", buffer, theRelated, ((this.related!= null)&&(!this.related.isEmpty()))); } { Identifier thePrescriptionIdentifier; thePrescriptionIdentifier = this.getPrescriptionIdentifier(); strategy.appendField(locator, this, "prescriptionIdentifier", buffer, thePrescriptionIdentifier, (this.prescriptionIdentifier!= null)); } { Reference thePrescriptionReference; thePrescriptionReference = this.getPrescriptionReference(); strategy.appendField(locator, this, "prescriptionReference", buffer, thePrescriptionReference, (this.prescriptionReference!= null)); } { Identifier theOriginalPrescriptionIdentifier; theOriginalPrescriptionIdentifier = this.getOriginalPrescriptionIdentifier(); strategy.appendField(locator, this, "originalPrescriptionIdentifier", buffer, theOriginalPrescriptionIdentifier, (this.originalPrescriptionIdentifier!= null)); } { Reference theOriginalPrescriptionReference; theOriginalPrescriptionReference = this.getOriginalPrescriptionReference(); strategy.appendField(locator, this, "originalPrescriptionReference", buffer, theOriginalPrescriptionReference, (this.originalPrescriptionReference!= null)); } { ClaimPayee thePayee; thePayee = this.getPayee(); strategy.appendField(locator, this, "payee", buffer, thePayee, (this.payee!= null)); } { Identifier theReferralIdentifier; theReferralIdentifier = this.getReferralIdentifier(); strategy.appendField(locator, this, "referralIdentifier", buffer, theReferralIdentifier, (this.referralIdentifier!= null)); } { Reference theReferralReference; theReferralReference = this.getReferralReference(); strategy.appendField(locator, this, "referralReference", buffer, theReferralReference, (this.referralReference!= null)); } { List theOccurrenceCode; theOccurrenceCode = (((this.occurrenceCode!= null)&&(!this.occurrenceCode.isEmpty()))?this.getOccurrenceCode():null); strategy.appendField(locator, this, "occurrenceCode", buffer, theOccurrenceCode, ((this.occurrenceCode!= null)&&(!this.occurrenceCode.isEmpty()))); } { List theOccurenceSpanCode; theOccurenceSpanCode = (((this.occurenceSpanCode!= null)&&(!this.occurenceSpanCode.isEmpty()))?this.getOccurenceSpanCode():null); strategy.appendField(locator, this, "occurenceSpanCode", buffer, theOccurenceSpanCode, ((this.occurenceSpanCode!= null)&&(!this.occurenceSpanCode.isEmpty()))); } { List theValueCode; theValueCode = (((this.valueCode!= null)&&(!this.valueCode.isEmpty()))?this.getValueCode():null); strategy.appendField(locator, this, "valueCode", buffer, theValueCode, ((this.valueCode!= null)&&(!this.valueCode.isEmpty()))); } { List theDiagnosis; theDiagnosis = (((this.diagnosis!= null)&&(!this.diagnosis.isEmpty()))?this.getDiagnosis():null); strategy.appendField(locator, this, "diagnosis", buffer, theDiagnosis, ((this.diagnosis!= null)&&(!this.diagnosis.isEmpty()))); } { List theProcedure; theProcedure = (((this.procedure!= null)&&(!this.procedure.isEmpty()))?this.getProcedure():null); strategy.appendField(locator, this, "procedure", buffer, theProcedure, ((this.procedure!= null)&&(!this.procedure.isEmpty()))); } { List theSpecialCondition; theSpecialCondition = (((this.specialCondition!= null)&&(!this.specialCondition.isEmpty()))?this.getSpecialCondition():null); strategy.appendField(locator, this, "specialCondition", buffer, theSpecialCondition, ((this.specialCondition!= null)&&(!this.specialCondition.isEmpty()))); } { 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)); } { List theCoverage; theCoverage = (((this.coverage!= null)&&(!this.coverage.isEmpty()))?this.getCoverage():null); strategy.appendField(locator, this, "coverage", buffer, theCoverage, ((this.coverage!= null)&&(!this.coverage.isEmpty()))); } { Date theAccidentDate; theAccidentDate = this.getAccidentDate(); strategy.appendField(locator, this, "accidentDate", buffer, theAccidentDate, (this.accidentDate!= null)); } { Coding theAccidentType; theAccidentType = this.getAccidentType(); strategy.appendField(locator, this, "accidentType", buffer, theAccidentType, (this.accidentType!= null)); } { Address theAccidentLocationAddress; theAccidentLocationAddress = this.getAccidentLocationAddress(); strategy.appendField(locator, this, "accidentLocationAddress", buffer, theAccidentLocationAddress, (this.accidentLocationAddress!= null)); } { Reference theAccidentLocationReference; theAccidentLocationReference = this.getAccidentLocationReference(); strategy.appendField(locator, this, "accidentLocationReference", buffer, theAccidentLocationReference, (this.accidentLocationReference!= null)); } { List theInterventionException; theInterventionException = (((this.interventionException!= null)&&(!this.interventionException.isEmpty()))?this.getInterventionException():null); strategy.appendField(locator, this, "interventionException", buffer, theInterventionException, ((this.interventionException!= null)&&(!this.interventionException.isEmpty()))); } { List theOnset; theOnset = (((this.onset!= null)&&(!this.onset.isEmpty()))?this.getOnset():null); strategy.appendField(locator, this, "onset", buffer, theOnset, ((this.onset!= null)&&(!this.onset.isEmpty()))); } { Period theEmploymentImpacted; theEmploymentImpacted = this.getEmploymentImpacted(); strategy.appendField(locator, this, "employmentImpacted", buffer, theEmploymentImpacted, (this.employmentImpacted!= null)); } { Period theHospitalization; theHospitalization = this.getHospitalization(); strategy.appendField(locator, this, "hospitalization", buffer, theHospitalization, (this.hospitalization!= null)); } { List theItem; theItem = (((this.item!= null)&&(!this.item.isEmpty()))?this.getItem():null); strategy.appendField(locator, this, "item", buffer, theItem, ((this.item!= null)&&(!this.item.isEmpty()))); } { Money theTotal; theTotal = this.getTotal(); strategy.appendField(locator, this, "total", buffer, theTotal, (this.total!= null)); } { List theAdditionalMaterial; theAdditionalMaterial = (((this.additionalMaterial!= null)&&(!this.additionalMaterial.isEmpty()))?this.getAdditionalMaterial():null); strategy.appendField(locator, this, "additionalMaterial", buffer, theAdditionalMaterial, ((this.additionalMaterial!= null)&&(!this.additionalMaterial.isEmpty()))); } { List theMissingTeeth; theMissingTeeth = (((this.missingTeeth!= null)&&(!this.missingTeeth.isEmpty()))?this.getMissingTeeth():null); strategy.appendField(locator, this, "missingTeeth", buffer, theMissingTeeth, ((this.missingTeeth!= null)&&(!this.missingTeeth.isEmpty()))); } return buffer; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy