
org.hl7.v3.RTO Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ihe-iti Show documentation
Show all versions of ihe-iti Show documentation
Codegen for IHE ITI Profiles.
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.6
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2014.07.06 at 04:34:42 PM PDT
//
package org.hl7.v3;
import java.util.Collection;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;
import org.apache.commons.lang.builder.EqualsBuilder;
import org.apache.commons.lang.builder.HashCodeBuilder;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;
/**
*
* A quantity constructed as the quotient of a numerator
* quantity divided by a denominator quantity. Common
* factors in the numerator and denominator are not
* automatically cancelled out. supports titers
* (e.g., "1:128") and other quantities produced by
* laboratories that truly represent ratios. Ratios are
* not simply "structured numerics", particularly blood
* pressure measurements (e.g. "120/60") are not ratios.
* In many cases REAL should be used instead
* of .
*
*
* Java class for RTO complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="RTO">
* <complexContent>
* <extension base="{urn:hl7-org:v3}RTO_QTY_QTY">
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "RTO", namespace = "urn:hl7-org:v3")
public class RTO
extends RTOQTYQTY
{
@Override
public RTO withNumerator(QTY value) {
setNumerator(value);
return this;
}
@Override
public RTO withDenominator(QTY value) {
setDenominator(value);
return this;
}
@Override
public RTO withNullFlavor(String... values) {
if (values!= null) {
for (String value: values) {
getNullFlavor().add(value);
}
}
return this;
}
@Override
public RTO withNullFlavor(Collection values) {
if (values!= null) {
getNullFlavor().addAll(values);
}
return this;
}
@Override
public String toString() {
return ToStringBuilder.reflectionToString(this, ToStringStyle.MULTI_LINE_STYLE);
}
@Override
public boolean equals(Object that) {
return EqualsBuilder.reflectionEquals(this, that);
}
@Override
public int hashCode() {
return HashCodeBuilder.reflectionHashCode(this);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy