Package ca.uhn.hl7v2.model.v251.datatype
Class PL
java.lang.Object
ca.uhn.hl7v2.model.AbstractType
ca.uhn.hl7v2.model.AbstractComposite
ca.uhn.hl7v2.model.v251.datatype.PL
- All Implemented Interfaces:
Composite,Type,Visitable,Serializable
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns Assigning Authority for Location (component 11).getBed()Returns Bed (component 3).Returns Building (component 7).getComponent(int number) Returns an individual data component.Type[]Returns an array containing the data elements.Returns Comprehensive Location Identifier (component 10).Returns Facility (component 4).getFloor()Returns Floor (component 8).Returns Location Description (component 9).Returns Location Status (component 5).Returns Person Location Type (component 6).Returns Point of Care (component 1).Returns Comprehensive Location Identifier (component 10).Returns Assigning Authority for Location (component 11).Returns Room (component 2).Returns Bed (component 3).Returns Facility (component 4).Returns Location Status (component 5).Returns Person Location Type (component 6).Returns Building (component 7).Returns Floor (component 8).Returns Location Description (component 9).Returns Point of Care (component 1).getRoom()Returns Room (component 2).Methods inherited from class ca.uhn.hl7v2.model.AbstractComposite
accept, clear, getTyped, isEmpty, provideLocationMethods inherited from class ca.uhn.hl7v2.model.AbstractType
encode, getExtraComponents, getMessage, getName, parse, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface ca.uhn.hl7v2.model.Type
encode, getExtraComponents, getMessage, getName, parse
-
Constructor Details
-
PL
Creates a new PL type
-
-
Method Details
-
getComponents
Returns an array containing the data elements. -
getComponent
Returns an individual data component.- Parameters:
number- The component number (0-indexed)- Throws:
DataTypeException- if the given element number is out of range.
-
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
Returns Room (component 2). This is a convenience method that saves you from casting and handling an exception. -
getPl2_Room
Returns Room (component 2). This is a convenience method that saves you from casting and handling an exception. -
getBed
Returns Bed (component 3). This is a convenience method that saves you from casting and handling an exception. -
getPl3_Bed
Returns Bed (component 3). This is a convenience method that saves you from casting and handling an exception. -
getFacility
Returns Facility (component 4). This is a convenience method that saves you from casting and handling an exception. -
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
Returns Building (component 7). This is a convenience method that saves you from casting and handling an exception. -
getPl7_Building
Returns Building (component 7). This is a convenience method that saves you from casting and handling an exception. -
getFloor
Returns Floor (component 8). This is a convenience method that saves you from casting and handling an exception. -
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.
-