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

org.hl7.fhir.GuidanceResponseAction 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;


/**
 * A guidance response is the formal response to a guidance request, including any output parameters returned by the evaluation, as well as the description of any proposed actions to be taken.
 * 
 * 

Java class for GuidanceResponse.Action complex type. * *

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

 * <complexType name="GuidanceResponse.Action">
 *   <complexContent>
 *     <extension base="{http://hl7.org/fhir}BackboneElement">
 *       <sequence>
 *         <element name="actionIdentifier" type="{http://hl7.org/fhir}Identifier" minOccurs="0"/>
 *         <element name="label" type="{http://hl7.org/fhir}string" minOccurs="0"/>
 *         <element name="title" type="{http://hl7.org/fhir}string" minOccurs="0"/>
 *         <element name="description" type="{http://hl7.org/fhir}string" minOccurs="0"/>
 *         <element name="textEquivalent" type="{http://hl7.org/fhir}string" minOccurs="0"/>
 *         <element name="concept" type="{http://hl7.org/fhir}CodeableConcept" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="supportingEvidence" type="{http://hl7.org/fhir}Attachment" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="relatedAction" type="{http://hl7.org/fhir}GuidanceResponse.RelatedAction" minOccurs="0"/>
 *         <element name="documentation" type="{http://hl7.org/fhir}Attachment" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="participant" type="{http://hl7.org/fhir}Reference" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="type" type="{http://hl7.org/fhir}code" minOccurs="0"/>
 *         <element name="behavior" type="{http://hl7.org/fhir}GuidanceResponse.Behavior" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="resource" type="{http://hl7.org/fhir}Reference" minOccurs="0"/>
 *         <element name="action" type="{http://hl7.org/fhir}GuidanceResponse.Action" maxOccurs="unbounded" minOccurs="0"/>
 *       </sequence>
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "GuidanceResponse.Action", propOrder = { "actionIdentifier", "label", "title", "description", "textEquivalent", "concept", "supportingEvidence", "relatedAction", "documentation", "participant", "type", "behavior", "resource", "action" }) public class GuidanceResponseAction extends BackboneElement implements Equals2, HashCode2, ToString2 { protected Identifier actionIdentifier; protected org.hl7.fhir.String label; protected org.hl7.fhir.String title; protected org.hl7.fhir.String description; protected org.hl7.fhir.String textEquivalent; protected List concept; protected List supportingEvidence; protected GuidanceResponseRelatedAction relatedAction; protected List documentation; protected List participant; protected Code type; protected List behavior; protected Reference resource; protected List action; /** * Gets the value of the actionIdentifier property. * * @return * possible object is * {@link Identifier } * */ public Identifier getActionIdentifier() { return actionIdentifier; } /** * Sets the value of the actionIdentifier property. * * @param value * allowed object is * {@link Identifier } * */ public void setActionIdentifier(Identifier value) { this.actionIdentifier = value; } /** * Gets the value of the label property. * * @return * possible object is * {@link org.hl7.fhir.String } * */ public org.hl7.fhir.String getLabel() { return label; } /** * Sets the value of the label property. * * @param value * allowed object is * {@link org.hl7.fhir.String } * */ public void setLabel(org.hl7.fhir.String value) { this.label = value; } /** * Gets the value of the title property. * * @return * possible object is * {@link org.hl7.fhir.String } * */ public org.hl7.fhir.String getTitle() { return title; } /** * Sets the value of the title property. * * @param value * allowed object is * {@link org.hl7.fhir.String } * */ public void setTitle(org.hl7.fhir.String value) { this.title = value; } /** * Gets the value of the description property. * * @return * possible object is * {@link org.hl7.fhir.String } * */ public org.hl7.fhir.String getDescription() { return description; } /** * Sets the value of the description property. * * @param value * allowed object is * {@link org.hl7.fhir.String } * */ public void setDescription(org.hl7.fhir.String value) { this.description = value; } /** * Gets the value of the textEquivalent property. * * @return * possible object is * {@link org.hl7.fhir.String } * */ public org.hl7.fhir.String getTextEquivalent() { return textEquivalent; } /** * Sets the value of the textEquivalent property. * * @param value * allowed object is * {@link org.hl7.fhir.String } * */ public void setTextEquivalent(org.hl7.fhir.String value) { this.textEquivalent = value; } /** * Gets the value of the concept 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 concept property. * *

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

     *    getConcept().add(newItem);
     * 
* * *

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

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

     *    getSupportingEvidence().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link Attachment } * * */ public List getSupportingEvidence() { if (supportingEvidence == null) { supportingEvidence = new ArrayList(); } return this.supportingEvidence; } /** * Gets the value of the relatedAction property. * * @return * possible object is * {@link GuidanceResponseRelatedAction } * */ public GuidanceResponseRelatedAction getRelatedAction() { return relatedAction; } /** * Sets the value of the relatedAction property. * * @param value * allowed object is * {@link GuidanceResponseRelatedAction } * */ public void setRelatedAction(GuidanceResponseRelatedAction value) { this.relatedAction = value; } /** * Gets the value of the documentation 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 documentation property. * *

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

     *    getDocumentation().add(newItem);
     * 
* * *

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

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

     *    getParticipant().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link Reference } * * */ public List getParticipant() { if (participant == null) { participant = new ArrayList(); } return this.participant; } /** * Gets the value of the type property. * * @return * possible object is * {@link Code } * */ public Code getType() { return type; } /** * Sets the value of the type property. * * @param value * allowed object is * {@link Code } * */ public void setType(Code value) { this.type = value; } /** * Gets the value of the behavior 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 behavior property. * *

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

     *    getBehavior().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link GuidanceResponseBehavior } * * */ public List getBehavior() { if (behavior == null) { behavior = new ArrayList(); } return this.behavior; } /** * Gets the value of the resource property. * * @return * possible object is * {@link Reference } * */ public Reference getResource() { return resource; } /** * Sets the value of the resource property. * * @param value * allowed object is * {@link Reference } * */ public void setResource(Reference value) { this.resource = value; } /** * Gets the value of the action 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 action property. * *

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

     *    getAction().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link GuidanceResponseAction } * * */ public List getAction() { if (action == null) { action = new ArrayList(); } return this.action; } public GuidanceResponseAction withActionIdentifier(Identifier value) { setActionIdentifier(value); return this; } public GuidanceResponseAction withLabel(org.hl7.fhir.String value) { setLabel(value); return this; } public GuidanceResponseAction withTitle(org.hl7.fhir.String value) { setTitle(value); return this; } public GuidanceResponseAction withDescription(org.hl7.fhir.String value) { setDescription(value); return this; } public GuidanceResponseAction withTextEquivalent(org.hl7.fhir.String value) { setTextEquivalent(value); return this; } public GuidanceResponseAction withConcept(CodeableConcept... values) { if (values!= null) { for (CodeableConcept value: values) { getConcept().add(value); } } return this; } public GuidanceResponseAction withConcept(Collection values) { if (values!= null) { getConcept().addAll(values); } return this; } public GuidanceResponseAction withSupportingEvidence(Attachment... values) { if (values!= null) { for (Attachment value: values) { getSupportingEvidence().add(value); } } return this; } public GuidanceResponseAction withSupportingEvidence(Collection values) { if (values!= null) { getSupportingEvidence().addAll(values); } return this; } public GuidanceResponseAction withRelatedAction(GuidanceResponseRelatedAction value) { setRelatedAction(value); return this; } public GuidanceResponseAction withDocumentation(Attachment... values) { if (values!= null) { for (Attachment value: values) { getDocumentation().add(value); } } return this; } public GuidanceResponseAction withDocumentation(Collection values) { if (values!= null) { getDocumentation().addAll(values); } return this; } public GuidanceResponseAction withParticipant(Reference... values) { if (values!= null) { for (Reference value: values) { getParticipant().add(value); } } return this; } public GuidanceResponseAction withParticipant(Collection values) { if (values!= null) { getParticipant().addAll(values); } return this; } public GuidanceResponseAction withType(Code value) { setType(value); return this; } public GuidanceResponseAction withBehavior(GuidanceResponseBehavior... values) { if (values!= null) { for (GuidanceResponseBehavior value: values) { getBehavior().add(value); } } return this; } public GuidanceResponseAction withBehavior(Collection values) { if (values!= null) { getBehavior().addAll(values); } return this; } public GuidanceResponseAction withResource(Reference value) { setResource(value); return this; } public GuidanceResponseAction withAction(GuidanceResponseAction... values) { if (values!= null) { for (GuidanceResponseAction value: values) { getAction().add(value); } } return this; } public GuidanceResponseAction withAction(Collection values) { if (values!= null) { getAction().addAll(values); } return this; } @Override public GuidanceResponseAction withModifierExtension(Extension... values) { if (values!= null) { for (Extension value: values) { getModifierExtension().add(value); } } return this; } @Override public GuidanceResponseAction withModifierExtension(Collection values) { if (values!= null) { getModifierExtension().addAll(values); } return this; } @Override public GuidanceResponseAction withExtension(Extension... values) { if (values!= null) { for (Extension value: values) { getExtension().add(value); } } return this; } @Override public GuidanceResponseAction withExtension(Collection values) { if (values!= null) { getExtension().addAll(values); } return this; } @Override public GuidanceResponseAction withId(java.lang.String value) { setId(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 GuidanceResponseAction that = ((GuidanceResponseAction) object); { Identifier lhsActionIdentifier; lhsActionIdentifier = this.getActionIdentifier(); Identifier rhsActionIdentifier; rhsActionIdentifier = that.getActionIdentifier(); if (!strategy.equals(LocatorUtils.property(thisLocator, "actionIdentifier", lhsActionIdentifier), LocatorUtils.property(thatLocator, "actionIdentifier", rhsActionIdentifier), lhsActionIdentifier, rhsActionIdentifier, (this.actionIdentifier!= null), (that.actionIdentifier!= null))) { return false; } } { org.hl7.fhir.String lhsLabel; lhsLabel = this.getLabel(); org.hl7.fhir.String rhsLabel; rhsLabel = that.getLabel(); if (!strategy.equals(LocatorUtils.property(thisLocator, "label", lhsLabel), LocatorUtils.property(thatLocator, "label", rhsLabel), lhsLabel, rhsLabel, (this.label!= null), (that.label!= null))) { return false; } } { org.hl7.fhir.String lhsTitle; lhsTitle = this.getTitle(); org.hl7.fhir.String rhsTitle; rhsTitle = that.getTitle(); if (!strategy.equals(LocatorUtils.property(thisLocator, "title", lhsTitle), LocatorUtils.property(thatLocator, "title", rhsTitle), lhsTitle, rhsTitle, (this.title!= null), (that.title!= null))) { return false; } } { org.hl7.fhir.String lhsDescription; lhsDescription = this.getDescription(); org.hl7.fhir.String rhsDescription; rhsDescription = that.getDescription(); if (!strategy.equals(LocatorUtils.property(thisLocator, "description", lhsDescription), LocatorUtils.property(thatLocator, "description", rhsDescription), lhsDescription, rhsDescription, (this.description!= null), (that.description!= null))) { return false; } } { org.hl7.fhir.String lhsTextEquivalent; lhsTextEquivalent = this.getTextEquivalent(); org.hl7.fhir.String rhsTextEquivalent; rhsTextEquivalent = that.getTextEquivalent(); if (!strategy.equals(LocatorUtils.property(thisLocator, "textEquivalent", lhsTextEquivalent), LocatorUtils.property(thatLocator, "textEquivalent", rhsTextEquivalent), lhsTextEquivalent, rhsTextEquivalent, (this.textEquivalent!= null), (that.textEquivalent!= null))) { return false; } } { List lhsConcept; lhsConcept = (((this.concept!= null)&&(!this.concept.isEmpty()))?this.getConcept():null); List rhsConcept; rhsConcept = (((that.concept!= null)&&(!that.concept.isEmpty()))?that.getConcept():null); if (!strategy.equals(LocatorUtils.property(thisLocator, "concept", lhsConcept), LocatorUtils.property(thatLocator, "concept", rhsConcept), lhsConcept, rhsConcept, ((this.concept!= null)&&(!this.concept.isEmpty())), ((that.concept!= null)&&(!that.concept.isEmpty())))) { return false; } } { List lhsSupportingEvidence; lhsSupportingEvidence = (((this.supportingEvidence!= null)&&(!this.supportingEvidence.isEmpty()))?this.getSupportingEvidence():null); List rhsSupportingEvidence; rhsSupportingEvidence = (((that.supportingEvidence!= null)&&(!that.supportingEvidence.isEmpty()))?that.getSupportingEvidence():null); if (!strategy.equals(LocatorUtils.property(thisLocator, "supportingEvidence", lhsSupportingEvidence), LocatorUtils.property(thatLocator, "supportingEvidence", rhsSupportingEvidence), lhsSupportingEvidence, rhsSupportingEvidence, ((this.supportingEvidence!= null)&&(!this.supportingEvidence.isEmpty())), ((that.supportingEvidence!= null)&&(!that.supportingEvidence.isEmpty())))) { return false; } } { GuidanceResponseRelatedAction lhsRelatedAction; lhsRelatedAction = this.getRelatedAction(); GuidanceResponseRelatedAction rhsRelatedAction; rhsRelatedAction = that.getRelatedAction(); if (!strategy.equals(LocatorUtils.property(thisLocator, "relatedAction", lhsRelatedAction), LocatorUtils.property(thatLocator, "relatedAction", rhsRelatedAction), lhsRelatedAction, rhsRelatedAction, (this.relatedAction!= null), (that.relatedAction!= null))) { return false; } } { List lhsDocumentation; lhsDocumentation = (((this.documentation!= null)&&(!this.documentation.isEmpty()))?this.getDocumentation():null); List rhsDocumentation; rhsDocumentation = (((that.documentation!= null)&&(!that.documentation.isEmpty()))?that.getDocumentation():null); if (!strategy.equals(LocatorUtils.property(thisLocator, "documentation", lhsDocumentation), LocatorUtils.property(thatLocator, "documentation", rhsDocumentation), lhsDocumentation, rhsDocumentation, ((this.documentation!= null)&&(!this.documentation.isEmpty())), ((that.documentation!= null)&&(!that.documentation.isEmpty())))) { return false; } } { List lhsParticipant; lhsParticipant = (((this.participant!= null)&&(!this.participant.isEmpty()))?this.getParticipant():null); List rhsParticipant; rhsParticipant = (((that.participant!= null)&&(!that.participant.isEmpty()))?that.getParticipant():null); if (!strategy.equals(LocatorUtils.property(thisLocator, "participant", lhsParticipant), LocatorUtils.property(thatLocator, "participant", rhsParticipant), lhsParticipant, rhsParticipant, ((this.participant!= null)&&(!this.participant.isEmpty())), ((that.participant!= null)&&(!that.participant.isEmpty())))) { return false; } } { Code lhsType; lhsType = this.getType(); Code 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 lhsBehavior; lhsBehavior = (((this.behavior!= null)&&(!this.behavior.isEmpty()))?this.getBehavior():null); List rhsBehavior; rhsBehavior = (((that.behavior!= null)&&(!that.behavior.isEmpty()))?that.getBehavior():null); if (!strategy.equals(LocatorUtils.property(thisLocator, "behavior", lhsBehavior), LocatorUtils.property(thatLocator, "behavior", rhsBehavior), lhsBehavior, rhsBehavior, ((this.behavior!= null)&&(!this.behavior.isEmpty())), ((that.behavior!= null)&&(!that.behavior.isEmpty())))) { return false; } } { Reference lhsResource; lhsResource = this.getResource(); Reference rhsResource; rhsResource = that.getResource(); if (!strategy.equals(LocatorUtils.property(thisLocator, "resource", lhsResource), LocatorUtils.property(thatLocator, "resource", rhsResource), lhsResource, rhsResource, (this.resource!= null), (that.resource!= null))) { return false; } } { List lhsAction; lhsAction = (((this.action!= null)&&(!this.action.isEmpty()))?this.getAction():null); List rhsAction; rhsAction = (((that.action!= null)&&(!that.action.isEmpty()))?that.getAction():null); if (!strategy.equals(LocatorUtils.property(thisLocator, "action", lhsAction), LocatorUtils.property(thatLocator, "action", rhsAction), lhsAction, rhsAction, ((this.action!= null)&&(!this.action.isEmpty())), ((that.action!= null)&&(!that.action.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); { Identifier theActionIdentifier; theActionIdentifier = this.getActionIdentifier(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "actionIdentifier", theActionIdentifier), currentHashCode, theActionIdentifier, (this.actionIdentifier!= null)); } { org.hl7.fhir.String theLabel; theLabel = this.getLabel(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "label", theLabel), currentHashCode, theLabel, (this.label!= null)); } { org.hl7.fhir.String theTitle; theTitle = this.getTitle(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "title", theTitle), currentHashCode, theTitle, (this.title!= null)); } { org.hl7.fhir.String theDescription; theDescription = this.getDescription(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "description", theDescription), currentHashCode, theDescription, (this.description!= null)); } { org.hl7.fhir.String theTextEquivalent; theTextEquivalent = this.getTextEquivalent(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "textEquivalent", theTextEquivalent), currentHashCode, theTextEquivalent, (this.textEquivalent!= null)); } { List theConcept; theConcept = (((this.concept!= null)&&(!this.concept.isEmpty()))?this.getConcept():null); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "concept", theConcept), currentHashCode, theConcept, ((this.concept!= null)&&(!this.concept.isEmpty()))); } { List theSupportingEvidence; theSupportingEvidence = (((this.supportingEvidence!= null)&&(!this.supportingEvidence.isEmpty()))?this.getSupportingEvidence():null); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "supportingEvidence", theSupportingEvidence), currentHashCode, theSupportingEvidence, ((this.supportingEvidence!= null)&&(!this.supportingEvidence.isEmpty()))); } { GuidanceResponseRelatedAction theRelatedAction; theRelatedAction = this.getRelatedAction(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "relatedAction", theRelatedAction), currentHashCode, theRelatedAction, (this.relatedAction!= null)); } { List theDocumentation; theDocumentation = (((this.documentation!= null)&&(!this.documentation.isEmpty()))?this.getDocumentation():null); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "documentation", theDocumentation), currentHashCode, theDocumentation, ((this.documentation!= null)&&(!this.documentation.isEmpty()))); } { List theParticipant; theParticipant = (((this.participant!= null)&&(!this.participant.isEmpty()))?this.getParticipant():null); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "participant", theParticipant), currentHashCode, theParticipant, ((this.participant!= null)&&(!this.participant.isEmpty()))); } { Code theType; theType = this.getType(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "type", theType), currentHashCode, theType, (this.type!= null)); } { List theBehavior; theBehavior = (((this.behavior!= null)&&(!this.behavior.isEmpty()))?this.getBehavior():null); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "behavior", theBehavior), currentHashCode, theBehavior, ((this.behavior!= null)&&(!this.behavior.isEmpty()))); } { Reference theResource; theResource = this.getResource(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "resource", theResource), currentHashCode, theResource, (this.resource!= null)); } { List theAction; theAction = (((this.action!= null)&&(!this.action.isEmpty()))?this.getAction():null); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "action", theAction), currentHashCode, theAction, ((this.action!= null)&&(!this.action.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); { Identifier theActionIdentifier; theActionIdentifier = this.getActionIdentifier(); strategy.appendField(locator, this, "actionIdentifier", buffer, theActionIdentifier, (this.actionIdentifier!= null)); } { org.hl7.fhir.String theLabel; theLabel = this.getLabel(); strategy.appendField(locator, this, "label", buffer, theLabel, (this.label!= null)); } { org.hl7.fhir.String theTitle; theTitle = this.getTitle(); strategy.appendField(locator, this, "title", buffer, theTitle, (this.title!= null)); } { org.hl7.fhir.String theDescription; theDescription = this.getDescription(); strategy.appendField(locator, this, "description", buffer, theDescription, (this.description!= null)); } { org.hl7.fhir.String theTextEquivalent; theTextEquivalent = this.getTextEquivalent(); strategy.appendField(locator, this, "textEquivalent", buffer, theTextEquivalent, (this.textEquivalent!= null)); } { List theConcept; theConcept = (((this.concept!= null)&&(!this.concept.isEmpty()))?this.getConcept():null); strategy.appendField(locator, this, "concept", buffer, theConcept, ((this.concept!= null)&&(!this.concept.isEmpty()))); } { List theSupportingEvidence; theSupportingEvidence = (((this.supportingEvidence!= null)&&(!this.supportingEvidence.isEmpty()))?this.getSupportingEvidence():null); strategy.appendField(locator, this, "supportingEvidence", buffer, theSupportingEvidence, ((this.supportingEvidence!= null)&&(!this.supportingEvidence.isEmpty()))); } { GuidanceResponseRelatedAction theRelatedAction; theRelatedAction = this.getRelatedAction(); strategy.appendField(locator, this, "relatedAction", buffer, theRelatedAction, (this.relatedAction!= null)); } { List theDocumentation; theDocumentation = (((this.documentation!= null)&&(!this.documentation.isEmpty()))?this.getDocumentation():null); strategy.appendField(locator, this, "documentation", buffer, theDocumentation, ((this.documentation!= null)&&(!this.documentation.isEmpty()))); } { List theParticipant; theParticipant = (((this.participant!= null)&&(!this.participant.isEmpty()))?this.getParticipant():null); strategy.appendField(locator, this, "participant", buffer, theParticipant, ((this.participant!= null)&&(!this.participant.isEmpty()))); } { Code theType; theType = this.getType(); strategy.appendField(locator, this, "type", buffer, theType, (this.type!= null)); } { List theBehavior; theBehavior = (((this.behavior!= null)&&(!this.behavior.isEmpty()))?this.getBehavior():null); strategy.appendField(locator, this, "behavior", buffer, theBehavior, ((this.behavior!= null)&&(!this.behavior.isEmpty()))); } { Reference theResource; theResource = this.getResource(); strategy.appendField(locator, this, "resource", buffer, theResource, (this.resource!= null)); } { List theAction; theAction = (((this.action!= null)&&(!this.action.isEmpty()))?this.getAction():null); strategy.appendField(locator, this, "action", buffer, theAction, ((this.action!= null)&&(!this.action.isEmpty()))); } return buffer; } public void setConcept(List value) { this.concept = value; } public void setSupportingEvidence(List value) { this.supportingEvidence = value; } public void setDocumentation(List value) { this.documentation = value; } public void setParticipant(List value) { this.participant = value; } public void setBehavior(List value) { this.behavior = value; } public void setAction(List value) { this.action = value; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy