Package org.hl7.v3
Class RTO
java.lang.Object
org.hl7.v3.ANY
org.hl7.v3.QTY
org.hl7.v3.RTOQTYQTY
org.hl7.v3.RTO
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>
-
Field Summary
Fields inherited from class org.hl7.v3.RTOQTYQTY
denominator, numeratorFields inherited from class org.hl7.v3.ANY
nullFlavor -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()toString()Generates a String representation of the contents of this type.withDenominator(QTY value) withNullFlavor(String... values) withNullFlavor(Collection<String> values) withNumerator(QTY value) Methods inherited from class org.hl7.v3.RTOQTYQTY
getDenominator, getNumerator, setDenominator, setNumeratorMethods inherited from class org.hl7.v3.ANY
getNullFlavor
-
Constructor Details
-
RTO
public RTO()
-
-
Method Details
-
withNumerator
- Overrides:
withNumeratorin classRTOQTYQTY
-
withDenominator
- Overrides:
withDenominatorin classRTOQTYQTY
-
withNullFlavor
- Overrides:
withNullFlavorin classRTOQTYQTY
-
withNullFlavor
- Overrides:
withNullFlavorin classRTOQTYQTY
-
equals
-
hashCode
public int hashCode() -
toString
Generates a String representation of the contents of this type. This is an extension method, produced by the 'ts' xjc plugin
-