ca.uhn.hl7v2.model.v26.datatype
Class DT

java.lang.Object
  extended by ca.uhn.hl7v2.model.AbstractType
      extended by ca.uhn.hl7v2.model.AbstractPrimitive
          extended by ca.uhn.hl7v2.model.primitive.DT
              extended by ca.uhn.hl7v2.model.v26.datatype.DT
All Implemented Interfaces:
Primitive, Type, java.io.Serializable

public class DT
extends DT

Note: The class description below has been excerpted from the Hl7 2.4 documentation. Sectional references made below also refer to the same documentation. Format: YYYY[MM[DD]] In prior versions of HL7, this data type was always specified to be in the format YYYYMMDD. In the current and future versions, the precision of a date may be expressed by limiting the number of digits used with the format specification YYYY[MM[DD]]. Thus, YYYY is used to specify a precision of "year," YYYYMM specifies a precision of "month," and YYYYMMDD specifies a precision of "day." By site-specific agreement, YYYYMMDD may be used where backward compatibility must be maintained. Examples: |19880704| |199503|

Author:
Neal Acharya
See Also:
Serialized Form

Constructor Summary
DT(Message theMessage)
           
 
Method Summary
 java.lang.String getVersion()
           
 
Methods inherited from class ca.uhn.hl7v2.model.primitive.DT
getDay, getMonth, getValue, getYear, setValue, setYearMonthDayPrecision, setYearMonthPrecision, setYearPrecision
 
Methods inherited from class ca.uhn.hl7v2.model.AbstractPrimitive
clear, encode, parse, 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

DT

public DT(Message theMessage)
Parameters:
theMessage - message to which this Type belongs
Method Detail

getVersion

public java.lang.String getVersion()
Returns:
"2.5"


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