hl7:streetAddressLine
  | 
                                 ADXP | 
                                 0 … 1 | 
                                  | 
                                  Free additional lines for additional address information which can not be used in
                                    the other address fields (e.g. for c/o entries, etc.), with a maximum length of 150
                                    characters.  addressLine1 should be used for personalized addressing (e.g., c/o-Address). 
                                  | 
                                 eCH‑0010 V7.0 addressInformation | 
                              
                              
                                 |   | 
                                 Schematron assert | 
                                 role | 
                                   error
                                  | 
                                   | 
                              
                              
                                 |   | 
                                 see | 
                                 eCH-0010 V7.0, section 5.12  | 
                                   | 
                              
                              
                                 |   | 
                                 test | 
                                 string-length(text()) < 151 | 
                                   | 
                              
                              
                                 |   | 
                                 Message | 
                                 eCH-0010 restricts the content length to max. 150 characters | 
                                   | 
                              
                              
                                 hl7:streetAddressLine
  | 
                                 ADXP | 
                                 0 … 1 | 
                                  | 
                                  Free additional lines for additional address information which can not be used in
                                    the other address fields (e.g. for c/o entries, etc.), with a maximum length of 150
                                    characters.  addressLine2 should be used for non-personalized address details (e.g., additional
                                    location information, e.g. "Chalet Edelweiss"). 
                                  | 
                                 eCH‑0010 V7.0 addressInformation | 
                              
                              
                                 |   | 
                                 Schematron assert | 
                                 role | 
                                   error
                                  | 
                                   | 
                              
                              
                                 |   | 
                                 see | 
                                 eCH-0010 V7.0, section 5.12  | 
                                   | 
                              
                              
                                 |   | 
                                 test | 
                                 string-length(text()) < 151 | 
                                   | 
                              
                              
                                 |   | 
                                 Message | 
                                 eCH-0010 restricts the content length to max. 150 characters | 
                                   | 
                              
                              
                                 hl7:streetName
  | 
                                 ADXP | 
                                 0 … 1 | 
                                 C | 
                                 Street names in postal addresses. It can also be the name of a locality, a hamlet,
                                    etc. With a maximum length of 150 characters.
                                  | 
                                 eCH‑0010 V7.0 addressInformation | 
                              
                              
                                 |   | 
                                 Schematron assert | 
                                 role | 
                                   error
                                  | 
                                   | 
                              
                              
                                 |   | 
                                 see | 
                                 eCH-0010 V7.0, section 5.13  | 
                                   | 
                              
                              
                                 |   | 
                                 test | 
                                 string-length(text()) < 151 | 
                                   | 
                              
                              
                                 |   | 
                                 Message | 
                                 eCH-0010 restricts the content length to max. 150 characters | 
                                   | 
                              
                              
                                 hl7:houseNumber
  | 
                                 ADXP | 
                                 0 … 1 | 
                                  | 
                                 House number in postal addresses (including house number additives). With a maximum
                                    length of 30 characters.
                                  | 
                                 eCH‑0010 V7.0 addressInformation | 
                              
                              
                                 |   | 
                                 Schematron assert | 
                                 role | 
                                   error
                                  | 
                                   | 
                              
                              
                                 |   | 
                                 see | 
                                 eCH-0010 V7.0, section 5.14  | 
                                   | 
                              
                              
                                 |   | 
                                 test | 
                                 string-length(text()) < 31 | 
                                   | 
                              
                              
                                 |   | 
                                 Message | 
                                 eCH-0010 restricts the content length to max. 30 characters | 
                                   | 
                              
                              
                                 hl7:additionalLocator
  | 
                                 ADXP | 
                                 0 … 1 | 
                                  | 
                                 Number of addressed apartment. This is occasionally necessary for larger buildings.
                                    With a maximum length of 30 characters.
                                  | 
                                 eCH‑0010 V7.0 addressInformation | 
                              
                              
                                 |   | 
                                 Schematron assert | 
                                 role | 
                                   error
                                  | 
                                   | 
                              
                              
                                 |   | 
                                 see | 
                                 eCH-0010 V7.0, section 5.15  | 
                                   | 
                              
                              
                                 |   | 
                                 test | 
                                 string-length(text()) < 31 | 
                                   | 
                              
                              
                                 |   | 
                                 Message | 
                                 eCH-0010 restricts the content length to max. 30 characters | 
                                   | 
                              
                              
                                 hl7:postBox
  | 
                                 ADXP | 
                                 0 … 1 | 
                                 C | 
                                 Number of the addressed post box in a maximum length of 8 characters. | 
                                 eCH‑0010 V7.0 addressInformation | 
                              
                              
                                 |   | 
                                 Schematron assert | 
                                 role | 
                                   error
                                  | 
                                   | 
                              
                              
                                 |   | 
                                 see | 
                                 eCH-0010 V7.0, section 5.16  | 
                                   | 
                              
                              
                                 |   | 
                                 test | 
                                 string-length(text()) < 9 | 
                                   | 
                              
                              
                                 |   | 
                                 Message | 
                                 eCH-0010 restricts the content length to max. 8 characters | 
                                   | 
                              
                              
                                 hl7:state
  | 
                                 ADXP | 
                                 0 … 1 | 
                                  | 
                                  Occasionally, additional geographic information must be provided in foreign addresses,
                                    in addition to city and country. This element can be used for such cases.  It contains superordinate or subordinate information on a city, such as region, province,
                                    state or local district.  Since it is difficult - especially with foreign addresses - to determine whether
                                    an indication is subordinate or subordinate, a separate mapping of superordinate and
                                    subordinate indication is omitted. 
                                  | 
                                 eCH‑0010 V7.0 addressInformation | 
                              
                              
                                 hl7:city
  | 
                                 ADXP | 
                                 1 … 1 | 
                                 R | 
                                  Addressed city (in foreign addresses if necessary including province, etc.).  When using the information according to the Swiss Post, the 27-digit city name must
                                    be used. 
                                  | 
                                 eCH‑0010 V7.0 addressInformation | 
                              
                              
                                 hl7:postalCode
  | 
                                 ADXP | 
                                 1 … 1 | 
                                 R | 
                                 Postal code given by Swiss Post or postal code issued by a post office abroad, that
                                    can consist of numbers, letters or a combination of both, possibly even special characters.
                                  | 
                                 eCH‑0010 V7.0 addressInformation | 
                              
                              
                                 hl7:country
  | 
                                 ADXP | 
                                 1 … 1 | 
                                 R | 
                                  Two-digit, alphanumeric ISO country code according to [ISO 3166-1] of the country
                                    in which the address is located. The country defines the conventions for addressing.  The country code MUST also be declared for Swiss postal addresses.  Caution: Political changes or renaming of countries will result in adjustments to
                                    the ISO country list.  The length of the feature is 2 characters. 
                                  | 
                                 eCH‑0010 V7.0 addressInformation | 
                              
                              
                                 |   | 
                                 Schematron assert | 
                                 role | 
                                   error
                                  | 
                                   | 
                              
                              
                                 |   | 
                                 see | 
                                 eCH-0010 V7.0, section 5.24.2  | 
                                   | 
                              
                              
                                 |   | 
                                 test | 
                                 string-length(text()) < 3 | 
                                   | 
                              
                              
                                 |   | 
                                 Message | 
                                 eCH-0010 restricts the content length to max. 2 characters | 
                                   | 
                              
                              
                                 |   | 
                                 Schematron assert | 
                                 role | 
                                   error
                                  | 
                                   | 
                              
                              
                                 |   | 
                                 see | 
                                 eCH-0007 | 
                                   | 
                              
                              
                                 |   | 
                                 test | 
                                 not(upper-case(country/text())='CH') or (upper-case(state/text())=('AG', 'AI', 'AR',
                                    'BE', 'BL', 'BS', 'FL', 'FR', 'GE', 'GL', 'GR', 'JU', 'LU', 'NE', 'NW', 'OW', 'SG',
                                    'SH', 'SO', 'SZ', 'TG', 'TI', 'UR', 'VD', 'VS', 'ZG', 'ZH'))
                                  | 
                                   | 
                              
                              
                                 |   | 
                                 Message | 
                                 eCH-0007 cantonFlAbbreviationType restricts valid state values for Switzerland | 
                                   |