Class LA1

All Implemented Interfaces:
Composite, Type, Visitable, Serializable

public class LA1 extends AbstractComposite

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

  • point of care (IS) (IS)
  • room (IS)
  • bed (IS)
  • facility (HD) (HD)
  • location status (IS)
  • person location type (IS)
  • building (IS)
  • floor (IS)
  • address (AD)
See Also:
  • Constructor Details

    • LA1

      public LA1(Message message)
      Creates a new LA1 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 (IS) (component 1). This is a convenience method that saves you from casting and handling an exception.
    • getLa11_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.
    • getLa12_Room

      public IS getLa12_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.
    • getLa13_Bed

      public IS getLa13_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.
    • getLa14_Facility

      public HD getLa14_Facility()
      Returns facility (HD) (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.
    • getLa15_LocationStatus

      Returns location status (component 5). This is a convenience method that saves you from casting and handling an exception.
    • getPersonLocationType

      Returns person location type (component 6). This is a convenience method that saves you from casting and handling an exception.
    • getLa16_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.
    • getLa17_Building

      public IS getLa17_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.
    • getLa18_Floor

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

      public AD getAddress()
      Returns address (component 9). This is a convenience method that saves you from casting and handling an exception.
    • getLa19_Address

      public AD getLa19_Address()
      Returns address (component 9). This is a convenience method that saves you from casting and handling an exception.