org.hl7.fhir.Measure Maven / Gradle / Ivy
Show all versions of quick Show documentation
//
// 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.05.02 at 09:57:28 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 Measure complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="Measure">
* <complexContent>
* <extension base="{http://hl7.org/fhir}DomainResource">
* <sequence>
* <element name="moduleMetadata" type="{http://hl7.org/fhir}ModuleMetadata" minOccurs="0"/>
* <element name="library" type="{http://hl7.org/fhir}Reference" maxOccurs="unbounded" minOccurs="0"/>
* <element name="disclaimer" type="{http://hl7.org/fhir}markdown" minOccurs="0"/>
* <element name="scoring" type="{http://hl7.org/fhir}MeasureScoring" minOccurs="0"/>
* <element name="type" type="{http://hl7.org/fhir}MeasureType" maxOccurs="unbounded" minOccurs="0"/>
* <element name="riskAdjustment" type="{http://hl7.org/fhir}string" minOccurs="0"/>
* <element name="rateAggregation" type="{http://hl7.org/fhir}string" minOccurs="0"/>
* <element name="rationale" type="{http://hl7.org/fhir}markdown" minOccurs="0"/>
* <element name="clinicalRecommendationStatement" type="{http://hl7.org/fhir}markdown" minOccurs="0"/>
* <element name="improvementNotation" type="{http://hl7.org/fhir}string" minOccurs="0"/>
* <element name="definition" type="{http://hl7.org/fhir}markdown" minOccurs="0"/>
* <element name="guidance" type="{http://hl7.org/fhir}markdown" minOccurs="0"/>
* <element name="set" type="{http://hl7.org/fhir}string" minOccurs="0"/>
* <element name="group" type="{http://hl7.org/fhir}Measure.Group" maxOccurs="unbounded" minOccurs="0"/>
* <element name="supplementalData" type="{http://hl7.org/fhir}Measure.SupplementalData" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Measure", propOrder = {
"moduleMetadata",
"library",
"disclaimer",
"scoring",
"type",
"riskAdjustment",
"rateAggregation",
"rationale",
"clinicalRecommendationStatement",
"improvementNotation",
"definition",
"guidance",
"set",
"group",
"supplementalData"
})
public class Measure
extends DomainResource
implements Equals2, HashCode2, ToString2
{
protected ModuleMetadata moduleMetadata;
protected List library;
protected Markdown disclaimer;
protected MeasureScoring scoring;
protected List type;
protected org.hl7.fhir.String riskAdjustment;
protected org.hl7.fhir.String rateAggregation;
protected Markdown rationale;
protected Markdown clinicalRecommendationStatement;
protected org.hl7.fhir.String improvementNotation;
protected Markdown definition;
protected Markdown guidance;
protected org.hl7.fhir.String set;
protected List group;
protected List supplementalData;
/**
* Gets the value of the moduleMetadata property.
*
* @return
* possible object is
* {@link ModuleMetadata }
*
*/
public ModuleMetadata getModuleMetadata() {
return moduleMetadata;
}
/**
* Sets the value of the moduleMetadata property.
*
* @param value
* allowed object is
* {@link ModuleMetadata }
*
*/
public void setModuleMetadata(ModuleMetadata value) {
this.moduleMetadata = value;
}
/**
* Gets the value of the library 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 library property.
*
*
* For example, to add a new item, do as follows:
*
* getLibrary().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Reference }
*
*
*/
public List getLibrary() {
if (library == null) {
library = new ArrayList();
}
return this.library;
}
/**
* Gets the value of the disclaimer property.
*
* @return
* possible object is
* {@link Markdown }
*
*/
public Markdown getDisclaimer() {
return disclaimer;
}
/**
* Sets the value of the disclaimer property.
*
* @param value
* allowed object is
* {@link Markdown }
*
*/
public void setDisclaimer(Markdown value) {
this.disclaimer = value;
}
/**
* Gets the value of the scoring property.
*
* @return
* possible object is
* {@link MeasureScoring }
*
*/
public MeasureScoring getScoring() {
return scoring;
}
/**
* Sets the value of the scoring property.
*
* @param value
* allowed object is
* {@link MeasureScoring }
*
*/
public void setScoring(MeasureScoring value) {
this.scoring = value;
}
/**
* Gets the value of the type 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 type property.
*
*
* For example, to add a new item, do as follows:
*
* getType().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link MeasureType }
*
*
*/
public List getType() {
if (type == null) {
type = new ArrayList();
}
return this.type;
}
/**
* Gets the value of the riskAdjustment property.
*
* @return
* possible object is
* {@link org.hl7.fhir.String }
*
*/
public org.hl7.fhir.String getRiskAdjustment() {
return riskAdjustment;
}
/**
* Sets the value of the riskAdjustment property.
*
* @param value
* allowed object is
* {@link org.hl7.fhir.String }
*
*/
public void setRiskAdjustment(org.hl7.fhir.String value) {
this.riskAdjustment = value;
}
/**
* Gets the value of the rateAggregation property.
*
* @return
* possible object is
* {@link org.hl7.fhir.String }
*
*/
public org.hl7.fhir.String getRateAggregation() {
return rateAggregation;
}
/**
* Sets the value of the rateAggregation property.
*
* @param value
* allowed object is
* {@link org.hl7.fhir.String }
*
*/
public void setRateAggregation(org.hl7.fhir.String value) {
this.rateAggregation = value;
}
/**
* Gets the value of the rationale property.
*
* @return
* possible object is
* {@link Markdown }
*
*/
public Markdown getRationale() {
return rationale;
}
/**
* Sets the value of the rationale property.
*
* @param value
* allowed object is
* {@link Markdown }
*
*/
public void setRationale(Markdown value) {
this.rationale = value;
}
/**
* Gets the value of the clinicalRecommendationStatement property.
*
* @return
* possible object is
* {@link Markdown }
*
*/
public Markdown getClinicalRecommendationStatement() {
return clinicalRecommendationStatement;
}
/**
* Sets the value of the clinicalRecommendationStatement property.
*
* @param value
* allowed object is
* {@link Markdown }
*
*/
public void setClinicalRecommendationStatement(Markdown value) {
this.clinicalRecommendationStatement = value;
}
/**
* Gets the value of the improvementNotation property.
*
* @return
* possible object is
* {@link org.hl7.fhir.String }
*
*/
public org.hl7.fhir.String getImprovementNotation() {
return improvementNotation;
}
/**
* Sets the value of the improvementNotation property.
*
* @param value
* allowed object is
* {@link org.hl7.fhir.String }
*
*/
public void setImprovementNotation(org.hl7.fhir.String value) {
this.improvementNotation = value;
}
/**
* Gets the value of the definition property.
*
* @return
* possible object is
* {@link Markdown }
*
*/
public Markdown getDefinition() {
return definition;
}
/**
* Sets the value of the definition property.
*
* @param value
* allowed object is
* {@link Markdown }
*
*/
public void setDefinition(Markdown value) {
this.definition = value;
}
/**
* Gets the value of the guidance property.
*
* @return
* possible object is
* {@link Markdown }
*
*/
public Markdown getGuidance() {
return guidance;
}
/**
* Sets the value of the guidance property.
*
* @param value
* allowed object is
* {@link Markdown }
*
*/
public void setGuidance(Markdown value) {
this.guidance = value;
}
/**
* Gets the value of the set property.
*
* @return
* possible object is
* {@link org.hl7.fhir.String }
*
*/
public org.hl7.fhir.String getSet() {
return set;
}
/**
* Sets the value of the set property.
*
* @param value
* allowed object is
* {@link org.hl7.fhir.String }
*
*/
public void setSet(org.hl7.fhir.String value) {
this.set = value;
}
/**
* Gets the value of the group 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 group property.
*
*
* For example, to add a new item, do as follows:
*
* getGroup().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link MeasureGroup }
*
*
*/
public List getGroup() {
if (group == null) {
group = new ArrayList();
}
return this.group;
}
/**
* Gets the value of the supplementalData 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 supplementalData property.
*
*
* For example, to add a new item, do as follows:
*
* getSupplementalData().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link MeasureSupplementalData }
*
*
*/
public List getSupplementalData() {
if (supplementalData == null) {
supplementalData = new ArrayList();
}
return this.supplementalData;
}
public Measure withModuleMetadata(ModuleMetadata value) {
setModuleMetadata(value);
return this;
}
public Measure withLibrary(Reference... values) {
if (values!= null) {
for (Reference value: values) {
getLibrary().add(value);
}
}
return this;
}
public Measure withLibrary(Collection values) {
if (values!= null) {
getLibrary().addAll(values);
}
return this;
}
public Measure withDisclaimer(Markdown value) {
setDisclaimer(value);
return this;
}
public Measure withScoring(MeasureScoring value) {
setScoring(value);
return this;
}
public Measure withType(MeasureType... values) {
if (values!= null) {
for (MeasureType value: values) {
getType().add(value);
}
}
return this;
}
public Measure withType(Collection values) {
if (values!= null) {
getType().addAll(values);
}
return this;
}
public Measure withRiskAdjustment(org.hl7.fhir.String value) {
setRiskAdjustment(value);
return this;
}
public Measure withRateAggregation(org.hl7.fhir.String value) {
setRateAggregation(value);
return this;
}
public Measure withRationale(Markdown value) {
setRationale(value);
return this;
}
public Measure withClinicalRecommendationStatement(Markdown value) {
setClinicalRecommendationStatement(value);
return this;
}
public Measure withImprovementNotation(org.hl7.fhir.String value) {
setImprovementNotation(value);
return this;
}
public Measure withDefinition(Markdown value) {
setDefinition(value);
return this;
}
public Measure withGuidance(Markdown value) {
setGuidance(value);
return this;
}
public Measure withSet(org.hl7.fhir.String value) {
setSet(value);
return this;
}
public Measure withGroup(MeasureGroup... values) {
if (values!= null) {
for (MeasureGroup value: values) {
getGroup().add(value);
}
}
return this;
}
public Measure withGroup(Collection values) {
if (values!= null) {
getGroup().addAll(values);
}
return this;
}
public Measure withSupplementalData(MeasureSupplementalData... values) {
if (values!= null) {
for (MeasureSupplementalData value: values) {
getSupplementalData().add(value);
}
}
return this;
}
public Measure withSupplementalData(Collection values) {
if (values!= null) {
getSupplementalData().addAll(values);
}
return this;
}
@Override
public Measure withText(Narrative value) {
setText(value);
return this;
}
@Override
public Measure withContained(ResourceContainer... values) {
if (values!= null) {
for (ResourceContainer value: values) {
getContained().add(value);
}
}
return this;
}
@Override
public Measure withContained(Collection values) {
if (values!= null) {
getContained().addAll(values);
}
return this;
}
@Override
public Measure withExtension(Extension... values) {
if (values!= null) {
for (Extension value: values) {
getExtension().add(value);
}
}
return this;
}
@Override
public Measure withExtension(Collection values) {
if (values!= null) {
getExtension().addAll(values);
}
return this;
}
@Override
public Measure withModifierExtension(Extension... values) {
if (values!= null) {
for (Extension value: values) {
getModifierExtension().add(value);
}
}
return this;
}
@Override
public Measure withModifierExtension(Collection values) {
if (values!= null) {
getModifierExtension().addAll(values);
}
return this;
}
@Override
public Measure withId(Id value) {
setId(value);
return this;
}
@Override
public Measure withMeta(Meta value) {
setMeta(value);
return this;
}
@Override
public Measure withImplicitRules(Uri value) {
setImplicitRules(value);
return this;
}
@Override
public Measure 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 Measure that = ((Measure) object);
{
ModuleMetadata lhsModuleMetadata;
lhsModuleMetadata = this.getModuleMetadata();
ModuleMetadata rhsModuleMetadata;
rhsModuleMetadata = that.getModuleMetadata();
if (!strategy.equals(LocatorUtils.property(thisLocator, "moduleMetadata", lhsModuleMetadata), LocatorUtils.property(thatLocator, "moduleMetadata", rhsModuleMetadata), lhsModuleMetadata, rhsModuleMetadata, (this.moduleMetadata!= null), (that.moduleMetadata!= null))) {
return false;
}
}
{
List lhsLibrary;
lhsLibrary = (((this.library!= null)&&(!this.library.isEmpty()))?this.getLibrary():null);
List rhsLibrary;
rhsLibrary = (((that.library!= null)&&(!that.library.isEmpty()))?that.getLibrary():null);
if (!strategy.equals(LocatorUtils.property(thisLocator, "library", lhsLibrary), LocatorUtils.property(thatLocator, "library", rhsLibrary), lhsLibrary, rhsLibrary, ((this.library!= null)&&(!this.library.isEmpty())), ((that.library!= null)&&(!that.library.isEmpty())))) {
return false;
}
}
{
Markdown lhsDisclaimer;
lhsDisclaimer = this.getDisclaimer();
Markdown rhsDisclaimer;
rhsDisclaimer = that.getDisclaimer();
if (!strategy.equals(LocatorUtils.property(thisLocator, "disclaimer", lhsDisclaimer), LocatorUtils.property(thatLocator, "disclaimer", rhsDisclaimer), lhsDisclaimer, rhsDisclaimer, (this.disclaimer!= null), (that.disclaimer!= null))) {
return false;
}
}
{
MeasureScoring lhsScoring;
lhsScoring = this.getScoring();
MeasureScoring rhsScoring;
rhsScoring = that.getScoring();
if (!strategy.equals(LocatorUtils.property(thisLocator, "scoring", lhsScoring), LocatorUtils.property(thatLocator, "scoring", rhsScoring), lhsScoring, rhsScoring, (this.scoring!= null), (that.scoring!= null))) {
return false;
}
}
{
List lhsType;
lhsType = (((this.type!= null)&&(!this.type.isEmpty()))?this.getType():null);
List rhsType;
rhsType = (((that.type!= null)&&(!that.type.isEmpty()))?that.getType():null);
if (!strategy.equals(LocatorUtils.property(thisLocator, "type", lhsType), LocatorUtils.property(thatLocator, "type", rhsType), lhsType, rhsType, ((this.type!= null)&&(!this.type.isEmpty())), ((that.type!= null)&&(!that.type.isEmpty())))) {
return false;
}
}
{
org.hl7.fhir.String lhsRiskAdjustment;
lhsRiskAdjustment = this.getRiskAdjustment();
org.hl7.fhir.String rhsRiskAdjustment;
rhsRiskAdjustment = that.getRiskAdjustment();
if (!strategy.equals(LocatorUtils.property(thisLocator, "riskAdjustment", lhsRiskAdjustment), LocatorUtils.property(thatLocator, "riskAdjustment", rhsRiskAdjustment), lhsRiskAdjustment, rhsRiskAdjustment, (this.riskAdjustment!= null), (that.riskAdjustment!= null))) {
return false;
}
}
{
org.hl7.fhir.String lhsRateAggregation;
lhsRateAggregation = this.getRateAggregation();
org.hl7.fhir.String rhsRateAggregation;
rhsRateAggregation = that.getRateAggregation();
if (!strategy.equals(LocatorUtils.property(thisLocator, "rateAggregation", lhsRateAggregation), LocatorUtils.property(thatLocator, "rateAggregation", rhsRateAggregation), lhsRateAggregation, rhsRateAggregation, (this.rateAggregation!= null), (that.rateAggregation!= null))) {
return false;
}
}
{
Markdown lhsRationale;
lhsRationale = this.getRationale();
Markdown rhsRationale;
rhsRationale = that.getRationale();
if (!strategy.equals(LocatorUtils.property(thisLocator, "rationale", lhsRationale), LocatorUtils.property(thatLocator, "rationale", rhsRationale), lhsRationale, rhsRationale, (this.rationale!= null), (that.rationale!= null))) {
return false;
}
}
{
Markdown lhsClinicalRecommendationStatement;
lhsClinicalRecommendationStatement = this.getClinicalRecommendationStatement();
Markdown rhsClinicalRecommendationStatement;
rhsClinicalRecommendationStatement = that.getClinicalRecommendationStatement();
if (!strategy.equals(LocatorUtils.property(thisLocator, "clinicalRecommendationStatement", lhsClinicalRecommendationStatement), LocatorUtils.property(thatLocator, "clinicalRecommendationStatement", rhsClinicalRecommendationStatement), lhsClinicalRecommendationStatement, rhsClinicalRecommendationStatement, (this.clinicalRecommendationStatement!= null), (that.clinicalRecommendationStatement!= null))) {
return false;
}
}
{
org.hl7.fhir.String lhsImprovementNotation;
lhsImprovementNotation = this.getImprovementNotation();
org.hl7.fhir.String rhsImprovementNotation;
rhsImprovementNotation = that.getImprovementNotation();
if (!strategy.equals(LocatorUtils.property(thisLocator, "improvementNotation", lhsImprovementNotation), LocatorUtils.property(thatLocator, "improvementNotation", rhsImprovementNotation), lhsImprovementNotation, rhsImprovementNotation, (this.improvementNotation!= null), (that.improvementNotation!= null))) {
return false;
}
}
{
Markdown lhsDefinition;
lhsDefinition = this.getDefinition();
Markdown rhsDefinition;
rhsDefinition = that.getDefinition();
if (!strategy.equals(LocatorUtils.property(thisLocator, "definition", lhsDefinition), LocatorUtils.property(thatLocator, "definition", rhsDefinition), lhsDefinition, rhsDefinition, (this.definition!= null), (that.definition!= null))) {
return false;
}
}
{
Markdown lhsGuidance;
lhsGuidance = this.getGuidance();
Markdown rhsGuidance;
rhsGuidance = that.getGuidance();
if (!strategy.equals(LocatorUtils.property(thisLocator, "guidance", lhsGuidance), LocatorUtils.property(thatLocator, "guidance", rhsGuidance), lhsGuidance, rhsGuidance, (this.guidance!= null), (that.guidance!= null))) {
return false;
}
}
{
org.hl7.fhir.String lhsSet;
lhsSet = this.getSet();
org.hl7.fhir.String rhsSet;
rhsSet = that.getSet();
if (!strategy.equals(LocatorUtils.property(thisLocator, "set", lhsSet), LocatorUtils.property(thatLocator, "set", rhsSet), lhsSet, rhsSet, (this.set!= null), (that.set!= null))) {
return false;
}
}
{
List lhsGroup;
lhsGroup = (((this.group!= null)&&(!this.group.isEmpty()))?this.getGroup():null);
List rhsGroup;
rhsGroup = (((that.group!= null)&&(!that.group.isEmpty()))?that.getGroup():null);
if (!strategy.equals(LocatorUtils.property(thisLocator, "group", lhsGroup), LocatorUtils.property(thatLocator, "group", rhsGroup), lhsGroup, rhsGroup, ((this.group!= null)&&(!this.group.isEmpty())), ((that.group!= null)&&(!that.group.isEmpty())))) {
return false;
}
}
{
List lhsSupplementalData;
lhsSupplementalData = (((this.supplementalData!= null)&&(!this.supplementalData.isEmpty()))?this.getSupplementalData():null);
List rhsSupplementalData;
rhsSupplementalData = (((that.supplementalData!= null)&&(!that.supplementalData.isEmpty()))?that.getSupplementalData():null);
if (!strategy.equals(LocatorUtils.property(thisLocator, "supplementalData", lhsSupplementalData), LocatorUtils.property(thatLocator, "supplementalData", rhsSupplementalData), lhsSupplementalData, rhsSupplementalData, ((this.supplementalData!= null)&&(!this.supplementalData.isEmpty())), ((that.supplementalData!= null)&&(!that.supplementalData.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);
{
ModuleMetadata theModuleMetadata;
theModuleMetadata = this.getModuleMetadata();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "moduleMetadata", theModuleMetadata), currentHashCode, theModuleMetadata, (this.moduleMetadata!= null));
}
{
List theLibrary;
theLibrary = (((this.library!= null)&&(!this.library.isEmpty()))?this.getLibrary():null);
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "library", theLibrary), currentHashCode, theLibrary, ((this.library!= null)&&(!this.library.isEmpty())));
}
{
Markdown theDisclaimer;
theDisclaimer = this.getDisclaimer();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "disclaimer", theDisclaimer), currentHashCode, theDisclaimer, (this.disclaimer!= null));
}
{
MeasureScoring theScoring;
theScoring = this.getScoring();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "scoring", theScoring), currentHashCode, theScoring, (this.scoring!= null));
}
{
List theType;
theType = (((this.type!= null)&&(!this.type.isEmpty()))?this.getType():null);
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "type", theType), currentHashCode, theType, ((this.type!= null)&&(!this.type.isEmpty())));
}
{
org.hl7.fhir.String theRiskAdjustment;
theRiskAdjustment = this.getRiskAdjustment();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "riskAdjustment", theRiskAdjustment), currentHashCode, theRiskAdjustment, (this.riskAdjustment!= null));
}
{
org.hl7.fhir.String theRateAggregation;
theRateAggregation = this.getRateAggregation();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "rateAggregation", theRateAggregation), currentHashCode, theRateAggregation, (this.rateAggregation!= null));
}
{
Markdown theRationale;
theRationale = this.getRationale();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "rationale", theRationale), currentHashCode, theRationale, (this.rationale!= null));
}
{
Markdown theClinicalRecommendationStatement;
theClinicalRecommendationStatement = this.getClinicalRecommendationStatement();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "clinicalRecommendationStatement", theClinicalRecommendationStatement), currentHashCode, theClinicalRecommendationStatement, (this.clinicalRecommendationStatement!= null));
}
{
org.hl7.fhir.String theImprovementNotation;
theImprovementNotation = this.getImprovementNotation();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "improvementNotation", theImprovementNotation), currentHashCode, theImprovementNotation, (this.improvementNotation!= null));
}
{
Markdown theDefinition;
theDefinition = this.getDefinition();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "definition", theDefinition), currentHashCode, theDefinition, (this.definition!= null));
}
{
Markdown theGuidance;
theGuidance = this.getGuidance();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "guidance", theGuidance), currentHashCode, theGuidance, (this.guidance!= null));
}
{
org.hl7.fhir.String theSet;
theSet = this.getSet();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "set", theSet), currentHashCode, theSet, (this.set!= null));
}
{
List theGroup;
theGroup = (((this.group!= null)&&(!this.group.isEmpty()))?this.getGroup():null);
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "group", theGroup), currentHashCode, theGroup, ((this.group!= null)&&(!this.group.isEmpty())));
}
{
List theSupplementalData;
theSupplementalData = (((this.supplementalData!= null)&&(!this.supplementalData.isEmpty()))?this.getSupplementalData():null);
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "supplementalData", theSupplementalData), currentHashCode, theSupplementalData, ((this.supplementalData!= null)&&(!this.supplementalData.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);
{
ModuleMetadata theModuleMetadata;
theModuleMetadata = this.getModuleMetadata();
strategy.appendField(locator, this, "moduleMetadata", buffer, theModuleMetadata, (this.moduleMetadata!= null));
}
{
List theLibrary;
theLibrary = (((this.library!= null)&&(!this.library.isEmpty()))?this.getLibrary():null);
strategy.appendField(locator, this, "library", buffer, theLibrary, ((this.library!= null)&&(!this.library.isEmpty())));
}
{
Markdown theDisclaimer;
theDisclaimer = this.getDisclaimer();
strategy.appendField(locator, this, "disclaimer", buffer, theDisclaimer, (this.disclaimer!= null));
}
{
MeasureScoring theScoring;
theScoring = this.getScoring();
strategy.appendField(locator, this, "scoring", buffer, theScoring, (this.scoring!= null));
}
{
List theType;
theType = (((this.type!= null)&&(!this.type.isEmpty()))?this.getType():null);
strategy.appendField(locator, this, "type", buffer, theType, ((this.type!= null)&&(!this.type.isEmpty())));
}
{
org.hl7.fhir.String theRiskAdjustment;
theRiskAdjustment = this.getRiskAdjustment();
strategy.appendField(locator, this, "riskAdjustment", buffer, theRiskAdjustment, (this.riskAdjustment!= null));
}
{
org.hl7.fhir.String theRateAggregation;
theRateAggregation = this.getRateAggregation();
strategy.appendField(locator, this, "rateAggregation", buffer, theRateAggregation, (this.rateAggregation!= null));
}
{
Markdown theRationale;
theRationale = this.getRationale();
strategy.appendField(locator, this, "rationale", buffer, theRationale, (this.rationale!= null));
}
{
Markdown theClinicalRecommendationStatement;
theClinicalRecommendationStatement = this.getClinicalRecommendationStatement();
strategy.appendField(locator, this, "clinicalRecommendationStatement", buffer, theClinicalRecommendationStatement, (this.clinicalRecommendationStatement!= null));
}
{
org.hl7.fhir.String theImprovementNotation;
theImprovementNotation = this.getImprovementNotation();
strategy.appendField(locator, this, "improvementNotation", buffer, theImprovementNotation, (this.improvementNotation!= null));
}
{
Markdown theDefinition;
theDefinition = this.getDefinition();
strategy.appendField(locator, this, "definition", buffer, theDefinition, (this.definition!= null));
}
{
Markdown theGuidance;
theGuidance = this.getGuidance();
strategy.appendField(locator, this, "guidance", buffer, theGuidance, (this.guidance!= null));
}
{
org.hl7.fhir.String theSet;
theSet = this.getSet();
strategy.appendField(locator, this, "set", buffer, theSet, (this.set!= null));
}
{
List theGroup;
theGroup = (((this.group!= null)&&(!this.group.isEmpty()))?this.getGroup():null);
strategy.appendField(locator, this, "group", buffer, theGroup, ((this.group!= null)&&(!this.group.isEmpty())));
}
{
List theSupplementalData;
theSupplementalData = (((this.supplementalData!= null)&&(!this.supplementalData.isEmpty()))?this.getSupplementalData():null);
strategy.appendField(locator, this, "supplementalData", buffer, theSupplementalData, ((this.supplementalData!= null)&&(!this.supplementalData.isEmpty())));
}
return buffer;
}
public void setLibrary(List value) {
this.library = value;
}
public void setType(List value) {
this.type = value;
}
public void setGroup(List value) {
this.group = value;
}
public void setSupplementalData(List value) {
this.supplementalData = value;
}
}