cda datatypes nblock voc common

Element : AD (XML Type: AD )


Package : datatypes

XML Type : AD

Comments : Mailing and home or office addresses. A sequence of address parts, such as street or post office Box, city, postal code, country, etc.


Parent : ANY


Name Type cardinality Comment
mixed
ElementWildcard : mixed
EFeatureMapEntry 0...*
group
Group : group
EFeatureMapEntry 0...*
delimiter
Element : delimiter
AdxpDelimiter 0...*
country
Element : country
AdxpCountry 0...*
state
Element : state
AdxpState 0...*
county
Element : county
AdxpCounty 0...*
city
Element : city
AdxpCity 0...*
postalCode
Element : postalCode
AdxpPostalCode 0...*
streetAddressLine
Element : streetAddressLine
AdxpStreetAddressLine 0...*
houseNumber
Element : houseNumber
AdxpHouseNumber 0...*
houseNumberNumeric
Element : houseNumberNumeric
AdxpHouseNumberNumeric 0...*
direction
Element : direction
AdxpDirection 0...*
streetName
Element : streetName
AdxpStreetName 0...*
streetNameBase
Element : streetNameBase
AdxpStreetNameBase 0...*
streetNameType
Element : streetNameType
AdxpStreetNameType 0...*
additionalLocator
Element : additionalLocator
AdxpAdditionalLocator 0...*
unitID
Element : unitID
AdxpUnitID 0...*
unitType
Element : unitType
AdxpUnitType 0...*
careOf
Element : careOf
AdxpCareOf 0...*
censusTract
Element : censusTract
AdxpCensusTract 0...*
deliveryAddressLine
Element : deliveryAddressLine
AdxpDeliveryAddressLine 0...*
deliveryInstallationType
Element : deliveryInstallationType
AdxpDeliveryInstallationType 0...*
deliveryInstallationArea
Element : deliveryInstallationArea
AdxpDeliveryInstallationArea 0...*
deliveryInstallationQualifier
Element : deliveryInstallationQualifier
AdxpDeliveryInstallationQualifier 0...*
deliveryMode
Element : deliveryMode
AdxpDeliveryMode 0...*
deliveryModeIdentifier
Element : deliveryModeIdentifier
AdxpDeliveryModeIdentifier 0...*
buildingNumberSuffix
Element : buildingNumberSuffix
AdxpBuildingNumberSuffix 0...*
postBox
Element : postBox
AdxpPostBox 0...*
precinct
Element : precinct
AdxpPrecinct 0...*
useablePeriod
Element : useablePeriod
SXCMTS 0...* A General Timing Specification (GTS) specifying the periods of time during which the address can be used. This is used to specify different addresses for different times of the year or to refer to historical addresses.
isNotOrdered
Attribute : isNotOrdered
Boolean 0...1 A boolean value specifying whether the order of the address parts is known or not. While the address parts are always a Sequence, the order in which they are presented may or may not be known. Where this matters, the isNotOrdered property can be used to convey this information.
use
Attribute : use
String 0...1 A set of codes advising a system or user which address in a set of like addresses to select for a given purpose.

constraint_datatypes_state2

  • self.state->size()<2
  • it does not make sense for an address to have two states

constraint_datatypes_country2

  • self.country->size()<2
  • it does not make sense for an address to have two countries

constraint_datatypes_city2

  • self.city->size()<2
  • it does not make sense for an address to have two cities

constraint_datatypes_postalCode2

  • self.postalCode->size()<2
  • it does not make sense for an address to have two postal codes

<xs:complexType xmlns:xs="http://www.w3.org/2001/XMLSchema" mixed="true" name="AD">
      
<xs:annotation>
         
<xs:documentation>
            Mailing and home or office addresses. A sequence of
            address parts, such as street or post office Box, city,
            postal code, country, etc.
         
</xs:documentation>
      
</xs:annotation>
      
<xs:complexContent>
         
<xs:extension base="ANY">
            
<xs:sequence>
               
<xs:choice maxOccurs="unbounded" minOccurs="0">
                  
<xs:element name="delimiter" type="adxp.delimiter" />
                  
<xs:element name="country" type="adxp.country" />
                  
<xs:element name="state" type="adxp.state" />
                  
<xs:element name="county" type="adxp.county" />
                  
<xs:element name="city" type="adxp.city" />
                  
<xs:element name="postalCode" type="adxp.postalCode" />
                  
<xs:element name="streetAddressLine" type="adxp.streetAddressLine" />
                  
<xs:element name="houseNumber" type="adxp.houseNumber" />
                  
<xs:element name="houseNumberNumeric" type="adxp.houseNumberNumeric" />
                  
<xs:element name="direction" type="adxp.direction" />
                  
<xs:element name="streetName" type="adxp.streetName" />
                  
<xs:element name="streetNameBase" type="adxp.streetNameBase" />
                  
<xs:element name="streetNameType" type="adxp.streetNameType" />
                  
<xs:element name="additionalLocator" type="adxp.additionalLocator" />
                  
<xs:element name="unitID" type="adxp.unitID" />
                  
<xs:element name="unitType" type="adxp.unitType" />
                  
<xs:element name="careOf" type="adxp.careOf" />
                  
<xs:element name="censusTract" type="adxp.censusTract" />
                  
<xs:element name="deliveryAddressLine" type="adxp.deliveryAddressLine" />
                  
<xs:element name="deliveryInstallationType" type="adxp.deliveryInstallationType" />
                  
<xs:element name="deliveryInstallationArea" type="adxp.deliveryInstallationArea" />
                  
<xs:element name="deliveryInstallationQualifier" type="adxp.deliveryInstallationQualifier" />
                  
<xs:element name="deliveryMode" type="adxp.deliveryMode" />
                  
<xs:element name="deliveryModeIdentifier" type="adxp.deliveryModeIdentifier" />
                  
<xs:element name="buildingNumberSuffix" type="adxp.buildingNumberSuffix" />
                  
<xs:element name="postBox" type="adxp.postBox" />
                  
<xs:element name="precinct" type="adxp.precinct" />
               
</xs:choice>
               
<xs:element maxOccurs="unbounded" minOccurs="0" name="useablePeriod" type="SXCM_TS">
                  
<xs:annotation>
                     
<xs:documentation>
                        A General Timing Specification (GTS) specifying the
                        periods of time during which the address can be used.
                        This is used to specify different addresses for
                        different times of the year or to refer to historical
                        addresses.
                     
</xs:documentation>
                  
</xs:annotation>
               
</xs:element>
            
</xs:sequence>
            
<xs:attribute name="use" type="set_PostalAddressUse" use="optional">
               
<xs:annotation>
                  
<xs:documentation>
                     A set of codes advising a system or user which address
                     in a set of like addresses to select for a given purpose.
                  
</xs:documentation>
               
</xs:annotation>
            
</xs:attribute>
            
<xs:attribute name="isNotOrdered" type="bl" use="optional">
               
<xs:annotation>
                  
<xs:documentation>
                     A boolean value specifying whether the order of the
                     address parts is known or not. While the address parts
                     are always a Sequence, the order in which they are
                     presented may or may not be known. Where this matters, the
                     isNotOrdered property can be used to convey this
                     information.
                  
</xs:documentation>
               
</xs:annotation>
            
</xs:attribute>
         
</xs:extension>
      
</xs:complexContent>
   
</xs:complexType>