Difference between revisions of "DTr1 QTY"
(Automated ADBot page content) |
(Automated ADBot page content) |
||
Line 11: | Line 11: | ||
|- | |- | ||
|} | |} | ||
− | ==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. | ||
{{ConstraintBox|Rule ID: '''QTY''' | {{ConstraintBox|Rule ID: '''QTY''' | ||
Line 19: | Line 19: | ||
*{{Error}} dtr1-1-QTY: no uncertainty | *{{Error}} dtr1-1-QTY: no uncertainty | ||
*{{Error}} dtr1-2-QTY: no history or updateMode | *{{Error}} dtr1-2-QTY: no history or updateMode | ||
+ | }} | ||
+ | ==Additional Strict Schematron Rules (SSR)== | ||
+ | The following rules are defined in the strict mode of core schematrons. | ||
+ | {{ConstraintBox|Constraints | ||
*{{Error}} 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 | *{{Error}} 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 | ||
*{{Error}} dtr1-4-QTY: [RIM-002] <value-of select="$name"/> (@value=<value-of select="$value"/> @unit=<value-of select="$unit"/>) SHALL be distinct | *{{Error}} dtr1-4-QTY: [RIM-002] <value-of select="$name"/> (@value=<value-of select="$value"/> @unit=<value-of select="$unit"/>) SHALL be distinct | ||
}} | }} | ||
− | |||
− | |||
[[Category:DTr1|QTY]] | [[Category:DTr1|QTY]] |
Revision as of 17:11, 12 March 2015
Contents
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.
![]() | Rule ID: QTY
Extends Rule(s): ANY Constraints |
Additional Strict Schematron Rules (SSR)
The following rules are defined in the strict mode of core schematrons.