New Zealand NHI IG
0.2.0 - CI Build

New Zealand NHI IG, published by David Hay. This is not an authorized publication; it is the continuous build for version 0.2.0). This version is based on the current content of https://github.com/HL7NZ/nhi/ and changes regularly. See the Directory of published versions

Data Type Profile: NhiAddress

Adds additional, NHI specific extensions

The official URL for this profile is:

http://hl7.org.nz/fhir/StructureDefinition/NhiAddress

Formal Views of Profile Content

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

This structure is derived from CommonAddress

NameFlagsCard.TypeDescription & Constraintsdoco
.. Address 0..*CommonAddressAn address expressed using postal conventions (as opposed to GPS or other location definition formats)
... not-validated-address-reason 0..1CodeableConceptThe reason an address was not validated
URL: http://hl7.org.nz/fhir/StructureDefinition/not-validated-address-reason
... is-primary-address 0..1booleanIf true, this is the primary address
URL: http://hl7.org.nz/fhir/StructureDefinition/is-primary-address
... nhi-address-derived 0..1(Complex)Elements that are directly derived from the address
URL: http://hl7.org.nz/fhir/StructureDefinition/nhi-address-derived

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. Address I0..*CommonAddressAn address expressed using postal conventions (as opposed to GPS or other location definition formats)
... id 0..1stringUnique id for inter-element referencing
... extension I0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
... nz-geocode I0..1(Complex)A geocode using the NZ specific datum (reference point)
URL: http://hl7.org.nz/fhir/StructureDefinition/nz-geocode
... building-name I0..1stringThe name of the building
URL: http://hl7.org.nz/fhir/StructureDefinition/building-name
... domicile-code I0..1CodeableConceptThe domicile code associated with this address
URL: http://hl7.org.nz/fhir/StructureDefinition/domicile-code
... not-validated-address-reason I0..1CodeableConceptThe reason an address was not validated
URL: http://hl7.org.nz/fhir/StructureDefinition/not-validated-address-reason
... is-primary-address I0..1booleanIf true, this is the primary address
URL: http://hl7.org.nz/fhir/StructureDefinition/is-primary-address
... nhi-address-derived I0..1(Complex)Elements that are directly derived from the address
URL: http://hl7.org.nz/fhir/StructureDefinition/nhi-address-derived
... use ?!ΣI0..1codehome | work | temp | old | billing - purpose of this address
Binding: AddressUse (required)
Example General: home
... type ΣI0..1codepostal | physical | both
Binding: AddressType (required)
Example General: both
... text ΣI0..1stringText representation of the address
Example General: 137 Nowhere Street, Erewhon 9132
... line ΣI0..*stringStreet 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
... city ΣI0..1stringName of city, town etc.
Example General: Erewhon
... district ΣI0..1stringDistrict name (aka county)
Example General: Madison
... state ΣI0..1stringSub-unit of country (abbreviations ok)
... postalCode ΣI0..1stringPostal code for area
Example General: 9132
... country ΣI0..1stringCountry (e.g. can be ISO 3166 2 or 3 letter code)
... period ΣI0..1PeriodTime period when address was/is in use
Example General: {"start":"2010-03-23","end":"2010-07-01"}

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. Address I0..*CommonAddressAn address expressed using postal conventions (as opposed to GPS or other location definition formats)

doco Documentation for this format

Differential View

This structure is derived from CommonAddress

NameFlagsCard.TypeDescription & Constraintsdoco
.. Address 0..*CommonAddressAn address expressed using postal conventions (as opposed to GPS or other location definition formats)
... not-validated-address-reason 0..1CodeableConceptThe reason an address was not validated
URL: http://hl7.org.nz/fhir/StructureDefinition/not-validated-address-reason
... is-primary-address 0..1booleanIf true, this is the primary address
URL: http://hl7.org.nz/fhir/StructureDefinition/is-primary-address
... nhi-address-derived 0..1(Complex)Elements that are directly derived from the address
URL: http://hl7.org.nz/fhir/StructureDefinition/nhi-address-derived

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Address I0..*CommonAddressAn address expressed using postal conventions (as opposed to GPS or other location definition formats)
... id 0..1stringUnique id for inter-element referencing
... extension I0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
... nz-geocode I0..1(Complex)A geocode using the NZ specific datum (reference point)
URL: http://hl7.org.nz/fhir/StructureDefinition/nz-geocode
... building-name I0..1stringThe name of the building
URL: http://hl7.org.nz/fhir/StructureDefinition/building-name
... domicile-code I0..1CodeableConceptThe domicile code associated with this address
URL: http://hl7.org.nz/fhir/StructureDefinition/domicile-code
... not-validated-address-reason I0..1CodeableConceptThe reason an address was not validated
URL: http://hl7.org.nz/fhir/StructureDefinition/not-validated-address-reason
... is-primary-address I0..1booleanIf true, this is the primary address
URL: http://hl7.org.nz/fhir/StructureDefinition/is-primary-address
... nhi-address-derived I0..1(Complex)Elements that are directly derived from the address
URL: http://hl7.org.nz/fhir/StructureDefinition/nhi-address-derived
... use ?!ΣI0..1codehome | work | temp | old | billing - purpose of this address
Binding: AddressUse (required)
Example General: home
... type ΣI0..1codepostal | physical | both
Binding: AddressType (required)
Example General: both
... text ΣI0..1stringText representation of the address
Example General: 137 Nowhere Street, Erewhon 9132
... line ΣI0..*stringStreet 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
... city ΣI0..1stringName of city, town etc.
Example General: Erewhon
... district ΣI0..1stringDistrict name (aka county)
Example General: Madison
... state ΣI0..1stringSub-unit of country (abbreviations ok)
... postalCode ΣI0..1stringPostal code for area
Example General: 9132
... country ΣI0..1stringCountry (e.g. can be ISO 3166 2 or 3 letter code)
... period ΣI0..1PeriodTime period when address was/is in use
Example General: {"start":"2010-03-23","end":"2010-07-01"}

doco Documentation for this format

 

Other representations of profile: Schematron

Terminology Bindings

PathConformanceValueSet
Address.userequiredAddressUse
Address.typerequiredAddressType

Constraints

IdPathDetailsRequirements