PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.au.base@2.2.0-ballot
    http://hl7.org.au/fhir/StructureDefinition/au-address
description: This profile defines an address structure that localises core concepts, including identifiers and terminology, for use in an Australian context, to specifically represent an Australian (location) address.
package_name: hl7.fhir.au.base
derivation: constraint
name: AustralianAddress
type: Address
elements:
  extension:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        identifier:
          match: {url: null}
          schema:
            type: Extension
            url: http://hl7.org.au/fhir/StructureDefinition/address-identifier
            index: 1
            elements:
              valueIdentifier:
                type: Identifier
                index: 2
                slicing:
                  slices:
                    valueIdentifier:
                      match: {}
                      schema: {type: Identifier, index: 2}
        noFixedAddress:
          match: {url: null}
          schema: {type: Extension, url: 'http://hl7.org.au/fhir/StructureDefinition/no-fixed-address', index: 3}
          max: 1
  city: {short: 'Name of city, town or suburb', index: 4}
  state:
    short: Australian state or territory
    binding: {strength: required, valueSet: 'https://healthterminologies.gov.au/fhir/ValueSet/australian-states-territories-2'}
    index: 5
  postalCode:
    constraint:
      inv-add-3: {human: Postal code shall be 4 digits, source: 'http://hl7.org.au/fhir/StructureDefinition/au-address', severity: error, expression: 'matches(''^[0-9]{4}$'')'}
    index: 6
  country:
    short: Australia as a 2 digit ISO 3166 code
    pattern: {type: String, value: AU}
    index: 7
package_version: 2.2.0-ballot
extensions:
  identifier:
    url: http://hl7.org.au/fhir/StructureDefinition/address-identifier
    type: Extension
    index: 1
    elements:
      valueIdentifier:
        type: Identifier
        index: 2
        slicing:
          slices:
            valueIdentifier:
              match: {}
              schema: {type: Identifier, index: 2}
  noFixedAddress: {url: 'http://hl7.org.au/fhir/StructureDefinition/no-fixed-address', max: 1, type: Extension, index: 3}
class: complex-type
kind: complex-type
url: http://hl7.org.au/fhir/StructureDefinition/au-address
base: http://hl7.org/fhir/StructureDefinition/Address
version: 2.2.0