Difference between revisions of "DTr1 CD"

(Automated ADBot page content)
(Automated ADBot page content)
 
(4 intermediate revisions by the same user not shown)
Line 2: Line 2:
 
=CD Concept Descriptor=
 
=CD Concept Descriptor=
 
{| class="artdecorwiki"
 
{| class="artdecorwiki"
! style="text-align:left;" | Datatype Release 1 !! Realm !! Flavors  
+
! style="text-align:left;" | Datatype Release 1 !! Realm !! Flavors
 
|-
 
|-
| style="height:30px; vertical-align:middle;" | '''CD''' || style="vertical-align:middle;" |  || style="vertical-align:middle;" | [[DTr1_CO.EPSOS]] [[DTr1_CV.EPSOS]] [[DTr1_CV.IPS]] [[DTr1_CE.EPSOS]] [[DTr1_CE.IPS]] [[DTr1_CD.EPSOS]] [[DTr1_CD.IPS]] [[DTr1_CD.SDTC]]  
+
| style="height:30px; vertical-align:middle;" | '''CD''' || style="vertical-align:middle;" |  || style="vertical-align:middle;" | [[DTr1_CO.EPSOS|CO.EPSOS]] [[DTr1_CV.EPSOS|CV.EPSOS]] [[DTr1_CV.IPS|CV.IPS]] [[DTr1_CE.EPSOS|CE.EPSOS]] [[DTr1_CE.IPS|CE.IPS]] [[DTr1_CD.EPSOS|CD.EPSOS]] [[DTr1_CD.IPS|CD.IPS]] [[DTr1_CD.SDTC|CD.SDTC]]  
 
|}
 
|}
  
Line 31: Line 31:
 
|}
 
|}
 
==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 ({{Error}} errors, {{Warning}} warnings, {{Info}} infos).
 
{{ConstraintBox|Rule ID: '''CD'''
 
{{ConstraintBox|Rule ID: '''CD'''
 
Extends Rule(s): [[DTr1_ANY|ANY]]  
 
Extends Rule(s): [[DTr1_ANY|ANY]]  
Line 48: Line 48:
 
*{{Error}} dtr1-13-CD: translation codeSystemVersion only if codeSystem
 
*{{Error}} dtr1-13-CD: translation codeSystemVersion only if codeSystem
 
*{{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)
 
*{{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)
 
}}
 
}}

Latest revision as of 14:58, 5 December 2017

CD Concept Descriptor

Datatype Release 1 Realm Flavors
CD CO.EPSOS CV.EPSOS CV.IPS CE.EPSOS CE.IPS CD.EPSOS CD.IPS CD.SDTC

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 (Alert.png errors, Warning.png warnings, Info.png infos).

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: co-occurence violation. Cannot have code and null
  • Alert.png dtr1-7-CD: co-occurence violation. Cannot have displayName and null
  • Alert.png dtr1-10-CD: no null on translations (Exceptional values (NULL-values) can not be elements of a set.)
  • 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.
  • Alert.png 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.

Check-circle.svg Constraints
  • Alert.png dtr1-18-CD: [RIM-002] <value-of select="$name"/> (@code=<value-of select="$code"/> @codeSystem=<value-of select="$codeSystem"/>) SHALL be distinct
  • Info.png dtr1-19-CD: [RIM-002] translations SHALL be distinct