Format/length: | an10 ccyy-mm-dd |
HES item: | |
National Codes: | |
Default Codes: |
Notes:
The day, month, year and century, or any combination of these elements, of an event.
References:
UK Government Data Standards Catalogue (GDSC), Version 1.0, Agreed 01.01.02. GDSC:
http://www.govtalk.gov.uk/gdsc/html/default.htm
This is the e-GIF standard that should be used for all new and developing systems and for XML messages.
For existing CDS EDIFACT messages however, the standard format n8 - ccyymmdd should continue to be used for all DATES, except for DETAINED AND (OR) LONG TERM PSYCHIATRIC CENSUS DATE which has a format n4 - ccyy.
Other messages currently being exchanged eg data sets, using DATE standards developed prior to e-GIF, should be migrated as soon as practicably possible. However, this migration should be instructed via changes to data set implementation guidance. Individual users must remain compliant with the standard format n8 - ccyymmdd currently used, except for SYMPTOMS FIRST NOTED DATE which has a format ccyymm, until data set implementation guidance instructs otherwise.
Concatenated date time elements are in use and are derived from the e-GIF standards for DATE and TIME, these should continue to be used unless further notified.
UK Government Data Standards Catalogue
Data Element | Date |
Is Part Of | Temporal |
Has Parts | |
Version | 1.0 |
Status | Release |
Previous Versions | |
Later Versions | |
Date Agreed | 1 January 2002 |
Meta Data | Value |
Name | Date |
Description | The day, month, year and century, or any combinations of these elements, of an event. |
Business Format | 10 Characters in the format CCYY-MM-DD |
Element Type | Data Type |
Validations |
1. Values less than 10 in the day, month or year elements, should be entered with a zero in the first position.
2. Days must not be greater than 30 in April, June, September and November.
3. Days must not be greater than 28 in February except when 29 is allowed for a leap year.
|
Values |
CCYY should be a valid year number.
MM in Range 01-12.
DD in Range 01-31.
|
Default Value | |
Owner | OeE |
Based On | XML Schema Part 2: Datatypes W3C Recommendation 02 May 2001. |
Verification | |
Comments |
1. See the W3C standard for details of formatting shortened versions of Date, e.g. month and year only.
2. DWP cannot process dates before 1852-02-29.
|
This data element is also known by these names:
Context | Alias |
---|---|
plural | DATES |