Difference between revisions of "DTr1 EN"

(Automated ADBot page content)
(Automated ADBot page content)
Line 23: Line 23:
 
|-
 
|-
 
|}
 
|}
==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: '''EN'''
 
{{ConstraintBox|Rule ID: '''EN'''
Line 32: Line 32:
 
*{{Warning}} dtr1-3-EN: empty name particles should not be present.
 
*{{Warning}} dtr1-3-EN: empty name particles should not be present.
 
*{{Warning}} dtr1-4-EN: Use of quotes at the beginning of a name are probably not correct.
 
*{{Warning}} dtr1-4-EN: Use of quotes at the beginning of a name are probably not correct.
 +
*{{Error}} dtr1-7-EN: enxp elements SHALL have distinct values in @qualifier
 +
}}
 +
==Additional Strict Schematron Rules (SSR)==
 +
The following rules are defined in the strict mode of core schematrons.
 +
{{ConstraintBox|Constraints
 
*{{Error}} dtr1-5-EN: [RIM-001] <value-of select&#061;"$name"/> SHALL NOT have nullFlavor, if there are other <value-of select&#061;"$name"/> elements which are not null
 
*{{Error}} dtr1-5-EN: [RIM-001] <value-of select&#061;"$name"/> SHALL NOT have nullFlavor, if there are other <value-of select&#061;"$name"/> elements which are not null
 
*{{Error}} dtr1-6-EN: [RIM-002] <value-of select&#061;"$name"/> (<value-of select&#061;"$value"/>) SHALL be distinct
 
*{{Error}} dtr1-6-EN: [RIM-002] <value-of select&#061;"$name"/> (<value-of select&#061;"$value"/>) SHALL be distinct
*{{Error}} dtr1-7-EN: enxp elements SHALL have distinct values in @qualifier
 
 
}}
 
}}
==Additional Strict Schematron Rules SSR==
 
The following rules are defined in the strict mode of core schematrons.
 
 
[[Category:DTr1|EN]]
 
[[Category:DTr1|EN]]

Revision as of 17:10, 12 March 2015

EN Entity Name

Datatype Release 1: EN

Registered Attributes and Child Elements

@Attribute / Element Cardinality Datatype
@use   optional   set_cs
@nullFlavor   optional   cs
delimiter  0 .. *  ENXP
family  0 .. *  ENXP
given  0 .. *  ENXP
prefix  0 .. *  ENXP
suffix  0 .. *  ENXP
validTime  0 .. 1  IVL_TS

Core Schematron Rules (CSR)

The following rules are defined in the base core schematrons.

Check-circle.svg Rule ID: EN

Extends Rule(s): ANY

Constraints

  • Alert.png dtr1-1-EN: entity name shall be null or text only or element only (no mixed content)
  • Warning.png dtr1-3-EN: empty name particles should not be present.
  • Warning.png dtr1-4-EN: Use of quotes at the beginning of a name are probably not correct.
  • Alert.png dtr1-7-EN: enxp elements SHALL have distinct values in @qualifier

Additional Strict Schematron Rules (SSR)

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

Check-circle.svg Constraints
  • Alert.png dtr1-5-EN: [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-6-EN: [RIM-002] <value-of select="$name"/> (<value-of select="$value"/>) SHALL be distinct