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

org.hl7.fhir.DiagnosticOrder 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.03.21 at 12:42:34 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;


/**
 * If the element is present, it must have either a @value, an @id, or extensions
 * 
 * 

Java class for DiagnosticOrder complex type. * *

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

 * <complexType name="DiagnosticOrder">
 *   <complexContent>
 *     <extension base="{http://hl7.org/fhir}DomainResource">
 *       <sequence>
 *         <element name="identifier" type="{http://hl7.org/fhir}Identifier" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="status" type="{http://hl7.org/fhir}DiagnosticOrderStatus" minOccurs="0"/>
 *         <element name="priority" type="{http://hl7.org/fhir}DiagnosticOrderPriority" minOccurs="0"/>
 *         <element name="subject" type="{http://hl7.org/fhir}Reference"/>
 *         <element name="encounter" type="{http://hl7.org/fhir}Reference" minOccurs="0"/>
 *         <element name="orderer" type="{http://hl7.org/fhir}Reference" minOccurs="0"/>
 *         <element name="reason" type="{http://hl7.org/fhir}CodeableConcept" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="supportingInformation" type="{http://hl7.org/fhir}Reference" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="specimen" type="{http://hl7.org/fhir}Reference" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="event" type="{http://hl7.org/fhir}DiagnosticOrder.Event" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="item" type="{http://hl7.org/fhir}DiagnosticOrder.Item" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="note" type="{http://hl7.org/fhir}Annotation" maxOccurs="unbounded" minOccurs="0"/>
 *       </sequence>
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "DiagnosticOrder", propOrder = { "identifier", "status", "priority", "subject", "encounter", "orderer", "reason", "supportingInformation", "specimen", "event", "item", "note" }) public class DiagnosticOrder extends DomainResource implements Equals2, HashCode2, ToString2 { protected List identifier; protected DiagnosticOrderStatus status; protected DiagnosticOrderPriority priority; @XmlElement(required = true) protected Reference subject; protected Reference encounter; protected Reference orderer; protected List reason; protected List supportingInformation; protected List specimen; protected List event; protected List item; protected List note; /** * 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 status property. * * @return * possible object is * {@link DiagnosticOrderStatus } * */ public DiagnosticOrderStatus getStatus() { return status; } /** * Sets the value of the status property. * * @param value * allowed object is * {@link DiagnosticOrderStatus } * */ public void setStatus(DiagnosticOrderStatus value) { this.status = value; } /** * Gets the value of the priority property. * * @return * possible object is * {@link DiagnosticOrderPriority } * */ public DiagnosticOrderPriority getPriority() { return priority; } /** * Sets the value of the priority property. * * @param value * allowed object is * {@link DiagnosticOrderPriority } * */ public void setPriority(DiagnosticOrderPriority value) { this.priority = 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 encounter property. * * @return * possible object is * {@link Reference } * */ public Reference getEncounter() { return encounter; } /** * Sets the value of the encounter property. * * @param value * allowed object is * {@link Reference } * */ public void setEncounter(Reference value) { this.encounter = value; } /** * Gets the value of the orderer property. * * @return * possible object is * {@link Reference } * */ public Reference getOrderer() { return orderer; } /** * Sets the value of the orderer property. * * @param value * allowed object is * {@link Reference } * */ public void setOrderer(Reference value) { this.orderer = value; } /** * Gets the value of the reason 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 reason property. * *

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

     *    getReason().add(newItem);
     * 
* * *

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

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

     *    getSupportingInformation().add(newItem);
     * 
* * *

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

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

     *    getSpecimen().add(newItem);
     * 
* * *

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

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

     *    getEvent().add(newItem);
     * 
* * *

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

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

     *    getItem().add(newItem);
     * 
* * *

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

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

     *    getNote().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link Annotation } * * */ public List getNote() { if (note == null) { note = new ArrayList(); } return this.note; } public DiagnosticOrder withIdentifier(Identifier... values) { if (values!= null) { for (Identifier value: values) { getIdentifier().add(value); } } return this; } public DiagnosticOrder withIdentifier(Collection values) { if (values!= null) { getIdentifier().addAll(values); } return this; } public DiagnosticOrder withStatus(DiagnosticOrderStatus value) { setStatus(value); return this; } public DiagnosticOrder withPriority(DiagnosticOrderPriority value) { setPriority(value); return this; } public DiagnosticOrder withSubject(Reference value) { setSubject(value); return this; } public DiagnosticOrder withEncounter(Reference value) { setEncounter(value); return this; } public DiagnosticOrder withOrderer(Reference value) { setOrderer(value); return this; } public DiagnosticOrder withReason(CodeableConcept... values) { if (values!= null) { for (CodeableConcept value: values) { getReason().add(value); } } return this; } public DiagnosticOrder withReason(Collection values) { if (values!= null) { getReason().addAll(values); } return this; } public DiagnosticOrder withSupportingInformation(Reference... values) { if (values!= null) { for (Reference value: values) { getSupportingInformation().add(value); } } return this; } public DiagnosticOrder withSupportingInformation(Collection values) { if (values!= null) { getSupportingInformation().addAll(values); } return this; } public DiagnosticOrder withSpecimen(Reference... values) { if (values!= null) { for (Reference value: values) { getSpecimen().add(value); } } return this; } public DiagnosticOrder withSpecimen(Collection values) { if (values!= null) { getSpecimen().addAll(values); } return this; } public DiagnosticOrder withEvent(DiagnosticOrderEvent... values) { if (values!= null) { for (DiagnosticOrderEvent value: values) { getEvent().add(value); } } return this; } public DiagnosticOrder withEvent(Collection values) { if (values!= null) { getEvent().addAll(values); } return this; } public DiagnosticOrder withItem(DiagnosticOrderItem... values) { if (values!= null) { for (DiagnosticOrderItem value: values) { getItem().add(value); } } return this; } public DiagnosticOrder withItem(Collection values) { if (values!= null) { getItem().addAll(values); } return this; } public DiagnosticOrder withNote(Annotation... values) { if (values!= null) { for (Annotation value: values) { getNote().add(value); } } return this; } public DiagnosticOrder withNote(Collection values) { if (values!= null) { getNote().addAll(values); } return this; } @Override public DiagnosticOrder withText(Narrative value) { setText(value); return this; } @Override public DiagnosticOrder withContained(ResourceContainer... values) { if (values!= null) { for (ResourceContainer value: values) { getContained().add(value); } } return this; } @Override public DiagnosticOrder withContained(Collection values) { if (values!= null) { getContained().addAll(values); } return this; } @Override public DiagnosticOrder withExtension(Extension... values) { if (values!= null) { for (Extension value: values) { getExtension().add(value); } } return this; } @Override public DiagnosticOrder withExtension(Collection values) { if (values!= null) { getExtension().addAll(values); } return this; } @Override public DiagnosticOrder withModifierExtension(Extension... values) { if (values!= null) { for (Extension value: values) { getModifierExtension().add(value); } } return this; } @Override public DiagnosticOrder withModifierExtension(Collection values) { if (values!= null) { getModifierExtension().addAll(values); } return this; } @Override public DiagnosticOrder withId(Id value) { setId(value); return this; } @Override public DiagnosticOrder withMeta(Meta value) { setMeta(value); return this; } @Override public DiagnosticOrder withImplicitRules(Uri value) { setImplicitRules(value); return this; } @Override public DiagnosticOrder 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 DiagnosticOrder that = ((DiagnosticOrder) object); { 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; } } { DiagnosticOrderStatus lhsStatus; lhsStatus = this.getStatus(); DiagnosticOrderStatus 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; } } { DiagnosticOrderPriority lhsPriority; lhsPriority = this.getPriority(); DiagnosticOrderPriority 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; } } { 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 lhsEncounter; lhsEncounter = this.getEncounter(); Reference rhsEncounter; rhsEncounter = that.getEncounter(); if (!strategy.equals(LocatorUtils.property(thisLocator, "encounter", lhsEncounter), LocatorUtils.property(thatLocator, "encounter", rhsEncounter), lhsEncounter, rhsEncounter, (this.encounter!= null), (that.encounter!= null))) { return false; } } { Reference lhsOrderer; lhsOrderer = this.getOrderer(); Reference rhsOrderer; rhsOrderer = that.getOrderer(); if (!strategy.equals(LocatorUtils.property(thisLocator, "orderer", lhsOrderer), LocatorUtils.property(thatLocator, "orderer", rhsOrderer), lhsOrderer, rhsOrderer, (this.orderer!= null), (that.orderer!= null))) { return false; } } { List lhsReason; lhsReason = (((this.reason!= null)&&(!this.reason.isEmpty()))?this.getReason():null); List rhsReason; rhsReason = (((that.reason!= null)&&(!that.reason.isEmpty()))?that.getReason():null); if (!strategy.equals(LocatorUtils.property(thisLocator, "reason", lhsReason), LocatorUtils.property(thatLocator, "reason", rhsReason), lhsReason, rhsReason, ((this.reason!= null)&&(!this.reason.isEmpty())), ((that.reason!= null)&&(!that.reason.isEmpty())))) { return false; } } { List lhsSupportingInformation; lhsSupportingInformation = (((this.supportingInformation!= null)&&(!this.supportingInformation.isEmpty()))?this.getSupportingInformation():null); List rhsSupportingInformation; rhsSupportingInformation = (((that.supportingInformation!= null)&&(!that.supportingInformation.isEmpty()))?that.getSupportingInformation():null); if (!strategy.equals(LocatorUtils.property(thisLocator, "supportingInformation", lhsSupportingInformation), LocatorUtils.property(thatLocator, "supportingInformation", rhsSupportingInformation), lhsSupportingInformation, rhsSupportingInformation, ((this.supportingInformation!= null)&&(!this.supportingInformation.isEmpty())), ((that.supportingInformation!= null)&&(!that.supportingInformation.isEmpty())))) { return false; } } { List lhsSpecimen; lhsSpecimen = (((this.specimen!= null)&&(!this.specimen.isEmpty()))?this.getSpecimen():null); List rhsSpecimen; rhsSpecimen = (((that.specimen!= null)&&(!that.specimen.isEmpty()))?that.getSpecimen():null); if (!strategy.equals(LocatorUtils.property(thisLocator, "specimen", lhsSpecimen), LocatorUtils.property(thatLocator, "specimen", rhsSpecimen), lhsSpecimen, rhsSpecimen, ((this.specimen!= null)&&(!this.specimen.isEmpty())), ((that.specimen!= null)&&(!that.specimen.isEmpty())))) { return false; } } { List lhsEvent; lhsEvent = (((this.event!= null)&&(!this.event.isEmpty()))?this.getEvent():null); List rhsEvent; rhsEvent = (((that.event!= null)&&(!that.event.isEmpty()))?that.getEvent():null); if (!strategy.equals(LocatorUtils.property(thisLocator, "event", lhsEvent), LocatorUtils.property(thatLocator, "event", rhsEvent), lhsEvent, rhsEvent, ((this.event!= null)&&(!this.event.isEmpty())), ((that.event!= null)&&(!that.event.isEmpty())))) { return false; } } { List lhsItem; lhsItem = (((this.item!= null)&&(!this.item.isEmpty()))?this.getItem():null); List rhsItem; rhsItem = (((that.item!= null)&&(!that.item.isEmpty()))?that.getItem():null); if (!strategy.equals(LocatorUtils.property(thisLocator, "item", lhsItem), LocatorUtils.property(thatLocator, "item", rhsItem), lhsItem, rhsItem, ((this.item!= null)&&(!this.item.isEmpty())), ((that.item!= null)&&(!that.item.isEmpty())))) { return false; } } { List lhsNote; lhsNote = (((this.note!= null)&&(!this.note.isEmpty()))?this.getNote():null); List rhsNote; rhsNote = (((that.note!= null)&&(!that.note.isEmpty()))?that.getNote():null); if (!strategy.equals(LocatorUtils.property(thisLocator, "note", lhsNote), LocatorUtils.property(thatLocator, "note", rhsNote), lhsNote, rhsNote, ((this.note!= null)&&(!this.note.isEmpty())), ((that.note!= null)&&(!that.note.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); { 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()))); } { DiagnosticOrderStatus theStatus; theStatus = this.getStatus(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "status", theStatus), currentHashCode, theStatus, (this.status!= null)); } { DiagnosticOrderPriority thePriority; thePriority = this.getPriority(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "priority", thePriority), currentHashCode, thePriority, (this.priority!= null)); } { Reference theSubject; theSubject = this.getSubject(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "subject", theSubject), currentHashCode, theSubject, (this.subject!= null)); } { Reference theEncounter; theEncounter = this.getEncounter(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "encounter", theEncounter), currentHashCode, theEncounter, (this.encounter!= null)); } { Reference theOrderer; theOrderer = this.getOrderer(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "orderer", theOrderer), currentHashCode, theOrderer, (this.orderer!= null)); } { List theReason; theReason = (((this.reason!= null)&&(!this.reason.isEmpty()))?this.getReason():null); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "reason", theReason), currentHashCode, theReason, ((this.reason!= null)&&(!this.reason.isEmpty()))); } { List theSupportingInformation; theSupportingInformation = (((this.supportingInformation!= null)&&(!this.supportingInformation.isEmpty()))?this.getSupportingInformation():null); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "supportingInformation", theSupportingInformation), currentHashCode, theSupportingInformation, ((this.supportingInformation!= null)&&(!this.supportingInformation.isEmpty()))); } { List theSpecimen; theSpecimen = (((this.specimen!= null)&&(!this.specimen.isEmpty()))?this.getSpecimen():null); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "specimen", theSpecimen), currentHashCode, theSpecimen, ((this.specimen!= null)&&(!this.specimen.isEmpty()))); } { List theEvent; theEvent = (((this.event!= null)&&(!this.event.isEmpty()))?this.getEvent():null); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "event", theEvent), currentHashCode, theEvent, ((this.event!= null)&&(!this.event.isEmpty()))); } { List theItem; theItem = (((this.item!= null)&&(!this.item.isEmpty()))?this.getItem():null); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "item", theItem), currentHashCode, theItem, ((this.item!= null)&&(!this.item.isEmpty()))); } { List theNote; theNote = (((this.note!= null)&&(!this.note.isEmpty()))?this.getNote():null); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "note", theNote), currentHashCode, theNote, ((this.note!= null)&&(!this.note.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); { 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()))); } { DiagnosticOrderStatus theStatus; theStatus = this.getStatus(); strategy.appendField(locator, this, "status", buffer, theStatus, (this.status!= null)); } { DiagnosticOrderPriority thePriority; thePriority = this.getPriority(); strategy.appendField(locator, this, "priority", buffer, thePriority, (this.priority!= null)); } { Reference theSubject; theSubject = this.getSubject(); strategy.appendField(locator, this, "subject", buffer, theSubject, (this.subject!= null)); } { Reference theEncounter; theEncounter = this.getEncounter(); strategy.appendField(locator, this, "encounter", buffer, theEncounter, (this.encounter!= null)); } { Reference theOrderer; theOrderer = this.getOrderer(); strategy.appendField(locator, this, "orderer", buffer, theOrderer, (this.orderer!= null)); } { List theReason; theReason = (((this.reason!= null)&&(!this.reason.isEmpty()))?this.getReason():null); strategy.appendField(locator, this, "reason", buffer, theReason, ((this.reason!= null)&&(!this.reason.isEmpty()))); } { List theSupportingInformation; theSupportingInformation = (((this.supportingInformation!= null)&&(!this.supportingInformation.isEmpty()))?this.getSupportingInformation():null); strategy.appendField(locator, this, "supportingInformation", buffer, theSupportingInformation, ((this.supportingInformation!= null)&&(!this.supportingInformation.isEmpty()))); } { List theSpecimen; theSpecimen = (((this.specimen!= null)&&(!this.specimen.isEmpty()))?this.getSpecimen():null); strategy.appendField(locator, this, "specimen", buffer, theSpecimen, ((this.specimen!= null)&&(!this.specimen.isEmpty()))); } { List theEvent; theEvent = (((this.event!= null)&&(!this.event.isEmpty()))?this.getEvent():null); strategy.appendField(locator, this, "event", buffer, theEvent, ((this.event!= null)&&(!this.event.isEmpty()))); } { List theItem; theItem = (((this.item!= null)&&(!this.item.isEmpty()))?this.getItem():null); strategy.appendField(locator, this, "item", buffer, theItem, ((this.item!= null)&&(!this.item.isEmpty()))); } { List theNote; theNote = (((this.note!= null)&&(!this.note.isEmpty()))?this.getNote():null); strategy.appendField(locator, this, "note", buffer, theNote, ((this.note!= null)&&(!this.note.isEmpty()))); } return buffer; } public void setIdentifier(List value) { this.identifier = value; } public void setReason(List value) { this.reason = value; } public void setSupportingInformation(List value) { this.supportingInformation = value; } public void setSpecimen(List value) { this.specimen = value; } public void setEvent(List value) { this.event = value; } public void setItem(List value) { this.item = value; } public void setNote(List value) { this.note = value; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy