public class SN extends AbstractComposite
Represents an HL7 SN (Structured Numeric) data type. This type consists of the following components:
log
Constructor and Description |
---|
SN(Message message)
Creates a new SN type
|
Modifier and Type | Method and Description |
---|---|
ST |
getComparator()
Returns Comparator (component 1).
|
Type |
getComponent(int number)
Returns an individual data component.
|
Type[] |
getComponents()
Returns an array containing the data elements.
|
NM |
getNum1()
Returns Num1 (component 2).
|
NM |
getNum2()
Returns Num2 (component 4).
|
ST |
getSeparatorSuffix()
Returns Separator/Suffix (component 3).
|
ST |
getSn1_Comparator()
Returns Comparator (component 1).
|
NM |
getSn2_Num1()
Returns Num1 (component 2).
|
ST |
getSn3_SeparatorSuffix()
Returns Separator/Suffix (component 3).
|
NM |
getSn4_Num2()
Returns Num2 (component 4).
|
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 ST getComparator()
public ST getSn1_Comparator()
public NM getNum1()
public NM getSn2_Num1()
public ST getSeparatorSuffix()
public ST getSn3_SeparatorSuffix()
public NM getNum2()
public NM getSn4_Num2()
Copyright © 2001–2017 University Health Network. All rights reserved.