Difference between revisions of "DTr1 QTY"

(Automated ADBot page content)
(Automated ADBot page content)
Line 3: Line 3:
 
Datatype Release 1: QTY
 
Datatype Release 1: QTY
 
==Registered Attributes and Child Elements==
 
==Registered Attributes and Child Elements==
{| class=artdecor
+
{| class="artdecorwiki"
 
! @Attribute / Element !! Cardinality !! Datatype  
 
! @Attribute / Element !! Cardinality !! Datatype  
 
|-
 
|-

Revision as of 16:03, 21 May 2016

QTY Quantity

Datatype Release 1: QTY

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.

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