Difference between revisions of "DTr1 ED"

(Automated ADBot page content)
(Automated ADBot page content)
Line 10: Line 10:
 
| @language ||  optional  || cs
 
| @language ||  optional  || cs
 
|-
 
|-
| @compressionDFGZZZL ||  optional  || cs
+
| @compression
 +
*DF
 +
*GZ
 +
*Z
 +
*ZL
 +
||  optional  || cs
 
|-
 
|-
 
| @integrityCheck ||  optional  || bin
 
| @integrityCheck ||  optional  || bin
 
|-
 
|-
| @integrityCheckAlgorithmSHA-1SHA-256 ||  optional  || cs
+
| @integrityCheckAlgorithm
 +
*SHA-1
 +
*SHA-256
 +
||  optional  || cs
 
|-
 
|-
| @representationB64TXT ||  optional  || cs
+
| @representation
 +
*B64
 +
*TXT
 +
||  optional  || cs
 
|-
 
|-
 
| @nullFlavor ||  optional  || cs
 
| @nullFlavor ||  optional  || cs

Revision as of 14:59, 20 February 2015

ED Encapsulated Data

Datatype Release 1: ED

Registered Attributes and Child Elements

@Attribute / Element Cardinality Datatype
@mediaType   optional   cs
@language   optional   cs
@compression
  • DF
  • GZ
  • Z
  • ZL
  optional   cs
@integrityCheck   optional   bin
@integrityCheckAlgorithm
  • SHA-1
  • SHA-256
  optional   cs
@representation
  • B64
  • TXT
  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: ED

Extends Rule(s): BIN

Constraints

  • Alert.png dtr1-2-ED: integrityCheckAlgorithm required if integrityCheck
  • Alert.png dtr1-3-ED: thumbnails not null and reference
  • Alert.png dtr1-4-ED: thumbnails do not have thumbnails
  • Alert.png dtr1-5-ED: compression only on binary
  • Alert.png dtr1-6-ED: value implies mediaType is text/plain
  • Alert.png dtr1-7-ED: no history or updateMode
  • Alert.png dtr1-8-ED: no charset for value or xml
  • Alert.png dtr1-9-ED: no nested translations
  • Alert.png dtr1-10-ED: no mediaType if null
  • Alert.png dtr1-11-ED: no charset if null
  • Alert.png dtr1-12-ED: no language if null
  • Alert.png dtr1-13-ED: no compression if null
  • Alert.png dtr1-14-ED: no integrityCheck if null
  • Alert.png dtr1-15-ED: no integrityCheckAlgorithm if null
  • Alert.png dtr1-16-ED: no thumbnail if null
  • Alert.png dtr1-17-ED: no translation if null
  • Alert.png dtr1-18-ED: @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.