PackagesCanonicalsLogsProblems
    Packages
    ee.fhir.base@2.0.0
    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: ee.fhir.base
derivation: constraint
name: EEBaseAddress
type: Address
elements:
  extension:
    type: Extension
    short: ADS AdrId
    url: https://fhir.ee/base/StructureDefinition/ee-ads-adr-id
    index: 0
    slicing:
      slices:
        adsAdrId:
          match: {}
          schema: {type: Extension, short: ADS AdrId, url: 'https://fhir.ee/base/StructureDefinition/ee-ads-adr-id', index: 0}
          min: 0
          max: 1
        adsOid:
          match: {}
          schema: {type: Extension, short: ADS Oid, url: 'https://fhir.ee/base/StructureDefinition/ee-ads-oid', index: 1}
          min: 0
          max: 1
        ehak:
          match: {}
          schema: {type: Extension, short: EHAK code, 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, url: 'http://hl7.org/fhir/StructureDefinition/address-official', index: 3}
          min: 0
          max: 1
        notice:
          match: {}
          schema: {type: Extension, short: Address notices and warnings, url: 'https://fhir.ee/base/StructureDefinition/ee-address-notice', index: 4}
          min: 0
  use: {index: 5}
  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: 7}
      streetName: {url: 'http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName', min: 0, max: 1, type: Extension, short: Street name, index: 8}
      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: 9}
      houseNumber: {url: 'http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber', min: 0, max: 1, type: Extension, short: House number, index: 10}
      additionalLocator: {url: 'http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator', min: 0, max: 1, type: Extension, short: Additional locator, index: 11}
    elements:
      extension:
        index: 6
        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: 7}
              min: 0
              max: 1
            streetName:
              match: {url: null}
              schema: {type: Extension, short: Street name, url: 'http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName', index: 8}
              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: 9}
              min: 0
              max: 1
            houseNumber:
              match: {url: null}
              schema: {type: Extension, short: House number, url: 'http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber', index: 10}
              min: 0
              max: 1
            additionalLocator:
              match: {url: null}
              schema: {type: Extension, short: Additional locator, url: 'http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator', index: 11}
              min: 0
              max: 1
  city: {index: 12}
  district: {short: Administrative or political subdivision of a state or city, index: 13}
  state: {short: Sub-unit of country, index: 14}
  postalCode: {index: 15}
  country:
    short: Should use a 2 digit country code
    binding: {strength: required, valueSet: 'https://fhir.ee/ValueSet/rtk-alpha-2'}
    index: 16
package_version: 2.0.0
extensions:
  adsAdrId: {url: 'https://fhir.ee/base/StructureDefinition/ee-ads-adr-id', min: 0, max: 1, type: Extension, short: ADS AdrId, index: 0}
  adsOid: {url: 'https://fhir.ee/base/StructureDefinition/ee-ads-oid', min: 0, max: 1, type: Extension, short: ADS Oid, index: 1}
  ehak: {url: 'https://fhir.ee/base/StructureDefinition/ee-ehak', min: 0, max: 1, type: Extension, short: EHAK code, index: 2}
  official: {url: 'http://hl7.org/fhir/StructureDefinition/address-official', min: 0, max: 1, type: Extension, short: Indicator of address of residency, index: 3}
  notice: {url: 'https://fhir.ee/base/StructureDefinition/ee-address-notice', min: 0, type: Extension, short: Address notices and warnings, index: 4}
class: complex-type
kind: complex-type
url: https://fhir.ee/base/StructureDefinition/ee-address
base: http://hl7.org/fhir/StructureDefinition/Address
version: 2.0.0
required: [country, use]