Difference between revisions of "DTr1 CD"
(Automated ADBot page content) |
(Automated ADBot page content) |
||
Line 25: | Line 25: | ||
|- | |- | ||
|} | |} | ||
− | ==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: '''CD''' | {{ConstraintBox|Rule ID: '''CD''' | ||
Line 44: | Line 44: | ||
*{{Error}} dtr1-14-CD: translation displayName only if code | *{{Error}} dtr1-14-CD: translation displayName only if code | ||
*{{Warning}} dtr1-15-CD: it looks like there are formatting instructions in attribute @displayName. Please note that this may lead to interoperability problems. | *{{Warning}} dtr1-15-CD: it looks like there are formatting instructions in attribute @displayName. Please note that this may lead to interoperability problems. | ||
+ | *{{Error}} dtr1-20-CD: originalText/@language SHALL conform to RFC 3066. This usually has format sss?-CC with sss? for language code (ISO-639-1 / ISO-639-2) and optional CC for country code (conform ISO-3166 alpha-2) | ||
+ | }} | ||
+ | ==Additional Strict Schematron Rules (SSR)== | ||
+ | The following rules are defined in the strict mode of core schematrons. | ||
+ | {{ConstraintBox|Constraints | ||
*{{Error}} dtr1-17-CD: [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-17-CD: [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-18-CD: [RIM-002] <value-of select="$name"/> (@code=<value-of select="$code"/> @codeSystem=<value-of select="$codeSystem"/>) SHALL be distinct | *{{Error}} dtr1-18-CD: [RIM-002] <value-of select="$name"/> (@code=<value-of select="$code"/> @codeSystem=<value-of select="$codeSystem"/>) SHALL be distinct | ||
*{{Info}} dtr1-19-CD: [RIM-002] translations SHALL be distinct | *{{Info}} dtr1-19-CD: [RIM-002] translations SHALL be distinct | ||
− | |||
}} | }} | ||
− | |||
− | |||
[[Category:DTr1|CD]] | [[Category:DTr1|CD]] |
Revision as of 17:10, 12 March 2015
Contents
CD Concept Descriptor
Datatype Release 1: CD
Registered Attributes and Child Elements
@Attribute / Element | Cardinality | Datatype |
---|---|---|
@code | optional | cs |
@codeSystem | optional | oid |
@codeSystemName | optional | st |
@codeSystemVersion | optional | st |
@displayName | optional | st |
@nullFlavor | optional | cs |
hl7:originalText | 0 .. 1 | ED |
hl7:qualifier | 0 .. * | CR |
hl7:translation | 0 .. * | CD |
Core Schematron Rules (CSR)
The following rules are defined in the base core schematrons.
Rule ID: CD
Extends Rule(s): ANY Constraints
|
Additional Strict Schematron Rules (SSR)
The following rules are defined in the strict mode of core schematrons.