All Implemented Interfaces:
Composite, Type, Visitable, Serializable

public class PL extends AbstractComposite

Represents an HL7 PL (Person Location) data type. This type consists of the following components:

  • Point of Care (IS)
  • Room (IS)
  • Bed (IS)
  • Facility (HD)
  • Location Status (IS)
  • Person Location Type (IS)
  • Building (IS)
  • Floor (IS)
  • Location Description (ST)
  • Comprehensive Location Identifier (EI)
  • Assigning Authority for Location (HD)
See Also:
  • Constructor Details

    • PL

      public PL(Message message)
      Creates a new PL 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.
    • getPl1_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.
    • getPl2_Room

      public IS getPl2_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.
    • getPl3_Bed

      public IS getPl3_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.
    • getPl4_Facility

      public HD getPl4_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.
    • getPl5_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.
    • getPl6_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.
    • getPl7_Building

      public IS getPl7_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.
    • getPl8_Floor

      public IS getPl8_Floor()
      Returns Floor (component 8). This is a convenience method that saves you from casting and handling an exception.
    • getLocationDescription

      Returns Location Description (component 9). This is a convenience method that saves you from casting and handling an exception.
    • getPl9_LocationDescription

      Returns Location Description (component 9). This is a convenience method that saves you from casting and handling an exception.
    • getComprehensiveLocationIdentifier

      Returns Comprehensive Location Identifier (component 10). This is a convenience method that saves you from casting and handling an exception.
    • getPl10_ComprehensiveLocationIdentifier

      Returns Comprehensive Location Identifier (component 10). This is a convenience method that saves you from casting and handling an exception.
    • getAssigningAuthorityForLocation

      Returns Assigning Authority for Location (component 11). This is a convenience method that saves you from casting and handling an exception.
    • getPl11_AssigningAuthorityForLocation

      Returns Assigning Authority for Location (component 11). This is a convenience method that saves you from casting and handling an exception.