public class NR extends AbstractComposite
Represents an HL7 NR (Numeric Range) data type. This type consists of the following components:
log
Constructor and Description |
---|
NR(Message message)
Creates a new NR type
|
Modifier and Type | Method and Description |
---|---|
Type |
getComponent(int number)
Returns an individual data component.
|
Type[] |
getComponents()
Returns an array containing the data elements.
|
NM |
getHighValue()
Returns High Value (component 2).
|
NM |
getLowValue()
Returns Low Value (component 1).
|
NM |
getNr1_LowValue()
Returns Low Value (component 1).
|
NM |
getNr2_HighValue()
Returns High Value (component 2).
|
accept, clear, getTyped, isEmpty, provideLocation
encode, getExtraComponents, getMessage, getName, parse, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
encode, getExtraComponents, getMessage, getName, parse
public Type[] getComponents()
public Type getComponent(int number) throws DataTypeException
number
- The component number (0-indexed)DataTypeException
- if the given element number is out of range.public NM getLowValue()
public NM getNr1_LowValue()
public NM getHighValue()
public NM getNr2_HighValue()
Copyright © 2001–2017 University Health Network. All rights reserved.