public class AD extends AbstractComposite
Represents an HL7 AD (address) data type. This type consists of the following components:
log
Constructor and Description |
---|
AD(Message message)
Creates a new AD type
|
Modifier and Type | Method and Description |
---|---|
ST |
getAd1_StreetAddress()
Returns street address (component 1).
|
ST |
getAd2_OtherDesignation()
Returns other designation (component 2).
|
ST |
getAd3_City()
Returns city (component 3).
|
ST |
getAd4_StateOrProvince()
Returns state or province (component 4).
|
ST |
getAd5_ZipOrPostalCode()
Returns zip or postal code (component 5).
|
ID |
getAd6_Country()
Returns country (component 6).
|
ID |
getAd7_AddressType()
Returns address type (component 7).
|
ST |
getAd8_OtherGeographicDesignation()
Returns other geographic designation (component 8).
|
ID |
getAddressType()
Returns address type (component 7).
|
ST |
getCity()
Returns city (component 3).
|
Type |
getComponent(int number)
Returns an individual data component.
|
Type[] |
getComponents()
Returns an array containing the data elements.
|
ID |
getCountry()
Returns country (component 6).
|
ST |
getOtherDesignation()
Returns other designation (component 2).
|
ST |
getOtherGeographicDesignation()
Returns other geographic designation (component 8).
|
ST |
getStateOrProvince()
Returns state or province (component 4).
|
ST |
getStreetAddress()
Returns street address (component 1).
|
ST |
getZipOrPostalCode()
Returns zip or postal code (component 5).
|
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 getStreetAddress()
public ST getAd1_StreetAddress()
public ST getOtherDesignation()
public ST getAd2_OtherDesignation()
public ST getCity()
public ST getAd3_City()
public ST getStateOrProvince()
public ST getAd4_StateOrProvince()
public ST getZipOrPostalCode()
public ST getAd5_ZipOrPostalCode()
public ID getCountry()
public ID getAd6_Country()
public ID getAddressType()
public ID getAd7_AddressType()
public ST getOtherGeographicDesignation()
public ST getAd8_OtherGeographicDesignation()
Copyright © 2001–2017 University Health Network. All rights reserved.