Difference between revisions of "DTr1 SC"

(Automated ADBot page content)
(Automated ADBot page content)
Line 20: Line 20:
 
| @language ||  optional  || cs
 
| @language ||  optional  || cs
 
|-
 
|-
| @compression ||  optional  || 
+
| @compression ||  optional  || cs
 
|-
 
|-
 
| @integrityCheck ||  optional  || bin
 
| @integrityCheck ||  optional  || bin
Line 38: Line 38:
 
The following rules are defined in the base core schematrons.
 
The following rules are defined in the base core schematrons.
 
{{ConstraintBox|Rule ID: '''SC'''
 
{{ConstraintBox|Rule ID: '''SC'''
Extends Rule(s): ST  
+
Extends Rule(s): [[DTr1_ST|ST]]
  
 
Constraints
 
Constraints
Line 50: Line 50:
 
==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

SC String with Codes

Datatype Release 1: SC

Registered Attributes and Child Elements

@Attribute / Element Cardinality Datatype
@code   optional   cs
@codeSystem   optional   oid
@codeSystemName   optional   st
@codeSystemVersion   optional   st
@displayName   optional   st
@mediaType   optional   cs
@language   optional   cs
@compression   optional   cs
@integrityCheck   optional   bin
@integrityCheckAlgorithm   optional   cs
@representation   optional   cs
@nullFlavor   optional   cs
hl7:reference  0 .. 1  TEL
hl7:thumbnail  0 .. 1  thumbnail

Core Schematron Rules CSR

The following rules are defined in the base core schematrons.

Check-circle.svg Rule ID: SC

Extends Rule(s): ST

Constraints

  • Alert.png dtr1-2-SC: code requires codeSystem
  • Alert.png dtr1-3-SC: codeSystemName only if codeSystem
  • Alert.png dtr1-4-SC: codeSystemVersion only if codeSystem
  • Alert.png dtr1-5-SC: displayName only if code
  • Alert.png dtr1-6-SC: no code if null
  • Alert.png dtr1-7-SC: no displayName if null

Additional Strict Schematron Rules SSR

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