Template US Realm Date and Time (DTM.US.FIELDED) 2015‑08‑13
Id
2.16.840.1.113883.10.20.22.5.4
ref
ccda-
Effective Date
2015‑08‑13
Status
Draft
Version Label
2.1
Name
USRealmDateandTimeDTMUSFIELDED
Display Name
US Realm Date and Time (DTM.US.FIELDED)
Description
The US Realm Clinical Document Date and Time datatype flavor records date and time information. If no time zone offset is provided, you can make no assumption about time, unless you have made a local exchange agreement. This data type uses the same rules as US Realm Date and Time (DT.US.FIELDED), but is used with elements having a datatype of TS.
Classification
HL7 V2/V3 Datatype Level Template
Open/Closed
Open (other than defined elements are allowed)
Used by / Uses
Used by 1 transaction and 5 templates, Uses 0 templates
not(@value) or (string-length(@value)<10 or ( string-length(@value)>=10 and (contains(@value,'+') or contains(@value,'-'))))
Message
If more precise than day, *SHOULD* include time-zone offset
Template US Realm Date and Time (DTM.US.FIELDED) 2013‑01‑31
Id
2.16.840.1.113883.10.20.22.5.4
ref
ccda-
Effective Date
2013‑01‑31
Status
Draft
Version Label
1.1
Name
USRealmDateandTimeDTMUSFIELDED
Display Name
US Realm Date and Time (DTM.US.FIELDED)
Description
The US Realm Clinical Document Date and Time datatype flavor records date and time information. If no time zone offset is provided, you can make no assumption about time, unless you have made a local exchange agreement.
Classification
HL7 V2/V3 Datatype Level Template
Open/Closed
Open (other than defined elements are allowed)
Item
DT
Card
Conf
Description
Label
Schematron assert
role
error
test
string-length(@value)>=8
Message
SHALL be precise to the day
Schematron assert
role
warning
test
string-length(@value)>=12
Message
SHOULD be precise to the minute
Schematron assert
role
warning
test
string-length(@value)>=14
Message
MAY be precise to the second
Schematron assert
role
warning
test
string-length(@value)<10 or ( string-length(@value)>=10 and (contains(@value,'+') or contains(@value,'-')))
Message
If more precise than day, SHOULD include time-zone offset