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 ( errors, warnings and infos).
Rule ID: CD
Extends Rule(s): ANY
Level | Constraints | ID |
---|---|---|
null or code and/or originalText | dtr1‑1‑CD | |
code requires codeSystem | dtr1‑2‑CD | |
codeSystemName only if codeSystem | dtr1‑3‑CD | |
codeSystemVersion only if codeSystem | dtr1‑4‑CD | |
displayName only if code | dtr1‑5‑CD | |
co-occurence violation. Cannot have code and null | dtr1‑6‑CD | |
co-occurence violation. Cannot have displayName and null | dtr1‑7‑CD | |
no null on translations (Exceptional values (NULL-values) can not be elements of a set.) | dtr1‑10‑CD | |
translation code requires codeSystem | dtr1‑11‑CD | |
translation codeSystemName only if codeSystem | dtr1‑12‑CD | |
translation codeSystemVersion only if codeSystem | dtr1‑13‑CD | |
translation displayName only if code | dtr1‑14‑CD | |
it looks like there are formatting instructions in attribute @displayName. Please note that this may lead to interoperability problems. | dtr1‑15‑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) | dtr1‑20‑CD |
Additional Strict Schematron Rules (SSR)
The following rules are defined in the strict mode of core schematrons.
Level | Constraints | ID |
---|---|---|
[RIM-002] $name (@code=$code @codeSystem=$codeSystem) SHALL be distinct | dtr1‑18‑CD | |
[RIM-002] translations SHALL be distinct | dtr1‑19‑CD |