DTr1 QTY

Revision as of 21:41, 2 July 2020 by ADbot (talk | contribs) (Automatic ADBot page content)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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