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_Zip()
Returns zip (component 5).
|
ST |
getAd6_Country()
Returns country (component 6).
|
ST |
getCity()
Returns city (component 3).
|
Type |
getComponent(int number)
Returns an individual data component.
|
Type[] |
getComponents()
Returns an array containing the data elements.
|
ST |
getCountry()
Returns country (component 6).
|
ST |
getOtherDesignation()
Returns other designation (component 2).
|
ST |
getStateOrProvince()
Returns state or province (component 4).
|
ST |
getStreetAddress()
Returns street address (component 1).
|
ST |
getZip()
Returns zip (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 getZip()
public ST getAd5_Zip()
public ST getCountry()
public ST getAd6_Country()
Copyright © 2001–2017 University Health Network. All rights reserved.