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

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

Go to download

The quick library for the Clinical Quality Language Java reference implementation

There is a newer version: 3.18.0
Show newest version
//
// This file was generated by the Eclipse Implementation of JAXB, v3.0.2 
// See https://eclipse-ee4j.github.io/jaxb-ri 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2024.08.16 at 09:36:55 AM MDT 
//


package org.hl7.fhir;

import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.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 ProcessResponse complex type. * *

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

 * <complexType name="ProcessResponse">
 *   <complexContent>
 *     <extension base="{http://hl7.org/fhir}DomainResource">
 *       <sequence>
 *         <element name="identifier" type="{http://hl7.org/fhir}Identifier" maxOccurs="unbounded" minOccurs="0"/>
 *         <choice minOccurs="0">
 *           <element name="requestIdentifier" type="{http://hl7.org/fhir}Identifier"/>
 *           <element name="requestReference" type="{http://hl7.org/fhir}Reference"/>
 *         </choice>
 *         <element name="outcome" type="{http://hl7.org/fhir}Coding" minOccurs="0"/>
 *         <element name="disposition" type="{http://hl7.org/fhir}string" minOccurs="0"/>
 *         <element name="ruleset" type="{http://hl7.org/fhir}Coding" minOccurs="0"/>
 *         <element name="originalRuleset" type="{http://hl7.org/fhir}Coding" minOccurs="0"/>
 *         <element name="created" type="{http://hl7.org/fhir}dateTime" minOccurs="0"/>
 *         <choice minOccurs="0">
 *           <element name="organizationIdentifier" type="{http://hl7.org/fhir}Identifier"/>
 *           <element name="organizationReference" type="{http://hl7.org/fhir}Reference"/>
 *         </choice>
 *         <choice minOccurs="0">
 *           <element name="requestProviderIdentifier" type="{http://hl7.org/fhir}Identifier"/>
 *           <element name="requestProviderReference" type="{http://hl7.org/fhir}Reference"/>
 *         </choice>
 *         <choice minOccurs="0">
 *           <element name="requestOrganizationIdentifier" type="{http://hl7.org/fhir}Identifier"/>
 *           <element name="requestOrganizationReference" type="{http://hl7.org/fhir}Reference"/>
 *         </choice>
 *         <element name="form" type="{http://hl7.org/fhir}Coding" minOccurs="0"/>
 *         <element name="notes" type="{http://hl7.org/fhir}ProcessResponse.Notes" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="error" type="{http://hl7.org/fhir}Coding" maxOccurs="unbounded" minOccurs="0"/>
 *       </sequence>
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "ProcessResponse", propOrder = { "identifier", "requestIdentifier", "requestReference", "outcome", "disposition", "ruleset", "originalRuleset", "created", "organizationIdentifier", "organizationReference", "requestProviderIdentifier", "requestProviderReference", "requestOrganizationIdentifier", "requestOrganizationReference", "form", "notes", "error" }) public class ProcessResponse extends DomainResource implements Equals2, HashCode2, ToString2 { protected List identifier; protected Identifier requestIdentifier; protected Reference requestReference; protected Coding outcome; protected org.hl7.fhir.String disposition; protected Coding ruleset; protected Coding originalRuleset; protected DateTime created; protected Identifier organizationIdentifier; protected Reference organizationReference; protected Identifier requestProviderIdentifier; protected Reference requestProviderReference; protected Identifier requestOrganizationIdentifier; protected Reference requestOrganizationReference; protected Coding form; protected List notes; protected List error; /** * Gets the value of the identifier property. * *

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

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

     *    getIdentifier().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link Identifier } * * */ public List getIdentifier() { if (identifier == null) { identifier = new ArrayList(); } return this.identifier; } /** * Gets the value of the requestIdentifier property. * * @return * possible object is * {@link Identifier } * */ public Identifier getRequestIdentifier() { return requestIdentifier; } /** * Sets the value of the requestIdentifier property. * * @param value * allowed object is * {@link Identifier } * */ public void setRequestIdentifier(Identifier value) { this.requestIdentifier = value; } /** * Gets the value of the requestReference property. * * @return * possible object is * {@link Reference } * */ public Reference getRequestReference() { return requestReference; } /** * Sets the value of the requestReference property. * * @param value * allowed object is * {@link Reference } * */ public void setRequestReference(Reference value) { this.requestReference = value; } /** * Gets the value of the outcome property. * * @return * possible object is * {@link Coding } * */ public Coding getOutcome() { return outcome; } /** * Sets the value of the outcome property. * * @param value * allowed object is * {@link Coding } * */ public void setOutcome(Coding value) { this.outcome = value; } /** * Gets the value of the disposition property. * * @return * possible object is * {@link org.hl7.fhir.String } * */ public org.hl7.fhir.String getDisposition() { return disposition; } /** * Sets the value of the disposition property. * * @param value * allowed object is * {@link org.hl7.fhir.String } * */ public void setDisposition(org.hl7.fhir.String value) { this.disposition = value; } /** * Gets the value of the ruleset property. * * @return * possible object is * {@link Coding } * */ public Coding getRuleset() { return ruleset; } /** * Sets the value of the ruleset property. * * @param value * allowed object is * {@link Coding } * */ public void setRuleset(Coding value) { this.ruleset = value; } /** * Gets the value of the originalRuleset property. * * @return * possible object is * {@link Coding } * */ public Coding getOriginalRuleset() { return originalRuleset; } /** * Sets the value of the originalRuleset property. * * @param value * allowed object is * {@link Coding } * */ public void setOriginalRuleset(Coding value) { this.originalRuleset = value; } /** * Gets the value of the created property. * * @return * possible object is * {@link DateTime } * */ public DateTime getCreated() { return created; } /** * Sets the value of the created property. * * @param value * allowed object is * {@link DateTime } * */ public void setCreated(DateTime value) { this.created = value; } /** * Gets the value of the organizationIdentifier property. * * @return * possible object is * {@link Identifier } * */ public Identifier getOrganizationIdentifier() { return organizationIdentifier; } /** * Sets the value of the organizationIdentifier property. * * @param value * allowed object is * {@link Identifier } * */ public void setOrganizationIdentifier(Identifier value) { this.organizationIdentifier = value; } /** * Gets the value of the organizationReference property. * * @return * possible object is * {@link Reference } * */ public Reference getOrganizationReference() { return organizationReference; } /** * Sets the value of the organizationReference property. * * @param value * allowed object is * {@link Reference } * */ public void setOrganizationReference(Reference value) { this.organizationReference = value; } /** * Gets the value of the requestProviderIdentifier property. * * @return * possible object is * {@link Identifier } * */ public Identifier getRequestProviderIdentifier() { return requestProviderIdentifier; } /** * Sets the value of the requestProviderIdentifier property. * * @param value * allowed object is * {@link Identifier } * */ public void setRequestProviderIdentifier(Identifier value) { this.requestProviderIdentifier = value; } /** * Gets the value of the requestProviderReference property. * * @return * possible object is * {@link Reference } * */ public Reference getRequestProviderReference() { return requestProviderReference; } /** * Sets the value of the requestProviderReference property. * * @param value * allowed object is * {@link Reference } * */ public void setRequestProviderReference(Reference value) { this.requestProviderReference = value; } /** * Gets the value of the requestOrganizationIdentifier property. * * @return * possible object is * {@link Identifier } * */ public Identifier getRequestOrganizationIdentifier() { return requestOrganizationIdentifier; } /** * Sets the value of the requestOrganizationIdentifier property. * * @param value * allowed object is * {@link Identifier } * */ public void setRequestOrganizationIdentifier(Identifier value) { this.requestOrganizationIdentifier = value; } /** * Gets the value of the requestOrganizationReference property. * * @return * possible object is * {@link Reference } * */ public Reference getRequestOrganizationReference() { return requestOrganizationReference; } /** * Sets the value of the requestOrganizationReference property. * * @param value * allowed object is * {@link Reference } * */ public void setRequestOrganizationReference(Reference value) { this.requestOrganizationReference = value; } /** * Gets the value of the form property. * * @return * possible object is * {@link Coding } * */ public Coding getForm() { return form; } /** * Sets the value of the form property. * * @param value * allowed object is * {@link Coding } * */ public void setForm(Coding value) { this.form = value; } /** * Gets the value of the notes 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 notes property. * *

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

     *    getNotes().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link ProcessResponseNotes } * * */ public List getNotes() { if (notes == null) { notes = new ArrayList(); } return this.notes; } /** * Gets the value of the error property. * *

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

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

     *    getError().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link Coding } * * */ public List getError() { if (error == null) { error = new ArrayList(); } return this.error; } public ProcessResponse withIdentifier(Identifier... values) { if (values!= null) { for (Identifier value: values) { getIdentifier().add(value); } } return this; } public ProcessResponse withIdentifier(Collection values) { if (values!= null) { getIdentifier().addAll(values); } return this; } public ProcessResponse withRequestIdentifier(Identifier value) { setRequestIdentifier(value); return this; } public ProcessResponse withRequestReference(Reference value) { setRequestReference(value); return this; } public ProcessResponse withOutcome(Coding value) { setOutcome(value); return this; } public ProcessResponse withDisposition(org.hl7.fhir.String value) { setDisposition(value); return this; } public ProcessResponse withRuleset(Coding value) { setRuleset(value); return this; } public ProcessResponse withOriginalRuleset(Coding value) { setOriginalRuleset(value); return this; } public ProcessResponse withCreated(DateTime value) { setCreated(value); return this; } public ProcessResponse withOrganizationIdentifier(Identifier value) { setOrganizationIdentifier(value); return this; } public ProcessResponse withOrganizationReference(Reference value) { setOrganizationReference(value); return this; } public ProcessResponse withRequestProviderIdentifier(Identifier value) { setRequestProviderIdentifier(value); return this; } public ProcessResponse withRequestProviderReference(Reference value) { setRequestProviderReference(value); return this; } public ProcessResponse withRequestOrganizationIdentifier(Identifier value) { setRequestOrganizationIdentifier(value); return this; } public ProcessResponse withRequestOrganizationReference(Reference value) { setRequestOrganizationReference(value); return this; } public ProcessResponse withForm(Coding value) { setForm(value); return this; } public ProcessResponse withNotes(ProcessResponseNotes... values) { if (values!= null) { for (ProcessResponseNotes value: values) { getNotes().add(value); } } return this; } public ProcessResponse withNotes(Collection values) { if (values!= null) { getNotes().addAll(values); } return this; } public ProcessResponse withError(Coding... values) { if (values!= null) { for (Coding value: values) { getError().add(value); } } return this; } public ProcessResponse withError(Collection values) { if (values!= null) { getError().addAll(values); } return this; } @Override public ProcessResponse withText(Narrative value) { setText(value); return this; } @Override public ProcessResponse withContained(ResourceContainer... values) { if (values!= null) { for (ResourceContainer value: values) { getContained().add(value); } } return this; } @Override public ProcessResponse withContained(Collection values) { if (values!= null) { getContained().addAll(values); } return this; } @Override public ProcessResponse withExtension(Extension... values) { if (values!= null) { for (Extension value: values) { getExtension().add(value); } } return this; } @Override public ProcessResponse withExtension(Collection values) { if (values!= null) { getExtension().addAll(values); } return this; } @Override public ProcessResponse withModifierExtension(Extension... values) { if (values!= null) { for (Extension value: values) { getModifierExtension().add(value); } } return this; } @Override public ProcessResponse withModifierExtension(Collection values) { if (values!= null) { getModifierExtension().addAll(values); } return this; } @Override public ProcessResponse withId(Id value) { setId(value); return this; } @Override public ProcessResponse withMeta(Meta value) { setMeta(value); return this; } @Override public ProcessResponse withImplicitRules(Uri value) { setImplicitRules(value); return this; } @Override public ProcessResponse 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 ProcessResponse that = ((ProcessResponse) object); { List lhsIdentifier; lhsIdentifier = (((this.identifier!= null)&&(!this.identifier.isEmpty()))?this.getIdentifier():null); List rhsIdentifier; rhsIdentifier = (((that.identifier!= null)&&(!that.identifier.isEmpty()))?that.getIdentifier():null); if (!strategy.equals(LocatorUtils.property(thisLocator, "identifier", lhsIdentifier), LocatorUtils.property(thatLocator, "identifier", rhsIdentifier), lhsIdentifier, rhsIdentifier, ((this.identifier!= null)&&(!this.identifier.isEmpty())), ((that.identifier!= null)&&(!that.identifier.isEmpty())))) { return false; } } { Identifier lhsRequestIdentifier; lhsRequestIdentifier = this.getRequestIdentifier(); Identifier rhsRequestIdentifier; rhsRequestIdentifier = that.getRequestIdentifier(); if (!strategy.equals(LocatorUtils.property(thisLocator, "requestIdentifier", lhsRequestIdentifier), LocatorUtils.property(thatLocator, "requestIdentifier", rhsRequestIdentifier), lhsRequestIdentifier, rhsRequestIdentifier, (this.requestIdentifier!= null), (that.requestIdentifier!= null))) { return false; } } { Reference lhsRequestReference; lhsRequestReference = this.getRequestReference(); Reference rhsRequestReference; rhsRequestReference = that.getRequestReference(); if (!strategy.equals(LocatorUtils.property(thisLocator, "requestReference", lhsRequestReference), LocatorUtils.property(thatLocator, "requestReference", rhsRequestReference), lhsRequestReference, rhsRequestReference, (this.requestReference!= null), (that.requestReference!= null))) { return false; } } { Coding lhsOutcome; lhsOutcome = this.getOutcome(); Coding rhsOutcome; rhsOutcome = that.getOutcome(); if (!strategy.equals(LocatorUtils.property(thisLocator, "outcome", lhsOutcome), LocatorUtils.property(thatLocator, "outcome", rhsOutcome), lhsOutcome, rhsOutcome, (this.outcome!= null), (that.outcome!= null))) { return false; } } { org.hl7.fhir.String lhsDisposition; lhsDisposition = this.getDisposition(); org.hl7.fhir.String rhsDisposition; rhsDisposition = that.getDisposition(); if (!strategy.equals(LocatorUtils.property(thisLocator, "disposition", lhsDisposition), LocatorUtils.property(thatLocator, "disposition", rhsDisposition), lhsDisposition, rhsDisposition, (this.disposition!= null), (that.disposition!= null))) { return false; } } { Coding lhsRuleset; lhsRuleset = this.getRuleset(); Coding rhsRuleset; rhsRuleset = that.getRuleset(); if (!strategy.equals(LocatorUtils.property(thisLocator, "ruleset", lhsRuleset), LocatorUtils.property(thatLocator, "ruleset", rhsRuleset), lhsRuleset, rhsRuleset, (this.ruleset!= null), (that.ruleset!= null))) { return false; } } { Coding lhsOriginalRuleset; lhsOriginalRuleset = this.getOriginalRuleset(); Coding rhsOriginalRuleset; rhsOriginalRuleset = that.getOriginalRuleset(); if (!strategy.equals(LocatorUtils.property(thisLocator, "originalRuleset", lhsOriginalRuleset), LocatorUtils.property(thatLocator, "originalRuleset", rhsOriginalRuleset), lhsOriginalRuleset, rhsOriginalRuleset, (this.originalRuleset!= null), (that.originalRuleset!= null))) { return false; } } { DateTime lhsCreated; lhsCreated = this.getCreated(); DateTime rhsCreated; rhsCreated = that.getCreated(); if (!strategy.equals(LocatorUtils.property(thisLocator, "created", lhsCreated), LocatorUtils.property(thatLocator, "created", rhsCreated), lhsCreated, rhsCreated, (this.created!= null), (that.created!= null))) { return false; } } { Identifier lhsOrganizationIdentifier; lhsOrganizationIdentifier = this.getOrganizationIdentifier(); Identifier rhsOrganizationIdentifier; rhsOrganizationIdentifier = that.getOrganizationIdentifier(); if (!strategy.equals(LocatorUtils.property(thisLocator, "organizationIdentifier", lhsOrganizationIdentifier), LocatorUtils.property(thatLocator, "organizationIdentifier", rhsOrganizationIdentifier), lhsOrganizationIdentifier, rhsOrganizationIdentifier, (this.organizationIdentifier!= null), (that.organizationIdentifier!= null))) { return false; } } { Reference lhsOrganizationReference; lhsOrganizationReference = this.getOrganizationReference(); Reference rhsOrganizationReference; rhsOrganizationReference = that.getOrganizationReference(); if (!strategy.equals(LocatorUtils.property(thisLocator, "organizationReference", lhsOrganizationReference), LocatorUtils.property(thatLocator, "organizationReference", rhsOrganizationReference), lhsOrganizationReference, rhsOrganizationReference, (this.organizationReference!= null), (that.organizationReference!= null))) { return false; } } { Identifier lhsRequestProviderIdentifier; lhsRequestProviderIdentifier = this.getRequestProviderIdentifier(); Identifier rhsRequestProviderIdentifier; rhsRequestProviderIdentifier = that.getRequestProviderIdentifier(); if (!strategy.equals(LocatorUtils.property(thisLocator, "requestProviderIdentifier", lhsRequestProviderIdentifier), LocatorUtils.property(thatLocator, "requestProviderIdentifier", rhsRequestProviderIdentifier), lhsRequestProviderIdentifier, rhsRequestProviderIdentifier, (this.requestProviderIdentifier!= null), (that.requestProviderIdentifier!= null))) { return false; } } { Reference lhsRequestProviderReference; lhsRequestProviderReference = this.getRequestProviderReference(); Reference rhsRequestProviderReference; rhsRequestProviderReference = that.getRequestProviderReference(); if (!strategy.equals(LocatorUtils.property(thisLocator, "requestProviderReference", lhsRequestProviderReference), LocatorUtils.property(thatLocator, "requestProviderReference", rhsRequestProviderReference), lhsRequestProviderReference, rhsRequestProviderReference, (this.requestProviderReference!= null), (that.requestProviderReference!= null))) { return false; } } { Identifier lhsRequestOrganizationIdentifier; lhsRequestOrganizationIdentifier = this.getRequestOrganizationIdentifier(); Identifier rhsRequestOrganizationIdentifier; rhsRequestOrganizationIdentifier = that.getRequestOrganizationIdentifier(); if (!strategy.equals(LocatorUtils.property(thisLocator, "requestOrganizationIdentifier", lhsRequestOrganizationIdentifier), LocatorUtils.property(thatLocator, "requestOrganizationIdentifier", rhsRequestOrganizationIdentifier), lhsRequestOrganizationIdentifier, rhsRequestOrganizationIdentifier, (this.requestOrganizationIdentifier!= null), (that.requestOrganizationIdentifier!= null))) { return false; } } { Reference lhsRequestOrganizationReference; lhsRequestOrganizationReference = this.getRequestOrganizationReference(); Reference rhsRequestOrganizationReference; rhsRequestOrganizationReference = that.getRequestOrganizationReference(); if (!strategy.equals(LocatorUtils.property(thisLocator, "requestOrganizationReference", lhsRequestOrganizationReference), LocatorUtils.property(thatLocator, "requestOrganizationReference", rhsRequestOrganizationReference), lhsRequestOrganizationReference, rhsRequestOrganizationReference, (this.requestOrganizationReference!= null), (that.requestOrganizationReference!= null))) { return false; } } { Coding lhsForm; lhsForm = this.getForm(); Coding rhsForm; rhsForm = that.getForm(); if (!strategy.equals(LocatorUtils.property(thisLocator, "form", lhsForm), LocatorUtils.property(thatLocator, "form", rhsForm), lhsForm, rhsForm, (this.form!= null), (that.form!= null))) { return false; } } { List lhsNotes; lhsNotes = (((this.notes!= null)&&(!this.notes.isEmpty()))?this.getNotes():null); List rhsNotes; rhsNotes = (((that.notes!= null)&&(!that.notes.isEmpty()))?that.getNotes():null); if (!strategy.equals(LocatorUtils.property(thisLocator, "notes", lhsNotes), LocatorUtils.property(thatLocator, "notes", rhsNotes), lhsNotes, rhsNotes, ((this.notes!= null)&&(!this.notes.isEmpty())), ((that.notes!= null)&&(!that.notes.isEmpty())))) { return false; } } { List lhsError; lhsError = (((this.error!= null)&&(!this.error.isEmpty()))?this.getError():null); List rhsError; rhsError = (((that.error!= null)&&(!that.error.isEmpty()))?that.getError():null); if (!strategy.equals(LocatorUtils.property(thisLocator, "error", lhsError), LocatorUtils.property(thatLocator, "error", rhsError), lhsError, rhsError, ((this.error!= null)&&(!this.error.isEmpty())), ((that.error!= null)&&(!that.error.isEmpty())))) { return false; } } return true; } @Override public boolean equals(Object object) { final EqualsStrategy2 strategy = JAXBEqualsStrategy.getInstance(); return equals(null, null, object, strategy); } @Override public int hashCode(ObjectLocator locator, HashCodeStrategy2 strategy) { int currentHashCode = super.hashCode(locator, strategy); { List theIdentifier; theIdentifier = (((this.identifier!= null)&&(!this.identifier.isEmpty()))?this.getIdentifier():null); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "identifier", theIdentifier), currentHashCode, theIdentifier, ((this.identifier!= null)&&(!this.identifier.isEmpty()))); } { Identifier theRequestIdentifier; theRequestIdentifier = this.getRequestIdentifier(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "requestIdentifier", theRequestIdentifier), currentHashCode, theRequestIdentifier, (this.requestIdentifier!= null)); } { Reference theRequestReference; theRequestReference = this.getRequestReference(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "requestReference", theRequestReference), currentHashCode, theRequestReference, (this.requestReference!= null)); } { Coding theOutcome; theOutcome = this.getOutcome(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "outcome", theOutcome), currentHashCode, theOutcome, (this.outcome!= null)); } { org.hl7.fhir.String theDisposition; theDisposition = this.getDisposition(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "disposition", theDisposition), currentHashCode, theDisposition, (this.disposition!= null)); } { Coding theRuleset; theRuleset = this.getRuleset(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "ruleset", theRuleset), currentHashCode, theRuleset, (this.ruleset!= null)); } { Coding theOriginalRuleset; theOriginalRuleset = this.getOriginalRuleset(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "originalRuleset", theOriginalRuleset), currentHashCode, theOriginalRuleset, (this.originalRuleset!= null)); } { DateTime theCreated; theCreated = this.getCreated(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "created", theCreated), currentHashCode, theCreated, (this.created!= null)); } { Identifier theOrganizationIdentifier; theOrganizationIdentifier = this.getOrganizationIdentifier(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "organizationIdentifier", theOrganizationIdentifier), currentHashCode, theOrganizationIdentifier, (this.organizationIdentifier!= null)); } { Reference theOrganizationReference; theOrganizationReference = this.getOrganizationReference(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "organizationReference", theOrganizationReference), currentHashCode, theOrganizationReference, (this.organizationReference!= null)); } { Identifier theRequestProviderIdentifier; theRequestProviderIdentifier = this.getRequestProviderIdentifier(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "requestProviderIdentifier", theRequestProviderIdentifier), currentHashCode, theRequestProviderIdentifier, (this.requestProviderIdentifier!= null)); } { Reference theRequestProviderReference; theRequestProviderReference = this.getRequestProviderReference(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "requestProviderReference", theRequestProviderReference), currentHashCode, theRequestProviderReference, (this.requestProviderReference!= null)); } { Identifier theRequestOrganizationIdentifier; theRequestOrganizationIdentifier = this.getRequestOrganizationIdentifier(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "requestOrganizationIdentifier", theRequestOrganizationIdentifier), currentHashCode, theRequestOrganizationIdentifier, (this.requestOrganizationIdentifier!= null)); } { Reference theRequestOrganizationReference; theRequestOrganizationReference = this.getRequestOrganizationReference(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "requestOrganizationReference", theRequestOrganizationReference), currentHashCode, theRequestOrganizationReference, (this.requestOrganizationReference!= null)); } { Coding theForm; theForm = this.getForm(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "form", theForm), currentHashCode, theForm, (this.form!= null)); } { List theNotes; theNotes = (((this.notes!= null)&&(!this.notes.isEmpty()))?this.getNotes():null); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "notes", theNotes), currentHashCode, theNotes, ((this.notes!= null)&&(!this.notes.isEmpty()))); } { List theError; theError = (((this.error!= null)&&(!this.error.isEmpty()))?this.getError():null); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "error", theError), currentHashCode, theError, ((this.error!= null)&&(!this.error.isEmpty()))); } return currentHashCode; } @Override public int hashCode() { final HashCodeStrategy2 strategy = JAXBHashCodeStrategy.getInstance(); return this.hashCode(null, strategy); } @Override public java.lang.String toString() { final ToStringStrategy2 strategy = JAXBToStringStrategy.getInstance(); final StringBuilder buffer = new StringBuilder(); append(null, buffer, strategy); return buffer.toString(); } @Override public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy2 strategy) { strategy.appendStart(locator, this, buffer); appendFields(locator, buffer, strategy); strategy.appendEnd(locator, this, buffer); return buffer; } @Override public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy2 strategy) { super.appendFields(locator, buffer, strategy); { List theIdentifier; theIdentifier = (((this.identifier!= null)&&(!this.identifier.isEmpty()))?this.getIdentifier():null); strategy.appendField(locator, this, "identifier", buffer, theIdentifier, ((this.identifier!= null)&&(!this.identifier.isEmpty()))); } { Identifier theRequestIdentifier; theRequestIdentifier = this.getRequestIdentifier(); strategy.appendField(locator, this, "requestIdentifier", buffer, theRequestIdentifier, (this.requestIdentifier!= null)); } { Reference theRequestReference; theRequestReference = this.getRequestReference(); strategy.appendField(locator, this, "requestReference", buffer, theRequestReference, (this.requestReference!= null)); } { Coding theOutcome; theOutcome = this.getOutcome(); strategy.appendField(locator, this, "outcome", buffer, theOutcome, (this.outcome!= null)); } { org.hl7.fhir.String theDisposition; theDisposition = this.getDisposition(); strategy.appendField(locator, this, "disposition", buffer, theDisposition, (this.disposition!= null)); } { Coding theRuleset; theRuleset = this.getRuleset(); strategy.appendField(locator, this, "ruleset", buffer, theRuleset, (this.ruleset!= null)); } { Coding theOriginalRuleset; theOriginalRuleset = this.getOriginalRuleset(); strategy.appendField(locator, this, "originalRuleset", buffer, theOriginalRuleset, (this.originalRuleset!= null)); } { DateTime theCreated; theCreated = this.getCreated(); strategy.appendField(locator, this, "created", buffer, theCreated, (this.created!= null)); } { Identifier theOrganizationIdentifier; theOrganizationIdentifier = this.getOrganizationIdentifier(); strategy.appendField(locator, this, "organizationIdentifier", buffer, theOrganizationIdentifier, (this.organizationIdentifier!= null)); } { Reference theOrganizationReference; theOrganizationReference = this.getOrganizationReference(); strategy.appendField(locator, this, "organizationReference", buffer, theOrganizationReference, (this.organizationReference!= null)); } { Identifier theRequestProviderIdentifier; theRequestProviderIdentifier = this.getRequestProviderIdentifier(); strategy.appendField(locator, this, "requestProviderIdentifier", buffer, theRequestProviderIdentifier, (this.requestProviderIdentifier!= null)); } { Reference theRequestProviderReference; theRequestProviderReference = this.getRequestProviderReference(); strategy.appendField(locator, this, "requestProviderReference", buffer, theRequestProviderReference, (this.requestProviderReference!= null)); } { Identifier theRequestOrganizationIdentifier; theRequestOrganizationIdentifier = this.getRequestOrganizationIdentifier(); strategy.appendField(locator, this, "requestOrganizationIdentifier", buffer, theRequestOrganizationIdentifier, (this.requestOrganizationIdentifier!= null)); } { Reference theRequestOrganizationReference; theRequestOrganizationReference = this.getRequestOrganizationReference(); strategy.appendField(locator, this, "requestOrganizationReference", buffer, theRequestOrganizationReference, (this.requestOrganizationReference!= null)); } { Coding theForm; theForm = this.getForm(); strategy.appendField(locator, this, "form", buffer, theForm, (this.form!= null)); } { List theNotes; theNotes = (((this.notes!= null)&&(!this.notes.isEmpty()))?this.getNotes():null); strategy.appendField(locator, this, "notes", buffer, theNotes, ((this.notes!= null)&&(!this.notes.isEmpty()))); } { List theError; theError = (((this.error!= null)&&(!this.error.isEmpty()))?this.getError():null); strategy.appendField(locator, this, "error", buffer, theError, ((this.error!= null)&&(!this.error.isEmpty()))); } return buffer; } public void setIdentifier(List value) { this.identifier = value; } public void setNotes(List value) { this.notes = value; } public void setError(List value) { this.error = value; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy