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

gov.healthit.qdm.v4_2.PhysicalExamPerformed Maven / Gradle / Ivy

Go to download

The qdm 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.08.16 at 09:36:50 AM MDT 
//


package gov.healthit.qdm.v4_2;

import javax.xml.datatype.XMLGregorianCalendar;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlSchemaType;
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;


/**
 * 
 * 				Data elements that meet criteria using this
 * 				datatype should document the
 * 				completion of the physical exam
 * 				indicated by the QDM category and
 * 				its corresponding value set.
 * 			
 * 
 * 

Java class for PhysicalExamPerformed complex type. * *

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

 * <complexType name="PhysicalExamPerformed">
 *   <complexContent>
 *     <extension base="{urn:healthit-gov:qdm:v4_2}QDMBaseType">
 *       <sequence>
 *         <element name="startDatetime" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
 *         <element name="stopDatetime" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
 *         <element name="negationRationale" type="{urn:healthit-gov:qdm:v4_2}Concept" minOccurs="0"/>
 *         <element name="reason" type="{urn:healthit-gov:qdm:v4_2}Concept" minOccurs="0"/>
 *         <element name="method" type="{urn:healthit-gov:qdm:v4_2}Concept" minOccurs="0"/>
 *         <element name="result" type="{urn:healthit-gov:qdm:v4_2}Any" minOccurs="0"/>
 *         <element name="anatomicalLocationSite" type="{urn:healthit-gov:qdm:v4_2}Concept" minOccurs="0"/>
 *       </sequence>
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "PhysicalExamPerformed", propOrder = { "startDatetime", "stopDatetime", "negationRationale", "reason", "method", "result", "anatomicalLocationSite" }) public class PhysicalExamPerformed extends QDMBaseType implements Equals2, HashCode2, ToString2 { @XmlSchemaType(name = "dateTime") protected XMLGregorianCalendar startDatetime; @XmlSchemaType(name = "dateTime") protected XMLGregorianCalendar stopDatetime; protected Concept negationRationale; protected Concept reason; protected Concept method; protected Any result; protected Concept anatomicalLocationSite; /** * Gets the value of the startDatetime property. * * @return * possible object is * {@link XMLGregorianCalendar } * */ public XMLGregorianCalendar getStartDatetime() { return startDatetime; } /** * Sets the value of the startDatetime property. * * @param value * allowed object is * {@link XMLGregorianCalendar } * */ public void setStartDatetime(XMLGregorianCalendar value) { this.startDatetime = value; } /** * Gets the value of the stopDatetime property. * * @return * possible object is * {@link XMLGregorianCalendar } * */ public XMLGregorianCalendar getStopDatetime() { return stopDatetime; } /** * Sets the value of the stopDatetime property. * * @param value * allowed object is * {@link XMLGregorianCalendar } * */ public void setStopDatetime(XMLGregorianCalendar value) { this.stopDatetime = value; } /** * Gets the value of the negationRationale property. * * @return * possible object is * {@link Concept } * */ public Concept getNegationRationale() { return negationRationale; } /** * Sets the value of the negationRationale property. * * @param value * allowed object is * {@link Concept } * */ public void setNegationRationale(Concept value) { this.negationRationale = value; } /** * Gets the value of the reason property. * * @return * possible object is * {@link Concept } * */ public Concept getReason() { return reason; } /** * Sets the value of the reason property. * * @param value * allowed object is * {@link Concept } * */ public void setReason(Concept value) { this.reason = value; } /** * Gets the value of the method property. * * @return * possible object is * {@link Concept } * */ public Concept getMethod() { return method; } /** * Sets the value of the method property. * * @param value * allowed object is * {@link Concept } * */ public void setMethod(Concept value) { this.method = value; } /** * Gets the value of the result property. * * @return * possible object is * {@link Any } * */ public Any getResult() { return result; } /** * Sets the value of the result property. * * @param value * allowed object is * {@link Any } * */ public void setResult(Any value) { this.result = value; } /** * Gets the value of the anatomicalLocationSite property. * * @return * possible object is * {@link Concept } * */ public Concept getAnatomicalLocationSite() { return anatomicalLocationSite; } /** * Sets the value of the anatomicalLocationSite property. * * @param value * allowed object is * {@link Concept } * */ public void setAnatomicalLocationSite(Concept value) { this.anatomicalLocationSite = value; } public PhysicalExamPerformed withStartDatetime(XMLGregorianCalendar value) { setStartDatetime(value); return this; } public PhysicalExamPerformed withStopDatetime(XMLGregorianCalendar value) { setStopDatetime(value); return this; } public PhysicalExamPerformed withNegationRationale(Concept value) { setNegationRationale(value); return this; } public PhysicalExamPerformed withReason(Concept value) { setReason(value); return this; } public PhysicalExamPerformed withMethod(Concept value) { setMethod(value); return this; } public PhysicalExamPerformed withResult(Any value) { setResult(value); return this; } public PhysicalExamPerformed withAnatomicalLocationSite(Concept value) { setAnatomicalLocationSite(value); return this; } @Override public PhysicalExamPerformed withCode(Concept value) { setCode(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 PhysicalExamPerformed that = ((PhysicalExamPerformed) object); { XMLGregorianCalendar lhsStartDatetime; lhsStartDatetime = this.getStartDatetime(); XMLGregorianCalendar rhsStartDatetime; rhsStartDatetime = that.getStartDatetime(); if (!strategy.equals(LocatorUtils.property(thisLocator, "startDatetime", lhsStartDatetime), LocatorUtils.property(thatLocator, "startDatetime", rhsStartDatetime), lhsStartDatetime, rhsStartDatetime, (this.startDatetime!= null), (that.startDatetime!= null))) { return false; } } { XMLGregorianCalendar lhsStopDatetime; lhsStopDatetime = this.getStopDatetime(); XMLGregorianCalendar rhsStopDatetime; rhsStopDatetime = that.getStopDatetime(); if (!strategy.equals(LocatorUtils.property(thisLocator, "stopDatetime", lhsStopDatetime), LocatorUtils.property(thatLocator, "stopDatetime", rhsStopDatetime), lhsStopDatetime, rhsStopDatetime, (this.stopDatetime!= null), (that.stopDatetime!= null))) { return false; } } { Concept lhsNegationRationale; lhsNegationRationale = this.getNegationRationale(); Concept rhsNegationRationale; rhsNegationRationale = that.getNegationRationale(); if (!strategy.equals(LocatorUtils.property(thisLocator, "negationRationale", lhsNegationRationale), LocatorUtils.property(thatLocator, "negationRationale", rhsNegationRationale), lhsNegationRationale, rhsNegationRationale, (this.negationRationale!= null), (that.negationRationale!= null))) { return false; } } { Concept lhsReason; lhsReason = this.getReason(); Concept rhsReason; rhsReason = that.getReason(); if (!strategy.equals(LocatorUtils.property(thisLocator, "reason", lhsReason), LocatorUtils.property(thatLocator, "reason", rhsReason), lhsReason, rhsReason, (this.reason!= null), (that.reason!= null))) { return false; } } { Concept lhsMethod; lhsMethod = this.getMethod(); Concept rhsMethod; rhsMethod = that.getMethod(); if (!strategy.equals(LocatorUtils.property(thisLocator, "method", lhsMethod), LocatorUtils.property(thatLocator, "method", rhsMethod), lhsMethod, rhsMethod, (this.method!= null), (that.method!= null))) { return false; } } { Any lhsResult; lhsResult = this.getResult(); Any rhsResult; rhsResult = that.getResult(); if (!strategy.equals(LocatorUtils.property(thisLocator, "result", lhsResult), LocatorUtils.property(thatLocator, "result", rhsResult), lhsResult, rhsResult, (this.result!= null), (that.result!= null))) { return false; } } { Concept lhsAnatomicalLocationSite; lhsAnatomicalLocationSite = this.getAnatomicalLocationSite(); Concept rhsAnatomicalLocationSite; rhsAnatomicalLocationSite = that.getAnatomicalLocationSite(); if (!strategy.equals(LocatorUtils.property(thisLocator, "anatomicalLocationSite", lhsAnatomicalLocationSite), LocatorUtils.property(thatLocator, "anatomicalLocationSite", rhsAnatomicalLocationSite), lhsAnatomicalLocationSite, rhsAnatomicalLocationSite, (this.anatomicalLocationSite!= null), (that.anatomicalLocationSite!= 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); { XMLGregorianCalendar theStartDatetime; theStartDatetime = this.getStartDatetime(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "startDatetime", theStartDatetime), currentHashCode, theStartDatetime, (this.startDatetime!= null)); } { XMLGregorianCalendar theStopDatetime; theStopDatetime = this.getStopDatetime(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "stopDatetime", theStopDatetime), currentHashCode, theStopDatetime, (this.stopDatetime!= null)); } { Concept theNegationRationale; theNegationRationale = this.getNegationRationale(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "negationRationale", theNegationRationale), currentHashCode, theNegationRationale, (this.negationRationale!= null)); } { Concept theReason; theReason = this.getReason(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "reason", theReason), currentHashCode, theReason, (this.reason!= null)); } { Concept theMethod; theMethod = this.getMethod(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "method", theMethod), currentHashCode, theMethod, (this.method!= null)); } { Any theResult; theResult = this.getResult(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "result", theResult), currentHashCode, theResult, (this.result!= null)); } { Concept theAnatomicalLocationSite; theAnatomicalLocationSite = this.getAnatomicalLocationSite(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "anatomicalLocationSite", theAnatomicalLocationSite), currentHashCode, theAnatomicalLocationSite, (this.anatomicalLocationSite!= null)); } return currentHashCode; } @Override public int hashCode() { final HashCodeStrategy2 strategy = JAXBHashCodeStrategy.getInstance(); return this.hashCode(null, strategy); } @Override public 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); { XMLGregorianCalendar theStartDatetime; theStartDatetime = this.getStartDatetime(); strategy.appendField(locator, this, "startDatetime", buffer, theStartDatetime, (this.startDatetime!= null)); } { XMLGregorianCalendar theStopDatetime; theStopDatetime = this.getStopDatetime(); strategy.appendField(locator, this, "stopDatetime", buffer, theStopDatetime, (this.stopDatetime!= null)); } { Concept theNegationRationale; theNegationRationale = this.getNegationRationale(); strategy.appendField(locator, this, "negationRationale", buffer, theNegationRationale, (this.negationRationale!= null)); } { Concept theReason; theReason = this.getReason(); strategy.appendField(locator, this, "reason", buffer, theReason, (this.reason!= null)); } { Concept theMethod; theMethod = this.getMethod(); strategy.appendField(locator, this, "method", buffer, theMethod, (this.method!= null)); } { Any theResult; theResult = this.getResult(); strategy.appendField(locator, this, "result", buffer, theResult, (this.result!= null)); } { Concept theAnatomicalLocationSite; theAnatomicalLocationSite = this.getAnatomicalLocationSite(); strategy.appendField(locator, this, "anatomicalLocationSite", buffer, theAnatomicalLocationSite, (this.anatomicalLocationSite!= null)); } return buffer; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy