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

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

Go to download

The quick library for the Clinical Quality Language Java reference implementation

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


package org.hl7.fhir;

import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
import org.jvnet.jaxb2_commons.lang.Equals2;
import org.jvnet.jaxb2_commons.lang.EqualsStrategy2;
import org.jvnet.jaxb2_commons.lang.HashCode2;
import org.jvnet.jaxb2_commons.lang.HashCodeStrategy2;
import org.jvnet.jaxb2_commons.lang.JAXBEqualsStrategy;
import org.jvnet.jaxb2_commons.lang.JAXBHashCodeStrategy;
import org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy;
import org.jvnet.jaxb2_commons.lang.ToString2;
import org.jvnet.jaxb2_commons.lang.ToStringStrategy2;
import org.jvnet.jaxb2_commons.locator.ObjectLocator;
import org.jvnet.jaxb2_commons.locator.util.LocatorUtils;


/**
 * If the element is present, it must have either a @value, an @id, or extensions
 * 
 * 

Java class for ExpansionProfile complex type. * *

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

 * <complexType name="ExpansionProfile">
 *   <complexContent>
 *     <extension base="{http://hl7.org/fhir}DomainResource">
 *       <sequence>
 *         <element name="url" type="{http://hl7.org/fhir}uri" minOccurs="0"/>
 *         <element name="identifier" type="{http://hl7.org/fhir}Identifier" minOccurs="0"/>
 *         <element name="version" type="{http://hl7.org/fhir}string" minOccurs="0"/>
 *         <element name="name" type="{http://hl7.org/fhir}string" minOccurs="0"/>
 *         <element name="status" type="{http://hl7.org/fhir}ConformanceResourceStatus"/>
 *         <element name="experimental" type="{http://hl7.org/fhir}boolean" minOccurs="0"/>
 *         <element name="publisher" type="{http://hl7.org/fhir}string" minOccurs="0"/>
 *         <element name="contact" type="{http://hl7.org/fhir}ExpansionProfile.Contact" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="date" type="{http://hl7.org/fhir}dateTime" minOccurs="0"/>
 *         <element name="description" type="{http://hl7.org/fhir}string" minOccurs="0"/>
 *         <element name="codeSystem" type="{http://hl7.org/fhir}ExpansionProfile.CodeSystem" minOccurs="0"/>
 *         <element name="includeDesignations" type="{http://hl7.org/fhir}boolean" minOccurs="0"/>
 *         <element name="designation" type="{http://hl7.org/fhir}ExpansionProfile.Designation" minOccurs="0"/>
 *         <element name="includeDefinition" type="{http://hl7.org/fhir}boolean" minOccurs="0"/>
 *         <element name="includeInactive" type="{http://hl7.org/fhir}boolean" minOccurs="0"/>
 *         <element name="excludeNested" type="{http://hl7.org/fhir}boolean" minOccurs="0"/>
 *         <element name="excludeNotForUI" type="{http://hl7.org/fhir}boolean" minOccurs="0"/>
 *         <element name="excludePostCoordinated" type="{http://hl7.org/fhir}boolean" minOccurs="0"/>
 *         <element name="displayLanguage" type="{http://hl7.org/fhir}code" minOccurs="0"/>
 *         <element name="limitedExpansion" type="{http://hl7.org/fhir}boolean" minOccurs="0"/>
 *       </sequence>
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "ExpansionProfile", propOrder = { "url", "identifier", "version", "name", "status", "experimental", "publisher", "contact", "date", "description", "codeSystem", "includeDesignations", "designation", "includeDefinition", "includeInactive", "excludeNested", "excludeNotForUI", "excludePostCoordinated", "displayLanguage", "limitedExpansion" }) public class ExpansionProfile extends DomainResource implements Equals2, HashCode2, ToString2 { protected Uri url; protected Identifier identifier; protected org.hl7.fhir.String version; protected org.hl7.fhir.String name; @XmlElement(required = true) protected ConformanceResourceStatus status; protected Boolean experimental; protected org.hl7.fhir.String publisher; protected List contact; protected DateTime date; protected org.hl7.fhir.String description; protected ExpansionProfileCodeSystem codeSystem; protected Boolean includeDesignations; protected ExpansionProfileDesignation designation; protected Boolean includeDefinition; protected Boolean includeInactive; protected Boolean excludeNested; protected Boolean excludeNotForUI; protected Boolean excludePostCoordinated; protected Code displayLanguage; protected Boolean limitedExpansion; /** * Gets the value of the url property. * * @return * possible object is * {@link Uri } * */ public Uri getUrl() { return url; } /** * Sets the value of the url property. * * @param value * allowed object is * {@link Uri } * */ public void setUrl(Uri value) { this.url = value; } /** * Gets the value of the identifier property. * * @return * possible object is * {@link Identifier } * */ public Identifier getIdentifier() { return identifier; } /** * Sets the value of the identifier property. * * @param value * allowed object is * {@link Identifier } * */ public void setIdentifier(Identifier value) { this.identifier = value; } /** * Gets the value of the version property. * * @return * possible object is * {@link org.hl7.fhir.String } * */ public org.hl7.fhir.String getVersion() { return version; } /** * Sets the value of the version property. * * @param value * allowed object is * {@link org.hl7.fhir.String } * */ public void setVersion(org.hl7.fhir.String value) { this.version = value; } /** * Gets the value of the name property. * * @return * possible object is * {@link org.hl7.fhir.String } * */ public org.hl7.fhir.String getName() { return name; } /** * Sets the value of the name property. * * @param value * allowed object is * {@link org.hl7.fhir.String } * */ public void setName(org.hl7.fhir.String value) { this.name = value; } /** * Gets the value of the status property. * * @return * possible object is * {@link ConformanceResourceStatus } * */ public ConformanceResourceStatus getStatus() { return status; } /** * Sets the value of the status property. * * @param value * allowed object is * {@link ConformanceResourceStatus } * */ public void setStatus(ConformanceResourceStatus value) { this.status = value; } /** * Gets the value of the experimental property. * * @return * possible object is * {@link Boolean } * */ public Boolean getExperimental() { return experimental; } /** * Sets the value of the experimental property. * * @param value * allowed object is * {@link Boolean } * */ public void setExperimental(Boolean value) { this.experimental = value; } /** * Gets the value of the publisher property. * * @return * possible object is * {@link org.hl7.fhir.String } * */ public org.hl7.fhir.String getPublisher() { return publisher; } /** * Sets the value of the publisher property. * * @param value * allowed object is * {@link org.hl7.fhir.String } * */ public void setPublisher(org.hl7.fhir.String value) { this.publisher = value; } /** * Gets the value of the contact property. * *

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

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

     *    getContact().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link ExpansionProfileContact } * * */ public List getContact() { if (contact == null) { contact = new ArrayList(); } return this.contact; } /** * Gets the value of the date property. * * @return * possible object is * {@link DateTime } * */ public DateTime getDate() { return date; } /** * Sets the value of the date property. * * @param value * allowed object is * {@link DateTime } * */ public void setDate(DateTime value) { this.date = 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 codeSystem property. * * @return * possible object is * {@link ExpansionProfileCodeSystem } * */ public ExpansionProfileCodeSystem getCodeSystem() { return codeSystem; } /** * Sets the value of the codeSystem property. * * @param value * allowed object is * {@link ExpansionProfileCodeSystem } * */ public void setCodeSystem(ExpansionProfileCodeSystem value) { this.codeSystem = value; } /** * Gets the value of the includeDesignations property. * * @return * possible object is * {@link Boolean } * */ public Boolean getIncludeDesignations() { return includeDesignations; } /** * Sets the value of the includeDesignations property. * * @param value * allowed object is * {@link Boolean } * */ public void setIncludeDesignations(Boolean value) { this.includeDesignations = value; } /** * Gets the value of the designation property. * * @return * possible object is * {@link ExpansionProfileDesignation } * */ public ExpansionProfileDesignation getDesignation() { return designation; } /** * Sets the value of the designation property. * * @param value * allowed object is * {@link ExpansionProfileDesignation } * */ public void setDesignation(ExpansionProfileDesignation value) { this.designation = value; } /** * Gets the value of the includeDefinition property. * * @return * possible object is * {@link Boolean } * */ public Boolean getIncludeDefinition() { return includeDefinition; } /** * Sets the value of the includeDefinition property. * * @param value * allowed object is * {@link Boolean } * */ public void setIncludeDefinition(Boolean value) { this.includeDefinition = value; } /** * Gets the value of the includeInactive property. * * @return * possible object is * {@link Boolean } * */ public Boolean getIncludeInactive() { return includeInactive; } /** * Sets the value of the includeInactive property. * * @param value * allowed object is * {@link Boolean } * */ public void setIncludeInactive(Boolean value) { this.includeInactive = value; } /** * Gets the value of the excludeNested property. * * @return * possible object is * {@link Boolean } * */ public Boolean getExcludeNested() { return excludeNested; } /** * Sets the value of the excludeNested property. * * @param value * allowed object is * {@link Boolean } * */ public void setExcludeNested(Boolean value) { this.excludeNested = value; } /** * Gets the value of the excludeNotForUI property. * * @return * possible object is * {@link Boolean } * */ public Boolean getExcludeNotForUI() { return excludeNotForUI; } /** * Sets the value of the excludeNotForUI property. * * @param value * allowed object is * {@link Boolean } * */ public void setExcludeNotForUI(Boolean value) { this.excludeNotForUI = value; } /** * Gets the value of the excludePostCoordinated property. * * @return * possible object is * {@link Boolean } * */ public Boolean getExcludePostCoordinated() { return excludePostCoordinated; } /** * Sets the value of the excludePostCoordinated property. * * @param value * allowed object is * {@link Boolean } * */ public void setExcludePostCoordinated(Boolean value) { this.excludePostCoordinated = value; } /** * Gets the value of the displayLanguage property. * * @return * possible object is * {@link Code } * */ public Code getDisplayLanguage() { return displayLanguage; } /** * Sets the value of the displayLanguage property. * * @param value * allowed object is * {@link Code } * */ public void setDisplayLanguage(Code value) { this.displayLanguage = value; } /** * Gets the value of the limitedExpansion property. * * @return * possible object is * {@link Boolean } * */ public Boolean getLimitedExpansion() { return limitedExpansion; } /** * Sets the value of the limitedExpansion property. * * @param value * allowed object is * {@link Boolean } * */ public void setLimitedExpansion(Boolean value) { this.limitedExpansion = value; } public ExpansionProfile withUrl(Uri value) { setUrl(value); return this; } public ExpansionProfile withIdentifier(Identifier value) { setIdentifier(value); return this; } public ExpansionProfile withVersion(org.hl7.fhir.String value) { setVersion(value); return this; } public ExpansionProfile withName(org.hl7.fhir.String value) { setName(value); return this; } public ExpansionProfile withStatus(ConformanceResourceStatus value) { setStatus(value); return this; } public ExpansionProfile withExperimental(Boolean value) { setExperimental(value); return this; } public ExpansionProfile withPublisher(org.hl7.fhir.String value) { setPublisher(value); return this; } public ExpansionProfile withContact(ExpansionProfileContact... values) { if (values!= null) { for (ExpansionProfileContact value: values) { getContact().add(value); } } return this; } public ExpansionProfile withContact(Collection values) { if (values!= null) { getContact().addAll(values); } return this; } public ExpansionProfile withDate(DateTime value) { setDate(value); return this; } public ExpansionProfile withDescription(org.hl7.fhir.String value) { setDescription(value); return this; } public ExpansionProfile withCodeSystem(ExpansionProfileCodeSystem value) { setCodeSystem(value); return this; } public ExpansionProfile withIncludeDesignations(Boolean value) { setIncludeDesignations(value); return this; } public ExpansionProfile withDesignation(ExpansionProfileDesignation value) { setDesignation(value); return this; } public ExpansionProfile withIncludeDefinition(Boolean value) { setIncludeDefinition(value); return this; } public ExpansionProfile withIncludeInactive(Boolean value) { setIncludeInactive(value); return this; } public ExpansionProfile withExcludeNested(Boolean value) { setExcludeNested(value); return this; } public ExpansionProfile withExcludeNotForUI(Boolean value) { setExcludeNotForUI(value); return this; } public ExpansionProfile withExcludePostCoordinated(Boolean value) { setExcludePostCoordinated(value); return this; } public ExpansionProfile withDisplayLanguage(Code value) { setDisplayLanguage(value); return this; } public ExpansionProfile withLimitedExpansion(Boolean value) { setLimitedExpansion(value); return this; } @Override public ExpansionProfile withText(Narrative value) { setText(value); return this; } @Override public ExpansionProfile withContained(ResourceContainer... values) { if (values!= null) { for (ResourceContainer value: values) { getContained().add(value); } } return this; } @Override public ExpansionProfile withContained(Collection values) { if (values!= null) { getContained().addAll(values); } return this; } @Override public ExpansionProfile withExtension(Extension... values) { if (values!= null) { for (Extension value: values) { getExtension().add(value); } } return this; } @Override public ExpansionProfile withExtension(Collection values) { if (values!= null) { getExtension().addAll(values); } return this; } @Override public ExpansionProfile withModifierExtension(Extension... values) { if (values!= null) { for (Extension value: values) { getModifierExtension().add(value); } } return this; } @Override public ExpansionProfile withModifierExtension(Collection values) { if (values!= null) { getModifierExtension().addAll(values); } return this; } @Override public ExpansionProfile withId(Id value) { setId(value); return this; } @Override public ExpansionProfile withMeta(Meta value) { setMeta(value); return this; } @Override public ExpansionProfile withImplicitRules(Uri value) { setImplicitRules(value); return this; } @Override public ExpansionProfile 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 ExpansionProfile that = ((ExpansionProfile) object); { Uri lhsUrl; lhsUrl = this.getUrl(); Uri rhsUrl; rhsUrl = that.getUrl(); if (!strategy.equals(LocatorUtils.property(thisLocator, "url", lhsUrl), LocatorUtils.property(thatLocator, "url", rhsUrl), lhsUrl, rhsUrl, (this.url!= null), (that.url!= null))) { return false; } } { Identifier lhsIdentifier; lhsIdentifier = this.getIdentifier(); Identifier rhsIdentifier; rhsIdentifier = that.getIdentifier(); if (!strategy.equals(LocatorUtils.property(thisLocator, "identifier", lhsIdentifier), LocatorUtils.property(thatLocator, "identifier", rhsIdentifier), lhsIdentifier, rhsIdentifier, (this.identifier!= null), (that.identifier!= null))) { return false; } } { org.hl7.fhir.String lhsVersion; lhsVersion = this.getVersion(); org.hl7.fhir.String rhsVersion; rhsVersion = that.getVersion(); if (!strategy.equals(LocatorUtils.property(thisLocator, "version", lhsVersion), LocatorUtils.property(thatLocator, "version", rhsVersion), lhsVersion, rhsVersion, (this.version!= null), (that.version!= null))) { return false; } } { org.hl7.fhir.String lhsName; lhsName = this.getName(); org.hl7.fhir.String rhsName; rhsName = that.getName(); if (!strategy.equals(LocatorUtils.property(thisLocator, "name", lhsName), LocatorUtils.property(thatLocator, "name", rhsName), lhsName, rhsName, (this.name!= null), (that.name!= null))) { return false; } } { ConformanceResourceStatus lhsStatus; lhsStatus = this.getStatus(); ConformanceResourceStatus rhsStatus; rhsStatus = that.getStatus(); if (!strategy.equals(LocatorUtils.property(thisLocator, "status", lhsStatus), LocatorUtils.property(thatLocator, "status", rhsStatus), lhsStatus, rhsStatus, (this.status!= null), (that.status!= null))) { return false; } } { Boolean lhsExperimental; lhsExperimental = this.getExperimental(); Boolean rhsExperimental; rhsExperimental = that.getExperimental(); if (!strategy.equals(LocatorUtils.property(thisLocator, "experimental", lhsExperimental), LocatorUtils.property(thatLocator, "experimental", rhsExperimental), lhsExperimental, rhsExperimental, (this.experimental!= null), (that.experimental!= null))) { return false; } } { org.hl7.fhir.String lhsPublisher; lhsPublisher = this.getPublisher(); org.hl7.fhir.String rhsPublisher; rhsPublisher = that.getPublisher(); if (!strategy.equals(LocatorUtils.property(thisLocator, "publisher", lhsPublisher), LocatorUtils.property(thatLocator, "publisher", rhsPublisher), lhsPublisher, rhsPublisher, (this.publisher!= null), (that.publisher!= null))) { return false; } } { List lhsContact; lhsContact = (((this.contact!= null)&&(!this.contact.isEmpty()))?this.getContact():null); List rhsContact; rhsContact = (((that.contact!= null)&&(!that.contact.isEmpty()))?that.getContact():null); if (!strategy.equals(LocatorUtils.property(thisLocator, "contact", lhsContact), LocatorUtils.property(thatLocator, "contact", rhsContact), lhsContact, rhsContact, ((this.contact!= null)&&(!this.contact.isEmpty())), ((that.contact!= null)&&(!that.contact.isEmpty())))) { return false; } } { DateTime lhsDate; lhsDate = this.getDate(); DateTime rhsDate; rhsDate = that.getDate(); if (!strategy.equals(LocatorUtils.property(thisLocator, "date", lhsDate), LocatorUtils.property(thatLocator, "date", rhsDate), lhsDate, rhsDate, (this.date!= null), (that.date!= 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; } } { ExpansionProfileCodeSystem lhsCodeSystem; lhsCodeSystem = this.getCodeSystem(); ExpansionProfileCodeSystem rhsCodeSystem; rhsCodeSystem = that.getCodeSystem(); if (!strategy.equals(LocatorUtils.property(thisLocator, "codeSystem", lhsCodeSystem), LocatorUtils.property(thatLocator, "codeSystem", rhsCodeSystem), lhsCodeSystem, rhsCodeSystem, (this.codeSystem!= null), (that.codeSystem!= null))) { return false; } } { Boolean lhsIncludeDesignations; lhsIncludeDesignations = this.getIncludeDesignations(); Boolean rhsIncludeDesignations; rhsIncludeDesignations = that.getIncludeDesignations(); if (!strategy.equals(LocatorUtils.property(thisLocator, "includeDesignations", lhsIncludeDesignations), LocatorUtils.property(thatLocator, "includeDesignations", rhsIncludeDesignations), lhsIncludeDesignations, rhsIncludeDesignations, (this.includeDesignations!= null), (that.includeDesignations!= null))) { return false; } } { ExpansionProfileDesignation lhsDesignation; lhsDesignation = this.getDesignation(); ExpansionProfileDesignation rhsDesignation; rhsDesignation = that.getDesignation(); if (!strategy.equals(LocatorUtils.property(thisLocator, "designation", lhsDesignation), LocatorUtils.property(thatLocator, "designation", rhsDesignation), lhsDesignation, rhsDesignation, (this.designation!= null), (that.designation!= null))) { return false; } } { Boolean lhsIncludeDefinition; lhsIncludeDefinition = this.getIncludeDefinition(); Boolean rhsIncludeDefinition; rhsIncludeDefinition = that.getIncludeDefinition(); if (!strategy.equals(LocatorUtils.property(thisLocator, "includeDefinition", lhsIncludeDefinition), LocatorUtils.property(thatLocator, "includeDefinition", rhsIncludeDefinition), lhsIncludeDefinition, rhsIncludeDefinition, (this.includeDefinition!= null), (that.includeDefinition!= null))) { return false; } } { Boolean lhsIncludeInactive; lhsIncludeInactive = this.getIncludeInactive(); Boolean rhsIncludeInactive; rhsIncludeInactive = that.getIncludeInactive(); if (!strategy.equals(LocatorUtils.property(thisLocator, "includeInactive", lhsIncludeInactive), LocatorUtils.property(thatLocator, "includeInactive", rhsIncludeInactive), lhsIncludeInactive, rhsIncludeInactive, (this.includeInactive!= null), (that.includeInactive!= null))) { return false; } } { Boolean lhsExcludeNested; lhsExcludeNested = this.getExcludeNested(); Boolean rhsExcludeNested; rhsExcludeNested = that.getExcludeNested(); if (!strategy.equals(LocatorUtils.property(thisLocator, "excludeNested", lhsExcludeNested), LocatorUtils.property(thatLocator, "excludeNested", rhsExcludeNested), lhsExcludeNested, rhsExcludeNested, (this.excludeNested!= null), (that.excludeNested!= null))) { return false; } } { Boolean lhsExcludeNotForUI; lhsExcludeNotForUI = this.getExcludeNotForUI(); Boolean rhsExcludeNotForUI; rhsExcludeNotForUI = that.getExcludeNotForUI(); if (!strategy.equals(LocatorUtils.property(thisLocator, "excludeNotForUI", lhsExcludeNotForUI), LocatorUtils.property(thatLocator, "excludeNotForUI", rhsExcludeNotForUI), lhsExcludeNotForUI, rhsExcludeNotForUI, (this.excludeNotForUI!= null), (that.excludeNotForUI!= null))) { return false; } } { Boolean lhsExcludePostCoordinated; lhsExcludePostCoordinated = this.getExcludePostCoordinated(); Boolean rhsExcludePostCoordinated; rhsExcludePostCoordinated = that.getExcludePostCoordinated(); if (!strategy.equals(LocatorUtils.property(thisLocator, "excludePostCoordinated", lhsExcludePostCoordinated), LocatorUtils.property(thatLocator, "excludePostCoordinated", rhsExcludePostCoordinated), lhsExcludePostCoordinated, rhsExcludePostCoordinated, (this.excludePostCoordinated!= null), (that.excludePostCoordinated!= null))) { return false; } } { Code lhsDisplayLanguage; lhsDisplayLanguage = this.getDisplayLanguage(); Code rhsDisplayLanguage; rhsDisplayLanguage = that.getDisplayLanguage(); if (!strategy.equals(LocatorUtils.property(thisLocator, "displayLanguage", lhsDisplayLanguage), LocatorUtils.property(thatLocator, "displayLanguage", rhsDisplayLanguage), lhsDisplayLanguage, rhsDisplayLanguage, (this.displayLanguage!= null), (that.displayLanguage!= null))) { return false; } } { Boolean lhsLimitedExpansion; lhsLimitedExpansion = this.getLimitedExpansion(); Boolean rhsLimitedExpansion; rhsLimitedExpansion = that.getLimitedExpansion(); if (!strategy.equals(LocatorUtils.property(thisLocator, "limitedExpansion", lhsLimitedExpansion), LocatorUtils.property(thatLocator, "limitedExpansion", rhsLimitedExpansion), lhsLimitedExpansion, rhsLimitedExpansion, (this.limitedExpansion!= null), (that.limitedExpansion!= 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); { Uri theUrl; theUrl = this.getUrl(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "url", theUrl), currentHashCode, theUrl, (this.url!= null)); } { Identifier theIdentifier; theIdentifier = this.getIdentifier(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "identifier", theIdentifier), currentHashCode, theIdentifier, (this.identifier!= null)); } { org.hl7.fhir.String theVersion; theVersion = this.getVersion(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "version", theVersion), currentHashCode, theVersion, (this.version!= null)); } { org.hl7.fhir.String theName; theName = this.getName(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "name", theName), currentHashCode, theName, (this.name!= null)); } { ConformanceResourceStatus theStatus; theStatus = this.getStatus(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "status", theStatus), currentHashCode, theStatus, (this.status!= null)); } { Boolean theExperimental; theExperimental = this.getExperimental(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "experimental", theExperimental), currentHashCode, theExperimental, (this.experimental!= null)); } { org.hl7.fhir.String thePublisher; thePublisher = this.getPublisher(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "publisher", thePublisher), currentHashCode, thePublisher, (this.publisher!= null)); } { List theContact; theContact = (((this.contact!= null)&&(!this.contact.isEmpty()))?this.getContact():null); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "contact", theContact), currentHashCode, theContact, ((this.contact!= null)&&(!this.contact.isEmpty()))); } { DateTime theDate; theDate = this.getDate(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "date", theDate), currentHashCode, theDate, (this.date!= null)); } { org.hl7.fhir.String theDescription; theDescription = this.getDescription(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "description", theDescription), currentHashCode, theDescription, (this.description!= null)); } { ExpansionProfileCodeSystem theCodeSystem; theCodeSystem = this.getCodeSystem(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "codeSystem", theCodeSystem), currentHashCode, theCodeSystem, (this.codeSystem!= null)); } { Boolean theIncludeDesignations; theIncludeDesignations = this.getIncludeDesignations(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "includeDesignations", theIncludeDesignations), currentHashCode, theIncludeDesignations, (this.includeDesignations!= null)); } { ExpansionProfileDesignation theDesignation; theDesignation = this.getDesignation(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "designation", theDesignation), currentHashCode, theDesignation, (this.designation!= null)); } { Boolean theIncludeDefinition; theIncludeDefinition = this.getIncludeDefinition(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "includeDefinition", theIncludeDefinition), currentHashCode, theIncludeDefinition, (this.includeDefinition!= null)); } { Boolean theIncludeInactive; theIncludeInactive = this.getIncludeInactive(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "includeInactive", theIncludeInactive), currentHashCode, theIncludeInactive, (this.includeInactive!= null)); } { Boolean theExcludeNested; theExcludeNested = this.getExcludeNested(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "excludeNested", theExcludeNested), currentHashCode, theExcludeNested, (this.excludeNested!= null)); } { Boolean theExcludeNotForUI; theExcludeNotForUI = this.getExcludeNotForUI(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "excludeNotForUI", theExcludeNotForUI), currentHashCode, theExcludeNotForUI, (this.excludeNotForUI!= null)); } { Boolean theExcludePostCoordinated; theExcludePostCoordinated = this.getExcludePostCoordinated(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "excludePostCoordinated", theExcludePostCoordinated), currentHashCode, theExcludePostCoordinated, (this.excludePostCoordinated!= null)); } { Code theDisplayLanguage; theDisplayLanguage = this.getDisplayLanguage(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "displayLanguage", theDisplayLanguage), currentHashCode, theDisplayLanguage, (this.displayLanguage!= null)); } { Boolean theLimitedExpansion; theLimitedExpansion = this.getLimitedExpansion(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "limitedExpansion", theLimitedExpansion), currentHashCode, theLimitedExpansion, (this.limitedExpansion!= 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); { Uri theUrl; theUrl = this.getUrl(); strategy.appendField(locator, this, "url", buffer, theUrl, (this.url!= null)); } { Identifier theIdentifier; theIdentifier = this.getIdentifier(); strategy.appendField(locator, this, "identifier", buffer, theIdentifier, (this.identifier!= null)); } { org.hl7.fhir.String theVersion; theVersion = this.getVersion(); strategy.appendField(locator, this, "version", buffer, theVersion, (this.version!= null)); } { org.hl7.fhir.String theName; theName = this.getName(); strategy.appendField(locator, this, "name", buffer, theName, (this.name!= null)); } { ConformanceResourceStatus theStatus; theStatus = this.getStatus(); strategy.appendField(locator, this, "status", buffer, theStatus, (this.status!= null)); } { Boolean theExperimental; theExperimental = this.getExperimental(); strategy.appendField(locator, this, "experimental", buffer, theExperimental, (this.experimental!= null)); } { org.hl7.fhir.String thePublisher; thePublisher = this.getPublisher(); strategy.appendField(locator, this, "publisher", buffer, thePublisher, (this.publisher!= null)); } { List theContact; theContact = (((this.contact!= null)&&(!this.contact.isEmpty()))?this.getContact():null); strategy.appendField(locator, this, "contact", buffer, theContact, ((this.contact!= null)&&(!this.contact.isEmpty()))); } { DateTime theDate; theDate = this.getDate(); strategy.appendField(locator, this, "date", buffer, theDate, (this.date!= null)); } { org.hl7.fhir.String theDescription; theDescription = this.getDescription(); strategy.appendField(locator, this, "description", buffer, theDescription, (this.description!= null)); } { ExpansionProfileCodeSystem theCodeSystem; theCodeSystem = this.getCodeSystem(); strategy.appendField(locator, this, "codeSystem", buffer, theCodeSystem, (this.codeSystem!= null)); } { Boolean theIncludeDesignations; theIncludeDesignations = this.getIncludeDesignations(); strategy.appendField(locator, this, "includeDesignations", buffer, theIncludeDesignations, (this.includeDesignations!= null)); } { ExpansionProfileDesignation theDesignation; theDesignation = this.getDesignation(); strategy.appendField(locator, this, "designation", buffer, theDesignation, (this.designation!= null)); } { Boolean theIncludeDefinition; theIncludeDefinition = this.getIncludeDefinition(); strategy.appendField(locator, this, "includeDefinition", buffer, theIncludeDefinition, (this.includeDefinition!= null)); } { Boolean theIncludeInactive; theIncludeInactive = this.getIncludeInactive(); strategy.appendField(locator, this, "includeInactive", buffer, theIncludeInactive, (this.includeInactive!= null)); } { Boolean theExcludeNested; theExcludeNested = this.getExcludeNested(); strategy.appendField(locator, this, "excludeNested", buffer, theExcludeNested, (this.excludeNested!= null)); } { Boolean theExcludeNotForUI; theExcludeNotForUI = this.getExcludeNotForUI(); strategy.appendField(locator, this, "excludeNotForUI", buffer, theExcludeNotForUI, (this.excludeNotForUI!= null)); } { Boolean theExcludePostCoordinated; theExcludePostCoordinated = this.getExcludePostCoordinated(); strategy.appendField(locator, this, "excludePostCoordinated", buffer, theExcludePostCoordinated, (this.excludePostCoordinated!= null)); } { Code theDisplayLanguage; theDisplayLanguage = this.getDisplayLanguage(); strategy.appendField(locator, this, "displayLanguage", buffer, theDisplayLanguage, (this.displayLanguage!= null)); } { Boolean theLimitedExpansion; theLimitedExpansion = this.getLimitedExpansion(); strategy.appendField(locator, this, "limitedExpansion", buffer, theLimitedExpansion, (this.limitedExpansion!= null)); } return buffer; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy