DTr1 CD

Revision as of 18:08, 19 February 2015 by ADbot (talk | contribs) (Automated ADBot page content)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Datatype Release 1: CD Concept Descriptor

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.

Check-circle.svg Rule ID: CD

Extends Rule(s): ANY

Constraints

  • Alert.png dtr1-1-CD: null or code and/or originalText
  • Alert.png dtr1-2-CD: code requires codeSystem
  • Alert.png dtr1-3-CD: codeSystemName only if codeSystem
  • Alert.png dtr1-4-CD: codeSystemVersion only if codeSystem
  • Alert.png dtr1-5-CD: displayName only if code
  • Alert.png dtr1-6-CD: no code if null
  • Alert.png dtr1-7-CD: no displayName if null
  • Alert.png dtr1-8-CD: no originalText on translations
  • Alert.png dtr1-10-CD: no null on translations
  • Alert.png dtr1-11-CD: translation code requires codeSystem
  • Alert.png dtr1-12-CD: translation codeSystemName only if codeSystem
  • Alert.png dtr1-13-CD: translation codeSystemVersion only if codeSystem
  • Alert.png dtr1-14-CD: translation displayName only if code
  • Warning.png dtr1-15-CD: it looks like there are formatting instructions in attribute @displayName. Please note that this may lead to
       interoperability problems.

Additional Strict Schematron Rules SSR

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