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

org.hl7.fhir.Task 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.10.07 at 09:31:25 AM MDT 
//


package org.hl7.fhir;

import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.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 Task complex type. * *

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

 * <complexType name="Task">
 *   <complexContent>
 *     <extension base="{http://hl7.org/fhir}DomainResource">
 *       <sequence>
 *         <element name="identifier" type="{http://hl7.org/fhir}Identifier" minOccurs="0"/>
 *         <element name="type" type="{http://hl7.org/fhir}CodeableConcept" minOccurs="0"/>
 *         <element name="description" type="{http://hl7.org/fhir}string" minOccurs="0"/>
 *         <element name="performerType" type="{http://hl7.org/fhir}Coding" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="priority" type="{http://hl7.org/fhir}TaskPriority" minOccurs="0"/>
 *         <element name="status" type="{http://hl7.org/fhir}TaskStatus"/>
 *         <element name="failureReason" type="{http://hl7.org/fhir}CodeableConcept" minOccurs="0"/>
 *         <element name="subject" type="{http://hl7.org/fhir}Reference" minOccurs="0"/>
 *         <element name="for" type="{http://hl7.org/fhir}Reference" minOccurs="0"/>
 *         <element name="definition" type="{http://hl7.org/fhir}uri" minOccurs="0"/>
 *         <element name="created" type="{http://hl7.org/fhir}dateTime"/>
 *         <element name="lastModified" type="{http://hl7.org/fhir}dateTime"/>
 *         <element name="creator" type="{http://hl7.org/fhir}Reference"/>
 *         <element name="owner" type="{http://hl7.org/fhir}Reference" minOccurs="0"/>
 *         <element name="parent" type="{http://hl7.org/fhir}Reference" minOccurs="0"/>
 *         <element name="input" type="{http://hl7.org/fhir}Task.Input" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="output" type="{http://hl7.org/fhir}Task.Output" maxOccurs="unbounded" minOccurs="0"/>
 *       </sequence>
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "Task", propOrder = { "identifier", "type", "description", "performerType", "priority", "status", "failureReason", "subject", "_for", "definition", "created", "lastModified", "creator", "owner", "parent", "input", "output" }) public class Task extends DomainResource implements Equals2, HashCode2, ToString2 { protected Identifier identifier; protected CodeableConcept type; protected org.hl7.fhir.String description; protected List performerType; protected TaskPriority priority; @XmlElement(required = true) protected TaskStatus status; protected CodeableConcept failureReason; protected Reference subject; @XmlElement(name = "for") protected Reference _for; protected Uri definition; @XmlElement(required = true) protected DateTime created; @XmlElement(required = true) protected DateTime lastModified; @XmlElement(required = true) protected Reference creator; protected Reference owner; protected Reference parent; protected List input; protected List output; /** * Gets the value of the identifier property. * * @return * possible object is * {@link Identifier } * */ public Identifier getIdentifier() { return identifier; } /** * Sets the value of the identifier property. * * @param value * allowed object is * {@link Identifier } * */ public void setIdentifier(Identifier value) { this.identifier = value; } /** * Gets the value of the type property. * * @return * possible object is * {@link CodeableConcept } * */ public CodeableConcept getType() { return type; } /** * Sets the value of the type property. * * @param value * allowed object is * {@link CodeableConcept } * */ public void setType(CodeableConcept value) { this.type = value; } /** * Gets the value of the description property. * * @return * possible object is * {@link org.hl7.fhir.String } * */ public org.hl7.fhir.String getDescription() { return description; } /** * Sets the value of the description property. * * @param value * allowed object is * {@link org.hl7.fhir.String } * */ public void setDescription(org.hl7.fhir.String value) { this.description = value; } /** * Gets the value of the performerType 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 performerType property. * *

* For example, to add a new item, do as follows: *

     *    getPerformerType().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link Coding } * * */ public List getPerformerType() { if (performerType == null) { performerType = new ArrayList(); } return this.performerType; } /** * Gets the value of the priority property. * * @return * possible object is * {@link TaskPriority } * */ public TaskPriority getPriority() { return priority; } /** * Sets the value of the priority property. * * @param value * allowed object is * {@link TaskPriority } * */ public void setPriority(TaskPriority value) { this.priority = value; } /** * Gets the value of the status property. * * @return * possible object is * {@link TaskStatus } * */ public TaskStatus getStatus() { return status; } /** * Sets the value of the status property. * * @param value * allowed object is * {@link TaskStatus } * */ public void setStatus(TaskStatus value) { this.status = value; } /** * Gets the value of the failureReason property. * * @return * possible object is * {@link CodeableConcept } * */ public CodeableConcept getFailureReason() { return failureReason; } /** * Sets the value of the failureReason property. * * @param value * allowed object is * {@link CodeableConcept } * */ public void setFailureReason(CodeableConcept value) { this.failureReason = 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 for property. * * @return * possible object is * {@link Reference } * */ public Reference getFor() { return _for; } /** * Sets the value of the for property. * * @param value * allowed object is * {@link Reference } * */ public void setFor(Reference value) { this._for = value; } /** * Gets the value of the definition property. * * @return * possible object is * {@link Uri } * */ public Uri getDefinition() { return definition; } /** * Sets the value of the definition property. * * @param value * allowed object is * {@link Uri } * */ public void setDefinition(Uri value) { this.definition = value; } /** * Gets the value of the created property. * * @return * possible object is * {@link DateTime } * */ public DateTime getCreated() { return created; } /** * Sets the value of the created property. * * @param value * allowed object is * {@link DateTime } * */ public void setCreated(DateTime value) { this.created = value; } /** * Gets the value of the lastModified property. * * @return * possible object is * {@link DateTime } * */ public DateTime getLastModified() { return lastModified; } /** * Sets the value of the lastModified property. * * @param value * allowed object is * {@link DateTime } * */ public void setLastModified(DateTime value) { this.lastModified = value; } /** * Gets the value of the creator property. * * @return * possible object is * {@link Reference } * */ public Reference getCreator() { return creator; } /** * Sets the value of the creator property. * * @param value * allowed object is * {@link Reference } * */ public void setCreator(Reference value) { this.creator = value; } /** * Gets the value of the owner property. * * @return * possible object is * {@link Reference } * */ public Reference getOwner() { return owner; } /** * Sets the value of the owner property. * * @param value * allowed object is * {@link Reference } * */ public void setOwner(Reference value) { this.owner = value; } /** * Gets the value of the parent property. * * @return * possible object is * {@link Reference } * */ public Reference getParent() { return parent; } /** * Sets the value of the parent property. * * @param value * allowed object is * {@link Reference } * */ public void setParent(Reference value) { this.parent = value; } /** * Gets the value of the input 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 input property. * *

* For example, to add a new item, do as follows: *

     *    getInput().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link TaskInput } * * */ public List getInput() { if (input == null) { input = new ArrayList(); } return this.input; } /** * Gets the value of the output 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 output property. * *

* For example, to add a new item, do as follows: *

     *    getOutput().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link TaskOutput } * * */ public List getOutput() { if (output == null) { output = new ArrayList(); } return this.output; } public Task withIdentifier(Identifier value) { setIdentifier(value); return this; } public Task withType(CodeableConcept value) { setType(value); return this; } public Task withDescription(org.hl7.fhir.String value) { setDescription(value); return this; } public Task withPerformerType(Coding... values) { if (values!= null) { for (Coding value: values) { getPerformerType().add(value); } } return this; } public Task withPerformerType(Collection values) { if (values!= null) { getPerformerType().addAll(values); } return this; } public Task withPriority(TaskPriority value) { setPriority(value); return this; } public Task withStatus(TaskStatus value) { setStatus(value); return this; } public Task withFailureReason(CodeableConcept value) { setFailureReason(value); return this; } public Task withSubject(Reference value) { setSubject(value); return this; } public Task withFor(Reference value) { setFor(value); return this; } public Task withDefinition(Uri value) { setDefinition(value); return this; } public Task withCreated(DateTime value) { setCreated(value); return this; } public Task withLastModified(DateTime value) { setLastModified(value); return this; } public Task withCreator(Reference value) { setCreator(value); return this; } public Task withOwner(Reference value) { setOwner(value); return this; } public Task withParent(Reference value) { setParent(value); return this; } public Task withInput(TaskInput... values) { if (values!= null) { for (TaskInput value: values) { getInput().add(value); } } return this; } public Task withInput(Collection values) { if (values!= null) { getInput().addAll(values); } return this; } public Task withOutput(TaskOutput... values) { if (values!= null) { for (TaskOutput value: values) { getOutput().add(value); } } return this; } public Task withOutput(Collection values) { if (values!= null) { getOutput().addAll(values); } return this; } @Override public Task withText(Narrative value) { setText(value); return this; } @Override public Task withContained(ResourceContainer... values) { if (values!= null) { for (ResourceContainer value: values) { getContained().add(value); } } return this; } @Override public Task withContained(Collection values) { if (values!= null) { getContained().addAll(values); } return this; } @Override public Task withExtension(Extension... values) { if (values!= null) { for (Extension value: values) { getExtension().add(value); } } return this; } @Override public Task withExtension(Collection values) { if (values!= null) { getExtension().addAll(values); } return this; } @Override public Task withModifierExtension(Extension... values) { if (values!= null) { for (Extension value: values) { getModifierExtension().add(value); } } return this; } @Override public Task withModifierExtension(Collection values) { if (values!= null) { getModifierExtension().addAll(values); } return this; } @Override public Task withId(Id value) { setId(value); return this; } @Override public Task withMeta(Meta value) { setMeta(value); return this; } @Override public Task withImplicitRules(Uri value) { setImplicitRules(value); return this; } @Override public Task 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 Task that = ((Task) object); { Identifier lhsIdentifier; lhsIdentifier = this.getIdentifier(); Identifier rhsIdentifier; rhsIdentifier = that.getIdentifier(); if (!strategy.equals(LocatorUtils.property(thisLocator, "identifier", lhsIdentifier), LocatorUtils.property(thatLocator, "identifier", rhsIdentifier), lhsIdentifier, rhsIdentifier, (this.identifier!= null), (that.identifier!= null))) { return false; } } { CodeableConcept lhsType; lhsType = this.getType(); CodeableConcept rhsType; rhsType = that.getType(); if (!strategy.equals(LocatorUtils.property(thisLocator, "type", lhsType), LocatorUtils.property(thatLocator, "type", rhsType), lhsType, rhsType, (this.type!= null), (that.type!= null))) { return false; } } { org.hl7.fhir.String lhsDescription; lhsDescription = this.getDescription(); org.hl7.fhir.String rhsDescription; rhsDescription = that.getDescription(); if (!strategy.equals(LocatorUtils.property(thisLocator, "description", lhsDescription), LocatorUtils.property(thatLocator, "description", rhsDescription), lhsDescription, rhsDescription, (this.description!= null), (that.description!= null))) { return false; } } { List lhsPerformerType; lhsPerformerType = (((this.performerType!= null)&&(!this.performerType.isEmpty()))?this.getPerformerType():null); List rhsPerformerType; rhsPerformerType = (((that.performerType!= null)&&(!that.performerType.isEmpty()))?that.getPerformerType():null); if (!strategy.equals(LocatorUtils.property(thisLocator, "performerType", lhsPerformerType), LocatorUtils.property(thatLocator, "performerType", rhsPerformerType), lhsPerformerType, rhsPerformerType, ((this.performerType!= null)&&(!this.performerType.isEmpty())), ((that.performerType!= null)&&(!that.performerType.isEmpty())))) { return false; } } { TaskPriority lhsPriority; lhsPriority = this.getPriority(); TaskPriority rhsPriority; rhsPriority = that.getPriority(); if (!strategy.equals(LocatorUtils.property(thisLocator, "priority", lhsPriority), LocatorUtils.property(thatLocator, "priority", rhsPriority), lhsPriority, rhsPriority, (this.priority!= null), (that.priority!= null))) { return false; } } { TaskStatus lhsStatus; lhsStatus = this.getStatus(); TaskStatus rhsStatus; rhsStatus = that.getStatus(); if (!strategy.equals(LocatorUtils.property(thisLocator, "status", lhsStatus), LocatorUtils.property(thatLocator, "status", rhsStatus), lhsStatus, rhsStatus, (this.status!= null), (that.status!= null))) { return false; } } { CodeableConcept lhsFailureReason; lhsFailureReason = this.getFailureReason(); CodeableConcept rhsFailureReason; rhsFailureReason = that.getFailureReason(); if (!strategy.equals(LocatorUtils.property(thisLocator, "failureReason", lhsFailureReason), LocatorUtils.property(thatLocator, "failureReason", rhsFailureReason), lhsFailureReason, rhsFailureReason, (this.failureReason!= null), (that.failureReason!= 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; } } { Reference lhsFor; lhsFor = this.getFor(); Reference rhsFor; rhsFor = that.getFor(); if (!strategy.equals(LocatorUtils.property(thisLocator, "_for", lhsFor), LocatorUtils.property(thatLocator, "_for", rhsFor), lhsFor, rhsFor, (this._for!= null), (that._for!= null))) { return false; } } { Uri lhsDefinition; lhsDefinition = this.getDefinition(); Uri rhsDefinition; rhsDefinition = that.getDefinition(); if (!strategy.equals(LocatorUtils.property(thisLocator, "definition", lhsDefinition), LocatorUtils.property(thatLocator, "definition", rhsDefinition), lhsDefinition, rhsDefinition, (this.definition!= null), (that.definition!= null))) { return false; } } { DateTime lhsCreated; lhsCreated = this.getCreated(); DateTime rhsCreated; rhsCreated = that.getCreated(); if (!strategy.equals(LocatorUtils.property(thisLocator, "created", lhsCreated), LocatorUtils.property(thatLocator, "created", rhsCreated), lhsCreated, rhsCreated, (this.created!= null), (that.created!= null))) { return false; } } { DateTime lhsLastModified; lhsLastModified = this.getLastModified(); DateTime rhsLastModified; rhsLastModified = that.getLastModified(); if (!strategy.equals(LocatorUtils.property(thisLocator, "lastModified", lhsLastModified), LocatorUtils.property(thatLocator, "lastModified", rhsLastModified), lhsLastModified, rhsLastModified, (this.lastModified!= null), (that.lastModified!= null))) { return false; } } { Reference lhsCreator; lhsCreator = this.getCreator(); Reference rhsCreator; rhsCreator = that.getCreator(); if (!strategy.equals(LocatorUtils.property(thisLocator, "creator", lhsCreator), LocatorUtils.property(thatLocator, "creator", rhsCreator), lhsCreator, rhsCreator, (this.creator!= null), (that.creator!= null))) { return false; } } { Reference lhsOwner; lhsOwner = this.getOwner(); Reference rhsOwner; rhsOwner = that.getOwner(); if (!strategy.equals(LocatorUtils.property(thisLocator, "owner", lhsOwner), LocatorUtils.property(thatLocator, "owner", rhsOwner), lhsOwner, rhsOwner, (this.owner!= null), (that.owner!= null))) { return false; } } { Reference lhsParent; lhsParent = this.getParent(); Reference rhsParent; rhsParent = that.getParent(); if (!strategy.equals(LocatorUtils.property(thisLocator, "parent", lhsParent), LocatorUtils.property(thatLocator, "parent", rhsParent), lhsParent, rhsParent, (this.parent!= null), (that.parent!= null))) { return false; } } { List lhsInput; lhsInput = (((this.input!= null)&&(!this.input.isEmpty()))?this.getInput():null); List rhsInput; rhsInput = (((that.input!= null)&&(!that.input.isEmpty()))?that.getInput():null); if (!strategy.equals(LocatorUtils.property(thisLocator, "input", lhsInput), LocatorUtils.property(thatLocator, "input", rhsInput), lhsInput, rhsInput, ((this.input!= null)&&(!this.input.isEmpty())), ((that.input!= null)&&(!that.input.isEmpty())))) { return false; } } { List lhsOutput; lhsOutput = (((this.output!= null)&&(!this.output.isEmpty()))?this.getOutput():null); List rhsOutput; rhsOutput = (((that.output!= null)&&(!that.output.isEmpty()))?that.getOutput():null); if (!strategy.equals(LocatorUtils.property(thisLocator, "output", lhsOutput), LocatorUtils.property(thatLocator, "output", rhsOutput), lhsOutput, rhsOutput, ((this.output!= null)&&(!this.output.isEmpty())), ((that.output!= null)&&(!that.output.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); { Identifier theIdentifier; theIdentifier = this.getIdentifier(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "identifier", theIdentifier), currentHashCode, theIdentifier, (this.identifier!= null)); } { CodeableConcept theType; theType = this.getType(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "type", theType), currentHashCode, theType, (this.type!= null)); } { org.hl7.fhir.String theDescription; theDescription = this.getDescription(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "description", theDescription), currentHashCode, theDescription, (this.description!= null)); } { List thePerformerType; thePerformerType = (((this.performerType!= null)&&(!this.performerType.isEmpty()))?this.getPerformerType():null); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "performerType", thePerformerType), currentHashCode, thePerformerType, ((this.performerType!= null)&&(!this.performerType.isEmpty()))); } { TaskPriority thePriority; thePriority = this.getPriority(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "priority", thePriority), currentHashCode, thePriority, (this.priority!= null)); } { TaskStatus theStatus; theStatus = this.getStatus(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "status", theStatus), currentHashCode, theStatus, (this.status!= null)); } { CodeableConcept theFailureReason; theFailureReason = this.getFailureReason(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "failureReason", theFailureReason), currentHashCode, theFailureReason, (this.failureReason!= null)); } { Reference theSubject; theSubject = this.getSubject(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "subject", theSubject), currentHashCode, theSubject, (this.subject!= null)); } { Reference theFor; theFor = this.getFor(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "_for", theFor), currentHashCode, theFor, (this._for!= null)); } { Uri theDefinition; theDefinition = this.getDefinition(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "definition", theDefinition), currentHashCode, theDefinition, (this.definition!= null)); } { DateTime theCreated; theCreated = this.getCreated(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "created", theCreated), currentHashCode, theCreated, (this.created!= null)); } { DateTime theLastModified; theLastModified = this.getLastModified(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "lastModified", theLastModified), currentHashCode, theLastModified, (this.lastModified!= null)); } { Reference theCreator; theCreator = this.getCreator(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "creator", theCreator), currentHashCode, theCreator, (this.creator!= null)); } { Reference theOwner; theOwner = this.getOwner(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "owner", theOwner), currentHashCode, theOwner, (this.owner!= null)); } { Reference theParent; theParent = this.getParent(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "parent", theParent), currentHashCode, theParent, (this.parent!= null)); } { List theInput; theInput = (((this.input!= null)&&(!this.input.isEmpty()))?this.getInput():null); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "input", theInput), currentHashCode, theInput, ((this.input!= null)&&(!this.input.isEmpty()))); } { List theOutput; theOutput = (((this.output!= null)&&(!this.output.isEmpty()))?this.getOutput():null); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "output", theOutput), currentHashCode, theOutput, ((this.output!= null)&&(!this.output.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); { Identifier theIdentifier; theIdentifier = this.getIdentifier(); strategy.appendField(locator, this, "identifier", buffer, theIdentifier, (this.identifier!= null)); } { CodeableConcept theType; theType = this.getType(); strategy.appendField(locator, this, "type", buffer, theType, (this.type!= null)); } { org.hl7.fhir.String theDescription; theDescription = this.getDescription(); strategy.appendField(locator, this, "description", buffer, theDescription, (this.description!= null)); } { List thePerformerType; thePerformerType = (((this.performerType!= null)&&(!this.performerType.isEmpty()))?this.getPerformerType():null); strategy.appendField(locator, this, "performerType", buffer, thePerformerType, ((this.performerType!= null)&&(!this.performerType.isEmpty()))); } { TaskPriority thePriority; thePriority = this.getPriority(); strategy.appendField(locator, this, "priority", buffer, thePriority, (this.priority!= null)); } { TaskStatus theStatus; theStatus = this.getStatus(); strategy.appendField(locator, this, "status", buffer, theStatus, (this.status!= null)); } { CodeableConcept theFailureReason; theFailureReason = this.getFailureReason(); strategy.appendField(locator, this, "failureReason", buffer, theFailureReason, (this.failureReason!= null)); } { Reference theSubject; theSubject = this.getSubject(); strategy.appendField(locator, this, "subject", buffer, theSubject, (this.subject!= null)); } { Reference theFor; theFor = this.getFor(); strategy.appendField(locator, this, "_for", buffer, theFor, (this._for!= null)); } { Uri theDefinition; theDefinition = this.getDefinition(); strategy.appendField(locator, this, "definition", buffer, theDefinition, (this.definition!= null)); } { DateTime theCreated; theCreated = this.getCreated(); strategy.appendField(locator, this, "created", buffer, theCreated, (this.created!= null)); } { DateTime theLastModified; theLastModified = this.getLastModified(); strategy.appendField(locator, this, "lastModified", buffer, theLastModified, (this.lastModified!= null)); } { Reference theCreator; theCreator = this.getCreator(); strategy.appendField(locator, this, "creator", buffer, theCreator, (this.creator!= null)); } { Reference theOwner; theOwner = this.getOwner(); strategy.appendField(locator, this, "owner", buffer, theOwner, (this.owner!= null)); } { Reference theParent; theParent = this.getParent(); strategy.appendField(locator, this, "parent", buffer, theParent, (this.parent!= null)); } { List theInput; theInput = (((this.input!= null)&&(!this.input.isEmpty()))?this.getInput():null); strategy.appendField(locator, this, "input", buffer, theInput, ((this.input!= null)&&(!this.input.isEmpty()))); } { List theOutput; theOutput = (((this.output!= null)&&(!this.output.isEmpty()))?this.getOutput():null); strategy.appendField(locator, this, "output", buffer, theOutput, ((this.output!= null)&&(!this.output.isEmpty()))); } return buffer; } public void setPerformerType(List value) { this.performerType = value; } public void setInput(List value) { this.input = value; } public void setOutput(List value) { this.output = value; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy