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

org.hl7.fhir.ProcessRequest 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 ProcessRequest complex type. * *

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

 * <complexType name="ProcessRequest">
 *   <complexContent>
 *     <extension base="{http://hl7.org/fhir}DomainResource">
 *       <sequence>
 *         <element name="action" type="{http://hl7.org/fhir}ActionList"/>
 *         <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>
 *         <choice minOccurs="0">
 *           <element name="requestIdentifier" type="{http://hl7.org/fhir}Identifier"/>
 *           <element name="requestReference" type="{http://hl7.org/fhir}Reference"/>
 *         </choice>
 *         <choice minOccurs="0">
 *           <element name="responseIdentifier" type="{http://hl7.org/fhir}Identifier"/>
 *           <element name="responseReference" type="{http://hl7.org/fhir}Reference"/>
 *         </choice>
 *         <element name="nullify" type="{http://hl7.org/fhir}boolean" minOccurs="0"/>
 *         <element name="reference" type="{http://hl7.org/fhir}string" minOccurs="0"/>
 *         <element name="item" type="{http://hl7.org/fhir}ProcessRequest.Item" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="include" type="{http://hl7.org/fhir}string" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="exclude" type="{http://hl7.org/fhir}string" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="period" type="{http://hl7.org/fhir}Period" minOccurs="0"/>
 *       </sequence>
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "ProcessRequest", propOrder = { "action", "identifier", "ruleset", "originalRuleset", "created", "targetIdentifier", "targetReference", "providerIdentifier", "providerReference", "organizationIdentifier", "organizationReference", "requestIdentifier", "requestReference", "responseIdentifier", "responseReference", "nullify", "reference", "item", "include", "exclude", "period" }) public class ProcessRequest extends DomainResource implements Equals2, HashCode2, ToString2 { @XmlElement(required = true) protected ActionList action; 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 Identifier requestIdentifier; protected Reference requestReference; protected Identifier responseIdentifier; protected Reference responseReference; protected Boolean nullify; protected org.hl7.fhir.String reference; protected List item; protected List include; protected List exclude; protected Period period; /** * Gets the value of the action property. * * @return * possible object is * {@link ActionList } * */ public ActionList getAction() { return action; } /** * Sets the value of the action property. * * @param value * allowed object is * {@link ActionList } * */ public void setAction(ActionList value) { this.action = value; } /** * 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 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 requestIdentifier property. * * @return * possible object is * {@link Identifier } * */ public Identifier getRequestIdentifier() { return requestIdentifier; } /** * Sets the value of the requestIdentifier property. * * @param value * allowed object is * {@link Identifier } * */ public void setRequestIdentifier(Identifier value) { this.requestIdentifier = value; } /** * Gets the value of the requestReference property. * * @return * possible object is * {@link Reference } * */ public Reference getRequestReference() { return requestReference; } /** * Sets the value of the requestReference property. * * @param value * allowed object is * {@link Reference } * */ public void setRequestReference(Reference value) { this.requestReference = value; } /** * Gets the value of the responseIdentifier property. * * @return * possible object is * {@link Identifier } * */ public Identifier getResponseIdentifier() { return responseIdentifier; } /** * Sets the value of the responseIdentifier property. * * @param value * allowed object is * {@link Identifier } * */ public void setResponseIdentifier(Identifier value) { this.responseIdentifier = value; } /** * Gets the value of the responseReference property. * * @return * possible object is * {@link Reference } * */ public Reference getResponseReference() { return responseReference; } /** * Sets the value of the responseReference property. * * @param value * allowed object is * {@link Reference } * */ public void setResponseReference(Reference value) { this.responseReference = value; } /** * Gets the value of the nullify property. * * @return * possible object is * {@link Boolean } * */ public Boolean getNullify() { return nullify; } /** * Sets the value of the nullify property. * * @param value * allowed object is * {@link Boolean } * */ public void setNullify(Boolean value) { this.nullify = value; } /** * Gets the value of the reference property. * * @return * possible object is * {@link org.hl7.fhir.String } * */ public org.hl7.fhir.String getReference() { return reference; } /** * Sets the value of the reference property. * * @param value * allowed object is * {@link org.hl7.fhir.String } * */ public void setReference(org.hl7.fhir.String value) { this.reference = 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 ProcessRequestItem } * * */ public List getItem() { if (item == null) { item = new ArrayList(); } return this.item; } /** * Gets the value of the include 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 include property. * *

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

     *    getInclude().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link org.hl7.fhir.String } * * */ public List getInclude() { if (include == null) { include = new ArrayList(); } return this.include; } /** * Gets the value of the exclude 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 exclude property. * *

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

     *    getExclude().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link org.hl7.fhir.String } * * */ public List getExclude() { if (exclude == null) { exclude = new ArrayList(); } return this.exclude; } /** * Gets the value of the period property. * * @return * possible object is * {@link Period } * */ public Period getPeriod() { return period; } /** * Sets the value of the period property. * * @param value * allowed object is * {@link Period } * */ public void setPeriod(Period value) { this.period = value; } public ProcessRequest withAction(ActionList value) { setAction(value); return this; } public ProcessRequest withIdentifier(Identifier... values) { if (values!= null) { for (Identifier value: values) { getIdentifier().add(value); } } return this; } public ProcessRequest withIdentifier(Collection values) { if (values!= null) { getIdentifier().addAll(values); } return this; } public ProcessRequest withRuleset(Coding value) { setRuleset(value); return this; } public ProcessRequest withOriginalRuleset(Coding value) { setOriginalRuleset(value); return this; } public ProcessRequest withCreated(DateTime value) { setCreated(value); return this; } public ProcessRequest withTargetIdentifier(Identifier value) { setTargetIdentifier(value); return this; } public ProcessRequest withTargetReference(Reference value) { setTargetReference(value); return this; } public ProcessRequest withProviderIdentifier(Identifier value) { setProviderIdentifier(value); return this; } public ProcessRequest withProviderReference(Reference value) { setProviderReference(value); return this; } public ProcessRequest withOrganizationIdentifier(Identifier value) { setOrganizationIdentifier(value); return this; } public ProcessRequest withOrganizationReference(Reference value) { setOrganizationReference(value); return this; } public ProcessRequest withRequestIdentifier(Identifier value) { setRequestIdentifier(value); return this; } public ProcessRequest withRequestReference(Reference value) { setRequestReference(value); return this; } public ProcessRequest withResponseIdentifier(Identifier value) { setResponseIdentifier(value); return this; } public ProcessRequest withResponseReference(Reference value) { setResponseReference(value); return this; } public ProcessRequest withNullify(Boolean value) { setNullify(value); return this; } public ProcessRequest withReference(org.hl7.fhir.String value) { setReference(value); return this; } public ProcessRequest withItem(ProcessRequestItem... values) { if (values!= null) { for (ProcessRequestItem value: values) { getItem().add(value); } } return this; } public ProcessRequest withItem(Collection values) { if (values!= null) { getItem().addAll(values); } return this; } public ProcessRequest withInclude(org.hl7.fhir.String... values) { if (values!= null) { for (org.hl7.fhir.String value: values) { getInclude().add(value); } } return this; } public ProcessRequest withInclude(Collection values) { if (values!= null) { getInclude().addAll(values); } return this; } public ProcessRequest withExclude(org.hl7.fhir.String... values) { if (values!= null) { for (org.hl7.fhir.String value: values) { getExclude().add(value); } } return this; } public ProcessRequest withExclude(Collection values) { if (values!= null) { getExclude().addAll(values); } return this; } public ProcessRequest withPeriod(Period value) { setPeriod(value); return this; } @Override public ProcessRequest withText(Narrative value) { setText(value); return this; } @Override public ProcessRequest withContained(ResourceContainer... values) { if (values!= null) { for (ResourceContainer value: values) { getContained().add(value); } } return this; } @Override public ProcessRequest withContained(Collection values) { if (values!= null) { getContained().addAll(values); } return this; } @Override public ProcessRequest withExtension(Extension... values) { if (values!= null) { for (Extension value: values) { getExtension().add(value); } } return this; } @Override public ProcessRequest withExtension(Collection values) { if (values!= null) { getExtension().addAll(values); } return this; } @Override public ProcessRequest withModifierExtension(Extension... values) { if (values!= null) { for (Extension value: values) { getModifierExtension().add(value); } } return this; } @Override public ProcessRequest withModifierExtension(Collection values) { if (values!= null) { getModifierExtension().addAll(values); } return this; } @Override public ProcessRequest withId(Id value) { setId(value); return this; } @Override public ProcessRequest withMeta(Meta value) { setMeta(value); return this; } @Override public ProcessRequest withImplicitRules(Uri value) { setImplicitRules(value); return this; } @Override public ProcessRequest 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 ProcessRequest that = ((ProcessRequest) object); { ActionList lhsAction; lhsAction = this.getAction(); ActionList rhsAction; rhsAction = that.getAction(); if (!strategy.equals(LocatorUtils.property(thisLocator, "action", lhsAction), LocatorUtils.property(thatLocator, "action", rhsAction), lhsAction, rhsAction, (this.action!= null), (that.action!= null))) { 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; } } { 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; } } { Identifier lhsRequestIdentifier; lhsRequestIdentifier = this.getRequestIdentifier(); Identifier rhsRequestIdentifier; rhsRequestIdentifier = that.getRequestIdentifier(); if (!strategy.equals(LocatorUtils.property(thisLocator, "requestIdentifier", lhsRequestIdentifier), LocatorUtils.property(thatLocator, "requestIdentifier", rhsRequestIdentifier), lhsRequestIdentifier, rhsRequestIdentifier, (this.requestIdentifier!= null), (that.requestIdentifier!= null))) { return false; } } { Reference lhsRequestReference; lhsRequestReference = this.getRequestReference(); Reference rhsRequestReference; rhsRequestReference = that.getRequestReference(); if (!strategy.equals(LocatorUtils.property(thisLocator, "requestReference", lhsRequestReference), LocatorUtils.property(thatLocator, "requestReference", rhsRequestReference), lhsRequestReference, rhsRequestReference, (this.requestReference!= null), (that.requestReference!= null))) { return false; } } { Identifier lhsResponseIdentifier; lhsResponseIdentifier = this.getResponseIdentifier(); Identifier rhsResponseIdentifier; rhsResponseIdentifier = that.getResponseIdentifier(); if (!strategy.equals(LocatorUtils.property(thisLocator, "responseIdentifier", lhsResponseIdentifier), LocatorUtils.property(thatLocator, "responseIdentifier", rhsResponseIdentifier), lhsResponseIdentifier, rhsResponseIdentifier, (this.responseIdentifier!= null), (that.responseIdentifier!= null))) { return false; } } { Reference lhsResponseReference; lhsResponseReference = this.getResponseReference(); Reference rhsResponseReference; rhsResponseReference = that.getResponseReference(); if (!strategy.equals(LocatorUtils.property(thisLocator, "responseReference", lhsResponseReference), LocatorUtils.property(thatLocator, "responseReference", rhsResponseReference), lhsResponseReference, rhsResponseReference, (this.responseReference!= null), (that.responseReference!= null))) { return false; } } { Boolean lhsNullify; lhsNullify = this.getNullify(); Boolean rhsNullify; rhsNullify = that.getNullify(); if (!strategy.equals(LocatorUtils.property(thisLocator, "nullify", lhsNullify), LocatorUtils.property(thatLocator, "nullify", rhsNullify), lhsNullify, rhsNullify, (this.nullify!= null), (that.nullify!= null))) { return false; } } { org.hl7.fhir.String lhsReference; lhsReference = this.getReference(); org.hl7.fhir.String rhsReference; rhsReference = that.getReference(); if (!strategy.equals(LocatorUtils.property(thisLocator, "reference", lhsReference), LocatorUtils.property(thatLocator, "reference", rhsReference), lhsReference, rhsReference, (this.reference!= null), (that.reference!= 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; } } { List lhsInclude; lhsInclude = (((this.include!= null)&&(!this.include.isEmpty()))?this.getInclude():null); List rhsInclude; rhsInclude = (((that.include!= null)&&(!that.include.isEmpty()))?that.getInclude():null); if (!strategy.equals(LocatorUtils.property(thisLocator, "include", lhsInclude), LocatorUtils.property(thatLocator, "include", rhsInclude), lhsInclude, rhsInclude, ((this.include!= null)&&(!this.include.isEmpty())), ((that.include!= null)&&(!that.include.isEmpty())))) { return false; } } { List lhsExclude; lhsExclude = (((this.exclude!= null)&&(!this.exclude.isEmpty()))?this.getExclude():null); List rhsExclude; rhsExclude = (((that.exclude!= null)&&(!that.exclude.isEmpty()))?that.getExclude():null); if (!strategy.equals(LocatorUtils.property(thisLocator, "exclude", lhsExclude), LocatorUtils.property(thatLocator, "exclude", rhsExclude), lhsExclude, rhsExclude, ((this.exclude!= null)&&(!this.exclude.isEmpty())), ((that.exclude!= null)&&(!that.exclude.isEmpty())))) { return false; } } { Period lhsPeriod; lhsPeriod = this.getPeriod(); Period rhsPeriod; rhsPeriod = that.getPeriod(); if (!strategy.equals(LocatorUtils.property(thisLocator, "period", lhsPeriod), LocatorUtils.property(thatLocator, "period", rhsPeriod), lhsPeriod, rhsPeriod, (this.period!= null), (that.period!= null))) { return false; } } 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); { ActionList theAction; theAction = this.getAction(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "action", theAction), currentHashCode, theAction, (this.action!= null)); } { 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)); } { Identifier theRequestIdentifier; theRequestIdentifier = this.getRequestIdentifier(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "requestIdentifier", theRequestIdentifier), currentHashCode, theRequestIdentifier, (this.requestIdentifier!= null)); } { Reference theRequestReference; theRequestReference = this.getRequestReference(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "requestReference", theRequestReference), currentHashCode, theRequestReference, (this.requestReference!= null)); } { Identifier theResponseIdentifier; theResponseIdentifier = this.getResponseIdentifier(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "responseIdentifier", theResponseIdentifier), currentHashCode, theResponseIdentifier, (this.responseIdentifier!= null)); } { Reference theResponseReference; theResponseReference = this.getResponseReference(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "responseReference", theResponseReference), currentHashCode, theResponseReference, (this.responseReference!= null)); } { Boolean theNullify; theNullify = this.getNullify(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "nullify", theNullify), currentHashCode, theNullify, (this.nullify!= null)); } { org.hl7.fhir.String theReference; theReference = this.getReference(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "reference", theReference), currentHashCode, theReference, (this.reference!= 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()))); } { List theInclude; theInclude = (((this.include!= null)&&(!this.include.isEmpty()))?this.getInclude():null); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "include", theInclude), currentHashCode, theInclude, ((this.include!= null)&&(!this.include.isEmpty()))); } { List theExclude; theExclude = (((this.exclude!= null)&&(!this.exclude.isEmpty()))?this.getExclude():null); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "exclude", theExclude), currentHashCode, theExclude, ((this.exclude!= null)&&(!this.exclude.isEmpty()))); } { Period thePeriod; thePeriod = this.getPeriod(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "period", thePeriod), currentHashCode, thePeriod, (this.period!= 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); { ActionList theAction; theAction = this.getAction(); strategy.appendField(locator, this, "action", buffer, theAction, (this.action!= null)); } { 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)); } { Identifier theRequestIdentifier; theRequestIdentifier = this.getRequestIdentifier(); strategy.appendField(locator, this, "requestIdentifier", buffer, theRequestIdentifier, (this.requestIdentifier!= null)); } { Reference theRequestReference; theRequestReference = this.getRequestReference(); strategy.appendField(locator, this, "requestReference", buffer, theRequestReference, (this.requestReference!= null)); } { Identifier theResponseIdentifier; theResponseIdentifier = this.getResponseIdentifier(); strategy.appendField(locator, this, "responseIdentifier", buffer, theResponseIdentifier, (this.responseIdentifier!= null)); } { Reference theResponseReference; theResponseReference = this.getResponseReference(); strategy.appendField(locator, this, "responseReference", buffer, theResponseReference, (this.responseReference!= null)); } { Boolean theNullify; theNullify = this.getNullify(); strategy.appendField(locator, this, "nullify", buffer, theNullify, (this.nullify!= null)); } { org.hl7.fhir.String theReference; theReference = this.getReference(); strategy.appendField(locator, this, "reference", buffer, theReference, (this.reference!= 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()))); } { List theInclude; theInclude = (((this.include!= null)&&(!this.include.isEmpty()))?this.getInclude():null); strategy.appendField(locator, this, "include", buffer, theInclude, ((this.include!= null)&&(!this.include.isEmpty()))); } { List theExclude; theExclude = (((this.exclude!= null)&&(!this.exclude.isEmpty()))?this.getExclude():null); strategy.appendField(locator, this, "exclude", buffer, theExclude, ((this.exclude!= null)&&(!this.exclude.isEmpty()))); } { Period thePeriod; thePeriod = this.getPeriod(); strategy.appendField(locator, this, "period", buffer, thePeriod, (this.period!= null)); } return buffer; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy