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).
|
clear, getTypedencode, getExtraComponents, getMessage, getName, parse, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitencode, getExtraComponents, getMessage, getName, parsepublic 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-2012 University Health Network. All Rights Reserved.