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.