HL7® FHIR® New Zealand Base Implementation Guide
3.0.1 - Draft

HL7® FHIR® New Zealand Base Implementation Guide - Local Development build (v3.0.1) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

## Extension: NZ Domicile Code

Official URL: http://hl7.org.nz/fhir/StructureDefinition/domicile-code | Version: 0.1.0
Active as of 2020-07-20 | Computable Name: Domicile_code
Copyright/Legal: HL7 New Zealand© 2020+; Licensed Under Creative Commons No Rights Reserved.

NZ Domicile Code. Derived from a patient's primary physical, home address.

Context of Use

This extension may be used on the following element(s):

- Element ID Patient
- Element ID Address

Example of extension

      <extension url="http://hl7.org.nz/fhir/StructureDefinition/domicile-code">
        <valueCodeableConcept>
          <coding>
            <system value="https://standards.digital.health.nz/ns/domicile-code"/>
            <code value="0040"/>
            <display value="Waipu"/>
          </coding>
        </valueCodeableConcept>
      </extension>

Example instances

Patient with domicile code

Usage info

Usage:

- Use this Extension: Common NZ Address datatype and NZ Patient
- Examples for this Extension: Patient/patient-domicile-code

### Formal Views of Extension Content

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

- Text Summary
- Differential Table
- Snapshot Table
- All

This structure is derived from Extension

Summary

Simple Extension of type CodeableConcept: NZ Domicile Code. Derived from a patient's primary physical, home address.

This structure is derived from Extension

Name | Flags | Card. | Type | Description & Constraints
--- | --- | --- | --- | ---
Extension |  | 0..* | Extension | NZ Domicile Code
extension |  | 0..0 |  |
url |  | 1..1 | uri | "http://hl7.org.nz/fhir/StructureDefinition/domicile-code"
value[x] |  | 0..1 | CodeableConcept | Value of extension Binding: Domicile Code (preferred)
Documentation for this format

Name | Flags | Card. | Type | Description & Constraints
--- | --- | --- | --- | ---
Extension |  | 0..* | Extension | NZ Domicile Code
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..0 |  |
url |  | 1..1 | uri | "http://hl7.org.nz/fhir/StructureDefinition/domicile-code"
value[x] |  | 0..1 | CodeableConcept | Value of extension Binding: Domicile Code (preferred)
Documentation for this format

This structure is derived from Extension

Summary

Simple Extension of type CodeableConcept: NZ Domicile Code. Derived from a patient's primary physical, home address.

Differential View

This structure is derived from Extension

Name | Flags | Card. | Type | Description & Constraints
--- | --- | --- | --- | ---
Extension |  | 0..* | Extension | NZ Domicile Code
extension |  | 0..0 |  |
url |  | 1..1 | uri | "http://hl7.org.nz/fhir/StructureDefinition/domicile-code"
value[x] |  | 0..1 | CodeableConcept | Value of extension Binding: Domicile Code (preferred)
Documentation for this format

Snapshot View

Name | Flags | Card. | Type | Description & Constraints
--- | --- | --- | --- | ---
Extension |  | 0..* | Extension | NZ Domicile Code
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..0 |  |
url |  | 1..1 | uri | "http://hl7.org.nz/fhir/StructureDefinition/domicile-code"
value[x] |  | 0..1 | CodeableConcept | Value of extension Binding: Domicile Code (preferred)
Documentation for this format

Other representations of profile: CSV, Excel, Schematron

#### Terminology Bindings

Path | Conformance | ValueSet | URI
Extension.value[x] | preferred | DomicileCode (a valid code from Domicile Code) `https://nzhts.digital.health.nz/fhir/ValueSet/domicile-code` from this IG