public class XTN extends AbstractComposite
Represents an HL7 XTN (extended telecommunication number) data type. This type consists of the following components:
log
Constructor and Description |
---|
XTN(Message message)
Creates a new XTN type
|
Modifier and Type | Method and Description |
---|---|
TN |
get9999999X99999CAnyText()
Returns [(999)] 999-9999 [X99999][C any text] (component 1).
|
ST |
getAnyText()
Returns any text (component 9).
|
NM |
getAreaCityCode()
Returns Area/city code (component 6).
|
Type |
getComponent(int number)
Returns an individual data component.
|
Type[] |
getComponents()
Returns an array containing the data elements.
|
NM |
getCountryCode()
Returns Country Code (component 5).
|
ST |
getEmailAddress()
Returns Email address (component 4).
|
NM |
getExtension()
Returns Extension (component 8).
|
NM |
getPhoneNumber()
Returns Phone number (component 7).
|
ID |
getTelecommunicationEquipmentType()
Returns telecommunication equipment type (ID) (component 3).
|
ID |
getTelecommunicationUseCode()
Returns telecommunication use code (component 2).
|
TN |
getXtn1_9999999X99999CAnyText()
Returns [(999)] 999-9999 [X99999][C any text] (component 1).
|
ID |
getXtn2_TelecommunicationUseCode()
Returns telecommunication use code (component 2).
|
ID |
getXtn3_TelecommunicationEquipmentType()
Returns telecommunication equipment type (ID) (component 3).
|
ST |
getXtn4_EmailAddress()
Returns Email address (component 4).
|
NM |
getXtn5_CountryCode()
Returns Country Code (component 5).
|
NM |
getXtn6_AreaCityCode()
Returns Area/city code (component 6).
|
NM |
getXtn7_PhoneNumber()
Returns Phone number (component 7).
|
NM |
getXtn8_Extension()
Returns Extension (component 8).
|
ST |
getXtn9_AnyText()
Returns any text (component 9).
|
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 TN get9999999X99999CAnyText()
public TN getXtn1_9999999X99999CAnyText()
public ID getTelecommunicationUseCode()
public ID getXtn2_TelecommunicationUseCode()
public ID getTelecommunicationEquipmentType()
public ID getXtn3_TelecommunicationEquipmentType()
public ST getEmailAddress()
public ST getXtn4_EmailAddress()
public NM getCountryCode()
public NM getXtn5_CountryCode()
public NM getAreaCityCode()
public NM getXtn6_AreaCityCode()
public NM getPhoneNumber()
public NM getXtn7_PhoneNumber()
public NM getExtension()
public NM getXtn8_Extension()
public ST getAnyText()
public ST getXtn9_AnyText()
Copyright © 2001–2017 University Health Network. All rights reserved.