DTr1 ED

ED Encapsulated Data

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

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)