Package ca.uhn.hl7v2.model.v28.datatype
Class ID
java.lang.Object
ca.uhn.hl7v2.model.AbstractType
ca.uhn.hl7v2.model.AbstractPrimitive
ca.uhn.hl7v2.model.primitive.AbstractTextPrimitive
ca.uhn.hl7v2.model.primitive.ID
ca.uhn.hl7v2.model.v28.datatype.ID
- All Implemented Interfaces:
Primitive,Type,Visitable,Serializable
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 an ST field except
that it is drawn from a table of legal values. There shall be an HL7 table number
associated with ID data types. An example of an ID field is OBR-25-result status.
This data type should be used only for HL7 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 HL7 tables.
Note: validation of the input string value will only be initiated if the
corresponding HL7 tableid has been set. Basically if the object is created
without a tableid and the table id is not subsequently set, then then the input string value
will be subjected to a length check (<= 200 chars) and then stored into the object.
- Author:
- Neal Acharya
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class ca.uhn.hl7v2.model.primitive.AbstractTextPrimitive
getValueAsHtml, getValueOrEmptyMethods inherited from class ca.uhn.hl7v2.model.AbstractPrimitive
accept, clear, encode, getValue, isEmpty, parse, setValue, toStringMethods inherited from class ca.uhn.hl7v2.model.AbstractType
getExtraComponents, getMessage, getName, provideLocationMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface ca.uhn.hl7v2.model.Type
getExtraComponents, getMessage, getNameMethods inherited from interface ca.uhn.hl7v2.model.Visitable
provideLocation
-
Constructor Details
-
ID
- Parameters:
theMessage- message to which this Type belongs
-
ID
- Parameters:
theMessage- message to which this Type belongstheTable- HL7 table from which values are to be drawn
-
ID
- Parameters:
theMessage- message to which this Type belongstheTable- HL7 table from which values are to be drawn
-
-
Method Details
-
getVersion
- Returns:
- "2.8"
-