PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.au.base@1.0.0
    http://hl7.org.au/fhir/StructureDefinition/au-address
description: Australian realm Australian Address profile.
package_name: hl7.fhir.au.base
derivation: constraint
name: AUBaseAddress
type: Address
elements:
  extension:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        noFixedAddress:
          match: {url: null}
          schema: {type: Extension, url: h, index: 1}
          max: 1
  city: {short: 'Name of city, town, suburb, etc.', index: 2}
  state: {short: Australian state and territory, index: 3}
  postalCode:
    constraint:
      inv-add-3: {human: Postal code shall be 4 digits, severity: error, expression: '(country=''AU'' and postalCode.exists()) implies postalCode.matches(''^\\d{4}$'')'}
    index: 4
  country:
    short: Australia as a 2 digit ISO 3166 code
    pattern: {type: String, value: AU}
    index: 5
package_version: 1.0.0
extensions:
  noFixedAddress: {url: h, max: 1, type: Extension, index: 1}
class: complex-type
kind: complex-type
url: http://hl7.org.au/fhir/StructureDefinition/au-address
base: http://hl7.org/fhir/StructureDefinition/Address
version: 1.0.0