All Implemented Interfaces:
Composite, Type, Visitable, Serializable

public class LA2 extends AbstractComposite

Represents an HL7 LA2 (Location with Address Variation 2) data type. This type consists of the following components:

  • Point of Care (IS)
  • Room (IS)
  • Bed (IS)
  • Facility (HD)
  • Location Status (IS)
  • Patient Location Type (IS)
  • Building (IS)
  • Floor (IS)
  • Street Address (ST)
  • Other Designation (ST)
  • City (ST)
  • State or Province (ST)
  • Zip or Postal Code (ST)
  • Country (ID)
  • Address Type (ID)
  • Other Geographic Designation (ST)
See Also:
  • Constructor Details

    • LA2

      public LA2(Message message)
      Creates a new LA2 type
  • Method Details

    • getComponents

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

      public Type getComponent(int number) throws DataTypeException
      Returns an individual data component.
      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 (component 1). This is a convenience method that saves you from casting and handling an exception.
    • getLa21_PointOfCare

      Returns Point of Care (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 (component 4). This is a convenience method that saves you from casting and handling an exception.
    • getLa24_Facility

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

      Returns Location Status (component 5). This is a convenience method that saves you from casting and handling an exception.
    • getLa25_LocationStatus

      Returns Location Status (component 5). This is a convenience method that saves you from casting and handling an exception.
    • getPatientLocationType

      Returns Patient Location Type (component 6). This is a convenience method that saves you from casting and handling an exception.
    • getLa26_PatientLocationType

      Returns Patient 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 (component 9). This is a convenience method that saves you from casting and handling an exception.
    • getLa29_StreetAddress

      Returns Street Address (component 9). This is a convenience method that saves you from casting and handling an exception.
    • getOtherDesignation

      Returns Other Designation (component 10). This is a convenience method that saves you from casting and handling an exception.
    • 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

      Returns State or Province (component 12). This is a convenience method that saves you from casting and handling an exception.
    • getLa212_StateOrProvince

      Returns State or Province (component 12). This is a convenience method that saves you from casting and handling an exception.
    • getZipOrPostalCode

      Returns Zip or Postal Code (component 13). This is a convenience method that saves you from casting and handling an exception.
    • 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

      Returns Address Type (component 15). This is a convenience method that saves you from casting and handling an exception.
    • getOtherGeographicDesignation

      Returns Other Geographic Designation (component 16). This is a convenience method that saves you from casting and handling an exception.
    • getLa216_OtherGeographicDesignation

      Returns Other Geographic Designation (component 16). This is a convenience method that saves you from casting and handling an exception.