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 |
---|---|
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).
|
ST |
getExtensionPrefix()
Returns Extension Prefix (component 10).
|
NM |
getLocalNumber()
Returns Local Number (component 7).
|
ST |
getSpeedDialCode()
Returns Speed Dial Code (component 11).
|
ID |
getTelecommunicationEquipmentType()
Returns Telecommunication Equipment Type (component 3).
|
ID |
getTelecommunicationUseCode()
Returns Telecommunication Use Code (component 2).
|
ST |
getTelephoneNumber()
Returns Telephone Number (component 1).
|
ST |
getUnformattedTelephoneNumber()
Returns Unformatted Telephone number (component 12).
|
ST |
getXtn1_TelephoneNumber()
Returns Telephone Number (component 1).
|
ST |
getXtn10_ExtensionPrefix()
Returns Extension Prefix (component 10).
|
ST |
getXtn11_SpeedDialCode()
Returns Speed Dial Code (component 11).
|
ST |
getXtn12_UnformattedTelephoneNumber()
Returns Unformatted Telephone number (component 12).
|
ID |
getXtn2_TelecommunicationUseCode()
Returns Telecommunication Use Code (component 2).
|
ID |
getXtn3_TelecommunicationEquipmentType()
Returns Telecommunication Equipment Type (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_LocalNumber()
Returns Local 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 ST getTelephoneNumber()
public ST getXtn1_TelephoneNumber()
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 getLocalNumber()
public NM getXtn7_LocalNumber()
public NM getExtension()
public NM getXtn8_Extension()
public ST getAnyText()
public ST getXtn9_AnyText()
public ST getExtensionPrefix()
public ST getXtn10_ExtensionPrefix()
public ST getSpeedDialCode()
public ST getXtn11_SpeedDialCode()
public ST getUnformattedTelephoneNumber()
public ST getXtn12_UnformattedTelephoneNumber()
Copyright © 2001–2017 University Health Network. All rights reserved.