Difference between revisions of "DTr1 QTY"

(Automated ADBot page content)
(Automatic ADBot page content)
 
(9 intermediate revisions by the same user not shown)
Line 2: Line 2:
 
=QTY Quantity=
 
=QTY Quantity=
 
{| class="artdecorwiki"
 
{| class="artdecorwiki"
! style="text-align:left;" | Datatype Release 1 !! Realm  
+
! style="text-align:left;" | Datatype Release 1 !! Realm !! Flavors
 
|-
 
|-
| style="height:30px; vertical-align:middle;" | QTY || style="vertical-align:middle;" |
+
| style="height:30px; vertical-align:middle;" | '''QTY''' || style="vertical-align:middle;" |   || style="vertical-align:middle;" | [[DTr1_INT.NONNEG|INT.NONNEG]] [[DTr1_INT.POS|INT.POS]] [[DTr1_REAL.NONNEG|REAL.NONNEG]] [[DTr1_REAL.POS|REAL.POS]] [[DTr1_IVL_TS.EPSOS.TZ|IVL_TS.EPSOS.TZ]] [[DTr1_IVL_TS.IPS.TZ|IVL_TS.IPS.TZ]] [[DTr1_IVL_TS.EPSOS.TZ.OPT|IVL_TS.EPSOS.TZ.OPT]] [[DTr1_IVL_TS.CH.TZ|IVL_TS.CH.TZ]] [[DTr1_TS.DATE|TS.DATE]] [[DTr1_TS.DATE.FULL|TS.DATE.FULL]] [[DTr1_TS.DATE.MIN|TS.DATE.MIN]] [[DTr1_TS.DATETIME.MIN|TS.DATETIME.MIN]] [[DTr1_TS.DATETIMETZ.MIN|TS.DATETIMETZ.MIN]] [[DTr1_TS.EPSOS.TZ|TS.EPSOS.TZ]] [[DTr1_TS.IPS.TZ|TS.IPS.TZ]] [[DTr1_TS.EPSOS.TZ.OPT|TS.EPSOS.TZ.OPT]] [[DTr1_TS.CH.TZ|TS.CH.TZ]] [[DTr1_TS.AT.TZ|TS.AT.TZ]] [[DTr1_TS.AT.VAR|TS.AT.VAR]]
 
|}
 
|}
  
Line 17: Line 17:
 
|}
 
|}
 
==Core Schematron Rules (CSR)==
 
==Core Schematron Rules (CSR)==
The following rules are defined in the base core schematrons.
+
The following rules are defined in the base core schematrons ({{Error}} errors, {{Warning}} warnings, {{Info}} infos).
 
{{ConstraintBox|Rule ID: '''QTY'''
 
{{ConstraintBox|Rule ID: '''QTY'''
 
Extends Rule(s): [[DTr1_ANY|ANY]]  
 
Extends Rule(s): [[DTr1_ANY|ANY]]  

Latest revision as of 21:41, 2 July 2020

QTY Quantity

Datatype Release 1 Realm Flavors
QTY INT.NONNEG INT.POS REAL.NONNEG REAL.POS IVL_TS.EPSOS.TZ IVL_TS.IPS.TZ IVL_TS.EPSOS.TZ.OPT IVL_TS.CH.TZ TS.DATE TS.DATE.FULL TS.DATE.MIN TS.DATETIME.MIN TS.DATETIMETZ.MIN TS.EPSOS.TZ TS.IPS.TZ TS.EPSOS.TZ.OPT TS.CH.TZ TS.AT.TZ TS.AT.VAR

Registered Attributes and Child Elements

@Attribute / Element Cardinality Datatype
@nullFlavor   optional   cs
@xsi:type   optional   cs

Core Schematron Rules (CSR)

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

Check-circle.svg Rule ID: QTY

Extends Rule(s): ANY

Constraints

  • Alert.png dtr1-1-QTY: no uncertainty
  • Alert.png dtr1-2-QTY: no history or updateMode

Additional Strict Schematron Rules (SSR)

The following rules are defined in the strict mode of core schematrons.

Check-circle.svg Constraints
  • Alert.png dtr1-3-QTY: [RIM-001] <value-of select="$name"/> SHALL NOT have nullFlavor, if there are other <value-of select="$name"/> elements which are not null
  • Alert.png dtr1-4-QTY: [RIM-002] <value-of select="$name"/> (@value=<value-of select="$value"/> @unit=<value-of select="$unit"/>) SHALL be distinct