PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.au.base@4.1.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:
              value:
                choices: [valueIdentifier]
                index: 3
              valueIdentifier: {type: Identifier, choiceOf: value, index: 4}
        noFixedAddress:
          match: {url: null}
          schema: {type: Extension, url: 'http://hl7.org.au/fhir/StructureDefinition/no-fixed-address', index: 5}
          max: 1
  city: {short: 'Name of city, town or suburb', index: 6}
  state:
    short: Australian state or territory
    binding: {strength: required, valueSet: 'https://healthterminologies.gov.au/fhir/ValueSet/australian-states-territories-2'}
    index: 7
  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: 8
  country:
    short: Australia as a 2 digit ISO 3166 code
    pattern: {type: String, value: AU}
    index: 9
package_version: 4.1.0-ballot
extensions:
  identifier:
    url: http://hl7.org.au/fhir/StructureDefinition/address-identifier
    type: Extension
    index: 1
    elements:
      value:
        choices: [valueIdentifier]
        index: 3
      valueIdentifier: {type: Identifier, choiceOf: value, index: 4}
  noFixedAddress: {url: 'http://hl7.org.au/fhir/StructureDefinition/no-fixed-address', max: 1, type: Extension, index: 5}
class: complex-type
kind: complex-type
url: http://hl7.org.au/fhir/StructureDefinition/au-address
base: http://hl7.org/fhir/StructureDefinition/Address
version: 4.1.0-ballot