Difference between revisions of "DTr1 AD.DE"

(Automated ADBot page content)
(Automatic ADBot page content)
 
(26 intermediate revisions by the same user not shown)
Line 1: Line 1:
  
=AD.DE Adres - Flavor German=
+
=AD.DE Address - Flavor German Address=
Datatype Release 1: AD.DE
+
{| class="artdecorwiki"
 +
! style="text-align:left;" | Datatype Release 1 !! Realm
 +
|-
 +
| style="height:30px; vertical-align:middle;" | '''AD.DE''' || style="vertical-align:middle;" | [[File:Flag_de.svg|20px|link=]] DE
 +
|}
 +
 
 
==Registered Attributes and Child Elements==
 
==Registered Attributes and Child Elements==
{| class=artdecor
+
{| class="artdecorwiki"
 
! @Attribute / Element !! Cardinality !! Datatype  
 
! @Attribute / Element !! Cardinality !! Datatype  
 
|-
 
|-
Line 67: Line 72:
 
|-
 
|-
 
|}
 
|}
==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: '''AD.DE'''
 
{{ConstraintBox|Rule ID: '''AD.DE'''
Extends Rule(s): AD  
+
Extends Rule(s): [[DTr1_AD|AD]]
  
 
Constraints
 
Constraints
 
*{{Error}} dtr1-1-AD.DE: Deutsche Postleitzahlen in den Textknoten müssen im Format '99999' sein
 
*{{Error}} dtr1-1-AD.DE: Deutsche Postleitzahlen in den Textknoten müssen im Format '99999' sein
*{{Error}} dtr1-2-AD.DE: In Deutschland sind bei Adressen zugelassen: delimiter, country, county, city, postalCode, houseNumber, buildingNumberSuffix, streetName, additionalLocator und useablePeriod. Gefunden ''.
+
*{{Error}} dtr1-2-AD.DE: In Deutschland sind bei Adressen zugelassen: delimiter, country, county, city, postalCode, houseNumber, buildingNumberSuffix, streetName, additionalLocator und useablePeriod. Gefunden '<value-of select&#061;"$illegalAddressPart"/>'.
*{{Error}} dtr1-3-AD.DE: Nur postalCode, country und county können codiert werden. Gefunden ''
+
*{{Error}} dtr1-3-AD.DE: Nur postalCode, country und county können codiert werden. Gefunden '<value-of select&#061;"*[not(self::hl7:postalCode) and not(self::hl7:country) and not(self::hl7:county) and @code][1]/name()"/>'
 
}}
 
}}
==Additional Strict Schematron Rules SSR==
+
[[Category:DTr1|AD.DE]]
The following rules are defined in the strict mode of core schematrons.
 

Latest revision as of 19:31, 2 July 2020

AD.DE Address - Flavor German Address

Datatype Release 1 Realm
AD.DE Flag de.svg DE

Registered Attributes and Child Elements

@Attribute / Element Cardinality Datatype
@use   optional   set_cs
@isNotOrdered   optional   bl
@nullFlavor   optional   cs
hl7:delimiter  0 .. *  ADXP
hl7:country  0 .. *  ADXP
hl7:state  0 .. *  ADXP
hl7:county  0 .. *  ADXP
hl7:city  0 .. *  ADXP
hl7:postalCode  0 .. *  ADXP
hl7:streetAddressLine  0 .. *  ADXP
hl7:houseNumber  0 .. *  ADXP
hl7:houseNumberNumeric  0 .. *  ADXP
hl7:direction  0 .. *  ADXP
hl7:streetName  0 .. *  ADXP
hl7:streetNameBase  0 .. *  ADXP
hl7:streetNameType  0 .. *  ADXP
hl7:additionalLocator  0 .. *  ADXP
hl7:unitID  0 .. *  ADXP
hl7:unitType  0 .. *  ADXP
hl7:careOf  0 .. *  ADXP
hl7:censusTract  0 .. *  ADXP
hl7:deliveryAddressLine  0 .. *  ADXP
hl7:deliveryInstallationType  0 .. *  ADXP
hl7:deliveryInstallationArea  0 .. *  ADXP
hl7:deliveryInstallationQualifier  0 .. *  ADXP
hl7:deliveryMode  0 .. *  ADXP
hl7:deliveryModeIdentifier  0 .. *  ADXP
hl7:buildingNumberSuffix  0 .. *  ADXP
hl7:postBox  0 .. *  ADXP
hl7:precinct  0 .. *  ADXP

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: AD.DE

Extends Rule(s): AD

Constraints

  • Alert.png dtr1-1-AD.DE: Deutsche Postleitzahlen in den Textknoten müssen im Format '99999' sein
  • Alert.png dtr1-2-AD.DE: In Deutschland sind bei Adressen zugelassen: delimiter, country, county, city, postalCode, houseNumber, buildingNumberSuffix, streetName, additionalLocator und useablePeriod. Gefunden '<value-of select="$illegalAddressPart"/>'.
  • Alert.png dtr1-3-AD.DE: Nur postalCode, country und county können codiert werden. Gefunden '<value-of select="*[not(self::hl7:postalCode) and not(self::hl7:country) and not(self::hl7:county) and @code][1]/name()"/>'