Package ca.uhn.hl7v2.model.v251.datatype
Class LA2
java.lang.Object
ca.uhn.hl7v2.model.AbstractType
ca.uhn.hl7v2.model.AbstractComposite
ca.uhn.hl7v2.model.v251.datatype.LA2
- All Implemented Interfaces:
Composite,Type,Visitable,Serializable
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns Address Type (component 15).getBed()Returns Bed (component 3).Returns Building (component 7).getCity()Returns City (component 11).getComponent(int number) Returns an individual data component.Type[]Returns an array containing the data elements.Returns Country (component 14).Returns Facility (component 4).getFloor()Returns Floor (component 8).Returns Point of Care (component 1).Returns Other Designation (component 10).Returns City (component 11).Returns State or Province (component 12).Returns Zip or Postal Code (component 13).Returns Country (component 14).Returns Address Type (component 15).Returns Other Geographic Designation (component 16).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 Street Address (component 9).Returns Location Status (component 5).Returns Other Designation (component 10).Returns Other Geographic Designation (component 16).Returns Patient Location Type (component 6).Returns Point of Care (component 1).getRoom()Returns Room (component 2).Returns State or Province (component 12).Returns Street Address (component 9).Returns Zip or Postal Code (component 13).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
-
LA2
Creates a new LA2 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. -
getLa21_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. -
getLa22_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. -
getLa23_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. -
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
Returns Building (component 7). This is a convenience method that saves you from casting and handling an exception. -
getLa27_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. -
getLa28_Floor
Returns Floor (component 8). This is a convenience method that saves you from casting and handling an exception. -
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
Returns City (component 11). This is a convenience method that saves you from casting and handling an exception. -
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
Returns Country (component 14). This is a convenience method that saves you from casting and handling an exception. -
getLa214_Country
Returns Country (component 14). This is a convenience method that saves you from casting and handling an exception. -
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.
-