NHSD Implementation Guide - Outbound
4.0.1 - active

NHSD Implementation Guide - Outbound - Local Development build (v4.0.1) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

Data Type Profile: nhsd-address

Official URL: http://fhir.nhsd.com.au/StructureDefinition/nhsd-address Version: 4.0.1
Draft as of 2022-07-20 Computable Name: NHSDAddress

Copyright/Legal: Copyright © 2022 Healthdirect Australia - All rights reserved. This content is licensed under a Creative Commons Attribution 4.0 International License. See https://creativecommons.org/licenses/by/4.0/.

This profile applies to NHSD to define an address structure, for use in an Australian context, to specifically represent an Australian (location) address.

Extension: nhsd-address

Usages:

You can also check for usages in the FHIR IG Statistics

Formal Views of Profile Content

Description of Profiles, Differentials, Snapshots and how the different presentations work.

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Address C 0..* AustralianAddress An address in Australia for use within an Australian healthcare context.
Constraints: inv-add-0, inv-add-1, inv-add-2
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:identifier 0..* (Complex) Identifier for the address
URL: http://hl7.org.au/fhir/StructureDefinition/address-identifier
..... url 1..1 uri "http://hl7.org.au/fhir/StructureDefinition/address-identifier"
..... value[x] 1..1 Identifier, DeliveryPointIdentifier, AUGNAFIdentifier An identifier intended for computation
.... extension:addressLine S 1..1 (Complex) Please use address line extension to populate individual address lines
URL: http://fhir.nhsd.com.au/StructureDefinition/nhsd-address-line
... type Σ 1..1 code Type of address (only 'physical' is supported)
Binding: AddressType (required): The type of an address (physical / postal).
Fixed Value: physical
... line Σ 0..* string Street name, number, direction & P.O. Box etc.
This repeating element order: The order in which lines should appear in an address label
Example General: 137 Nowhere Street
... state Σ 1..1 string Australian state or territory
Binding: Australian States and Territories (extensible)
... postalCode ΣC 1..1 string Postcode of city, town or suburb
Constraints: inv-add-3
Example General: 9132
... country Σ 1..1 string Australia as a 2 digit ISO 3166 code
Fixed Value: AU

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / CodeURI
Address.typerequiredFixed Value: physical
http://hl7.org/fhir/ValueSet/address-type|4.0.1
From the FHIR Standard
Address.stateextensibleAustralian States and Territories(a valid code from Standard List of the Australian States and Territories.)
http://fhir.nhsd.com.au/ValueSet/valueset-nhsd-states-territories
From this IG

Constraints

IdGradePath(s)DetailsRequirements
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
inv-add-0errorAddressThe address shall at least have text or a line
: text.exists() or line.exists()
inv-add-1errorAddressIf asserting no fixed address, the type shall be 'physical'
: extension('http://hl7.org.au/fhir/StructureDefinition/no-fixed-address').exists() implies type='physical'
inv-add-2errorAddressIf asserting no fixed address, the address text shall begin with 'NO FIXED ADDRESS'
: extension('http://hl7.org.au/fhir/StructureDefinition/no-fixed-address').exists() implies text.startsWith('NO FIXED ADDRESS')
inv-add-3errorAddress.postalCodePostal code shall be 4 digits
: matches('^[0-9]{4}$')

This structure is derived from AustralianAddress

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Address 0..* AustralianAddress An address in Australia for use within an Australian healthcare context.
... id 0..0
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:noFixedAddress 0..0
.... extension:addressLine S 1..1 (Complex) Please use address line extension to populate individual address lines
URL: http://fhir.nhsd.com.au/StructureDefinition/nhsd-address-line
... use 0..0
... line 0..* string Street name, number, direction & P.O. Box etc.
... city 1..1 string Name of city, town or suburb
... district 0..0
... state 1..1 string Australian state or territory
Binding: Australian States and Territories (extensible)
... postalCode 1..1 string Postcode of city, town or suburb
... country 1..1 string Australia as a 2 digit ISO 3166 code
... period 0..0

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSetURI
Address.stateextensibleAustralian States and Territories(a valid code from Standard List of the Australian States and Territories.)
http://fhir.nhsd.com.au/ValueSet/valueset-nhsd-states-territories
From this IG
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Address C 0..* AustralianAddress An address in Australia for use within an Australian healthcare context.
Constraints: inv-add-0, inv-add-1, inv-add-2
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:identifier 0..* (Complex) Identifier for the address
URL: http://hl7.org.au/fhir/StructureDefinition/address-identifier
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... url 1..1 uri "http://hl7.org.au/fhir/StructureDefinition/address-identifier"
..... value[x] 1..1 Identifier, DeliveryPointIdentifier, AUGNAFIdentifier An identifier intended for computation
.... extension:addressLine S 1..1 (Complex) Please use address line extension to populate individual address lines
URL: http://fhir.nhsd.com.au/StructureDefinition/nhsd-address-line
... type Σ 1..1 code Type of address (only 'physical' is supported)
Binding: AddressType (required): The type of an address (physical / postal).
Fixed Value: physical
... text Σ 0..1 string Text representation of the address
Example General: 137 Nowhere Street, Erewhon 9132
... city Σ 1..1 string Name of city, town or suburb
Example General: Erewhon
... state Σ 1..1 string Australian state or territory
Binding: Australian States and Territories (extensible)
... postalCode ΣC 1..1 string Postcode of city, town or suburb
Constraints: inv-add-3
Example General: 9132
... country Σ 1..1 string Australia as a 2 digit ISO 3166 code
Fixed Value: AU

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / CodeURI
Address.typerequiredFixed Value: physical
http://hl7.org/fhir/ValueSet/address-type|4.0.1
From the FHIR Standard
Address.stateextensibleAustralian States and Territories(a valid code from Standard List of the Australian States and Territories.)
http://fhir.nhsd.com.au/ValueSet/valueset-nhsd-states-territories
From this IG

Constraints

IdGradePath(s)DetailsRequirements
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
inv-add-0errorAddressThe address shall at least have text or a line
: text.exists() or line.exists()
inv-add-1errorAddressIf asserting no fixed address, the type shall be 'physical'
: extension('http://hl7.org.au/fhir/StructureDefinition/no-fixed-address').exists() implies type='physical'
inv-add-2errorAddressIf asserting no fixed address, the address text shall begin with 'NO FIXED ADDRESS'
: extension('http://hl7.org.au/fhir/StructureDefinition/no-fixed-address').exists() implies text.startsWith('NO FIXED ADDRESS')
inv-add-3errorAddress.postalCodePostal code shall be 4 digits
: matches('^[0-9]{4}$')

This structure is derived from AustralianAddress

Summary

Mandatory: 6 elements
Must-Support: 1 element
Fixed: 1 element
Prohibited: 5 elements

Extensions

This structure refers to these extensions:

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Address C 0..* AustralianAddress An address in Australia for use within an Australian healthcare context.
Constraints: inv-add-0, inv-add-1, inv-add-2
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:identifier 0..* (Complex) Identifier for the address
URL: http://hl7.org.au/fhir/StructureDefinition/address-identifier
..... url 1..1 uri "http://hl7.org.au/fhir/StructureDefinition/address-identifier"
..... value[x] 1..1 Identifier, DeliveryPointIdentifier, AUGNAFIdentifier An identifier intended for computation
.... extension:addressLine S 1..1 (Complex) Please use address line extension to populate individual address lines
URL: http://fhir.nhsd.com.au/StructureDefinition/nhsd-address-line
... type Σ 1..1 code Type of address (only 'physical' is supported)
Binding: AddressType (required): The type of an address (physical / postal).
Fixed Value: physical
... line Σ 0..* string Street name, number, direction & P.O. Box etc.
This repeating element order: The order in which lines should appear in an address label
Example General: 137 Nowhere Street
... state Σ 1..1 string Australian state or territory
Binding: Australian States and Territories (extensible)
... postalCode ΣC 1..1 string Postcode of city, town or suburb
Constraints: inv-add-3
Example General: 9132
... country Σ 1..1 string Australia as a 2 digit ISO 3166 code
Fixed Value: AU

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / CodeURI
Address.typerequiredFixed Value: physical
http://hl7.org/fhir/ValueSet/address-type|4.0.1
From the FHIR Standard
Address.stateextensibleAustralian States and Territories(a valid code from Standard List of the Australian States and Territories.)
http://fhir.nhsd.com.au/ValueSet/valueset-nhsd-states-territories
From this IG

Constraints

IdGradePath(s)DetailsRequirements
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
inv-add-0errorAddressThe address shall at least have text or a line
: text.exists() or line.exists()
inv-add-1errorAddressIf asserting no fixed address, the type shall be 'physical'
: extension('http://hl7.org.au/fhir/StructureDefinition/no-fixed-address').exists() implies type='physical'
inv-add-2errorAddressIf asserting no fixed address, the address text shall begin with 'NO FIXED ADDRESS'
: extension('http://hl7.org.au/fhir/StructureDefinition/no-fixed-address').exists() implies text.startsWith('NO FIXED ADDRESS')
inv-add-3errorAddress.postalCodePostal code shall be 4 digits
: matches('^[0-9]{4}$')

Differential View

This structure is derived from AustralianAddress

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Address 0..* AustralianAddress An address in Australia for use within an Australian healthcare context.
... id 0..0
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:noFixedAddress 0..0
.... extension:addressLine S 1..1 (Complex) Please use address line extension to populate individual address lines
URL: http://fhir.nhsd.com.au/StructureDefinition/nhsd-address-line
... use 0..0
... line 0..* string Street name, number, direction & P.O. Box etc.
... city 1..1 string Name of city, town or suburb
... district 0..0
... state 1..1 string Australian state or territory
Binding: Australian States and Territories (extensible)
... postalCode 1..1 string Postcode of city, town or suburb
... country 1..1 string Australia as a 2 digit ISO 3166 code
... period 0..0

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSetURI
Address.stateextensibleAustralian States and Territories(a valid code from Standard List of the Australian States and Territories.)
http://fhir.nhsd.com.au/ValueSet/valueset-nhsd-states-territories
From this IG

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Address C 0..* AustralianAddress An address in Australia for use within an Australian healthcare context.
Constraints: inv-add-0, inv-add-1, inv-add-2
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:identifier 0..* (Complex) Identifier for the address
URL: http://hl7.org.au/fhir/StructureDefinition/address-identifier
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... url 1..1 uri "http://hl7.org.au/fhir/StructureDefinition/address-identifier"
..... value[x] 1..1 Identifier, DeliveryPointIdentifier, AUGNAFIdentifier An identifier intended for computation
.... extension:addressLine S 1..1 (Complex) Please use address line extension to populate individual address lines
URL: http://fhir.nhsd.com.au/StructureDefinition/nhsd-address-line
... type Σ 1..1 code Type of address (only 'physical' is supported)
Binding: AddressType (required): The type of an address (physical / postal).
Fixed Value: physical
... text Σ 0..1 string Text representation of the address
Example General: 137 Nowhere Street, Erewhon 9132
... city Σ 1..1 string Name of city, town or suburb
Example General: Erewhon
... state Σ 1..1 string Australian state or territory
Binding: Australian States and Territories (extensible)
... postalCode ΣC 1..1 string Postcode of city, town or suburb
Constraints: inv-add-3
Example General: 9132
... country Σ 1..1 string Australia as a 2 digit ISO 3166 code
Fixed Value: AU

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / CodeURI
Address.typerequiredFixed Value: physical
http://hl7.org/fhir/ValueSet/address-type|4.0.1
From the FHIR Standard
Address.stateextensibleAustralian States and Territories(a valid code from Standard List of the Australian States and Territories.)
http://fhir.nhsd.com.au/ValueSet/valueset-nhsd-states-territories
From this IG

Constraints

IdGradePath(s)DetailsRequirements
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
inv-add-0errorAddressThe address shall at least have text or a line
: text.exists() or line.exists()
inv-add-1errorAddressIf asserting no fixed address, the type shall be 'physical'
: extension('http://hl7.org.au/fhir/StructureDefinition/no-fixed-address').exists() implies type='physical'
inv-add-2errorAddressIf asserting no fixed address, the address text shall begin with 'NO FIXED ADDRESS'
: extension('http://hl7.org.au/fhir/StructureDefinition/no-fixed-address').exists() implies text.startsWith('NO FIXED ADDRESS')
inv-add-3errorAddress.postalCodePostal code shall be 4 digits
: matches('^[0-9]{4}$')

This structure is derived from AustralianAddress

Summary

Mandatory: 6 elements
Must-Support: 1 element
Fixed: 1 element
Prohibited: 5 elements

Extensions

This structure refers to these extensions:

 

Other representations of profile: CSV, Excel, Schematron

Notes:

NHSD Address is not applicable in the search context.