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

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

Go to download

The quick library for the Clinical Quality Language Java reference implementation

There is a newer version: 3.18.0
Show newest version
//
// This file was generated by the Eclipse Implementation of JAXB, v3.0.2 
// See https://eclipse-ee4j.github.io/jaxb-ri 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2024.09.27 at 11:16:19 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 structured set of questions intended to guide the collection of answers. The questions are ordered and grouped into coherent subsets, corresponding to the structure of the grouping of the underlying questions.
 * 
 * 

Java class for Questionnaire.EnableWhen complex type. * *

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

 * <complexType name="Questionnaire.EnableWhen">
 *   <complexContent>
 *     <extension base="{http://hl7.org/fhir}BackboneElement">
 *       <sequence>
 *         <element name="question" type="{http://hl7.org/fhir}string"/>
 *         <element name="answered" type="{http://hl7.org/fhir}boolean" minOccurs="0"/>
 *         <choice minOccurs="0">
 *           <element name="answerBoolean" type="{http://hl7.org/fhir}boolean"/>
 *           <element name="answerDecimal" type="{http://hl7.org/fhir}decimal"/>
 *           <element name="answerInteger" type="{http://hl7.org/fhir}integer"/>
 *           <element name="answerDate" type="{http://hl7.org/fhir}date"/>
 *           <element name="answerDateTime" type="{http://hl7.org/fhir}dateTime"/>
 *           <element name="answerInstant" type="{http://hl7.org/fhir}instant"/>
 *           <element name="answerTime" type="{http://hl7.org/fhir}time"/>
 *           <element name="answerString" type="{http://hl7.org/fhir}string"/>
 *           <element name="answerUri" type="{http://hl7.org/fhir}uri"/>
 *           <element name="answerAttachment" type="{http://hl7.org/fhir}Attachment"/>
 *           <element name="answerCoding" type="{http://hl7.org/fhir}Coding"/>
 *           <element name="answerQuantity" type="{http://hl7.org/fhir}Quantity"/>
 *           <element name="answerReference" type="{http://hl7.org/fhir}Reference"/>
 *         </choice>
 *       </sequence>
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "Questionnaire.EnableWhen", propOrder = { "question", "answered", "answerBoolean", "answerDecimal", "answerInteger", "answerDate", "answerDateTime", "answerInstant", "answerTime", "answerString", "answerUri", "answerAttachment", "answerCoding", "answerQuantity", "answerReference" }) public class QuestionnaireEnableWhen extends BackboneElement implements Equals2, HashCode2, ToString2 { @XmlElement(required = true) protected org.hl7.fhir.String question; protected Boolean answered; protected Boolean answerBoolean; protected Decimal answerDecimal; protected Integer answerInteger; protected Date answerDate; protected DateTime answerDateTime; protected Instant answerInstant; protected Time answerTime; protected org.hl7.fhir.String answerString; protected Uri answerUri; protected Attachment answerAttachment; protected Coding answerCoding; protected Quantity answerQuantity; protected Reference answerReference; /** * Gets the value of the question property. * * @return * possible object is * {@link org.hl7.fhir.String } * */ public org.hl7.fhir.String getQuestion() { return question; } /** * Sets the value of the question property. * * @param value * allowed object is * {@link org.hl7.fhir.String } * */ public void setQuestion(org.hl7.fhir.String value) { this.question = value; } /** * Gets the value of the answered property. * * @return * possible object is * {@link Boolean } * */ public Boolean getAnswered() { return answered; } /** * Sets the value of the answered property. * * @param value * allowed object is * {@link Boolean } * */ public void setAnswered(Boolean value) { this.answered = value; } /** * Gets the value of the answerBoolean property. * * @return * possible object is * {@link Boolean } * */ public Boolean getAnswerBoolean() { return answerBoolean; } /** * Sets the value of the answerBoolean property. * * @param value * allowed object is * {@link Boolean } * */ public void setAnswerBoolean(Boolean value) { this.answerBoolean = value; } /** * Gets the value of the answerDecimal property. * * @return * possible object is * {@link Decimal } * */ public Decimal getAnswerDecimal() { return answerDecimal; } /** * Sets the value of the answerDecimal property. * * @param value * allowed object is * {@link Decimal } * */ public void setAnswerDecimal(Decimal value) { this.answerDecimal = value; } /** * Gets the value of the answerInteger property. * * @return * possible object is * {@link Integer } * */ public Integer getAnswerInteger() { return answerInteger; } /** * Sets the value of the answerInteger property. * * @param value * allowed object is * {@link Integer } * */ public void setAnswerInteger(Integer value) { this.answerInteger = value; } /** * Gets the value of the answerDate property. * * @return * possible object is * {@link Date } * */ public Date getAnswerDate() { return answerDate; } /** * Sets the value of the answerDate property. * * @param value * allowed object is * {@link Date } * */ public void setAnswerDate(Date value) { this.answerDate = value; } /** * Gets the value of the answerDateTime property. * * @return * possible object is * {@link DateTime } * */ public DateTime getAnswerDateTime() { return answerDateTime; } /** * Sets the value of the answerDateTime property. * * @param value * allowed object is * {@link DateTime } * */ public void setAnswerDateTime(DateTime value) { this.answerDateTime = value; } /** * Gets the value of the answerInstant property. * * @return * possible object is * {@link Instant } * */ public Instant getAnswerInstant() { return answerInstant; } /** * Sets the value of the answerInstant property. * * @param value * allowed object is * {@link Instant } * */ public void setAnswerInstant(Instant value) { this.answerInstant = value; } /** * Gets the value of the answerTime property. * * @return * possible object is * {@link Time } * */ public Time getAnswerTime() { return answerTime; } /** * Sets the value of the answerTime property. * * @param value * allowed object is * {@link Time } * */ public void setAnswerTime(Time value) { this.answerTime = value; } /** * Gets the value of the answerString property. * * @return * possible object is * {@link org.hl7.fhir.String } * */ public org.hl7.fhir.String getAnswerString() { return answerString; } /** * Sets the value of the answerString property. * * @param value * allowed object is * {@link org.hl7.fhir.String } * */ public void setAnswerString(org.hl7.fhir.String value) { this.answerString = value; } /** * Gets the value of the answerUri property. * * @return * possible object is * {@link Uri } * */ public Uri getAnswerUri() { return answerUri; } /** * Sets the value of the answerUri property. * * @param value * allowed object is * {@link Uri } * */ public void setAnswerUri(Uri value) { this.answerUri = value; } /** * Gets the value of the answerAttachment property. * * @return * possible object is * {@link Attachment } * */ public Attachment getAnswerAttachment() { return answerAttachment; } /** * Sets the value of the answerAttachment property. * * @param value * allowed object is * {@link Attachment } * */ public void setAnswerAttachment(Attachment value) { this.answerAttachment = value; } /** * Gets the value of the answerCoding property. * * @return * possible object is * {@link Coding } * */ public Coding getAnswerCoding() { return answerCoding; } /** * Sets the value of the answerCoding property. * * @param value * allowed object is * {@link Coding } * */ public void setAnswerCoding(Coding value) { this.answerCoding = value; } /** * Gets the value of the answerQuantity property. * * @return * possible object is * {@link Quantity } * */ public Quantity getAnswerQuantity() { return answerQuantity; } /** * Sets the value of the answerQuantity property. * * @param value * allowed object is * {@link Quantity } * */ public void setAnswerQuantity(Quantity value) { this.answerQuantity = value; } /** * Gets the value of the answerReference property. * * @return * possible object is * {@link Reference } * */ public Reference getAnswerReference() { return answerReference; } /** * Sets the value of the answerReference property. * * @param value * allowed object is * {@link Reference } * */ public void setAnswerReference(Reference value) { this.answerReference = value; } public QuestionnaireEnableWhen withQuestion(org.hl7.fhir.String value) { setQuestion(value); return this; } public QuestionnaireEnableWhen withAnswered(Boolean value) { setAnswered(value); return this; } public QuestionnaireEnableWhen withAnswerBoolean(Boolean value) { setAnswerBoolean(value); return this; } public QuestionnaireEnableWhen withAnswerDecimal(Decimal value) { setAnswerDecimal(value); return this; } public QuestionnaireEnableWhen withAnswerInteger(Integer value) { setAnswerInteger(value); return this; } public QuestionnaireEnableWhen withAnswerDate(Date value) { setAnswerDate(value); return this; } public QuestionnaireEnableWhen withAnswerDateTime(DateTime value) { setAnswerDateTime(value); return this; } public QuestionnaireEnableWhen withAnswerInstant(Instant value) { setAnswerInstant(value); return this; } public QuestionnaireEnableWhen withAnswerTime(Time value) { setAnswerTime(value); return this; } public QuestionnaireEnableWhen withAnswerString(org.hl7.fhir.String value) { setAnswerString(value); return this; } public QuestionnaireEnableWhen withAnswerUri(Uri value) { setAnswerUri(value); return this; } public QuestionnaireEnableWhen withAnswerAttachment(Attachment value) { setAnswerAttachment(value); return this; } public QuestionnaireEnableWhen withAnswerCoding(Coding value) { setAnswerCoding(value); return this; } public QuestionnaireEnableWhen withAnswerQuantity(Quantity value) { setAnswerQuantity(value); return this; } public QuestionnaireEnableWhen withAnswerReference(Reference value) { setAnswerReference(value); return this; } @Override public QuestionnaireEnableWhen withModifierExtension(Extension... values) { if (values!= null) { for (Extension value: values) { getModifierExtension().add(value); } } return this; } @Override public QuestionnaireEnableWhen withModifierExtension(Collection values) { if (values!= null) { getModifierExtension().addAll(values); } return this; } @Override public QuestionnaireEnableWhen withExtension(Extension... values) { if (values!= null) { for (Extension value: values) { getExtension().add(value); } } return this; } @Override public QuestionnaireEnableWhen withExtension(Collection values) { if (values!= null) { getExtension().addAll(values); } return this; } @Override public QuestionnaireEnableWhen 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 QuestionnaireEnableWhen that = ((QuestionnaireEnableWhen) object); { org.hl7.fhir.String lhsQuestion; lhsQuestion = this.getQuestion(); org.hl7.fhir.String rhsQuestion; rhsQuestion = that.getQuestion(); if (!strategy.equals(LocatorUtils.property(thisLocator, "question", lhsQuestion), LocatorUtils.property(thatLocator, "question", rhsQuestion), lhsQuestion, rhsQuestion, (this.question!= null), (that.question!= null))) { return false; } } { Boolean lhsAnswered; lhsAnswered = this.getAnswered(); Boolean rhsAnswered; rhsAnswered = that.getAnswered(); if (!strategy.equals(LocatorUtils.property(thisLocator, "answered", lhsAnswered), LocatorUtils.property(thatLocator, "answered", rhsAnswered), lhsAnswered, rhsAnswered, (this.answered!= null), (that.answered!= null))) { return false; } } { Boolean lhsAnswerBoolean; lhsAnswerBoolean = this.getAnswerBoolean(); Boolean rhsAnswerBoolean; rhsAnswerBoolean = that.getAnswerBoolean(); if (!strategy.equals(LocatorUtils.property(thisLocator, "answerBoolean", lhsAnswerBoolean), LocatorUtils.property(thatLocator, "answerBoolean", rhsAnswerBoolean), lhsAnswerBoolean, rhsAnswerBoolean, (this.answerBoolean!= null), (that.answerBoolean!= null))) { return false; } } { Decimal lhsAnswerDecimal; lhsAnswerDecimal = this.getAnswerDecimal(); Decimal rhsAnswerDecimal; rhsAnswerDecimal = that.getAnswerDecimal(); if (!strategy.equals(LocatorUtils.property(thisLocator, "answerDecimal", lhsAnswerDecimal), LocatorUtils.property(thatLocator, "answerDecimal", rhsAnswerDecimal), lhsAnswerDecimal, rhsAnswerDecimal, (this.answerDecimal!= null), (that.answerDecimal!= null))) { return false; } } { Integer lhsAnswerInteger; lhsAnswerInteger = this.getAnswerInteger(); Integer rhsAnswerInteger; rhsAnswerInteger = that.getAnswerInteger(); if (!strategy.equals(LocatorUtils.property(thisLocator, "answerInteger", lhsAnswerInteger), LocatorUtils.property(thatLocator, "answerInteger", rhsAnswerInteger), lhsAnswerInteger, rhsAnswerInteger, (this.answerInteger!= null), (that.answerInteger!= null))) { return false; } } { Date lhsAnswerDate; lhsAnswerDate = this.getAnswerDate(); Date rhsAnswerDate; rhsAnswerDate = that.getAnswerDate(); if (!strategy.equals(LocatorUtils.property(thisLocator, "answerDate", lhsAnswerDate), LocatorUtils.property(thatLocator, "answerDate", rhsAnswerDate), lhsAnswerDate, rhsAnswerDate, (this.answerDate!= null), (that.answerDate!= null))) { return false; } } { DateTime lhsAnswerDateTime; lhsAnswerDateTime = this.getAnswerDateTime(); DateTime rhsAnswerDateTime; rhsAnswerDateTime = that.getAnswerDateTime(); if (!strategy.equals(LocatorUtils.property(thisLocator, "answerDateTime", lhsAnswerDateTime), LocatorUtils.property(thatLocator, "answerDateTime", rhsAnswerDateTime), lhsAnswerDateTime, rhsAnswerDateTime, (this.answerDateTime!= null), (that.answerDateTime!= null))) { return false; } } { Instant lhsAnswerInstant; lhsAnswerInstant = this.getAnswerInstant(); Instant rhsAnswerInstant; rhsAnswerInstant = that.getAnswerInstant(); if (!strategy.equals(LocatorUtils.property(thisLocator, "answerInstant", lhsAnswerInstant), LocatorUtils.property(thatLocator, "answerInstant", rhsAnswerInstant), lhsAnswerInstant, rhsAnswerInstant, (this.answerInstant!= null), (that.answerInstant!= null))) { return false; } } { Time lhsAnswerTime; lhsAnswerTime = this.getAnswerTime(); Time rhsAnswerTime; rhsAnswerTime = that.getAnswerTime(); if (!strategy.equals(LocatorUtils.property(thisLocator, "answerTime", lhsAnswerTime), LocatorUtils.property(thatLocator, "answerTime", rhsAnswerTime), lhsAnswerTime, rhsAnswerTime, (this.answerTime!= null), (that.answerTime!= null))) { return false; } } { org.hl7.fhir.String lhsAnswerString; lhsAnswerString = this.getAnswerString(); org.hl7.fhir.String rhsAnswerString; rhsAnswerString = that.getAnswerString(); if (!strategy.equals(LocatorUtils.property(thisLocator, "answerString", lhsAnswerString), LocatorUtils.property(thatLocator, "answerString", rhsAnswerString), lhsAnswerString, rhsAnswerString, (this.answerString!= null), (that.answerString!= null))) { return false; } } { Uri lhsAnswerUri; lhsAnswerUri = this.getAnswerUri(); Uri rhsAnswerUri; rhsAnswerUri = that.getAnswerUri(); if (!strategy.equals(LocatorUtils.property(thisLocator, "answerUri", lhsAnswerUri), LocatorUtils.property(thatLocator, "answerUri", rhsAnswerUri), lhsAnswerUri, rhsAnswerUri, (this.answerUri!= null), (that.answerUri!= null))) { return false; } } { Attachment lhsAnswerAttachment; lhsAnswerAttachment = this.getAnswerAttachment(); Attachment rhsAnswerAttachment; rhsAnswerAttachment = that.getAnswerAttachment(); if (!strategy.equals(LocatorUtils.property(thisLocator, "answerAttachment", lhsAnswerAttachment), LocatorUtils.property(thatLocator, "answerAttachment", rhsAnswerAttachment), lhsAnswerAttachment, rhsAnswerAttachment, (this.answerAttachment!= null), (that.answerAttachment!= null))) { return false; } } { Coding lhsAnswerCoding; lhsAnswerCoding = this.getAnswerCoding(); Coding rhsAnswerCoding; rhsAnswerCoding = that.getAnswerCoding(); if (!strategy.equals(LocatorUtils.property(thisLocator, "answerCoding", lhsAnswerCoding), LocatorUtils.property(thatLocator, "answerCoding", rhsAnswerCoding), lhsAnswerCoding, rhsAnswerCoding, (this.answerCoding!= null), (that.answerCoding!= null))) { return false; } } { Quantity lhsAnswerQuantity; lhsAnswerQuantity = this.getAnswerQuantity(); Quantity rhsAnswerQuantity; rhsAnswerQuantity = that.getAnswerQuantity(); if (!strategy.equals(LocatorUtils.property(thisLocator, "answerQuantity", lhsAnswerQuantity), LocatorUtils.property(thatLocator, "answerQuantity", rhsAnswerQuantity), lhsAnswerQuantity, rhsAnswerQuantity, (this.answerQuantity!= null), (that.answerQuantity!= null))) { return false; } } { Reference lhsAnswerReference; lhsAnswerReference = this.getAnswerReference(); Reference rhsAnswerReference; rhsAnswerReference = that.getAnswerReference(); if (!strategy.equals(LocatorUtils.property(thisLocator, "answerReference", lhsAnswerReference), LocatorUtils.property(thatLocator, "answerReference", rhsAnswerReference), lhsAnswerReference, rhsAnswerReference, (this.answerReference!= null), (that.answerReference!= 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 theQuestion; theQuestion = this.getQuestion(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "question", theQuestion), currentHashCode, theQuestion, (this.question!= null)); } { Boolean theAnswered; theAnswered = this.getAnswered(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "answered", theAnswered), currentHashCode, theAnswered, (this.answered!= null)); } { Boolean theAnswerBoolean; theAnswerBoolean = this.getAnswerBoolean(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "answerBoolean", theAnswerBoolean), currentHashCode, theAnswerBoolean, (this.answerBoolean!= null)); } { Decimal theAnswerDecimal; theAnswerDecimal = this.getAnswerDecimal(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "answerDecimal", theAnswerDecimal), currentHashCode, theAnswerDecimal, (this.answerDecimal!= null)); } { Integer theAnswerInteger; theAnswerInteger = this.getAnswerInteger(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "answerInteger", theAnswerInteger), currentHashCode, theAnswerInteger, (this.answerInteger!= null)); } { Date theAnswerDate; theAnswerDate = this.getAnswerDate(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "answerDate", theAnswerDate), currentHashCode, theAnswerDate, (this.answerDate!= null)); } { DateTime theAnswerDateTime; theAnswerDateTime = this.getAnswerDateTime(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "answerDateTime", theAnswerDateTime), currentHashCode, theAnswerDateTime, (this.answerDateTime!= null)); } { Instant theAnswerInstant; theAnswerInstant = this.getAnswerInstant(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "answerInstant", theAnswerInstant), currentHashCode, theAnswerInstant, (this.answerInstant!= null)); } { Time theAnswerTime; theAnswerTime = this.getAnswerTime(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "answerTime", theAnswerTime), currentHashCode, theAnswerTime, (this.answerTime!= null)); } { org.hl7.fhir.String theAnswerString; theAnswerString = this.getAnswerString(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "answerString", theAnswerString), currentHashCode, theAnswerString, (this.answerString!= null)); } { Uri theAnswerUri; theAnswerUri = this.getAnswerUri(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "answerUri", theAnswerUri), currentHashCode, theAnswerUri, (this.answerUri!= null)); } { Attachment theAnswerAttachment; theAnswerAttachment = this.getAnswerAttachment(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "answerAttachment", theAnswerAttachment), currentHashCode, theAnswerAttachment, (this.answerAttachment!= null)); } { Coding theAnswerCoding; theAnswerCoding = this.getAnswerCoding(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "answerCoding", theAnswerCoding), currentHashCode, theAnswerCoding, (this.answerCoding!= null)); } { Quantity theAnswerQuantity; theAnswerQuantity = this.getAnswerQuantity(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "answerQuantity", theAnswerQuantity), currentHashCode, theAnswerQuantity, (this.answerQuantity!= null)); } { Reference theAnswerReference; theAnswerReference = this.getAnswerReference(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "answerReference", theAnswerReference), currentHashCode, theAnswerReference, (this.answerReference!= 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 theQuestion; theQuestion = this.getQuestion(); strategy.appendField(locator, this, "question", buffer, theQuestion, (this.question!= null)); } { Boolean theAnswered; theAnswered = this.getAnswered(); strategy.appendField(locator, this, "answered", buffer, theAnswered, (this.answered!= null)); } { Boolean theAnswerBoolean; theAnswerBoolean = this.getAnswerBoolean(); strategy.appendField(locator, this, "answerBoolean", buffer, theAnswerBoolean, (this.answerBoolean!= null)); } { Decimal theAnswerDecimal; theAnswerDecimal = this.getAnswerDecimal(); strategy.appendField(locator, this, "answerDecimal", buffer, theAnswerDecimal, (this.answerDecimal!= null)); } { Integer theAnswerInteger; theAnswerInteger = this.getAnswerInteger(); strategy.appendField(locator, this, "answerInteger", buffer, theAnswerInteger, (this.answerInteger!= null)); } { Date theAnswerDate; theAnswerDate = this.getAnswerDate(); strategy.appendField(locator, this, "answerDate", buffer, theAnswerDate, (this.answerDate!= null)); } { DateTime theAnswerDateTime; theAnswerDateTime = this.getAnswerDateTime(); strategy.appendField(locator, this, "answerDateTime", buffer, theAnswerDateTime, (this.answerDateTime!= null)); } { Instant theAnswerInstant; theAnswerInstant = this.getAnswerInstant(); strategy.appendField(locator, this, "answerInstant", buffer, theAnswerInstant, (this.answerInstant!= null)); } { Time theAnswerTime; theAnswerTime = this.getAnswerTime(); strategy.appendField(locator, this, "answerTime", buffer, theAnswerTime, (this.answerTime!= null)); } { org.hl7.fhir.String theAnswerString; theAnswerString = this.getAnswerString(); strategy.appendField(locator, this, "answerString", buffer, theAnswerString, (this.answerString!= null)); } { Uri theAnswerUri; theAnswerUri = this.getAnswerUri(); strategy.appendField(locator, this, "answerUri", buffer, theAnswerUri, (this.answerUri!= null)); } { Attachment theAnswerAttachment; theAnswerAttachment = this.getAnswerAttachment(); strategy.appendField(locator, this, "answerAttachment", buffer, theAnswerAttachment, (this.answerAttachment!= null)); } { Coding theAnswerCoding; theAnswerCoding = this.getAnswerCoding(); strategy.appendField(locator, this, "answerCoding", buffer, theAnswerCoding, (this.answerCoding!= null)); } { Quantity theAnswerQuantity; theAnswerQuantity = this.getAnswerQuantity(); strategy.appendField(locator, this, "answerQuantity", buffer, theAnswerQuantity, (this.answerQuantity!= null)); } { Reference theAnswerReference; theAnswerReference = this.getAnswerReference(); strategy.appendField(locator, this, "answerReference", buffer, theAnswerReference, (this.answerReference!= null)); } return buffer; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy