PackagesCanonicalsLogsProblems
    Packages
    rs/ee.fhir.base@1.1.3
    https://fhir.ee/base/StructureDefinition/ee-address
description: An address expressed using postal conventions (as opposed to GPS or other location definition formats). This datatype may be used to convey addresses for use in delivering mail as well as for visiting locations which might not be valid for mail delivery. There are a variety of postal address formats defined around the world. EEBase Address resource is developed in cooperation with Estonian Land Board. EEBase Address resource describes both Estonian and foreign addresses.
package_name: rs/ee.fhir.base
derivation: constraint
name: EEBaseAddress
type: Address
elements:
  use: {mustSupport: true, index: 5}
  city: {index: 13}
  state: {short: Sub-unit of country, index: 15}
  extension:
    type: Extension
    short: ADS AdrId
    mustSupport: true
    url: https://fhir.ee/base/StructureDefinition/ee-ads-adr-id
    index: 0
    slicing:
      slices:
        adsAdrId:
          match: {}
          schema: {type: Extension, short: ADS AdrId, mustSupport: true, url: 'https://fhir.ee/base/StructureDefinition/ee-ads-adr-id', index: 0}
          min: 0
          max: 1
        adsOid:
          match: {}
          schema: {type: Extension, short: ADS Oid, mustSupport: true, url: 'https://fhir.ee/base/StructureDefinition/ee-ads-oid', index: 1}
          min: 0
          max: 1
        ehak:
          match: {}
          schema: {type: Extension, short: EHAK code, mustSupport: true, url: 'https://fhir.ee/base/StructureDefinition/ee-ehak', index: 2}
          min: 0
          max: 1
        official:
          match: {}
          schema: {type: Extension, short: Indicator of address of residency, mustSupport: true, url: 'http://hl7.org/fhir/StructureDefinition/address-official', index: 3}
          min: 0
          max: 1
        notice:
          match: {}
          schema: {type: Extension, short: Address notices and warnings, mustSupport: true, url: 'https://fhir.ee/base/StructureDefinition/ee-address-notice', index: 4}
          min: 0
  line:
    extensions:
      censusTract: {url: 'http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-censusTract', min: 0, max: 1, type: Extension, short: A geographic sub-unit delineated for demographic purposes., index: 8}
      streetName: {url: 'http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName', min: 0, max: 1, type: Extension, short: Street name, index: 9}
      streetNameBase: {url: 'http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetNameBase', min: 0, max: 1, type: Extension, short: The base name of a roadway or artery recognized by a municipality (excluding street type and direction)., index: 10}
      houseNumber: {url: 'http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber', min: 0, max: 1, type: Extension, short: House number, index: 11}
      additionalLocator: {url: 'http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator', min: 0, max: 1, type: Extension, short: Additional locator, index: 12}
    elements:
      extension:
        index: 7
        slicing:
          rules: open
          discriminator:
          - {path: url, type: value}
          min: null
          slices:
            censusTract:
              match: {url: null}
              schema: {type: Extension, short: A geographic sub-unit delineated for demographic purposes., url: 'http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-censusTract', index: 8}
              min: 0
              max: 1
            streetName:
              match: {url: null}
              schema: {type: Extension, short: Street name, url: 'http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName', index: 9}
              min: 0
              max: 1
            streetNameBase:
              match: {url: null}
              schema: {type: Extension, short: The base name of a roadway or artery recognized by a municipality (excluding street type and direction)., url: 'http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetNameBase', index: 10}
              min: 0
              max: 1
            houseNumber:
              match: {url: null}
              schema: {type: Extension, short: House number, url: 'http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber', index: 11}
              min: 0
              max: 1
            additionalLocator:
              match: {url: null}
              schema: {type: Extension, short: Additional locator, url: 'http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator', index: 12}
              min: 0
              max: 1
  postalCode: {index: 16}
  country:
    short: Should use a 2 digit ISO 3166 code
    binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/iso3166-1-2'}
    mustSupport: true
    index: 17
  district: {short: Administrative or political subdivision of a state or city, index: 14}
  text: {mustSupport: true, index: 6}
package_version: 1.1.3
extensions:
  adsAdrId: {url: 'https://fhir.ee/base/StructureDefinition/ee-ads-adr-id', min: 0, max: 1, type: Extension, short: ADS AdrId, mustSupport: true, index: 0}
  adsOid: {url: 'https://fhir.ee/base/StructureDefinition/ee-ads-oid', min: 0, max: 1, type: Extension, short: ADS Oid, mustSupport: true, index: 1}
  ehak: {url: 'https://fhir.ee/base/StructureDefinition/ee-ehak', min: 0, max: 1, type: Extension, short: EHAK code, mustSupport: true, index: 2}
  official: {url: 'http://hl7.org/fhir/StructureDefinition/address-official', min: 0, max: 1, type: Extension, short: Indicator of address of residency, mustSupport: true, index: 3}
  notice: {url: 'https://fhir.ee/base/StructureDefinition/ee-address-notice', min: 0, type: Extension, short: Address notices and warnings, mustSupport: true, index: 4}
class: complex-type
kind: complex-type
url: https://fhir.ee/base/StructureDefinition/ee-address
base: http://hl7.org/fhir/StructureDefinition/Address
version: 1.1.3
required: [country, use]