org.hl7.fhir.ObservationComponent 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.06.14 at 01:52:11 PM 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.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;
/**
* Measurements and simple assertions made about a patient, device or other subject.
*
* Java class for Observation.Component complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="Observation.Component">
* <complexContent>
* <extension base="{http://hl7.org/fhir}BackboneElement">
* <sequence>
* <element name="code" type="{http://hl7.org/fhir}CodeableConcept"/>
* <choice minOccurs="0">
* <element name="valueQuantity" type="{http://hl7.org/fhir}Quantity"/>
* <element name="valueCodeableConcept" type="{http://hl7.org/fhir}CodeableConcept"/>
* <element name="valueString" type="{http://hl7.org/fhir}string"/>
* <element name="valueRange" type="{http://hl7.org/fhir}Range"/>
* <element name="valueRatio" type="{http://hl7.org/fhir}Ratio"/>
* <element name="valueSampledData" type="{http://hl7.org/fhir}SampledData"/>
* <element name="valueAttachment" type="{http://hl7.org/fhir}Attachment"/>
* <element name="valueTime" type="{http://hl7.org/fhir}time"/>
* <element name="valueDateTime" type="{http://hl7.org/fhir}dateTime"/>
* <element name="valuePeriod" type="{http://hl7.org/fhir}Period"/>
* </choice>
* <element name="dataAbsentReason" type="{http://hl7.org/fhir}CodeableConcept" minOccurs="0"/>
* <element name="referenceRange" type="{http://hl7.org/fhir}Observation.ReferenceRange" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Observation.Component", propOrder = {
"code",
"valueQuantity",
"valueCodeableConcept",
"valueString",
"valueRange",
"valueRatio",
"valueSampledData",
"valueAttachment",
"valueTime",
"valueDateTime",
"valuePeriod",
"dataAbsentReason",
"referenceRange"
})
public class ObservationComponent
extends BackboneElement
implements Equals2, HashCode2, ToString2
{
@XmlElement(required = true)
protected CodeableConcept code;
protected Quantity valueQuantity;
protected CodeableConcept valueCodeableConcept;
protected org.hl7.fhir.String valueString;
protected Range valueRange;
protected Ratio valueRatio;
protected SampledData valueSampledData;
protected Attachment valueAttachment;
protected Time valueTime;
protected DateTime valueDateTime;
protected Period valuePeriod;
protected CodeableConcept dataAbsentReason;
protected List referenceRange;
/**
* Gets the value of the code property.
*
* @return
* possible object is
* {@link CodeableConcept }
*
*/
public CodeableConcept getCode() {
return code;
}
/**
* Sets the value of the code property.
*
* @param value
* allowed object is
* {@link CodeableConcept }
*
*/
public void setCode(CodeableConcept value) {
this.code = 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 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 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 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 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 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 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 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 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 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 dataAbsentReason property.
*
* @return
* possible object is
* {@link CodeableConcept }
*
*/
public CodeableConcept getDataAbsentReason() {
return dataAbsentReason;
}
/**
* Sets the value of the dataAbsentReason property.
*
* @param value
* allowed object is
* {@link CodeableConcept }
*
*/
public void setDataAbsentReason(CodeableConcept value) {
this.dataAbsentReason = value;
}
/**
* Gets the value of the referenceRange 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 referenceRange property.
*
*
* For example, to add a new item, do as follows:
*
* getReferenceRange().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link ObservationReferenceRange }
*
*
*/
public List getReferenceRange() {
if (referenceRange == null) {
referenceRange = new ArrayList();
}
return this.referenceRange;
}
public ObservationComponent withCode(CodeableConcept value) {
setCode(value);
return this;
}
public ObservationComponent withValueQuantity(Quantity value) {
setValueQuantity(value);
return this;
}
public ObservationComponent withValueCodeableConcept(CodeableConcept value) {
setValueCodeableConcept(value);
return this;
}
public ObservationComponent withValueString(org.hl7.fhir.String value) {
setValueString(value);
return this;
}
public ObservationComponent withValueRange(Range value) {
setValueRange(value);
return this;
}
public ObservationComponent withValueRatio(Ratio value) {
setValueRatio(value);
return this;
}
public ObservationComponent withValueSampledData(SampledData value) {
setValueSampledData(value);
return this;
}
public ObservationComponent withValueAttachment(Attachment value) {
setValueAttachment(value);
return this;
}
public ObservationComponent withValueTime(Time value) {
setValueTime(value);
return this;
}
public ObservationComponent withValueDateTime(DateTime value) {
setValueDateTime(value);
return this;
}
public ObservationComponent withValuePeriod(Period value) {
setValuePeriod(value);
return this;
}
public ObservationComponent withDataAbsentReason(CodeableConcept value) {
setDataAbsentReason(value);
return this;
}
public ObservationComponent withReferenceRange(ObservationReferenceRange... values) {
if (values!= null) {
for (ObservationReferenceRange value: values) {
getReferenceRange().add(value);
}
}
return this;
}
public ObservationComponent withReferenceRange(Collection values) {
if (values!= null) {
getReferenceRange().addAll(values);
}
return this;
}
@Override
public ObservationComponent withModifierExtension(Extension... values) {
if (values!= null) {
for (Extension value: values) {
getModifierExtension().add(value);
}
}
return this;
}
@Override
public ObservationComponent withModifierExtension(Collection values) {
if (values!= null) {
getModifierExtension().addAll(values);
}
return this;
}
@Override
public ObservationComponent withExtension(Extension... values) {
if (values!= null) {
for (Extension value: values) {
getExtension().add(value);
}
}
return this;
}
@Override
public ObservationComponent withExtension(Collection values) {
if (values!= null) {
getExtension().addAll(values);
}
return this;
}
@Override
public ObservationComponent 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 ObservationComponent that = ((ObservationComponent) object);
{
CodeableConcept lhsCode;
lhsCode = this.getCode();
CodeableConcept rhsCode;
rhsCode = that.getCode();
if (!strategy.equals(LocatorUtils.property(thisLocator, "code", lhsCode), LocatorUtils.property(thatLocator, "code", rhsCode), lhsCode, rhsCode, (this.code!= null), (that.code!= 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;
}
}
{
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;
}
}
{
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;
}
}
{
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;
}
}
{
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;
}
}
{
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;
}
}
{
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;
}
}
{
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;
}
}
{
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;
}
}
{
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;
}
}
{
CodeableConcept lhsDataAbsentReason;
lhsDataAbsentReason = this.getDataAbsentReason();
CodeableConcept rhsDataAbsentReason;
rhsDataAbsentReason = that.getDataAbsentReason();
if (!strategy.equals(LocatorUtils.property(thisLocator, "dataAbsentReason", lhsDataAbsentReason), LocatorUtils.property(thatLocator, "dataAbsentReason", rhsDataAbsentReason), lhsDataAbsentReason, rhsDataAbsentReason, (this.dataAbsentReason!= null), (that.dataAbsentReason!= null))) {
return false;
}
}
{
List lhsReferenceRange;
lhsReferenceRange = (((this.referenceRange!= null)&&(!this.referenceRange.isEmpty()))?this.getReferenceRange():null);
List rhsReferenceRange;
rhsReferenceRange = (((that.referenceRange!= null)&&(!that.referenceRange.isEmpty()))?that.getReferenceRange():null);
if (!strategy.equals(LocatorUtils.property(thisLocator, "referenceRange", lhsReferenceRange), LocatorUtils.property(thatLocator, "referenceRange", rhsReferenceRange), lhsReferenceRange, rhsReferenceRange, ((this.referenceRange!= null)&&(!this.referenceRange.isEmpty())), ((that.referenceRange!= null)&&(!that.referenceRange.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);
{
CodeableConcept theCode;
theCode = this.getCode();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "code", theCode), currentHashCode, theCode, (this.code!= null));
}
{
Quantity theValueQuantity;
theValueQuantity = this.getValueQuantity();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "valueQuantity", theValueQuantity), currentHashCode, theValueQuantity, (this.valueQuantity!= null));
}
{
CodeableConcept theValueCodeableConcept;
theValueCodeableConcept = this.getValueCodeableConcept();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "valueCodeableConcept", theValueCodeableConcept), currentHashCode, theValueCodeableConcept, (this.valueCodeableConcept!= null));
}
{
org.hl7.fhir.String theValueString;
theValueString = this.getValueString();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "valueString", theValueString), currentHashCode, theValueString, (this.valueString!= null));
}
{
Range theValueRange;
theValueRange = this.getValueRange();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "valueRange", theValueRange), currentHashCode, theValueRange, (this.valueRange!= null));
}
{
Ratio theValueRatio;
theValueRatio = this.getValueRatio();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "valueRatio", theValueRatio), currentHashCode, theValueRatio, (this.valueRatio!= null));
}
{
SampledData theValueSampledData;
theValueSampledData = this.getValueSampledData();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "valueSampledData", theValueSampledData), currentHashCode, theValueSampledData, (this.valueSampledData!= null));
}
{
Attachment theValueAttachment;
theValueAttachment = this.getValueAttachment();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "valueAttachment", theValueAttachment), currentHashCode, theValueAttachment, (this.valueAttachment!= null));
}
{
Time theValueTime;
theValueTime = this.getValueTime();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "valueTime", theValueTime), currentHashCode, theValueTime, (this.valueTime!= null));
}
{
DateTime theValueDateTime;
theValueDateTime = this.getValueDateTime();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "valueDateTime", theValueDateTime), currentHashCode, theValueDateTime, (this.valueDateTime!= null));
}
{
Period theValuePeriod;
theValuePeriod = this.getValuePeriod();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "valuePeriod", theValuePeriod), currentHashCode, theValuePeriod, (this.valuePeriod!= null));
}
{
CodeableConcept theDataAbsentReason;
theDataAbsentReason = this.getDataAbsentReason();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "dataAbsentReason", theDataAbsentReason), currentHashCode, theDataAbsentReason, (this.dataAbsentReason!= null));
}
{
List theReferenceRange;
theReferenceRange = (((this.referenceRange!= null)&&(!this.referenceRange.isEmpty()))?this.getReferenceRange():null);
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "referenceRange", theReferenceRange), currentHashCode, theReferenceRange, ((this.referenceRange!= null)&&(!this.referenceRange.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);
{
CodeableConcept theCode;
theCode = this.getCode();
strategy.appendField(locator, this, "code", buffer, theCode, (this.code!= null));
}
{
Quantity theValueQuantity;
theValueQuantity = this.getValueQuantity();
strategy.appendField(locator, this, "valueQuantity", buffer, theValueQuantity, (this.valueQuantity!= null));
}
{
CodeableConcept theValueCodeableConcept;
theValueCodeableConcept = this.getValueCodeableConcept();
strategy.appendField(locator, this, "valueCodeableConcept", buffer, theValueCodeableConcept, (this.valueCodeableConcept!= null));
}
{
org.hl7.fhir.String theValueString;
theValueString = this.getValueString();
strategy.appendField(locator, this, "valueString", buffer, theValueString, (this.valueString!= null));
}
{
Range theValueRange;
theValueRange = this.getValueRange();
strategy.appendField(locator, this, "valueRange", buffer, theValueRange, (this.valueRange!= null));
}
{
Ratio theValueRatio;
theValueRatio = this.getValueRatio();
strategy.appendField(locator, this, "valueRatio", buffer, theValueRatio, (this.valueRatio!= null));
}
{
SampledData theValueSampledData;
theValueSampledData = this.getValueSampledData();
strategy.appendField(locator, this, "valueSampledData", buffer, theValueSampledData, (this.valueSampledData!= null));
}
{
Attachment theValueAttachment;
theValueAttachment = this.getValueAttachment();
strategy.appendField(locator, this, "valueAttachment", buffer, theValueAttachment, (this.valueAttachment!= null));
}
{
Time theValueTime;
theValueTime = this.getValueTime();
strategy.appendField(locator, this, "valueTime", buffer, theValueTime, (this.valueTime!= null));
}
{
DateTime theValueDateTime;
theValueDateTime = this.getValueDateTime();
strategy.appendField(locator, this, "valueDateTime", buffer, theValueDateTime, (this.valueDateTime!= null));
}
{
Period theValuePeriod;
theValuePeriod = this.getValuePeriod();
strategy.appendField(locator, this, "valuePeriod", buffer, theValuePeriod, (this.valuePeriod!= null));
}
{
CodeableConcept theDataAbsentReason;
theDataAbsentReason = this.getDataAbsentReason();
strategy.appendField(locator, this, "dataAbsentReason", buffer, theDataAbsentReason, (this.dataAbsentReason!= null));
}
{
List theReferenceRange;
theReferenceRange = (((this.referenceRange!= null)&&(!this.referenceRange.isEmpty()))?this.getReferenceRange():null);
strategy.appendField(locator, this, "referenceRange", buffer, theReferenceRange, ((this.referenceRange!= null)&&(!this.referenceRange.isEmpty())));
}
return buffer;
}
public void setReferenceRange(List value) {
this.referenceRange = value;
}
}