org.hl7.fhir.DeviceUseStatement 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: 2023.12.06 at 03:09:41 PM MST
//
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;
/**
* If the element is present, it must have either a @value, an @id, or extensions
*
* Java class for DeviceUseStatement complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="DeviceUseStatement">
* <complexContent>
* <extension base="{http://hl7.org/fhir}DomainResource">
* <sequence>
* <choice minOccurs="0">
* <element name="bodySiteCodeableConcept" type="{http://hl7.org/fhir}CodeableConcept"/>
* <element name="bodySiteReference" type="{http://hl7.org/fhir}Reference"/>
* </choice>
* <element name="whenUsed" type="{http://hl7.org/fhir}Period" minOccurs="0"/>
* <element name="device" type="{http://hl7.org/fhir}Reference"/>
* <element name="identifier" type="{http://hl7.org/fhir}Identifier" maxOccurs="unbounded" minOccurs="0"/>
* <element name="indication" type="{http://hl7.org/fhir}CodeableConcept" maxOccurs="unbounded" minOccurs="0"/>
* <element name="notes" type="{http://hl7.org/fhir}string" maxOccurs="unbounded" minOccurs="0"/>
* <element name="recordedOn" type="{http://hl7.org/fhir}dateTime" minOccurs="0"/>
* <element name="subject" type="{http://hl7.org/fhir}Reference"/>
* <choice minOccurs="0">
* <element name="timingTiming" type="{http://hl7.org/fhir}Timing"/>
* <element name="timingPeriod" type="{http://hl7.org/fhir}Period"/>
* <element name="timingDateTime" type="{http://hl7.org/fhir}dateTime"/>
* </choice>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "DeviceUseStatement", propOrder = {
"bodySiteCodeableConcept",
"bodySiteReference",
"whenUsed",
"device",
"identifier",
"indication",
"notes",
"recordedOn",
"subject",
"timingTiming",
"timingPeriod",
"timingDateTime"
})
public class DeviceUseStatement
extends DomainResource
implements Equals2, HashCode2, ToString2
{
protected CodeableConcept bodySiteCodeableConcept;
protected Reference bodySiteReference;
protected Period whenUsed;
@XmlElement(required = true)
protected Reference device;
protected List identifier;
protected List indication;
protected List notes;
protected DateTime recordedOn;
@XmlElement(required = true)
protected Reference subject;
protected Timing timingTiming;
protected Period timingPeriod;
protected DateTime timingDateTime;
/**
* Gets the value of the bodySiteCodeableConcept property.
*
* @return
* possible object is
* {@link CodeableConcept }
*
*/
public CodeableConcept getBodySiteCodeableConcept() {
return bodySiteCodeableConcept;
}
/**
* Sets the value of the bodySiteCodeableConcept property.
*
* @param value
* allowed object is
* {@link CodeableConcept }
*
*/
public void setBodySiteCodeableConcept(CodeableConcept value) {
this.bodySiteCodeableConcept = value;
}
/**
* Gets the value of the bodySiteReference property.
*
* @return
* possible object is
* {@link Reference }
*
*/
public Reference getBodySiteReference() {
return bodySiteReference;
}
/**
* Sets the value of the bodySiteReference property.
*
* @param value
* allowed object is
* {@link Reference }
*
*/
public void setBodySiteReference(Reference value) {
this.bodySiteReference = value;
}
/**
* Gets the value of the whenUsed property.
*
* @return
* possible object is
* {@link Period }
*
*/
public Period getWhenUsed() {
return whenUsed;
}
/**
* Sets the value of the whenUsed property.
*
* @param value
* allowed object is
* {@link Period }
*
*/
public void setWhenUsed(Period value) {
this.whenUsed = value;
}
/**
* Gets the value of the device property.
*
* @return
* possible object is
* {@link Reference }
*
*/
public Reference getDevice() {
return device;
}
/**
* Sets the value of the device property.
*
* @param value
* allowed object is
* {@link Reference }
*
*/
public void setDevice(Reference value) {
this.device = value;
}
/**
* Gets the value of the identifier 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 identifier property.
*
*
* For example, to add a new item, do as follows:
*
* getIdentifier().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Identifier }
*
*
*/
public List getIdentifier() {
if (identifier == null) {
identifier = new ArrayList();
}
return this.identifier;
}
/**
* Gets the value of the indication 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 indication property.
*
*
* For example, to add a new item, do as follows:
*
* getIndication().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link CodeableConcept }
*
*
*/
public List getIndication() {
if (indication == null) {
indication = new ArrayList();
}
return this.indication;
}
/**
* Gets the value of the notes 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 notes property.
*
*
* For example, to add a new item, do as follows:
*
* getNotes().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link org.hl7.fhir.String }
*
*
*/
public List getNotes() {
if (notes == null) {
notes = new ArrayList();
}
return this.notes;
}
/**
* Gets the value of the recordedOn property.
*
* @return
* possible object is
* {@link DateTime }
*
*/
public DateTime getRecordedOn() {
return recordedOn;
}
/**
* Sets the value of the recordedOn property.
*
* @param value
* allowed object is
* {@link DateTime }
*
*/
public void setRecordedOn(DateTime value) {
this.recordedOn = value;
}
/**
* Gets the value of the subject property.
*
* @return
* possible object is
* {@link Reference }
*
*/
public Reference getSubject() {
return subject;
}
/**
* Sets the value of the subject property.
*
* @param value
* allowed object is
* {@link Reference }
*
*/
public void setSubject(Reference value) {
this.subject = value;
}
/**
* Gets the value of the timingTiming property.
*
* @return
* possible object is
* {@link Timing }
*
*/
public Timing getTimingTiming() {
return timingTiming;
}
/**
* Sets the value of the timingTiming property.
*
* @param value
* allowed object is
* {@link Timing }
*
*/
public void setTimingTiming(Timing value) {
this.timingTiming = value;
}
/**
* Gets the value of the timingPeriod property.
*
* @return
* possible object is
* {@link Period }
*
*/
public Period getTimingPeriod() {
return timingPeriod;
}
/**
* Sets the value of the timingPeriod property.
*
* @param value
* allowed object is
* {@link Period }
*
*/
public void setTimingPeriod(Period value) {
this.timingPeriod = value;
}
/**
* Gets the value of the timingDateTime property.
*
* @return
* possible object is
* {@link DateTime }
*
*/
public DateTime getTimingDateTime() {
return timingDateTime;
}
/**
* Sets the value of the timingDateTime property.
*
* @param value
* allowed object is
* {@link DateTime }
*
*/
public void setTimingDateTime(DateTime value) {
this.timingDateTime = value;
}
public DeviceUseStatement withBodySiteCodeableConcept(CodeableConcept value) {
setBodySiteCodeableConcept(value);
return this;
}
public DeviceUseStatement withBodySiteReference(Reference value) {
setBodySiteReference(value);
return this;
}
public DeviceUseStatement withWhenUsed(Period value) {
setWhenUsed(value);
return this;
}
public DeviceUseStatement withDevice(Reference value) {
setDevice(value);
return this;
}
public DeviceUseStatement withIdentifier(Identifier... values) {
if (values!= null) {
for (Identifier value: values) {
getIdentifier().add(value);
}
}
return this;
}
public DeviceUseStatement withIdentifier(Collection values) {
if (values!= null) {
getIdentifier().addAll(values);
}
return this;
}
public DeviceUseStatement withIndication(CodeableConcept... values) {
if (values!= null) {
for (CodeableConcept value: values) {
getIndication().add(value);
}
}
return this;
}
public DeviceUseStatement withIndication(Collection values) {
if (values!= null) {
getIndication().addAll(values);
}
return this;
}
public DeviceUseStatement withNotes(org.hl7.fhir.String... values) {
if (values!= null) {
for (org.hl7.fhir.String value: values) {
getNotes().add(value);
}
}
return this;
}
public DeviceUseStatement withNotes(Collection values) {
if (values!= null) {
getNotes().addAll(values);
}
return this;
}
public DeviceUseStatement withRecordedOn(DateTime value) {
setRecordedOn(value);
return this;
}
public DeviceUseStatement withSubject(Reference value) {
setSubject(value);
return this;
}
public DeviceUseStatement withTimingTiming(Timing value) {
setTimingTiming(value);
return this;
}
public DeviceUseStatement withTimingPeriod(Period value) {
setTimingPeriod(value);
return this;
}
public DeviceUseStatement withTimingDateTime(DateTime value) {
setTimingDateTime(value);
return this;
}
@Override
public DeviceUseStatement withText(Narrative value) {
setText(value);
return this;
}
@Override
public DeviceUseStatement withContained(ResourceContainer... values) {
if (values!= null) {
for (ResourceContainer value: values) {
getContained().add(value);
}
}
return this;
}
@Override
public DeviceUseStatement withContained(Collection values) {
if (values!= null) {
getContained().addAll(values);
}
return this;
}
@Override
public DeviceUseStatement withExtension(Extension... values) {
if (values!= null) {
for (Extension value: values) {
getExtension().add(value);
}
}
return this;
}
@Override
public DeviceUseStatement withExtension(Collection values) {
if (values!= null) {
getExtension().addAll(values);
}
return this;
}
@Override
public DeviceUseStatement withModifierExtension(Extension... values) {
if (values!= null) {
for (Extension value: values) {
getModifierExtension().add(value);
}
}
return this;
}
@Override
public DeviceUseStatement withModifierExtension(Collection values) {
if (values!= null) {
getModifierExtension().addAll(values);
}
return this;
}
@Override
public DeviceUseStatement withId(Id value) {
setId(value);
return this;
}
@Override
public DeviceUseStatement withMeta(Meta value) {
setMeta(value);
return this;
}
@Override
public DeviceUseStatement withImplicitRules(Uri value) {
setImplicitRules(value);
return this;
}
@Override
public DeviceUseStatement withLanguage(Code value) {
setLanguage(value);
return this;
}
@Override
public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy2 strategy) {
if ((object == null)||(this.getClass()!= object.getClass())) {
return false;
}
if (this == object) {
return true;
}
if (!super.equals(thisLocator, thatLocator, object, strategy)) {
return false;
}
final DeviceUseStatement that = ((DeviceUseStatement) object);
{
CodeableConcept lhsBodySiteCodeableConcept;
lhsBodySiteCodeableConcept = this.getBodySiteCodeableConcept();
CodeableConcept rhsBodySiteCodeableConcept;
rhsBodySiteCodeableConcept = that.getBodySiteCodeableConcept();
if (!strategy.equals(LocatorUtils.property(thisLocator, "bodySiteCodeableConcept", lhsBodySiteCodeableConcept), LocatorUtils.property(thatLocator, "bodySiteCodeableConcept", rhsBodySiteCodeableConcept), lhsBodySiteCodeableConcept, rhsBodySiteCodeableConcept, (this.bodySiteCodeableConcept!= null), (that.bodySiteCodeableConcept!= null))) {
return false;
}
}
{
Reference lhsBodySiteReference;
lhsBodySiteReference = this.getBodySiteReference();
Reference rhsBodySiteReference;
rhsBodySiteReference = that.getBodySiteReference();
if (!strategy.equals(LocatorUtils.property(thisLocator, "bodySiteReference", lhsBodySiteReference), LocatorUtils.property(thatLocator, "bodySiteReference", rhsBodySiteReference), lhsBodySiteReference, rhsBodySiteReference, (this.bodySiteReference!= null), (that.bodySiteReference!= null))) {
return false;
}
}
{
Period lhsWhenUsed;
lhsWhenUsed = this.getWhenUsed();
Period rhsWhenUsed;
rhsWhenUsed = that.getWhenUsed();
if (!strategy.equals(LocatorUtils.property(thisLocator, "whenUsed", lhsWhenUsed), LocatorUtils.property(thatLocator, "whenUsed", rhsWhenUsed), lhsWhenUsed, rhsWhenUsed, (this.whenUsed!= null), (that.whenUsed!= null))) {
return false;
}
}
{
Reference lhsDevice;
lhsDevice = this.getDevice();
Reference rhsDevice;
rhsDevice = that.getDevice();
if (!strategy.equals(LocatorUtils.property(thisLocator, "device", lhsDevice), LocatorUtils.property(thatLocator, "device", rhsDevice), lhsDevice, rhsDevice, (this.device!= null), (that.device!= null))) {
return false;
}
}
{
List lhsIdentifier;
lhsIdentifier = (((this.identifier!= null)&&(!this.identifier.isEmpty()))?this.getIdentifier():null);
List rhsIdentifier;
rhsIdentifier = (((that.identifier!= null)&&(!that.identifier.isEmpty()))?that.getIdentifier():null);
if (!strategy.equals(LocatorUtils.property(thisLocator, "identifier", lhsIdentifier), LocatorUtils.property(thatLocator, "identifier", rhsIdentifier), lhsIdentifier, rhsIdentifier, ((this.identifier!= null)&&(!this.identifier.isEmpty())), ((that.identifier!= null)&&(!that.identifier.isEmpty())))) {
return false;
}
}
{
List lhsIndication;
lhsIndication = (((this.indication!= null)&&(!this.indication.isEmpty()))?this.getIndication():null);
List rhsIndication;
rhsIndication = (((that.indication!= null)&&(!that.indication.isEmpty()))?that.getIndication():null);
if (!strategy.equals(LocatorUtils.property(thisLocator, "indication", lhsIndication), LocatorUtils.property(thatLocator, "indication", rhsIndication), lhsIndication, rhsIndication, ((this.indication!= null)&&(!this.indication.isEmpty())), ((that.indication!= null)&&(!that.indication.isEmpty())))) {
return false;
}
}
{
List lhsNotes;
lhsNotes = (((this.notes!= null)&&(!this.notes.isEmpty()))?this.getNotes():null);
List rhsNotes;
rhsNotes = (((that.notes!= null)&&(!that.notes.isEmpty()))?that.getNotes():null);
if (!strategy.equals(LocatorUtils.property(thisLocator, "notes", lhsNotes), LocatorUtils.property(thatLocator, "notes", rhsNotes), lhsNotes, rhsNotes, ((this.notes!= null)&&(!this.notes.isEmpty())), ((that.notes!= null)&&(!that.notes.isEmpty())))) {
return false;
}
}
{
DateTime lhsRecordedOn;
lhsRecordedOn = this.getRecordedOn();
DateTime rhsRecordedOn;
rhsRecordedOn = that.getRecordedOn();
if (!strategy.equals(LocatorUtils.property(thisLocator, "recordedOn", lhsRecordedOn), LocatorUtils.property(thatLocator, "recordedOn", rhsRecordedOn), lhsRecordedOn, rhsRecordedOn, (this.recordedOn!= null), (that.recordedOn!= null))) {
return false;
}
}
{
Reference lhsSubject;
lhsSubject = this.getSubject();
Reference rhsSubject;
rhsSubject = that.getSubject();
if (!strategy.equals(LocatorUtils.property(thisLocator, "subject", lhsSubject), LocatorUtils.property(thatLocator, "subject", rhsSubject), lhsSubject, rhsSubject, (this.subject!= null), (that.subject!= null))) {
return false;
}
}
{
Timing lhsTimingTiming;
lhsTimingTiming = this.getTimingTiming();
Timing rhsTimingTiming;
rhsTimingTiming = that.getTimingTiming();
if (!strategy.equals(LocatorUtils.property(thisLocator, "timingTiming", lhsTimingTiming), LocatorUtils.property(thatLocator, "timingTiming", rhsTimingTiming), lhsTimingTiming, rhsTimingTiming, (this.timingTiming!= null), (that.timingTiming!= null))) {
return false;
}
}
{
Period lhsTimingPeriod;
lhsTimingPeriod = this.getTimingPeriod();
Period rhsTimingPeriod;
rhsTimingPeriod = that.getTimingPeriod();
if (!strategy.equals(LocatorUtils.property(thisLocator, "timingPeriod", lhsTimingPeriod), LocatorUtils.property(thatLocator, "timingPeriod", rhsTimingPeriod), lhsTimingPeriod, rhsTimingPeriod, (this.timingPeriod!= null), (that.timingPeriod!= null))) {
return false;
}
}
{
DateTime lhsTimingDateTime;
lhsTimingDateTime = this.getTimingDateTime();
DateTime rhsTimingDateTime;
rhsTimingDateTime = that.getTimingDateTime();
if (!strategy.equals(LocatorUtils.property(thisLocator, "timingDateTime", lhsTimingDateTime), LocatorUtils.property(thatLocator, "timingDateTime", rhsTimingDateTime), lhsTimingDateTime, rhsTimingDateTime, (this.timingDateTime!= null), (that.timingDateTime!= 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);
{
CodeableConcept theBodySiteCodeableConcept;
theBodySiteCodeableConcept = this.getBodySiteCodeableConcept();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "bodySiteCodeableConcept", theBodySiteCodeableConcept), currentHashCode, theBodySiteCodeableConcept, (this.bodySiteCodeableConcept!= null));
}
{
Reference theBodySiteReference;
theBodySiteReference = this.getBodySiteReference();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "bodySiteReference", theBodySiteReference), currentHashCode, theBodySiteReference, (this.bodySiteReference!= null));
}
{
Period theWhenUsed;
theWhenUsed = this.getWhenUsed();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "whenUsed", theWhenUsed), currentHashCode, theWhenUsed, (this.whenUsed!= null));
}
{
Reference theDevice;
theDevice = this.getDevice();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "device", theDevice), currentHashCode, theDevice, (this.device!= null));
}
{
List theIdentifier;
theIdentifier = (((this.identifier!= null)&&(!this.identifier.isEmpty()))?this.getIdentifier():null);
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "identifier", theIdentifier), currentHashCode, theIdentifier, ((this.identifier!= null)&&(!this.identifier.isEmpty())));
}
{
List theIndication;
theIndication = (((this.indication!= null)&&(!this.indication.isEmpty()))?this.getIndication():null);
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "indication", theIndication), currentHashCode, theIndication, ((this.indication!= null)&&(!this.indication.isEmpty())));
}
{
List theNotes;
theNotes = (((this.notes!= null)&&(!this.notes.isEmpty()))?this.getNotes():null);
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "notes", theNotes), currentHashCode, theNotes, ((this.notes!= null)&&(!this.notes.isEmpty())));
}
{
DateTime theRecordedOn;
theRecordedOn = this.getRecordedOn();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "recordedOn", theRecordedOn), currentHashCode, theRecordedOn, (this.recordedOn!= null));
}
{
Reference theSubject;
theSubject = this.getSubject();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "subject", theSubject), currentHashCode, theSubject, (this.subject!= null));
}
{
Timing theTimingTiming;
theTimingTiming = this.getTimingTiming();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "timingTiming", theTimingTiming), currentHashCode, theTimingTiming, (this.timingTiming!= null));
}
{
Period theTimingPeriod;
theTimingPeriod = this.getTimingPeriod();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "timingPeriod", theTimingPeriod), currentHashCode, theTimingPeriod, (this.timingPeriod!= null));
}
{
DateTime theTimingDateTime;
theTimingDateTime = this.getTimingDateTime();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "timingDateTime", theTimingDateTime), currentHashCode, theTimingDateTime, (this.timingDateTime!= 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);
{
CodeableConcept theBodySiteCodeableConcept;
theBodySiteCodeableConcept = this.getBodySiteCodeableConcept();
strategy.appendField(locator, this, "bodySiteCodeableConcept", buffer, theBodySiteCodeableConcept, (this.bodySiteCodeableConcept!= null));
}
{
Reference theBodySiteReference;
theBodySiteReference = this.getBodySiteReference();
strategy.appendField(locator, this, "bodySiteReference", buffer, theBodySiteReference, (this.bodySiteReference!= null));
}
{
Period theWhenUsed;
theWhenUsed = this.getWhenUsed();
strategy.appendField(locator, this, "whenUsed", buffer, theWhenUsed, (this.whenUsed!= null));
}
{
Reference theDevice;
theDevice = this.getDevice();
strategy.appendField(locator, this, "device", buffer, theDevice, (this.device!= null));
}
{
List theIdentifier;
theIdentifier = (((this.identifier!= null)&&(!this.identifier.isEmpty()))?this.getIdentifier():null);
strategy.appendField(locator, this, "identifier", buffer, theIdentifier, ((this.identifier!= null)&&(!this.identifier.isEmpty())));
}
{
List theIndication;
theIndication = (((this.indication!= null)&&(!this.indication.isEmpty()))?this.getIndication():null);
strategy.appendField(locator, this, "indication", buffer, theIndication, ((this.indication!= null)&&(!this.indication.isEmpty())));
}
{
List theNotes;
theNotes = (((this.notes!= null)&&(!this.notes.isEmpty()))?this.getNotes():null);
strategy.appendField(locator, this, "notes", buffer, theNotes, ((this.notes!= null)&&(!this.notes.isEmpty())));
}
{
DateTime theRecordedOn;
theRecordedOn = this.getRecordedOn();
strategy.appendField(locator, this, "recordedOn", buffer, theRecordedOn, (this.recordedOn!= null));
}
{
Reference theSubject;
theSubject = this.getSubject();
strategy.appendField(locator, this, "subject", buffer, theSubject, (this.subject!= null));
}
{
Timing theTimingTiming;
theTimingTiming = this.getTimingTiming();
strategy.appendField(locator, this, "timingTiming", buffer, theTimingTiming, (this.timingTiming!= null));
}
{
Period theTimingPeriod;
theTimingPeriod = this.getTimingPeriod();
strategy.appendField(locator, this, "timingPeriod", buffer, theTimingPeriod, (this.timingPeriod!= null));
}
{
DateTime theTimingDateTime;
theTimingDateTime = this.getTimingDateTime();
strategy.appendField(locator, this, "timingDateTime", buffer, theTimingDateTime, (this.timingDateTime!= null));
}
return buffer;
}
}