Difference between revisions of "DTr1 ED"

(Automated ADBot page content)
(Automated ADBot page content)
 
(8 intermediate revisions by the same user not shown)
Line 4: Line 4:
 
! style="text-align:left;" | Datatype Release 1 !! Realm  
 
! style="text-align:left;" | Datatype Release 1 !! Realm  
 
|-
 
|-
| style="height:30px;" | ED ||   
+
| style="height:30px; vertical-align:middle;" | '''ED''' || style="vertical-align:middle;" |   
|}==Registered Attributes and Child Elements==
+
|}
 +
 
 +
==Registered Attributes and Child Elements==
 
{| class="artdecorwiki"
 
{| class="artdecorwiki"
 
! @Attribute / Element !! Cardinality !! Datatype  
 
! @Attribute / Element !! Cardinality !! Datatype  
Line 40: Line 42:
 
|}
 
|}
 
==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: '''ED'''
 
{{ConstraintBox|Rule ID: '''ED'''
 
Extends Rule(s): [[DTr1_BIN|BIN]]  
 
Extends Rule(s): [[DTr1_BIN|BIN]]  

Latest revision as of 14:58, 5 December 2017

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)