Difference between revisions of "DTr1 ED"

(Automated ADBot page content)
(Automated ADBot page content)
Line 4: Line 4:
 
! style="text-align:left;" | Datatype Release 1 !! Realm !! Flavors  
 
! style="text-align:left;" | Datatype Release 1 !! Realm !! Flavors  
 
|-
 
|-
| style="height:30px; vertical-align:middle;" | '''ED''' || style="vertical-align:middle;" |  ||  
+
| style="height:30px; vertical-align:middle;" | '''ED''' || style="vertical-align:middle;" |  || style="vertical-align:middle;" |  
 
|}
 
|}
  

Revision as of 11:37, 23 July 2017

ED Encapsulated Data

Datatype Release 1 Realm Flavors
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)