ca.uhn.hl7v2.model.v25.datatype
Class DT
java.lang.Object
ca.uhn.hl7v2.model.AbstractType
ca.uhn.hl7v2.model.AbstractPrimitive
ca.uhn.hl7v2.model.primitive.DT
ca.uhn.hl7v2.model.v25.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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
DT
public DT(Message theMessage)
- Parameters:
theMessage
- message to which this Type belongs
getVersion
public java.lang.String getVersion()
- Returns:
- "2.5"
Copyright © 2001-2011 University Health Network. All Rights Reserved.