ca.uhn.hl7v2.model.primitive
Class IS

java.lang.Object
  extended by ca.uhn.hl7v2.model.AbstractType
      extended by ca.uhn.hl7v2.model.AbstractPrimitive
          extended by ca.uhn.hl7v2.model.primitive.IS
All Implemented Interfaces:
Primitive, Type, java.io.Serializable
Direct Known Subclasses:
IS, IS, IS, IS, IS, IS, IS

public abstract class IS
extends AbstractPrimitive

This class contains functionality used by the IS class in the version 2.3.0, 2.3.1, 2.4, and 2.5 packages Note: The class description below has been excerpted from the Hl7 2.4 documentation. Sectional references made below also refer to the same documentation. The value of such a field follows the formatting rules for a ST field except that it is drawn from a site-defined (or user-defined) table of legal values. There shall be an HL7 table number associated with IS data types. An example of an IS field is the Event reason code defined in Section 3.3.1.4, "Event reason code." This data type should be used only for user-defined tables (see Section 2.7.6, "Table"). The reverse is not true, since in some circumstances, it is more appropriate to use the CE data type for user-defined tables.

Version:
$Revision: 1.1 $ updated on $Date: 2007/02/19 02:24:51 $ by $Author: jamesagnew $
Author:
Neal Acharya, Bryan Tripp
See Also:
Serialized Form

Constructor Summary
IS(Message theMessage)
           
IS(Message theMessage, int theTable)
           
IS(Message theMessage, java.lang.Integer theTable)
           
 
Method Summary
 int getTable()
           
 void setTable(int theTable)
           
 
Methods inherited from class ca.uhn.hl7v2.model.AbstractPrimitive
clear, encode, getValue, parse, setValue, toString
 
Methods inherited from class ca.uhn.hl7v2.model.AbstractType
getExtraComponents, getMessage, getName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface ca.uhn.hl7v2.model.Type
getExtraComponents, getMessage, getName
 

Constructor Detail

IS

public IS(Message theMessage)
Parameters:
theMessage - message to which this Type belongs

IS

public IS(Message theMessage,
          int theTable)
Parameters:
theMessage - message to which this Type belongs
theTable - HL7 table from which values are to be drawn

IS

public IS(Message theMessage,
          java.lang.Integer theTable)
Parameters:
theMessage - message to which this Type belongs
theTable - HL7 table from which values are to be drawn
Method Detail

getTable

public int getTable()
Returns:
number of HL7 table from which values should be drawn (defaults to 0)

setTable

public void setTable(int theTable)
Parameters:
theTable - HL7 table from which values are to be drawn


Copyright © 2001-2011 University Health Network. All Rights Reserved.