ca.uhn.hl7v2.model.v24.datatype
Class LA2

java.lang.Object
  extended by ca.uhn.hl7v2.model.AbstractType
      extended by ca.uhn.hl7v2.model.v24.datatype.LA2
All Implemented Interfaces:
Composite, Type, Serializable

public class LA2
extends AbstractType
implements Composite

Represents an HL7 LA2 (Location with address information (variant 2)) data type. This type consists of the following components:

See Also:
Serialized Form

Constructor Summary
LA2(Message message)
          Creates a new LA2 type
 
Method Summary
 ID getAddressType()
          Returns address type (component #15).
 IS getBed()
          Returns bed (component #3).
 IS getBuilding()
          Returns building (component #7).
 ST getCity()
          Returns city (component #11).
 Type getComponent(int number)
          Returns an individual data component.
 Type[] getComponents()
          Returns an array containing the data elements.
 ID getCountry()
          Returns country (component #14).
 HD getFacility()
          Returns facility (HD) (component #4).
 IS getFloor()
          Returns floor (component #8).
 IS getLa21_PointOfCare()
          Returns point of care (IS) (component #1).
 ST getLa210_OtherDesignation()
          Returns other designation (component #10).
 ST getLa211_City()
          Returns city (component #11).
 ST getLa212_StateOrProvince()
          Returns state or province (component #12).
 ST getLa213_ZipOrPostalCode()
          Returns zip or postal code (component #13).
 ID getLa214_Country()
          Returns country (component #14).
 ID getLa215_AddressType()
          Returns address type (component #15).
 ST getLa216_OtherGeographicDesignation()
          Returns other geographic designation (component #16).
 IS getLa22_Room()
          Returns room (component #2).
 IS getLa23_Bed()
          Returns bed (component #3).
 HD getLa24_Facility()
          Returns facility (HD) (component #4).
 IS getLa25_LocationStatus()
          Returns location status (component #5).
 IS getLa26_PersonLocationType()
          Returns person location type (component #6).
 IS getLa27_Building()
          Returns building (component #7).
 IS getLa28_Floor()
          Returns floor (component #8).
 ST getLa29_StreetAddress()
          Returns street address (ST) (component #9).
 IS getLocationStatus()
          Returns location status (component #5).
 ST getOtherDesignation()
          Returns other designation (component #10).
 ST getOtherGeographicDesignation()
          Returns other geographic designation (component #16).
 IS getPersonLocationType()
          Returns person location type (component #6).
 IS getPointOfCare()
          Returns point of care (IS) (component #1).
 IS getRoom()
          Returns room (component #2).
 ST getStateOrProvince()
          Returns state or province (component #12).
 ST getStreetAddress()
          Returns street address (ST) (component #9).
 ST getZipOrPostalCode()
          Returns zip or postal code (component #13).
 
Methods inherited from class ca.uhn.hl7v2.model.AbstractType
clear, encode, getExtraComponents, getMessage, getName, parse
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface ca.uhn.hl7v2.model.Type
clear, encode, getExtraComponents, getMessage, getName, parse
 

Constructor Detail

LA2

public LA2(Message message)
Creates a new LA2 type

Method Detail

getComponents

public Type[] getComponents()
Returns an array containing the data elements.

Specified by:
getComponents in interface Composite

getComponent

public Type getComponent(int number)
                  throws DataTypeException
Returns an individual data component.

Specified by:
getComponent in interface Composite
Parameters:
number - The component number (0-indexed)
Throws:
DataTypeException - if the given element number is out of range.

getPointOfCare

public IS getPointOfCare()
Returns point of care (IS) (component #1). This is a convenience method that saves you from casting and handling an exception.


getLa21_PointOfCare

public IS getLa21_PointOfCare()
Returns point of care (IS) (component #1). This is a convenience method that saves you from casting and handling an exception.


getRoom

public IS getRoom()
Returns room (component #2). This is a convenience method that saves you from casting and handling an exception.


getLa22_Room

public IS getLa22_Room()
Returns room (component #2). This is a convenience method that saves you from casting and handling an exception.


getBed

public IS getBed()
Returns bed (component #3). This is a convenience method that saves you from casting and handling an exception.


getLa23_Bed

public IS getLa23_Bed()
Returns bed (component #3). This is a convenience method that saves you from casting and handling an exception.


getFacility

public HD getFacility()
Returns facility (HD) (component #4). This is a convenience method that saves you from casting and handling an exception.


getLa24_Facility

public HD getLa24_Facility()
Returns facility (HD) (component #4). This is a convenience method that saves you from casting and handling an exception.


getLocationStatus

public IS getLocationStatus()
Returns location status (component #5). This is a convenience method that saves you from casting and handling an exception.


getLa25_LocationStatus

public IS getLa25_LocationStatus()
Returns location status (component #5). This is a convenience method that saves you from casting and handling an exception.


getPersonLocationType

public IS getPersonLocationType()
Returns person location type (component #6). This is a convenience method that saves you from casting and handling an exception.


getLa26_PersonLocationType

public IS getLa26_PersonLocationType()
Returns person location type (component #6). This is a convenience method that saves you from casting and handling an exception.


getBuilding

public IS getBuilding()
Returns building (component #7). This is a convenience method that saves you from casting and handling an exception.


getLa27_Building

public IS getLa27_Building()
Returns building (component #7). This is a convenience method that saves you from casting and handling an exception.


getFloor

public IS getFloor()
Returns floor (component #8). This is a convenience method that saves you from casting and handling an exception.


getLa28_Floor

public IS getLa28_Floor()
Returns floor (component #8). This is a convenience method that saves you from casting and handling an exception.


getStreetAddress

public ST getStreetAddress()
Returns street address (ST) (component #9). This is a convenience method that saves you from casting and handling an exception.


getLa29_StreetAddress

public ST getLa29_StreetAddress()
Returns street address (ST) (component #9). This is a convenience method that saves you from casting and handling an exception.


getOtherDesignation

public ST getOtherDesignation()
Returns other designation (component #10). This is a convenience method that saves you from casting and handling an exception.


getLa210_OtherDesignation

public ST getLa210_OtherDesignation()
Returns other designation (component #10). This is a convenience method that saves you from casting and handling an exception.


getCity

public ST getCity()
Returns city (component #11). This is a convenience method that saves you from casting and handling an exception.


getLa211_City

public ST getLa211_City()
Returns city (component #11). This is a convenience method that saves you from casting and handling an exception.


getStateOrProvince

public ST getStateOrProvince()
Returns state or province (component #12). This is a convenience method that saves you from casting and handling an exception.


getLa212_StateOrProvince

public ST getLa212_StateOrProvince()
Returns state or province (component #12). This is a convenience method that saves you from casting and handling an exception.


getZipOrPostalCode

public ST getZipOrPostalCode()
Returns zip or postal code (component #13). This is a convenience method that saves you from casting and handling an exception.


getLa213_ZipOrPostalCode

public ST getLa213_ZipOrPostalCode()
Returns zip or postal code (component #13). This is a convenience method that saves you from casting and handling an exception.


getCountry

public ID getCountry()
Returns country (component #14). This is a convenience method that saves you from casting and handling an exception.


getLa214_Country

public ID getLa214_Country()
Returns country (component #14). This is a convenience method that saves you from casting and handling an exception.


getAddressType

public ID getAddressType()
Returns address type (component #15). This is a convenience method that saves you from casting and handling an exception.


getLa215_AddressType

public ID getLa215_AddressType()
Returns address type (component #15). This is a convenience method that saves you from casting and handling an exception.


getOtherGeographicDesignation

public ST getOtherGeographicDesignation()
Returns other geographic designation (component #16). This is a convenience method that saves you from casting and handling an exception.


getLa216_OtherGeographicDesignation

public ST getLa216_OtherGeographicDesignation()
Returns other geographic designation (component #16). This is a convenience method that saves you from casting and handling an exception.



Copyright © 2001-2011 University Health Network. All Rights Reserved.