description: This profile is provided for use in an Australian context where some constraint on content is desirable to guarantee the quality of an Australian address whilst still supporting other uses such as unstructured addresses. 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: 'http://hl7.org.au/fhir/StructureDefinition/no-fixed-address', index: 1} max: 1 city: {short: 'Name of city, town, suburb, etc.', index: 2} state: short: Australian state and territory binding: {strength: required, valueSet: 'https://healthterminologies.gov.au/fhir/ValueSet/australian-states-territories-2'} 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: 2.0.0 extensions: noFixedAddress: {url: 'http://hl7.org.au/fhir/StructureDefinition/no-fixed-address', 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: 2.0.1