Package ca.uhn.hl7v2.model.v22.datatype
Class CM_ABS_RANGE
java.lang.Object
ca.uhn.hl7v2.model.AbstractType
ca.uhn.hl7v2.model.AbstractComposite
ca.uhn.hl7v2.model.v22.datatype.CM_ABS_RANGE
- All Implemented Interfaces:
Composite,Type,Visitable,Serializable
Represents an HL7 CM_ABS_RANGE (absolute range) data type. This type consists of the following components:
- Range (CM_RANGE)
- Numeric Change (NM)
- Percent per Change (NM)
- Days (NM)
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns Range (component 1).Returns Numeric Change (component 2).Returns Percent per Change (component 3).Returns Days (component 4).getComponent(int number) Returns an individual data component.Type[]Returns an array containing the data elements.getDays()Returns Days (component 4).Returns Numeric Change (component 2).Returns Percent per Change (component 3).getRange()Returns Range (component 1).Methods inherited from class ca.uhn.hl7v2.model.AbstractComposite
accept, clear, getTyped, isEmpty, provideLocationMethods inherited from class ca.uhn.hl7v2.model.AbstractType
encode, getExtraComponents, getMessage, getName, parse, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface ca.uhn.hl7v2.model.Type
encode, getExtraComponents, getMessage, getName, parse
-
Constructor Details
-
CM_ABS_RANGE
Creates a new CM_ABS_RANGE type
-
-
Method Details
-
getComponents
Returns an array containing the data elements. -
getComponent
Returns an individual data component.- Parameters:
number- The component number (0-indexed)- Throws:
DataTypeException- if the given element number is out of range.
-
getRange
Returns Range (component 1). This is a convenience method that saves you from casting and handling an exception. -
getCm_abs_range1_Range
Returns Range (component 1). This is a convenience method that saves you from casting and handling an exception. -
getNumericChange
Returns Numeric Change (component 2). This is a convenience method that saves you from casting and handling an exception. -
getCm_abs_range2_NumericChange
Returns Numeric Change (component 2). This is a convenience method that saves you from casting and handling an exception. -
getPercentPerChange
Returns Percent per Change (component 3). This is a convenience method that saves you from casting and handling an exception. -
getCm_abs_range3_PercentPerChange
Returns Percent per Change (component 3). This is a convenience method that saves you from casting and handling an exception. -
getDays
Returns Days (component 4). This is a convenience method that saves you from casting and handling an exception. -
getCm_abs_range4_Days
Returns Days (component 4). This is a convenience method that saves you from casting and handling an exception.
-