public class Address extends Hl7v2Based<ca.uhn.hl7v2.model.v25.datatype.XAD>
This class contains a subset of the fields from the HL7v2.5 XAD data type.
All members of this class are allowed to be null
. When transforming
to HL7 this indicates that the values are empty. Trailing empty values are
removed from the HL7 string.
MESSAGE
Constructor and Description |
---|
Address() |
Address(ca.uhn.hl7v2.model.v25.datatype.XAD xad) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getCity() |
String |
getCountry() |
String |
getCountyParishCode() |
String |
getOtherDesignation() |
String |
getStateOrProvince() |
String |
getStreetAddress() |
String |
getZipOrPostalCode() |
int |
hashCode() |
void |
setCity(String city) |
void |
setCountry(String country) |
void |
setCountyParishCode(String countyParishCode) |
void |
setOtherDesignation(String otherDesignation) |
void |
setStateOrProvince(String stateOrProvince) |
void |
setStreetAddress(String streetAddress) |
void |
setZipOrPostalCode(String zipOrPostalCode) |
String |
toString() |
getHapiObject, getIntegerValue, getLongValue, isEmpty, parse, rawRender, render, render, setAssigningAuthority, setValue, setValue
public Address()
public Address(ca.uhn.hl7v2.model.v25.datatype.XAD xad)
public String getStreetAddress()
public void setStreetAddress(String streetAddress)
streetAddress
- the street address (XAD.1).public String getOtherDesignation()
public void setOtherDesignation(String otherDesignation)
otherDesignation
- the other designation (XAD.2).public String getCity()
public void setCity(String city)
city
- the city (XAD.3).public String getStateOrProvince()
public void setStateOrProvince(String stateOrProvince)
stateOrProvince
- the state or province (XAD.4).public String getZipOrPostalCode()
public void setZipOrPostalCode(String zipOrPostalCode)
zipOrPostalCode
- the zip or postal code (XAD.5).public String getCountry()
public void setCountry(String country)
country
- the country (XAD.6).public String getCountyParishCode()
public void setCountyParishCode(String countyParishCode)
countyParishCode
- the county parish code (XAD.9).Copyright © 2018 Open eHealth Foundation. All rights reserved.