DTr1 AD

AD Address

Datatype Release 1 Realm Flavors
AD AD.NL AD.DE AD.EPSOS AD.IPS AD.CA.BASIC AD.CA

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

Extends Rule(s): ANY

Constraints

  • Alert.png dtr1-1-AD: address shall be null or text only or element only (no mixed content)
  • Alert.png dtr1-2-AD: no useablePeriod if null
  • Alert.png dtr1-3-AD: updateMode shall not be used on address elements
  • Alert.png dtr1-5-AD: useablePeriod/low/@value must have the same precision as useablePeriod/high/@value
  • Alert.png dtr1-6-AD: useablePeriod/low/@value must be before useablePeriod/high/@value
  • Alert.png dtr1-7-AD: for useablePeriod/width only us (microseconds), ms (milliseconds), s (seconds), min (minute), h (hours), d (day), wk (week), mo (month) or a (year) are allowed
  • Warning.png dtr1-8-AD: empty address particles should not be present.

Additional Strict Schematron Rules (SSR)

The following rules are defined in the strict mode of core schematrons.

Check-circle.svg Constraints
  • Alert.png dtr1-9-AD: [RIM-001] <value-of select="$name"/> SHALL NOT have nullFlavor, if there are other <value-of select="$name"/> elements which are not null
  • Alert.png dtr1-10-AD: [RIM-002] <value-of select="$name"/> (<value-of select="$value"/>) SHALL be distinct