Package ca.uhn.hl7v2.model.v251.datatype
Class LA1
java.lang.Object
ca.uhn.hl7v2.model.AbstractType
ca.uhn.hl7v2.model.AbstractComposite
ca.uhn.hl7v2.model.v251.datatype.LA1
- All Implemented Interfaces:
Composite,Type,Visitable,Serializable
Represents an HL7 LA1 (Location with Address Variation 1) 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)
- Address (AD)
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns Address (component 9).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 Facility (component 4).getFloor()Returns Floor (component 8).Returns Point of Care (component 1).Returns Room (component 2).Returns Bed (component 3).Returns Facility (component 4).Returns Location Status (component 5).Returns Patient Location Type (component 6).Returns Building (component 7).Returns Floor (component 8).Returns Address (component 9).Returns Location Status (component 5).Returns Patient Location Type (component 6).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
-
LA1
Creates a new LA1 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. -
getLa11_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. -
getLa12_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. -
getLa13_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. -
getLa14_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. -
getLa15_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. -
getLa16_PatientLocationType
Returns Patient 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. -
getLa17_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. -
getLa18_Floor
Returns Floor (component 8). This is a convenience method that saves you from casting and handling an exception. -
getAddress
Returns Address (component 9). This is a convenience method that saves you from casting and handling an exception. -
getLa19_Address
Returns Address (component 9). This is a convenience method that saves you from casting and handling an exception.
-