Difference between revisions of "DTr1 TS.DATE"

(Automated ADBot page content)
(Automated ADBot page content)
Line 25: Line 25:
 
|}
 
|}
 
==Core Schematron Rules (CSR)==
 
==Core Schematron Rules (CSR)==
The following rules are defined in the base core schematrons.
+
The following rules ({{Error}} errors or {{Warning}} warnings)are defined in the base core schematrons.
 
{{ConstraintBox|Rule ID: '''TS.DATE'''
 
{{ConstraintBox|Rule ID: '''TS.DATE'''
 
Extends Rule(s): [[DTr1_TS|TS]]  
 
Extends Rule(s): [[DTr1_TS|TS]]  

Revision as of 14:55, 5 December 2017

TS.DATE Time Stamp - Flavor Date

Datatype Release 1 Realm
TS.DATE Universalrealm.png UV

constrains TS so that it may only contain a date value YYYYMMDD (or YYYYMM or YYYY)

def: let hasTimezone : Boolean = value.pos("+") > 0 or value.pos("-") > 0

inv "Date": not hasTimezone and value.size <= 8

Operationalization

May only contain a date value YYYYMMDD (or YYYYMM or YYYY)

Registered Attributes and Child Elements

@Attribute / Element Cardinality Datatype
@value   optional   ts
@nullFlavor   optional   cs

Core Schematron Rules (CSR)

The following rules (Alert.png errors or Warning.png warnings)are defined in the base core schematrons.

Check-circle.svg Rule ID: TS.DATE

Extends Rule(s): TS

Constraints

  • Alert.png dtr1-1-TS.DATE: null or date precision of time stamp shall be YYYYMMDD.