Difference between revisions of "DTr1 II"

(Automated ADBot page content)
(Automated ADBot page content)
Line 20: Line 20:
 
The following rules are defined in the base core schematrons.
 
The following rules are defined in the base core schematrons.
 
{{ConstraintBox|Rule ID: '''II'''
 
{{ConstraintBox|Rule ID: '''II'''
Extends Rule(s): ANY  
+
Extends Rule(s): [[DTr1_ANY|ANY]]
  
 
Constraints
 
Constraints
Line 31: Line 31:
 
*{{Warning}} dtr1-8-II: @root should not be longer than 128 characters. Please write a note to the authors of this rule if this is found to be not sufficient
 
*{{Warning}} dtr1-8-II: @root should not be longer than 128 characters. Please write a note to the authors of this rule if this is found to be not sufficient
 
*{{Warning}} dtr1-9-II: @extension should not be longer than 64 characters. Please write a note to the authors of this rule if this is found to be not sufficient
 
*{{Warning}} dtr1-9-II: @extension should not be longer than 64 characters. Please write a note to the authors of this rule if this is found to be not sufficient
*{{Error}} dtr1-10-II: @root shall be a syntactically correct OID or UUID.
+
*{{Error}} dtr1-10-II: @root SHALL be a syntactically correct OID, UUID.
 +
*{{Error}} dtr1-10a-II: @root SHALL NOT be a RUID. Identifiers in this scheme are only defined by balloted HL7 specifications. Local communities or systems must never use such reserved identifiers based on bilateral negotiations.
 +
*{{Error}} dtr1-11-II: [RIM-001]  SHALL NOT have nullFlavor, if there are other  elements which are not null
 +
*{{Error}} dtr1-12-II: [RIM-002]  SHALL be distinct
 +
*{{Error}} dtr1-13-II: When UUID is used, the hexadecimal digits A-F SHALL be in upper case
 
}}
 
}}
 
==Additional Strict Schematron Rules SSR==
 
==Additional Strict Schematron Rules SSR==
 
The following rules are defined in the strict mode of core schematrons.
 
The following rules are defined in the strict mode of core schematrons.
 +
[[Category:DTr1]]

Revision as of 13:17, 20 February 2015

II Instance Identifier

Datatype Release 1: II

Registered Attributes and Child Elements

@Attribute / Element Cardinality Datatype
@root   optional   uid
@extension   optional   st
@assigningAuthorityName   optional   st
@displayable   optional   bl
@nullFlavor   optional   cs

Core Schematron Rules CSR

The following rules are defined in the base core schematrons.

Check-circle.svg Rule ID: II

Extends Rule(s): ANY

Constraints

  • Alert.png dtr1-1-II: @root is required if @nullFlavor is not present
  • Alert.png dtr1-2-II: @root may not be used if @nullFlavor is present
  • Alert.png dtr1-4-II: @identifierName may not be used if @nullFlavor is present
  • Alert.png dtr1-5-II: @displayable may not be used if @nullFlavor is present
  • Alert.png dtr1-6-II: @reliability may not be used if @nullFlavor is present
  • Alert.png dtr1-7-II: @assigningAuthorityName may not be used if @nullFlavor is present
  • Warning.png dtr1-8-II: @root should not be longer than 128 characters. Please write a note to the authors of this rule if this is found to be not sufficient
  • Warning.png dtr1-9-II: @extension should not be longer than 64 characters. Please write a note to the authors of this rule if this is found to be not sufficient
  • Alert.png dtr1-10-II: @root SHALL be a syntactically correct OID, UUID.
  • Alert.png dtr1-10a-II: @root SHALL NOT be a RUID. Identifiers in this scheme are only defined by balloted HL7 specifications. Local communities or systems must never use such reserved identifiers based on bilateral negotiations.
  • Alert.png dtr1-11-II: [RIM-001] SHALL NOT have nullFlavor, if there are other elements which are not null
  • Alert.png dtr1-12-II: [RIM-002] SHALL be distinct
  • Alert.png dtr1-13-II: When UUID is used, the hexadecimal digits A-F SHALL be in upper case

Additional Strict Schematron Rules SSR

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