org.hl7.fhir.TaskInput Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of quick Show documentation
Show all versions of quick Show documentation
The quick library for the Clinical Quality Language Java reference implementation
//
// 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.Collection;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlType;
import org.jvnet.jaxb2_commons.lang.Equals2;
import org.jvnet.jaxb2_commons.lang.EqualsStrategy2;
import org.jvnet.jaxb2_commons.lang.HashCode2;
import org.jvnet.jaxb2_commons.lang.HashCodeStrategy2;
import org.jvnet.jaxb2_commons.lang.JAXBEqualsStrategy;
import org.jvnet.jaxb2_commons.lang.JAXBHashCodeStrategy;
import org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy;
import org.jvnet.jaxb2_commons.lang.ToString2;
import org.jvnet.jaxb2_commons.lang.ToStringStrategy2;
import org.jvnet.jaxb2_commons.locator.ObjectLocator;
import org.jvnet.jaxb2_commons.locator.util.LocatorUtils;
/**
* A task to be performed.
*
* Java class for Task.Input complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="Task.Input">
* <complexContent>
* <extension base="{http://hl7.org/fhir}BackboneElement">
* <sequence>
* <element name="name" type="{http://hl7.org/fhir}string"/>
* <choice>
* <element name="valueBoolean" type="{http://hl7.org/fhir}boolean"/>
* <element name="valueInteger" type="{http://hl7.org/fhir}integer"/>
* <element name="valueDecimal" type="{http://hl7.org/fhir}decimal"/>
* <element name="valueBase64Binary" type="{http://hl7.org/fhir}base64Binary"/>
* <element name="valueInstant" type="{http://hl7.org/fhir}instant"/>
* <element name="valueString" type="{http://hl7.org/fhir}string"/>
* <element name="valueUri" type="{http://hl7.org/fhir}uri"/>
* <element name="valueDate" type="{http://hl7.org/fhir}date"/>
* <element name="valueDateTime" type="{http://hl7.org/fhir}dateTime"/>
* <element name="valueTime" type="{http://hl7.org/fhir}time"/>
* <element name="valueCode" type="{http://hl7.org/fhir}code"/>
* <element name="valueOid" type="{http://hl7.org/fhir}oid"/>
* <element name="valueUuid" type="{http://hl7.org/fhir}uuid"/>
* <element name="valueId" type="{http://hl7.org/fhir}id"/>
* <element name="valueUnsignedInt" type="{http://hl7.org/fhir}unsignedInt"/>
* <element name="valuePositiveInt" type="{http://hl7.org/fhir}positiveInt"/>
* <element name="valueMarkdown" type="{http://hl7.org/fhir}markdown"/>
* <element name="valueAnnotation" type="{http://hl7.org/fhir}Annotation"/>
* <element name="valueAttachment" type="{http://hl7.org/fhir}Attachment"/>
* <element name="valueIdentifier" type="{http://hl7.org/fhir}Identifier"/>
* <element name="valueCodeableConcept" type="{http://hl7.org/fhir}CodeableConcept"/>
* <element name="valueCoding" type="{http://hl7.org/fhir}Coding"/>
* <element name="valueQuantity" type="{http://hl7.org/fhir}Quantity"/>
* <element name="valueRange" type="{http://hl7.org/fhir}Range"/>
* <element name="valuePeriod" type="{http://hl7.org/fhir}Period"/>
* <element name="valueRatio" type="{http://hl7.org/fhir}Ratio"/>
* <element name="valueReference" type="{http://hl7.org/fhir}Reference"/>
* <element name="valueSampledData" type="{http://hl7.org/fhir}SampledData"/>
* <element name="valueSignature" type="{http://hl7.org/fhir}Signature"/>
* <element name="valueHumanName" type="{http://hl7.org/fhir}HumanName"/>
* <element name="valueAddress" type="{http://hl7.org/fhir}Address"/>
* <element name="valueContactPoint" type="{http://hl7.org/fhir}ContactPoint"/>
* <element name="valueTiming" type="{http://hl7.org/fhir}Timing"/>
* <element name="valueMeta" type="{http://hl7.org/fhir}Meta"/>
* <element name="valueElementDefinition" type="{http://hl7.org/fhir}ElementDefinition"/>
* <element name="valueModuleMetadata" type="{http://hl7.org/fhir}ModuleMetadata"/>
* <element name="valueDataRequirement" type="{http://hl7.org/fhir}DataRequirement"/>
* <element name="valueActionDefinition" type="{http://hl7.org/fhir}ActionDefinition"/>
* <element name="valueParameterDefinition" type="{http://hl7.org/fhir}ParameterDefinition"/>
* <element name="valueTriggerDefinition" type="{http://hl7.org/fhir}TriggerDefinition"/>
* </choice>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Task.Input", propOrder = {
"name",
"valueBoolean",
"valueInteger",
"valueDecimal",
"valueBase64Binary",
"valueInstant",
"valueString",
"valueUri",
"valueDate",
"valueDateTime",
"valueTime",
"valueCode",
"valueOid",
"valueUuid",
"valueId",
"valueUnsignedInt",
"valuePositiveInt",
"valueMarkdown",
"valueAnnotation",
"valueAttachment",
"valueIdentifier",
"valueCodeableConcept",
"valueCoding",
"valueQuantity",
"valueRange",
"valuePeriod",
"valueRatio",
"valueReference",
"valueSampledData",
"valueSignature",
"valueHumanName",
"valueAddress",
"valueContactPoint",
"valueTiming",
"valueMeta",
"valueElementDefinition",
"valueModuleMetadata",
"valueDataRequirement",
"valueActionDefinition",
"valueParameterDefinition",
"valueTriggerDefinition"
})
public class TaskInput
extends BackboneElement
implements Equals2, HashCode2, ToString2
{
@XmlElement(required = true)
protected org.hl7.fhir.String name;
protected Boolean valueBoolean;
protected Integer valueInteger;
protected Decimal valueDecimal;
protected Base64Binary valueBase64Binary;
protected Instant valueInstant;
protected org.hl7.fhir.String valueString;
protected Uri valueUri;
protected Date valueDate;
protected DateTime valueDateTime;
protected Time valueTime;
protected Code valueCode;
protected Oid valueOid;
protected Uuid valueUuid;
protected Id valueId;
protected UnsignedInt valueUnsignedInt;
protected PositiveInt valuePositiveInt;
protected Markdown valueMarkdown;
protected Annotation valueAnnotation;
protected Attachment valueAttachment;
protected Identifier valueIdentifier;
protected CodeableConcept valueCodeableConcept;
protected Coding valueCoding;
protected Quantity valueQuantity;
protected Range valueRange;
protected Period valuePeriod;
protected Ratio valueRatio;
protected Reference valueReference;
protected SampledData valueSampledData;
protected Signature valueSignature;
protected HumanName valueHumanName;
protected Address valueAddress;
protected ContactPoint valueContactPoint;
protected Timing valueTiming;
protected Meta valueMeta;
protected ElementDefinition valueElementDefinition;
protected ModuleMetadata valueModuleMetadata;
protected DataRequirement valueDataRequirement;
protected ActionDefinition valueActionDefinition;
protected ParameterDefinition valueParameterDefinition;
protected TriggerDefinition valueTriggerDefinition;
/**
* 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 valueBoolean property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean getValueBoolean() {
return valueBoolean;
}
/**
* Sets the value of the valueBoolean property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setValueBoolean(Boolean value) {
this.valueBoolean = value;
}
/**
* Gets the value of the valueInteger property.
*
* @return
* possible object is
* {@link Integer }
*
*/
public Integer getValueInteger() {
return valueInteger;
}
/**
* Sets the value of the valueInteger property.
*
* @param value
* allowed object is
* {@link Integer }
*
*/
public void setValueInteger(Integer value) {
this.valueInteger = value;
}
/**
* Gets the value of the valueDecimal property.
*
* @return
* possible object is
* {@link Decimal }
*
*/
public Decimal getValueDecimal() {
return valueDecimal;
}
/**
* Sets the value of the valueDecimal property.
*
* @param value
* allowed object is
* {@link Decimal }
*
*/
public void setValueDecimal(Decimal value) {
this.valueDecimal = value;
}
/**
* Gets the value of the valueBase64Binary property.
*
* @return
* possible object is
* {@link Base64Binary }
*
*/
public Base64Binary getValueBase64Binary() {
return valueBase64Binary;
}
/**
* Sets the value of the valueBase64Binary property.
*
* @param value
* allowed object is
* {@link Base64Binary }
*
*/
public void setValueBase64Binary(Base64Binary value) {
this.valueBase64Binary = value;
}
/**
* Gets the value of the valueInstant property.
*
* @return
* possible object is
* {@link Instant }
*
*/
public Instant getValueInstant() {
return valueInstant;
}
/**
* Sets the value of the valueInstant property.
*
* @param value
* allowed object is
* {@link Instant }
*
*/
public void setValueInstant(Instant value) {
this.valueInstant = value;
}
/**
* Gets the value of the valueString property.
*
* @return
* possible object is
* {@link org.hl7.fhir.String }
*
*/
public org.hl7.fhir.String getValueString() {
return valueString;
}
/**
* Sets the value of the valueString property.
*
* @param value
* allowed object is
* {@link org.hl7.fhir.String }
*
*/
public void setValueString(org.hl7.fhir.String value) {
this.valueString = value;
}
/**
* Gets the value of the valueUri property.
*
* @return
* possible object is
* {@link Uri }
*
*/
public Uri getValueUri() {
return valueUri;
}
/**
* Sets the value of the valueUri property.
*
* @param value
* allowed object is
* {@link Uri }
*
*/
public void setValueUri(Uri value) {
this.valueUri = value;
}
/**
* Gets the value of the valueDate property.
*
* @return
* possible object is
* {@link Date }
*
*/
public Date getValueDate() {
return valueDate;
}
/**
* Sets the value of the valueDate property.
*
* @param value
* allowed object is
* {@link Date }
*
*/
public void setValueDate(Date value) {
this.valueDate = value;
}
/**
* Gets the value of the valueDateTime property.
*
* @return
* possible object is
* {@link DateTime }
*
*/
public DateTime getValueDateTime() {
return valueDateTime;
}
/**
* Sets the value of the valueDateTime property.
*
* @param value
* allowed object is
* {@link DateTime }
*
*/
public void setValueDateTime(DateTime value) {
this.valueDateTime = value;
}
/**
* Gets the value of the valueTime property.
*
* @return
* possible object is
* {@link Time }
*
*/
public Time getValueTime() {
return valueTime;
}
/**
* Sets the value of the valueTime property.
*
* @param value
* allowed object is
* {@link Time }
*
*/
public void setValueTime(Time value) {
this.valueTime = value;
}
/**
* Gets the value of the valueCode property.
*
* @return
* possible object is
* {@link Code }
*
*/
public Code getValueCode() {
return valueCode;
}
/**
* Sets the value of the valueCode property.
*
* @param value
* allowed object is
* {@link Code }
*
*/
public void setValueCode(Code value) {
this.valueCode = value;
}
/**
* Gets the value of the valueOid property.
*
* @return
* possible object is
* {@link Oid }
*
*/
public Oid getValueOid() {
return valueOid;
}
/**
* Sets the value of the valueOid property.
*
* @param value
* allowed object is
* {@link Oid }
*
*/
public void setValueOid(Oid value) {
this.valueOid = value;
}
/**
* Gets the value of the valueUuid property.
*
* @return
* possible object is
* {@link Uuid }
*
*/
public Uuid getValueUuid() {
return valueUuid;
}
/**
* Sets the value of the valueUuid property.
*
* @param value
* allowed object is
* {@link Uuid }
*
*/
public void setValueUuid(Uuid value) {
this.valueUuid = value;
}
/**
* Gets the value of the valueId property.
*
* @return
* possible object is
* {@link Id }
*
*/
public Id getValueId() {
return valueId;
}
/**
* Sets the value of the valueId property.
*
* @param value
* allowed object is
* {@link Id }
*
*/
public void setValueId(Id value) {
this.valueId = value;
}
/**
* Gets the value of the valueUnsignedInt property.
*
* @return
* possible object is
* {@link UnsignedInt }
*
*/
public UnsignedInt getValueUnsignedInt() {
return valueUnsignedInt;
}
/**
* Sets the value of the valueUnsignedInt property.
*
* @param value
* allowed object is
* {@link UnsignedInt }
*
*/
public void setValueUnsignedInt(UnsignedInt value) {
this.valueUnsignedInt = value;
}
/**
* Gets the value of the valuePositiveInt property.
*
* @return
* possible object is
* {@link PositiveInt }
*
*/
public PositiveInt getValuePositiveInt() {
return valuePositiveInt;
}
/**
* Sets the value of the valuePositiveInt property.
*
* @param value
* allowed object is
* {@link PositiveInt }
*
*/
public void setValuePositiveInt(PositiveInt value) {
this.valuePositiveInt = value;
}
/**
* Gets the value of the valueMarkdown property.
*
* @return
* possible object is
* {@link Markdown }
*
*/
public Markdown getValueMarkdown() {
return valueMarkdown;
}
/**
* Sets the value of the valueMarkdown property.
*
* @param value
* allowed object is
* {@link Markdown }
*
*/
public void setValueMarkdown(Markdown value) {
this.valueMarkdown = value;
}
/**
* Gets the value of the valueAnnotation property.
*
* @return
* possible object is
* {@link Annotation }
*
*/
public Annotation getValueAnnotation() {
return valueAnnotation;
}
/**
* Sets the value of the valueAnnotation property.
*
* @param value
* allowed object is
* {@link Annotation }
*
*/
public void setValueAnnotation(Annotation value) {
this.valueAnnotation = value;
}
/**
* Gets the value of the valueAttachment property.
*
* @return
* possible object is
* {@link Attachment }
*
*/
public Attachment getValueAttachment() {
return valueAttachment;
}
/**
* Sets the value of the valueAttachment property.
*
* @param value
* allowed object is
* {@link Attachment }
*
*/
public void setValueAttachment(Attachment value) {
this.valueAttachment = value;
}
/**
* Gets the value of the valueIdentifier property.
*
* @return
* possible object is
* {@link Identifier }
*
*/
public Identifier getValueIdentifier() {
return valueIdentifier;
}
/**
* Sets the value of the valueIdentifier property.
*
* @param value
* allowed object is
* {@link Identifier }
*
*/
public void setValueIdentifier(Identifier value) {
this.valueIdentifier = value;
}
/**
* Gets the value of the valueCodeableConcept property.
*
* @return
* possible object is
* {@link CodeableConcept }
*
*/
public CodeableConcept getValueCodeableConcept() {
return valueCodeableConcept;
}
/**
* Sets the value of the valueCodeableConcept property.
*
* @param value
* allowed object is
* {@link CodeableConcept }
*
*/
public void setValueCodeableConcept(CodeableConcept value) {
this.valueCodeableConcept = value;
}
/**
* Gets the value of the valueCoding property.
*
* @return
* possible object is
* {@link Coding }
*
*/
public Coding getValueCoding() {
return valueCoding;
}
/**
* Sets the value of the valueCoding property.
*
* @param value
* allowed object is
* {@link Coding }
*
*/
public void setValueCoding(Coding value) {
this.valueCoding = value;
}
/**
* Gets the value of the valueQuantity property.
*
* @return
* possible object is
* {@link Quantity }
*
*/
public Quantity getValueQuantity() {
return valueQuantity;
}
/**
* Sets the value of the valueQuantity property.
*
* @param value
* allowed object is
* {@link Quantity }
*
*/
public void setValueQuantity(Quantity value) {
this.valueQuantity = value;
}
/**
* Gets the value of the valueRange property.
*
* @return
* possible object is
* {@link Range }
*
*/
public Range getValueRange() {
return valueRange;
}
/**
* Sets the value of the valueRange property.
*
* @param value
* allowed object is
* {@link Range }
*
*/
public void setValueRange(Range value) {
this.valueRange = value;
}
/**
* Gets the value of the valuePeriod property.
*
* @return
* possible object is
* {@link Period }
*
*/
public Period getValuePeriod() {
return valuePeriod;
}
/**
* Sets the value of the valuePeriod property.
*
* @param value
* allowed object is
* {@link Period }
*
*/
public void setValuePeriod(Period value) {
this.valuePeriod = value;
}
/**
* Gets the value of the valueRatio property.
*
* @return
* possible object is
* {@link Ratio }
*
*/
public Ratio getValueRatio() {
return valueRatio;
}
/**
* Sets the value of the valueRatio property.
*
* @param value
* allowed object is
* {@link Ratio }
*
*/
public void setValueRatio(Ratio value) {
this.valueRatio = value;
}
/**
* Gets the value of the valueReference property.
*
* @return
* possible object is
* {@link Reference }
*
*/
public Reference getValueReference() {
return valueReference;
}
/**
* Sets the value of the valueReference property.
*
* @param value
* allowed object is
* {@link Reference }
*
*/
public void setValueReference(Reference value) {
this.valueReference = value;
}
/**
* Gets the value of the valueSampledData property.
*
* @return
* possible object is
* {@link SampledData }
*
*/
public SampledData getValueSampledData() {
return valueSampledData;
}
/**
* Sets the value of the valueSampledData property.
*
* @param value
* allowed object is
* {@link SampledData }
*
*/
public void setValueSampledData(SampledData value) {
this.valueSampledData = value;
}
/**
* Gets the value of the valueSignature property.
*
* @return
* possible object is
* {@link Signature }
*
*/
public Signature getValueSignature() {
return valueSignature;
}
/**
* Sets the value of the valueSignature property.
*
* @param value
* allowed object is
* {@link Signature }
*
*/
public void setValueSignature(Signature value) {
this.valueSignature = value;
}
/**
* Gets the value of the valueHumanName property.
*
* @return
* possible object is
* {@link HumanName }
*
*/
public HumanName getValueHumanName() {
return valueHumanName;
}
/**
* Sets the value of the valueHumanName property.
*
* @param value
* allowed object is
* {@link HumanName }
*
*/
public void setValueHumanName(HumanName value) {
this.valueHumanName = value;
}
/**
* Gets the value of the valueAddress property.
*
* @return
* possible object is
* {@link Address }
*
*/
public Address getValueAddress() {
return valueAddress;
}
/**
* Sets the value of the valueAddress property.
*
* @param value
* allowed object is
* {@link Address }
*
*/
public void setValueAddress(Address value) {
this.valueAddress = value;
}
/**
* Gets the value of the valueContactPoint property.
*
* @return
* possible object is
* {@link ContactPoint }
*
*/
public ContactPoint getValueContactPoint() {
return valueContactPoint;
}
/**
* Sets the value of the valueContactPoint property.
*
* @param value
* allowed object is
* {@link ContactPoint }
*
*/
public void setValueContactPoint(ContactPoint value) {
this.valueContactPoint = value;
}
/**
* Gets the value of the valueTiming property.
*
* @return
* possible object is
* {@link Timing }
*
*/
public Timing getValueTiming() {
return valueTiming;
}
/**
* Sets the value of the valueTiming property.
*
* @param value
* allowed object is
* {@link Timing }
*
*/
public void setValueTiming(Timing value) {
this.valueTiming = value;
}
/**
* Gets the value of the valueMeta property.
*
* @return
* possible object is
* {@link Meta }
*
*/
public Meta getValueMeta() {
return valueMeta;
}
/**
* Sets the value of the valueMeta property.
*
* @param value
* allowed object is
* {@link Meta }
*
*/
public void setValueMeta(Meta value) {
this.valueMeta = value;
}
/**
* Gets the value of the valueElementDefinition property.
*
* @return
* possible object is
* {@link ElementDefinition }
*
*/
public ElementDefinition getValueElementDefinition() {
return valueElementDefinition;
}
/**
* Sets the value of the valueElementDefinition property.
*
* @param value
* allowed object is
* {@link ElementDefinition }
*
*/
public void setValueElementDefinition(ElementDefinition value) {
this.valueElementDefinition = value;
}
/**
* Gets the value of the valueModuleMetadata property.
*
* @return
* possible object is
* {@link ModuleMetadata }
*
*/
public ModuleMetadata getValueModuleMetadata() {
return valueModuleMetadata;
}
/**
* Sets the value of the valueModuleMetadata property.
*
* @param value
* allowed object is
* {@link ModuleMetadata }
*
*/
public void setValueModuleMetadata(ModuleMetadata value) {
this.valueModuleMetadata = value;
}
/**
* Gets the value of the valueDataRequirement property.
*
* @return
* possible object is
* {@link DataRequirement }
*
*/
public DataRequirement getValueDataRequirement() {
return valueDataRequirement;
}
/**
* Sets the value of the valueDataRequirement property.
*
* @param value
* allowed object is
* {@link DataRequirement }
*
*/
public void setValueDataRequirement(DataRequirement value) {
this.valueDataRequirement = value;
}
/**
* Gets the value of the valueActionDefinition property.
*
* @return
* possible object is
* {@link ActionDefinition }
*
*/
public ActionDefinition getValueActionDefinition() {
return valueActionDefinition;
}
/**
* Sets the value of the valueActionDefinition property.
*
* @param value
* allowed object is
* {@link ActionDefinition }
*
*/
public void setValueActionDefinition(ActionDefinition value) {
this.valueActionDefinition = value;
}
/**
* Gets the value of the valueParameterDefinition property.
*
* @return
* possible object is
* {@link ParameterDefinition }
*
*/
public ParameterDefinition getValueParameterDefinition() {
return valueParameterDefinition;
}
/**
* Sets the value of the valueParameterDefinition property.
*
* @param value
* allowed object is
* {@link ParameterDefinition }
*
*/
public void setValueParameterDefinition(ParameterDefinition value) {
this.valueParameterDefinition = value;
}
/**
* Gets the value of the valueTriggerDefinition property.
*
* @return
* possible object is
* {@link TriggerDefinition }
*
*/
public TriggerDefinition getValueTriggerDefinition() {
return valueTriggerDefinition;
}
/**
* Sets the value of the valueTriggerDefinition property.
*
* @param value
* allowed object is
* {@link TriggerDefinition }
*
*/
public void setValueTriggerDefinition(TriggerDefinition value) {
this.valueTriggerDefinition = value;
}
public TaskInput withName(org.hl7.fhir.String value) {
setName(value);
return this;
}
public TaskInput withValueBoolean(Boolean value) {
setValueBoolean(value);
return this;
}
public TaskInput withValueInteger(Integer value) {
setValueInteger(value);
return this;
}
public TaskInput withValueDecimal(Decimal value) {
setValueDecimal(value);
return this;
}
public TaskInput withValueBase64Binary(Base64Binary value) {
setValueBase64Binary(value);
return this;
}
public TaskInput withValueInstant(Instant value) {
setValueInstant(value);
return this;
}
public TaskInput withValueString(org.hl7.fhir.String value) {
setValueString(value);
return this;
}
public TaskInput withValueUri(Uri value) {
setValueUri(value);
return this;
}
public TaskInput withValueDate(Date value) {
setValueDate(value);
return this;
}
public TaskInput withValueDateTime(DateTime value) {
setValueDateTime(value);
return this;
}
public TaskInput withValueTime(Time value) {
setValueTime(value);
return this;
}
public TaskInput withValueCode(Code value) {
setValueCode(value);
return this;
}
public TaskInput withValueOid(Oid value) {
setValueOid(value);
return this;
}
public TaskInput withValueUuid(Uuid value) {
setValueUuid(value);
return this;
}
public TaskInput withValueId(Id value) {
setValueId(value);
return this;
}
public TaskInput withValueUnsignedInt(UnsignedInt value) {
setValueUnsignedInt(value);
return this;
}
public TaskInput withValuePositiveInt(PositiveInt value) {
setValuePositiveInt(value);
return this;
}
public TaskInput withValueMarkdown(Markdown value) {
setValueMarkdown(value);
return this;
}
public TaskInput withValueAnnotation(Annotation value) {
setValueAnnotation(value);
return this;
}
public TaskInput withValueAttachment(Attachment value) {
setValueAttachment(value);
return this;
}
public TaskInput withValueIdentifier(Identifier value) {
setValueIdentifier(value);
return this;
}
public TaskInput withValueCodeableConcept(CodeableConcept value) {
setValueCodeableConcept(value);
return this;
}
public TaskInput withValueCoding(Coding value) {
setValueCoding(value);
return this;
}
public TaskInput withValueQuantity(Quantity value) {
setValueQuantity(value);
return this;
}
public TaskInput withValueRange(Range value) {
setValueRange(value);
return this;
}
public TaskInput withValuePeriod(Period value) {
setValuePeriod(value);
return this;
}
public TaskInput withValueRatio(Ratio value) {
setValueRatio(value);
return this;
}
public TaskInput withValueReference(Reference value) {
setValueReference(value);
return this;
}
public TaskInput withValueSampledData(SampledData value) {
setValueSampledData(value);
return this;
}
public TaskInput withValueSignature(Signature value) {
setValueSignature(value);
return this;
}
public TaskInput withValueHumanName(HumanName value) {
setValueHumanName(value);
return this;
}
public TaskInput withValueAddress(Address value) {
setValueAddress(value);
return this;
}
public TaskInput withValueContactPoint(ContactPoint value) {
setValueContactPoint(value);
return this;
}
public TaskInput withValueTiming(Timing value) {
setValueTiming(value);
return this;
}
public TaskInput withValueMeta(Meta value) {
setValueMeta(value);
return this;
}
public TaskInput withValueElementDefinition(ElementDefinition value) {
setValueElementDefinition(value);
return this;
}
public TaskInput withValueModuleMetadata(ModuleMetadata value) {
setValueModuleMetadata(value);
return this;
}
public TaskInput withValueDataRequirement(DataRequirement value) {
setValueDataRequirement(value);
return this;
}
public TaskInput withValueActionDefinition(ActionDefinition value) {
setValueActionDefinition(value);
return this;
}
public TaskInput withValueParameterDefinition(ParameterDefinition value) {
setValueParameterDefinition(value);
return this;
}
public TaskInput withValueTriggerDefinition(TriggerDefinition value) {
setValueTriggerDefinition(value);
return this;
}
@Override
public TaskInput withModifierExtension(Extension... values) {
if (values!= null) {
for (Extension value: values) {
getModifierExtension().add(value);
}
}
return this;
}
@Override
public TaskInput withModifierExtension(Collection values) {
if (values!= null) {
getModifierExtension().addAll(values);
}
return this;
}
@Override
public TaskInput withExtension(Extension... values) {
if (values!= null) {
for (Extension value: values) {
getExtension().add(value);
}
}
return this;
}
@Override
public TaskInput withExtension(Collection values) {
if (values!= null) {
getExtension().addAll(values);
}
return this;
}
@Override
public TaskInput 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 TaskInput that = ((TaskInput) object);
{
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;
}
}
{
Boolean lhsValueBoolean;
lhsValueBoolean = this.getValueBoolean();
Boolean rhsValueBoolean;
rhsValueBoolean = that.getValueBoolean();
if (!strategy.equals(LocatorUtils.property(thisLocator, "valueBoolean", lhsValueBoolean), LocatorUtils.property(thatLocator, "valueBoolean", rhsValueBoolean), lhsValueBoolean, rhsValueBoolean, (this.valueBoolean!= null), (that.valueBoolean!= null))) {
return false;
}
}
{
Integer lhsValueInteger;
lhsValueInteger = this.getValueInteger();
Integer rhsValueInteger;
rhsValueInteger = that.getValueInteger();
if (!strategy.equals(LocatorUtils.property(thisLocator, "valueInteger", lhsValueInteger), LocatorUtils.property(thatLocator, "valueInteger", rhsValueInteger), lhsValueInteger, rhsValueInteger, (this.valueInteger!= null), (that.valueInteger!= null))) {
return false;
}
}
{
Decimal lhsValueDecimal;
lhsValueDecimal = this.getValueDecimal();
Decimal rhsValueDecimal;
rhsValueDecimal = that.getValueDecimal();
if (!strategy.equals(LocatorUtils.property(thisLocator, "valueDecimal", lhsValueDecimal), LocatorUtils.property(thatLocator, "valueDecimal", rhsValueDecimal), lhsValueDecimal, rhsValueDecimal, (this.valueDecimal!= null), (that.valueDecimal!= null))) {
return false;
}
}
{
Base64Binary lhsValueBase64Binary;
lhsValueBase64Binary = this.getValueBase64Binary();
Base64Binary rhsValueBase64Binary;
rhsValueBase64Binary = that.getValueBase64Binary();
if (!strategy.equals(LocatorUtils.property(thisLocator, "valueBase64Binary", lhsValueBase64Binary), LocatorUtils.property(thatLocator, "valueBase64Binary", rhsValueBase64Binary), lhsValueBase64Binary, rhsValueBase64Binary, (this.valueBase64Binary!= null), (that.valueBase64Binary!= null))) {
return false;
}
}
{
Instant lhsValueInstant;
lhsValueInstant = this.getValueInstant();
Instant rhsValueInstant;
rhsValueInstant = that.getValueInstant();
if (!strategy.equals(LocatorUtils.property(thisLocator, "valueInstant", lhsValueInstant), LocatorUtils.property(thatLocator, "valueInstant", rhsValueInstant), lhsValueInstant, rhsValueInstant, (this.valueInstant!= null), (that.valueInstant!= null))) {
return false;
}
}
{
org.hl7.fhir.String lhsValueString;
lhsValueString = this.getValueString();
org.hl7.fhir.String rhsValueString;
rhsValueString = that.getValueString();
if (!strategy.equals(LocatorUtils.property(thisLocator, "valueString", lhsValueString), LocatorUtils.property(thatLocator, "valueString", rhsValueString), lhsValueString, rhsValueString, (this.valueString!= null), (that.valueString!= null))) {
return false;
}
}
{
Uri lhsValueUri;
lhsValueUri = this.getValueUri();
Uri rhsValueUri;
rhsValueUri = that.getValueUri();
if (!strategy.equals(LocatorUtils.property(thisLocator, "valueUri", lhsValueUri), LocatorUtils.property(thatLocator, "valueUri", rhsValueUri), lhsValueUri, rhsValueUri, (this.valueUri!= null), (that.valueUri!= null))) {
return false;
}
}
{
Date lhsValueDate;
lhsValueDate = this.getValueDate();
Date rhsValueDate;
rhsValueDate = that.getValueDate();
if (!strategy.equals(LocatorUtils.property(thisLocator, "valueDate", lhsValueDate), LocatorUtils.property(thatLocator, "valueDate", rhsValueDate), lhsValueDate, rhsValueDate, (this.valueDate!= null), (that.valueDate!= null))) {
return false;
}
}
{
DateTime lhsValueDateTime;
lhsValueDateTime = this.getValueDateTime();
DateTime rhsValueDateTime;
rhsValueDateTime = that.getValueDateTime();
if (!strategy.equals(LocatorUtils.property(thisLocator, "valueDateTime", lhsValueDateTime), LocatorUtils.property(thatLocator, "valueDateTime", rhsValueDateTime), lhsValueDateTime, rhsValueDateTime, (this.valueDateTime!= null), (that.valueDateTime!= null))) {
return false;
}
}
{
Time lhsValueTime;
lhsValueTime = this.getValueTime();
Time rhsValueTime;
rhsValueTime = that.getValueTime();
if (!strategy.equals(LocatorUtils.property(thisLocator, "valueTime", lhsValueTime), LocatorUtils.property(thatLocator, "valueTime", rhsValueTime), lhsValueTime, rhsValueTime, (this.valueTime!= null), (that.valueTime!= null))) {
return false;
}
}
{
Code lhsValueCode;
lhsValueCode = this.getValueCode();
Code rhsValueCode;
rhsValueCode = that.getValueCode();
if (!strategy.equals(LocatorUtils.property(thisLocator, "valueCode", lhsValueCode), LocatorUtils.property(thatLocator, "valueCode", rhsValueCode), lhsValueCode, rhsValueCode, (this.valueCode!= null), (that.valueCode!= null))) {
return false;
}
}
{
Oid lhsValueOid;
lhsValueOid = this.getValueOid();
Oid rhsValueOid;
rhsValueOid = that.getValueOid();
if (!strategy.equals(LocatorUtils.property(thisLocator, "valueOid", lhsValueOid), LocatorUtils.property(thatLocator, "valueOid", rhsValueOid), lhsValueOid, rhsValueOid, (this.valueOid!= null), (that.valueOid!= null))) {
return false;
}
}
{
Uuid lhsValueUuid;
lhsValueUuid = this.getValueUuid();
Uuid rhsValueUuid;
rhsValueUuid = that.getValueUuid();
if (!strategy.equals(LocatorUtils.property(thisLocator, "valueUuid", lhsValueUuid), LocatorUtils.property(thatLocator, "valueUuid", rhsValueUuid), lhsValueUuid, rhsValueUuid, (this.valueUuid!= null), (that.valueUuid!= null))) {
return false;
}
}
{
Id lhsValueId;
lhsValueId = this.getValueId();
Id rhsValueId;
rhsValueId = that.getValueId();
if (!strategy.equals(LocatorUtils.property(thisLocator, "valueId", lhsValueId), LocatorUtils.property(thatLocator, "valueId", rhsValueId), lhsValueId, rhsValueId, (this.valueId!= null), (that.valueId!= null))) {
return false;
}
}
{
UnsignedInt lhsValueUnsignedInt;
lhsValueUnsignedInt = this.getValueUnsignedInt();
UnsignedInt rhsValueUnsignedInt;
rhsValueUnsignedInt = that.getValueUnsignedInt();
if (!strategy.equals(LocatorUtils.property(thisLocator, "valueUnsignedInt", lhsValueUnsignedInt), LocatorUtils.property(thatLocator, "valueUnsignedInt", rhsValueUnsignedInt), lhsValueUnsignedInt, rhsValueUnsignedInt, (this.valueUnsignedInt!= null), (that.valueUnsignedInt!= null))) {
return false;
}
}
{
PositiveInt lhsValuePositiveInt;
lhsValuePositiveInt = this.getValuePositiveInt();
PositiveInt rhsValuePositiveInt;
rhsValuePositiveInt = that.getValuePositiveInt();
if (!strategy.equals(LocatorUtils.property(thisLocator, "valuePositiveInt", lhsValuePositiveInt), LocatorUtils.property(thatLocator, "valuePositiveInt", rhsValuePositiveInt), lhsValuePositiveInt, rhsValuePositiveInt, (this.valuePositiveInt!= null), (that.valuePositiveInt!= null))) {
return false;
}
}
{
Markdown lhsValueMarkdown;
lhsValueMarkdown = this.getValueMarkdown();
Markdown rhsValueMarkdown;
rhsValueMarkdown = that.getValueMarkdown();
if (!strategy.equals(LocatorUtils.property(thisLocator, "valueMarkdown", lhsValueMarkdown), LocatorUtils.property(thatLocator, "valueMarkdown", rhsValueMarkdown), lhsValueMarkdown, rhsValueMarkdown, (this.valueMarkdown!= null), (that.valueMarkdown!= null))) {
return false;
}
}
{
Annotation lhsValueAnnotation;
lhsValueAnnotation = this.getValueAnnotation();
Annotation rhsValueAnnotation;
rhsValueAnnotation = that.getValueAnnotation();
if (!strategy.equals(LocatorUtils.property(thisLocator, "valueAnnotation", lhsValueAnnotation), LocatorUtils.property(thatLocator, "valueAnnotation", rhsValueAnnotation), lhsValueAnnotation, rhsValueAnnotation, (this.valueAnnotation!= null), (that.valueAnnotation!= null))) {
return false;
}
}
{
Attachment lhsValueAttachment;
lhsValueAttachment = this.getValueAttachment();
Attachment rhsValueAttachment;
rhsValueAttachment = that.getValueAttachment();
if (!strategy.equals(LocatorUtils.property(thisLocator, "valueAttachment", lhsValueAttachment), LocatorUtils.property(thatLocator, "valueAttachment", rhsValueAttachment), lhsValueAttachment, rhsValueAttachment, (this.valueAttachment!= null), (that.valueAttachment!= null))) {
return false;
}
}
{
Identifier lhsValueIdentifier;
lhsValueIdentifier = this.getValueIdentifier();
Identifier rhsValueIdentifier;
rhsValueIdentifier = that.getValueIdentifier();
if (!strategy.equals(LocatorUtils.property(thisLocator, "valueIdentifier", lhsValueIdentifier), LocatorUtils.property(thatLocator, "valueIdentifier", rhsValueIdentifier), lhsValueIdentifier, rhsValueIdentifier, (this.valueIdentifier!= null), (that.valueIdentifier!= null))) {
return false;
}
}
{
CodeableConcept lhsValueCodeableConcept;
lhsValueCodeableConcept = this.getValueCodeableConcept();
CodeableConcept rhsValueCodeableConcept;
rhsValueCodeableConcept = that.getValueCodeableConcept();
if (!strategy.equals(LocatorUtils.property(thisLocator, "valueCodeableConcept", lhsValueCodeableConcept), LocatorUtils.property(thatLocator, "valueCodeableConcept", rhsValueCodeableConcept), lhsValueCodeableConcept, rhsValueCodeableConcept, (this.valueCodeableConcept!= null), (that.valueCodeableConcept!= null))) {
return false;
}
}
{
Coding lhsValueCoding;
lhsValueCoding = this.getValueCoding();
Coding rhsValueCoding;
rhsValueCoding = that.getValueCoding();
if (!strategy.equals(LocatorUtils.property(thisLocator, "valueCoding", lhsValueCoding), LocatorUtils.property(thatLocator, "valueCoding", rhsValueCoding), lhsValueCoding, rhsValueCoding, (this.valueCoding!= null), (that.valueCoding!= null))) {
return false;
}
}
{
Quantity lhsValueQuantity;
lhsValueQuantity = this.getValueQuantity();
Quantity rhsValueQuantity;
rhsValueQuantity = that.getValueQuantity();
if (!strategy.equals(LocatorUtils.property(thisLocator, "valueQuantity", lhsValueQuantity), LocatorUtils.property(thatLocator, "valueQuantity", rhsValueQuantity), lhsValueQuantity, rhsValueQuantity, (this.valueQuantity!= null), (that.valueQuantity!= null))) {
return false;
}
}
{
Range lhsValueRange;
lhsValueRange = this.getValueRange();
Range rhsValueRange;
rhsValueRange = that.getValueRange();
if (!strategy.equals(LocatorUtils.property(thisLocator, "valueRange", lhsValueRange), LocatorUtils.property(thatLocator, "valueRange", rhsValueRange), lhsValueRange, rhsValueRange, (this.valueRange!= null), (that.valueRange!= null))) {
return false;
}
}
{
Period lhsValuePeriod;
lhsValuePeriod = this.getValuePeriod();
Period rhsValuePeriod;
rhsValuePeriod = that.getValuePeriod();
if (!strategy.equals(LocatorUtils.property(thisLocator, "valuePeriod", lhsValuePeriod), LocatorUtils.property(thatLocator, "valuePeriod", rhsValuePeriod), lhsValuePeriod, rhsValuePeriod, (this.valuePeriod!= null), (that.valuePeriod!= null))) {
return false;
}
}
{
Ratio lhsValueRatio;
lhsValueRatio = this.getValueRatio();
Ratio rhsValueRatio;
rhsValueRatio = that.getValueRatio();
if (!strategy.equals(LocatorUtils.property(thisLocator, "valueRatio", lhsValueRatio), LocatorUtils.property(thatLocator, "valueRatio", rhsValueRatio), lhsValueRatio, rhsValueRatio, (this.valueRatio!= null), (that.valueRatio!= null))) {
return false;
}
}
{
Reference lhsValueReference;
lhsValueReference = this.getValueReference();
Reference rhsValueReference;
rhsValueReference = that.getValueReference();
if (!strategy.equals(LocatorUtils.property(thisLocator, "valueReference", lhsValueReference), LocatorUtils.property(thatLocator, "valueReference", rhsValueReference), lhsValueReference, rhsValueReference, (this.valueReference!= null), (that.valueReference!= null))) {
return false;
}
}
{
SampledData lhsValueSampledData;
lhsValueSampledData = this.getValueSampledData();
SampledData rhsValueSampledData;
rhsValueSampledData = that.getValueSampledData();
if (!strategy.equals(LocatorUtils.property(thisLocator, "valueSampledData", lhsValueSampledData), LocatorUtils.property(thatLocator, "valueSampledData", rhsValueSampledData), lhsValueSampledData, rhsValueSampledData, (this.valueSampledData!= null), (that.valueSampledData!= null))) {
return false;
}
}
{
Signature lhsValueSignature;
lhsValueSignature = this.getValueSignature();
Signature rhsValueSignature;
rhsValueSignature = that.getValueSignature();
if (!strategy.equals(LocatorUtils.property(thisLocator, "valueSignature", lhsValueSignature), LocatorUtils.property(thatLocator, "valueSignature", rhsValueSignature), lhsValueSignature, rhsValueSignature, (this.valueSignature!= null), (that.valueSignature!= null))) {
return false;
}
}
{
HumanName lhsValueHumanName;
lhsValueHumanName = this.getValueHumanName();
HumanName rhsValueHumanName;
rhsValueHumanName = that.getValueHumanName();
if (!strategy.equals(LocatorUtils.property(thisLocator, "valueHumanName", lhsValueHumanName), LocatorUtils.property(thatLocator, "valueHumanName", rhsValueHumanName), lhsValueHumanName, rhsValueHumanName, (this.valueHumanName!= null), (that.valueHumanName!= null))) {
return false;
}
}
{
Address lhsValueAddress;
lhsValueAddress = this.getValueAddress();
Address rhsValueAddress;
rhsValueAddress = that.getValueAddress();
if (!strategy.equals(LocatorUtils.property(thisLocator, "valueAddress", lhsValueAddress), LocatorUtils.property(thatLocator, "valueAddress", rhsValueAddress), lhsValueAddress, rhsValueAddress, (this.valueAddress!= null), (that.valueAddress!= null))) {
return false;
}
}
{
ContactPoint lhsValueContactPoint;
lhsValueContactPoint = this.getValueContactPoint();
ContactPoint rhsValueContactPoint;
rhsValueContactPoint = that.getValueContactPoint();
if (!strategy.equals(LocatorUtils.property(thisLocator, "valueContactPoint", lhsValueContactPoint), LocatorUtils.property(thatLocator, "valueContactPoint", rhsValueContactPoint), lhsValueContactPoint, rhsValueContactPoint, (this.valueContactPoint!= null), (that.valueContactPoint!= null))) {
return false;
}
}
{
Timing lhsValueTiming;
lhsValueTiming = this.getValueTiming();
Timing rhsValueTiming;
rhsValueTiming = that.getValueTiming();
if (!strategy.equals(LocatorUtils.property(thisLocator, "valueTiming", lhsValueTiming), LocatorUtils.property(thatLocator, "valueTiming", rhsValueTiming), lhsValueTiming, rhsValueTiming, (this.valueTiming!= null), (that.valueTiming!= null))) {
return false;
}
}
{
Meta lhsValueMeta;
lhsValueMeta = this.getValueMeta();
Meta rhsValueMeta;
rhsValueMeta = that.getValueMeta();
if (!strategy.equals(LocatorUtils.property(thisLocator, "valueMeta", lhsValueMeta), LocatorUtils.property(thatLocator, "valueMeta", rhsValueMeta), lhsValueMeta, rhsValueMeta, (this.valueMeta!= null), (that.valueMeta!= null))) {
return false;
}
}
{
ElementDefinition lhsValueElementDefinition;
lhsValueElementDefinition = this.getValueElementDefinition();
ElementDefinition rhsValueElementDefinition;
rhsValueElementDefinition = that.getValueElementDefinition();
if (!strategy.equals(LocatorUtils.property(thisLocator, "valueElementDefinition", lhsValueElementDefinition), LocatorUtils.property(thatLocator, "valueElementDefinition", rhsValueElementDefinition), lhsValueElementDefinition, rhsValueElementDefinition, (this.valueElementDefinition!= null), (that.valueElementDefinition!= null))) {
return false;
}
}
{
ModuleMetadata lhsValueModuleMetadata;
lhsValueModuleMetadata = this.getValueModuleMetadata();
ModuleMetadata rhsValueModuleMetadata;
rhsValueModuleMetadata = that.getValueModuleMetadata();
if (!strategy.equals(LocatorUtils.property(thisLocator, "valueModuleMetadata", lhsValueModuleMetadata), LocatorUtils.property(thatLocator, "valueModuleMetadata", rhsValueModuleMetadata), lhsValueModuleMetadata, rhsValueModuleMetadata, (this.valueModuleMetadata!= null), (that.valueModuleMetadata!= null))) {
return false;
}
}
{
DataRequirement lhsValueDataRequirement;
lhsValueDataRequirement = this.getValueDataRequirement();
DataRequirement rhsValueDataRequirement;
rhsValueDataRequirement = that.getValueDataRequirement();
if (!strategy.equals(LocatorUtils.property(thisLocator, "valueDataRequirement", lhsValueDataRequirement), LocatorUtils.property(thatLocator, "valueDataRequirement", rhsValueDataRequirement), lhsValueDataRequirement, rhsValueDataRequirement, (this.valueDataRequirement!= null), (that.valueDataRequirement!= null))) {
return false;
}
}
{
ActionDefinition lhsValueActionDefinition;
lhsValueActionDefinition = this.getValueActionDefinition();
ActionDefinition rhsValueActionDefinition;
rhsValueActionDefinition = that.getValueActionDefinition();
if (!strategy.equals(LocatorUtils.property(thisLocator, "valueActionDefinition", lhsValueActionDefinition), LocatorUtils.property(thatLocator, "valueActionDefinition", rhsValueActionDefinition), lhsValueActionDefinition, rhsValueActionDefinition, (this.valueActionDefinition!= null), (that.valueActionDefinition!= null))) {
return false;
}
}
{
ParameterDefinition lhsValueParameterDefinition;
lhsValueParameterDefinition = this.getValueParameterDefinition();
ParameterDefinition rhsValueParameterDefinition;
rhsValueParameterDefinition = that.getValueParameterDefinition();
if (!strategy.equals(LocatorUtils.property(thisLocator, "valueParameterDefinition", lhsValueParameterDefinition), LocatorUtils.property(thatLocator, "valueParameterDefinition", rhsValueParameterDefinition), lhsValueParameterDefinition, rhsValueParameterDefinition, (this.valueParameterDefinition!= null), (that.valueParameterDefinition!= null))) {
return false;
}
}
{
TriggerDefinition lhsValueTriggerDefinition;
lhsValueTriggerDefinition = this.getValueTriggerDefinition();
TriggerDefinition rhsValueTriggerDefinition;
rhsValueTriggerDefinition = that.getValueTriggerDefinition();
if (!strategy.equals(LocatorUtils.property(thisLocator, "valueTriggerDefinition", lhsValueTriggerDefinition), LocatorUtils.property(thatLocator, "valueTriggerDefinition", rhsValueTriggerDefinition), lhsValueTriggerDefinition, rhsValueTriggerDefinition, (this.valueTriggerDefinition!= null), (that.valueTriggerDefinition!= 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);
{
org.hl7.fhir.String theName;
theName = this.getName();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "name", theName), currentHashCode, theName, (this.name!= null));
}
{
Boolean theValueBoolean;
theValueBoolean = this.getValueBoolean();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "valueBoolean", theValueBoolean), currentHashCode, theValueBoolean, (this.valueBoolean!= null));
}
{
Integer theValueInteger;
theValueInteger = this.getValueInteger();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "valueInteger", theValueInteger), currentHashCode, theValueInteger, (this.valueInteger!= null));
}
{
Decimal theValueDecimal;
theValueDecimal = this.getValueDecimal();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "valueDecimal", theValueDecimal), currentHashCode, theValueDecimal, (this.valueDecimal!= null));
}
{
Base64Binary theValueBase64Binary;
theValueBase64Binary = this.getValueBase64Binary();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "valueBase64Binary", theValueBase64Binary), currentHashCode, theValueBase64Binary, (this.valueBase64Binary!= null));
}
{
Instant theValueInstant;
theValueInstant = this.getValueInstant();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "valueInstant", theValueInstant), currentHashCode, theValueInstant, (this.valueInstant!= null));
}
{
org.hl7.fhir.String theValueString;
theValueString = this.getValueString();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "valueString", theValueString), currentHashCode, theValueString, (this.valueString!= null));
}
{
Uri theValueUri;
theValueUri = this.getValueUri();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "valueUri", theValueUri), currentHashCode, theValueUri, (this.valueUri!= null));
}
{
Date theValueDate;
theValueDate = this.getValueDate();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "valueDate", theValueDate), currentHashCode, theValueDate, (this.valueDate!= null));
}
{
DateTime theValueDateTime;
theValueDateTime = this.getValueDateTime();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "valueDateTime", theValueDateTime), currentHashCode, theValueDateTime, (this.valueDateTime!= null));
}
{
Time theValueTime;
theValueTime = this.getValueTime();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "valueTime", theValueTime), currentHashCode, theValueTime, (this.valueTime!= null));
}
{
Code theValueCode;
theValueCode = this.getValueCode();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "valueCode", theValueCode), currentHashCode, theValueCode, (this.valueCode!= null));
}
{
Oid theValueOid;
theValueOid = this.getValueOid();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "valueOid", theValueOid), currentHashCode, theValueOid, (this.valueOid!= null));
}
{
Uuid theValueUuid;
theValueUuid = this.getValueUuid();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "valueUuid", theValueUuid), currentHashCode, theValueUuid, (this.valueUuid!= null));
}
{
Id theValueId;
theValueId = this.getValueId();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "valueId", theValueId), currentHashCode, theValueId, (this.valueId!= null));
}
{
UnsignedInt theValueUnsignedInt;
theValueUnsignedInt = this.getValueUnsignedInt();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "valueUnsignedInt", theValueUnsignedInt), currentHashCode, theValueUnsignedInt, (this.valueUnsignedInt!= null));
}
{
PositiveInt theValuePositiveInt;
theValuePositiveInt = this.getValuePositiveInt();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "valuePositiveInt", theValuePositiveInt), currentHashCode, theValuePositiveInt, (this.valuePositiveInt!= null));
}
{
Markdown theValueMarkdown;
theValueMarkdown = this.getValueMarkdown();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "valueMarkdown", theValueMarkdown), currentHashCode, theValueMarkdown, (this.valueMarkdown!= null));
}
{
Annotation theValueAnnotation;
theValueAnnotation = this.getValueAnnotation();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "valueAnnotation", theValueAnnotation), currentHashCode, theValueAnnotation, (this.valueAnnotation!= null));
}
{
Attachment theValueAttachment;
theValueAttachment = this.getValueAttachment();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "valueAttachment", theValueAttachment), currentHashCode, theValueAttachment, (this.valueAttachment!= null));
}
{
Identifier theValueIdentifier;
theValueIdentifier = this.getValueIdentifier();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "valueIdentifier", theValueIdentifier), currentHashCode, theValueIdentifier, (this.valueIdentifier!= null));
}
{
CodeableConcept theValueCodeableConcept;
theValueCodeableConcept = this.getValueCodeableConcept();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "valueCodeableConcept", theValueCodeableConcept), currentHashCode, theValueCodeableConcept, (this.valueCodeableConcept!= null));
}
{
Coding theValueCoding;
theValueCoding = this.getValueCoding();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "valueCoding", theValueCoding), currentHashCode, theValueCoding, (this.valueCoding!= null));
}
{
Quantity theValueQuantity;
theValueQuantity = this.getValueQuantity();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "valueQuantity", theValueQuantity), currentHashCode, theValueQuantity, (this.valueQuantity!= null));
}
{
Range theValueRange;
theValueRange = this.getValueRange();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "valueRange", theValueRange), currentHashCode, theValueRange, (this.valueRange!= null));
}
{
Period theValuePeriod;
theValuePeriod = this.getValuePeriod();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "valuePeriod", theValuePeriod), currentHashCode, theValuePeriod, (this.valuePeriod!= null));
}
{
Ratio theValueRatio;
theValueRatio = this.getValueRatio();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "valueRatio", theValueRatio), currentHashCode, theValueRatio, (this.valueRatio!= null));
}
{
Reference theValueReference;
theValueReference = this.getValueReference();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "valueReference", theValueReference), currentHashCode, theValueReference, (this.valueReference!= null));
}
{
SampledData theValueSampledData;
theValueSampledData = this.getValueSampledData();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "valueSampledData", theValueSampledData), currentHashCode, theValueSampledData, (this.valueSampledData!= null));
}
{
Signature theValueSignature;
theValueSignature = this.getValueSignature();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "valueSignature", theValueSignature), currentHashCode, theValueSignature, (this.valueSignature!= null));
}
{
HumanName theValueHumanName;
theValueHumanName = this.getValueHumanName();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "valueHumanName", theValueHumanName), currentHashCode, theValueHumanName, (this.valueHumanName!= null));
}
{
Address theValueAddress;
theValueAddress = this.getValueAddress();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "valueAddress", theValueAddress), currentHashCode, theValueAddress, (this.valueAddress!= null));
}
{
ContactPoint theValueContactPoint;
theValueContactPoint = this.getValueContactPoint();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "valueContactPoint", theValueContactPoint), currentHashCode, theValueContactPoint, (this.valueContactPoint!= null));
}
{
Timing theValueTiming;
theValueTiming = this.getValueTiming();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "valueTiming", theValueTiming), currentHashCode, theValueTiming, (this.valueTiming!= null));
}
{
Meta theValueMeta;
theValueMeta = this.getValueMeta();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "valueMeta", theValueMeta), currentHashCode, theValueMeta, (this.valueMeta!= null));
}
{
ElementDefinition theValueElementDefinition;
theValueElementDefinition = this.getValueElementDefinition();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "valueElementDefinition", theValueElementDefinition), currentHashCode, theValueElementDefinition, (this.valueElementDefinition!= null));
}
{
ModuleMetadata theValueModuleMetadata;
theValueModuleMetadata = this.getValueModuleMetadata();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "valueModuleMetadata", theValueModuleMetadata), currentHashCode, theValueModuleMetadata, (this.valueModuleMetadata!= null));
}
{
DataRequirement theValueDataRequirement;
theValueDataRequirement = this.getValueDataRequirement();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "valueDataRequirement", theValueDataRequirement), currentHashCode, theValueDataRequirement, (this.valueDataRequirement!= null));
}
{
ActionDefinition theValueActionDefinition;
theValueActionDefinition = this.getValueActionDefinition();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "valueActionDefinition", theValueActionDefinition), currentHashCode, theValueActionDefinition, (this.valueActionDefinition!= null));
}
{
ParameterDefinition theValueParameterDefinition;
theValueParameterDefinition = this.getValueParameterDefinition();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "valueParameterDefinition", theValueParameterDefinition), currentHashCode, theValueParameterDefinition, (this.valueParameterDefinition!= null));
}
{
TriggerDefinition theValueTriggerDefinition;
theValueTriggerDefinition = this.getValueTriggerDefinition();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "valueTriggerDefinition", theValueTriggerDefinition), currentHashCode, theValueTriggerDefinition, (this.valueTriggerDefinition!= 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);
{
org.hl7.fhir.String theName;
theName = this.getName();
strategy.appendField(locator, this, "name", buffer, theName, (this.name!= null));
}
{
Boolean theValueBoolean;
theValueBoolean = this.getValueBoolean();
strategy.appendField(locator, this, "valueBoolean", buffer, theValueBoolean, (this.valueBoolean!= null));
}
{
Integer theValueInteger;
theValueInteger = this.getValueInteger();
strategy.appendField(locator, this, "valueInteger", buffer, theValueInteger, (this.valueInteger!= null));
}
{
Decimal theValueDecimal;
theValueDecimal = this.getValueDecimal();
strategy.appendField(locator, this, "valueDecimal", buffer, theValueDecimal, (this.valueDecimal!= null));
}
{
Base64Binary theValueBase64Binary;
theValueBase64Binary = this.getValueBase64Binary();
strategy.appendField(locator, this, "valueBase64Binary", buffer, theValueBase64Binary, (this.valueBase64Binary!= null));
}
{
Instant theValueInstant;
theValueInstant = this.getValueInstant();
strategy.appendField(locator, this, "valueInstant", buffer, theValueInstant, (this.valueInstant!= null));
}
{
org.hl7.fhir.String theValueString;
theValueString = this.getValueString();
strategy.appendField(locator, this, "valueString", buffer, theValueString, (this.valueString!= null));
}
{
Uri theValueUri;
theValueUri = this.getValueUri();
strategy.appendField(locator, this, "valueUri", buffer, theValueUri, (this.valueUri!= null));
}
{
Date theValueDate;
theValueDate = this.getValueDate();
strategy.appendField(locator, this, "valueDate", buffer, theValueDate, (this.valueDate!= null));
}
{
DateTime theValueDateTime;
theValueDateTime = this.getValueDateTime();
strategy.appendField(locator, this, "valueDateTime", buffer, theValueDateTime, (this.valueDateTime!= null));
}
{
Time theValueTime;
theValueTime = this.getValueTime();
strategy.appendField(locator, this, "valueTime", buffer, theValueTime, (this.valueTime!= null));
}
{
Code theValueCode;
theValueCode = this.getValueCode();
strategy.appendField(locator, this, "valueCode", buffer, theValueCode, (this.valueCode!= null));
}
{
Oid theValueOid;
theValueOid = this.getValueOid();
strategy.appendField(locator, this, "valueOid", buffer, theValueOid, (this.valueOid!= null));
}
{
Uuid theValueUuid;
theValueUuid = this.getValueUuid();
strategy.appendField(locator, this, "valueUuid", buffer, theValueUuid, (this.valueUuid!= null));
}
{
Id theValueId;
theValueId = this.getValueId();
strategy.appendField(locator, this, "valueId", buffer, theValueId, (this.valueId!= null));
}
{
UnsignedInt theValueUnsignedInt;
theValueUnsignedInt = this.getValueUnsignedInt();
strategy.appendField(locator, this, "valueUnsignedInt", buffer, theValueUnsignedInt, (this.valueUnsignedInt!= null));
}
{
PositiveInt theValuePositiveInt;
theValuePositiveInt = this.getValuePositiveInt();
strategy.appendField(locator, this, "valuePositiveInt", buffer, theValuePositiveInt, (this.valuePositiveInt!= null));
}
{
Markdown theValueMarkdown;
theValueMarkdown = this.getValueMarkdown();
strategy.appendField(locator, this, "valueMarkdown", buffer, theValueMarkdown, (this.valueMarkdown!= null));
}
{
Annotation theValueAnnotation;
theValueAnnotation = this.getValueAnnotation();
strategy.appendField(locator, this, "valueAnnotation", buffer, theValueAnnotation, (this.valueAnnotation!= null));
}
{
Attachment theValueAttachment;
theValueAttachment = this.getValueAttachment();
strategy.appendField(locator, this, "valueAttachment", buffer, theValueAttachment, (this.valueAttachment!= null));
}
{
Identifier theValueIdentifier;
theValueIdentifier = this.getValueIdentifier();
strategy.appendField(locator, this, "valueIdentifier", buffer, theValueIdentifier, (this.valueIdentifier!= null));
}
{
CodeableConcept theValueCodeableConcept;
theValueCodeableConcept = this.getValueCodeableConcept();
strategy.appendField(locator, this, "valueCodeableConcept", buffer, theValueCodeableConcept, (this.valueCodeableConcept!= null));
}
{
Coding theValueCoding;
theValueCoding = this.getValueCoding();
strategy.appendField(locator, this, "valueCoding", buffer, theValueCoding, (this.valueCoding!= null));
}
{
Quantity theValueQuantity;
theValueQuantity = this.getValueQuantity();
strategy.appendField(locator, this, "valueQuantity", buffer, theValueQuantity, (this.valueQuantity!= null));
}
{
Range theValueRange;
theValueRange = this.getValueRange();
strategy.appendField(locator, this, "valueRange", buffer, theValueRange, (this.valueRange!= null));
}
{
Period theValuePeriod;
theValuePeriod = this.getValuePeriod();
strategy.appendField(locator, this, "valuePeriod", buffer, theValuePeriod, (this.valuePeriod!= null));
}
{
Ratio theValueRatio;
theValueRatio = this.getValueRatio();
strategy.appendField(locator, this, "valueRatio", buffer, theValueRatio, (this.valueRatio!= null));
}
{
Reference theValueReference;
theValueReference = this.getValueReference();
strategy.appendField(locator, this, "valueReference", buffer, theValueReference, (this.valueReference!= null));
}
{
SampledData theValueSampledData;
theValueSampledData = this.getValueSampledData();
strategy.appendField(locator, this, "valueSampledData", buffer, theValueSampledData, (this.valueSampledData!= null));
}
{
Signature theValueSignature;
theValueSignature = this.getValueSignature();
strategy.appendField(locator, this, "valueSignature", buffer, theValueSignature, (this.valueSignature!= null));
}
{
HumanName theValueHumanName;
theValueHumanName = this.getValueHumanName();
strategy.appendField(locator, this, "valueHumanName", buffer, theValueHumanName, (this.valueHumanName!= null));
}
{
Address theValueAddress;
theValueAddress = this.getValueAddress();
strategy.appendField(locator, this, "valueAddress", buffer, theValueAddress, (this.valueAddress!= null));
}
{
ContactPoint theValueContactPoint;
theValueContactPoint = this.getValueContactPoint();
strategy.appendField(locator, this, "valueContactPoint", buffer, theValueContactPoint, (this.valueContactPoint!= null));
}
{
Timing theValueTiming;
theValueTiming = this.getValueTiming();
strategy.appendField(locator, this, "valueTiming", buffer, theValueTiming, (this.valueTiming!= null));
}
{
Meta theValueMeta;
theValueMeta = this.getValueMeta();
strategy.appendField(locator, this, "valueMeta", buffer, theValueMeta, (this.valueMeta!= null));
}
{
ElementDefinition theValueElementDefinition;
theValueElementDefinition = this.getValueElementDefinition();
strategy.appendField(locator, this, "valueElementDefinition", buffer, theValueElementDefinition, (this.valueElementDefinition!= null));
}
{
ModuleMetadata theValueModuleMetadata;
theValueModuleMetadata = this.getValueModuleMetadata();
strategy.appendField(locator, this, "valueModuleMetadata", buffer, theValueModuleMetadata, (this.valueModuleMetadata!= null));
}
{
DataRequirement theValueDataRequirement;
theValueDataRequirement = this.getValueDataRequirement();
strategy.appendField(locator, this, "valueDataRequirement", buffer, theValueDataRequirement, (this.valueDataRequirement!= null));
}
{
ActionDefinition theValueActionDefinition;
theValueActionDefinition = this.getValueActionDefinition();
strategy.appendField(locator, this, "valueActionDefinition", buffer, theValueActionDefinition, (this.valueActionDefinition!= null));
}
{
ParameterDefinition theValueParameterDefinition;
theValueParameterDefinition = this.getValueParameterDefinition();
strategy.appendField(locator, this, "valueParameterDefinition", buffer, theValueParameterDefinition, (this.valueParameterDefinition!= null));
}
{
TriggerDefinition theValueTriggerDefinition;
theValueTriggerDefinition = this.getValueTriggerDefinition();
strategy.appendField(locator, this, "valueTriggerDefinition", buffer, theValueTriggerDefinition, (this.valueTriggerDefinition!= null));
}
return buffer;
}
}