New Zealand HPI Implementation Guide
1.3.1 - Release

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

Resource Profile: HPI Location

Official URL: http://hl7.org.nz/fhir/StructureDefinition/HPILocation Version: 1.3.1
Active as of 2024-03-04 Computable Name: HpiLocation

A physical location from which health goods and/or services are provided. They are also referred to as an HPI Facility.

The Location resource represents named Facilities at which an organisation provides health services

HPI Facilities each have an identifier in the format FXXNNN-C where X is alphanumeric, N is numeric and C is a check character

A facility can only be related to a single organisation (location.managingOrganization).

There can be many facilities at the same address – each related to a different organisation.

An organisation may have multiple facilities at the same address – each with a different purpose.

Usage:

Formal Views of Profile Content

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

This structure is derived from NzLocation

NameFlagsCard.TypeDescription & Constraintsdoco
.. Location NzLocation
... extension:dhb 0..1DhbThe identifier for the DHB that is associated with this location
... extension:established 0..1EstablishedThe date when this location first became available for use
... extension:funded-programme 0..0
... messaging-address 0..1(Complex)Messaging Address
URL: http://hl7.org.nz/fhir/StructureDefinition/messaging-address
... Slices for identifier 1..*IdentifierUnique code or number identifying the location to its users
Slice: Unordered, Open by value:use, value:system
.... identifier:All Slices Content/Rules for all slices
..... use 0..1codeofficial | old
Binding: IdentifierUse (required)
..... type 0..0
..... period 0..0
.... identifier:facId S1..1IdentifierThe current Facility id for this location
..... use 1..1codefixed to official
Fixed Value: official
..... system 1..1uriThe namespace for the identifier value
Fixed Value: https://standards.digital.health.nz/ns/hpi-facility-id
..... assigner 0..1Reference(HPI Organization)Organization that issued id (may be just text)
.... identifier:dormant S0..*IdentifierOld facility id's that have been deprecated
..... use 1..1codefixed to old
Fixed Value: old
..... system 1..1uriThe namespace for the identifier value
Fixed Value: https://standards.digital.health.nz/ns/hpi-facility-id
..... assigner 0..1Reference(HPI Organization)Organization that issued id (may be just text)
.... identifier:legacyFacId 0..1IdentifierThe MOH (NZHIS) Legacy facility code)
..... use 1..1codefixed to official
Fixed Value: official
..... system 1..1uriThe namespace for the identifier value
Fixed Value: https://standards.digital.health.nz/ns/nzhis-facility-id
..... assigner 0..1Reference(HPI Organization)Organization that issued id (may be just text)
... status 0..1codeactive | inactive
Binding: HPI Location Status (required)
... operationalStatus 0..0
... alias
.... extension:alias-type 0..1AliasTypeThe type of alias this is - eg its Maori name
..... valueCodeableConcept 0..1CodeableConceptValue of extension
Binding: HPI Alias Type (Location) (preferred)
... mode 0..0
... type 0..*CodeableConceptType of function performed
Binding: HPI Location Type (required)
... telecom
.... use 0..1codework | temp - purpose of this contact point
Binding: Use values for a ContactPoint (required)
... address 0..1NzAddressAn address expressed using postal conventions (as opposed to GPS or other location definition formats)
.... use 0..1codework | old - purpose of this address
Binding: Address Use for Location (required)
.... country 0..1stringCountry (e.g. can be ISO 3166 2 or 3 letter code)
Binding: ISO 3166-1:2013 (2-alpha country code) (required)
... physicalType 0..0
... position 0..0
... managingOrganization 0..1Reference(HPI Organization)Organization responsible for provisioning and upkeep
... partOf 0..1Reference(HPI Location)Another Location this one is physically a part of
... hoursOfOperation 0..0
... availabilityExceptions 0..0
... endpoint 0..0

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSetURI
Location.identifier.userequiredHpi_IdentfierUse
https://nzhts.digital.health.nz/fhir/ValueSet/hpi-identifier-use-code
Location.statusrequiredHpi_location_status
https://nzhts.digital.health.nz/fhir/ValueSet/hpi-location-status-code
Location.alias.extension:alias-type.valueCodeableConceptpreferredHpi_location_alias_type
https://nzhts.digital.health.nz/fhir/ValueSet/location-alias-type-code
Location.typerequiredHpi_location_type
https://nzhts.digital.health.nz/fhir/ValueSet/location-type-code
Location.telecom.userequiredHpi_ContactPointUse
https://nzhts.digital.health.nz/fhir/ValueSet/hpi-contact-point-use-code
Location.address.userequiredHpi_location_address_use
https://nzhts.digital.health.nz/fhir/ValueSet/hpi-location-address-use-code
Location.address.countryrequiredHpi_country_code_iso_3166_1
https://nzhts.digital.health.nz/fhir/ValueSet/country-code
NameFlagsCard.TypeDescription & Constraintsdoco
.. Location 0..*NzLocationDetails and position information for a physical place
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... dhb 0..1CodeableConceptThe identifier for the DHB that is associated with this location
URL: http://hl7.org.nz/fhir/StructureDefinition/dhb
Binding: District Health Board Identifer (extensible): NZ HPI-ORG Values for DHBs


... established 0..1PeriodThe date when this location first became available for use
URL: http://hl7.org.nz/fhir/StructureDefinition/established
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... Slices for identifier Σ1..*IdentifierUnique code or number identifying the location to its users
Slice: Unordered, Open by value:use, value:system
.... identifier:All Slices Content/Rules for all slices
..... use ?!Σ0..1codeofficial | old
Binding: IdentifierUse (required)
.... identifier:facId SΣ1..1IdentifierThe current Facility id for this location
..... use ?!Σ1..1codefixed to official
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .


Fixed Value: official
..... system Σ1..1uriThe namespace for the identifier value
Fixed Value: https://standards.digital.health.nz/ns/hpi-facility-id
..... assigner Σ0..1Reference(HPI Organization)Organization that issued id (may be just text)
.... identifier:dormant SΣ0..*IdentifierOld facility id's that have been deprecated
..... use ?!Σ1..1codefixed to old
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .


Fixed Value: old
..... system Σ1..1uriThe namespace for the identifier value
Fixed Value: https://standards.digital.health.nz/ns/hpi-facility-id
..... assigner Σ0..1Reference(HPI Organization)Organization that issued id (may be just text)
.... identifier:legacyFacId Σ0..1IdentifierThe MOH (NZHIS) Legacy facility code)
..... use ?!Σ1..1codefixed to official
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .


Fixed Value: official
..... system Σ1..1uriThe namespace for the identifier value
Fixed Value: https://standards.digital.health.nz/ns/nzhis-facility-id
..... assigner Σ0..1Reference(HPI Organization)Organization that issued id (may be just text)
... status ?!Σ0..1codeactive | inactive
Binding: HPI Location Status (required)
... type Σ0..*CodeableConceptType of function performed
Binding: HPI Location Type (required)
... address 0..1NzAddressAn address expressed using postal conventions (as opposed to GPS or other location definition formats)
.... nz-geocode 0..1(Complex)A geocode using the NZ specific datum (reference point)
URL: http://hl7.org.nz/fhir/StructureDefinition/nz-geocode
.... suburb 0..1stringThe suburb part of the address
URL: http://hl7.org.nz/fhir/StructureDefinition/suburb
.... building-name 0..1stringThe name of the building
URL: http://hl7.org.nz/fhir/StructureDefinition/building-name
.... domicile-code 0..1CodeableConceptThe domicile code associated with this address
URL: http://hl7.org.nz/fhir/StructureDefinition/domicile-code
Binding: Domicile Code (preferred)
.... use ?!Σ0..1codework | old - purpose of this address
Binding: Address Use for Location (required)
Example General: home
.... country Σ0..1stringCountry (e.g. can be ISO 3166 2 or 3 letter code)
Binding: ISO 3166-1:2013 (2-alpha country code) (required)
... managingOrganization Σ0..1Reference(HPI Organization)Organization responsible for provisioning and upkeep
... partOf 0..1Reference(HPI Location)Another Location this one is physically a part of

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / CodeURI
Location.identifier.userequiredHpi_IdentfierUse
https://nzhts.digital.health.nz/fhir/ValueSet/hpi-identifier-use-code
Location.identifier:facId.userequiredFixed Value: official
http://hl7.org/fhir/ValueSet/identifier-use|4.0.1
from the FHIR Standard
Location.identifier:dormant.userequiredFixed Value: old
http://hl7.org/fhir/ValueSet/identifier-use|4.0.1
from the FHIR Standard
Location.identifier:legacyFacId.userequiredFixed Value: official
http://hl7.org/fhir/ValueSet/identifier-use|4.0.1
from the FHIR Standard
Location.statusrequiredHpi_location_status
https://nzhts.digital.health.nz/fhir/ValueSet/hpi-location-status-code
Location.typerequiredHpi_location_type
https://nzhts.digital.health.nz/fhir/ValueSet/location-type-code
Location.address.userequiredHpi_location_address_use
https://nzhts.digital.health.nz/fhir/ValueSet/hpi-location-address-use-code
Location.address.countryrequiredHpi_country_code_iso_3166_1
https://nzhts.digital.health.nz/fhir/ValueSet/country-code
NameFlagsCard.TypeDescription & Constraintsdoco
.. Location 0..*NzLocationDetails and position information for a physical place
... id Σ0..1idLogical id of this artifact
... meta Σ0..1MetaMetadata about the resource
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... text 0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
... dhb 0..1CodeableConceptThe identifier for the DHB that is associated with this location
URL: http://hl7.org.nz/fhir/StructureDefinition/dhb
Binding: District Health Board Identifer (extensible): NZ HPI-ORG Values for DHBs


... established 0..1PeriodThe date when this location first became available for use
URL: http://hl7.org.nz/fhir/StructureDefinition/established
... messaging-address 0..1(Complex)Messaging Address
URL: http://hl7.org.nz/fhir/StructureDefinition/messaging-address
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... Slices for identifier Σ1..*IdentifierUnique code or number identifying the location to its users
Slice: Unordered, Open by value:use, value:system
.... identifier:All Slices Content/Rules for all slices
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
..... use ?!Σ0..1codeofficial | old
Binding: IdentifierUse (required)
..... system Σ0..1uriThe namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
..... value Σ0..1stringThe value that is unique
Example General: 123456
..... assigner Σ0..1Reference(Organization)Organization that issued id (may be just text)
.... identifier:facId SΣ1..1IdentifierThe current Facility id for this location
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
..... use ?!Σ1..1codefixed to official
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .


Fixed Value: official
..... type Σ0..1CodeableConceptDescription of identifier
Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.

..... system Σ1..1uriThe namespace for the identifier value
Fixed Value: https://standards.digital.health.nz/ns/hpi-facility-id
..... value Σ0..1stringThe value that is unique
Example General: 123456
..... period Σ0..1PeriodTime period when id is/was valid for use
..... assigner Σ0..1Reference(HPI Organization)Organization that issued id (may be just text)
.... identifier:dormant SΣ0..*IdentifierOld facility id's that have been deprecated
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
..... use ?!Σ1..1codefixed to old
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .


Fixed Value: old
..... type Σ0..1CodeableConceptDescription of identifier
Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.

..... system Σ1..1uriThe namespace for the identifier value
Fixed Value: https://standards.digital.health.nz/ns/hpi-facility-id
..... value Σ0..1stringThe value that is unique
Example General: 123456
..... period Σ0..1PeriodTime period when id is/was valid for use
..... assigner Σ0..1Reference(HPI Organization)Organization that issued id (may be just text)
.... identifier:legacyFacId Σ0..1IdentifierThe MOH (NZHIS) Legacy facility code)
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
..... use ?!Σ1..1codefixed to official
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .


Fixed Value: official
..... type Σ0..1CodeableConceptDescription of identifier
Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.

..... system Σ1..1uriThe namespace for the identifier value
Fixed Value: https://standards.digital.health.nz/ns/nzhis-facility-id
..... value Σ0..1stringThe value that is unique
Example General: 123456
..... period Σ0..1PeriodTime period when id is/was valid for use
..... assigner Σ0..1Reference(HPI Organization)Organization that issued id (may be just text)
... status ?!Σ0..1codeactive | inactive
Binding: HPI Location Status (required)
... name Σ0..1stringName of the location as used by humans
... alias 0..*stringA list of alternate names that the location is known as, or was known as, in the past
.... id 0..1stringxml:id (or equivalent in JSON)
.... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
.... alias-type 0..1CodeableConceptThe type of alias this is - eg its Maori name
URL: http://hl7.org.nz/fhir/StructureDefinition/alias-type
Binding: Alias types (preferred)
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..0
..... url 1..1uri"http://hl7.org.nz/fhir/StructureDefinition/alias-type"
..... Slices for value[x] 0..1CodeableConceptValue of extension
Slice: Unordered, Closed by type:$this
...... value[x]:valueCodeableConcept 0..1CodeableConceptValue of extension
Binding: HPI Alias Type (Location) (preferred)
.... value 0..1stringPrimitive value for string
Max Length: 1048576
... description Σ0..1stringAdditional details about the location that could be displayed as further information to identify the location beyond its name
... type Σ0..*CodeableConceptType of function performed
Binding: HPI Location Type (required)
... telecom 0..*ContactPointContact details of the location
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... system ΣC0..1codephone | fax | email | pager | url | sms | other
Binding: ContactPointSystem (required): Telecommunications form for contact point.

.... value Σ0..1stringThe actual contact point details
.... use ?!Σ0..1codework | temp - purpose of this contact point
Binding: Use values for a ContactPoint (required)
.... rank Σ0..1positiveIntSpecify preferred order of use (1 = highest)
.... period Σ0..1PeriodTime period when the contact point was/is in use
... address 0..1NzAddressAn address expressed using postal conventions (as opposed to GPS or other location definition formats)
.... id 0..1stringUnique id for inter-element referencing
.... Slices for extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... nz-geocode 0..1(Complex)A geocode using the NZ specific datum (reference point)
URL: http://hl7.org.nz/fhir/StructureDefinition/nz-geocode
.... suburb 0..1stringThe suburb part of the address
URL: http://hl7.org.nz/fhir/StructureDefinition/suburb
.... building-name 0..1stringThe name of the building
URL: http://hl7.org.nz/fhir/StructureDefinition/building-name
.... domicile-code 0..1CodeableConceptThe domicile code associated with this address
URL: http://hl7.org.nz/fhir/StructureDefinition/domicile-code
Binding: Domicile Code (preferred)
.... use ?!Σ0..1codework | old - purpose of this address
Binding: Address Use for Location (required)
Example General: home
.... type Σ0..1codepostal | physical | both
Binding: AddressType (required): The type of an address (physical / postal).


Example General: both
.... text Σ0..1stringText representation of the address
Example General: 137 Nowhere Street, Erewhon 9132
.... line Σ0..*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 Σ0..1stringName of city, town etc.
Example General: Erewhon
.... district Σ0..1stringDistrict name (aka county)
Example General: Madison
.... state Σ0..1stringSub-unit of country (abbreviations ok)
.... postalCode Σ0..1stringPostal code for area
Example General: 9132
.... country Σ0..1stringCountry (e.g. can be ISO 3166 2 or 3 letter code)
Binding: ISO 3166-1:2013 (2-alpha country code) (required)
.... period Σ0..1PeriodTime period when address was/is in use
Example General: {"start":"2010-03-23","end":"2010-07-01"}
... managingOrganization Σ0..1Reference(HPI Organization)Organization responsible for provisioning and upkeep
... partOf 0..1Reference(HPI Location)Another Location this one is physically a part of

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / CodeURI
Location.languagepreferredCommonLanguages
Additional Bindings Purpose
AllLanguages Max Binding
http://hl7.org/fhir/ValueSet/languages
from the FHIR Standard
Location.identifier.userequiredHpi_IdentfierUse
https://nzhts.digital.health.nz/fhir/ValueSet/hpi-identifier-use-code
Location.identifier:facId.userequiredFixed Value: official
http://hl7.org/fhir/ValueSet/identifier-use|4.0.1
from the FHIR Standard
Location.identifier:facId.typeextensibleIdentifier Type Codes
http://hl7.org/fhir/ValueSet/identifier-type
from the FHIR Standard
Location.identifier:dormant.userequiredFixed Value: old
http://hl7.org/fhir/ValueSet/identifier-use|4.0.1
from the FHIR Standard
Location.identifier:dormant.typeextensibleIdentifier Type Codes
http://hl7.org/fhir/ValueSet/identifier-type
from the FHIR Standard
Location.identifier:legacyFacId.userequiredFixed Value: official
http://hl7.org/fhir/ValueSet/identifier-use|4.0.1
from the FHIR Standard
Location.identifier:legacyFacId.typeextensibleIdentifier Type Codes
http://hl7.org/fhir/ValueSet/identifier-type
from the FHIR Standard
Location.statusrequiredHpi_location_status
https://nzhts.digital.health.nz/fhir/ValueSet/hpi-location-status-code
Location.alias.extension:alias-type.value[x]:valueCodeableConceptpreferredHpi_location_alias_type
https://nzhts.digital.health.nz/fhir/ValueSet/location-alias-type-code
Location.typerequiredHpi_location_type
https://nzhts.digital.health.nz/fhir/ValueSet/location-type-code
Location.telecom.systemrequiredContactPointSystem
http://hl7.org/fhir/ValueSet/contact-point-system|4.0.1
from the FHIR Standard
Location.telecom.userequiredHpi_ContactPointUse
https://nzhts.digital.health.nz/fhir/ValueSet/hpi-contact-point-use-code
Location.address.userequiredHpi_location_address_use
https://nzhts.digital.health.nz/fhir/ValueSet/hpi-location-address-use-code
Location.address.typerequiredAddressType
http://hl7.org/fhir/ValueSet/address-type|4.0.1
from the FHIR Standard
Location.address.countryrequiredHpi_country_code_iso_3166_1
https://nzhts.digital.health.nz/fhir/ValueSet/country-code
Location.hoursOfOperation.daysOfWeekrequiredDaysOfWeek
http://hl7.org/fhir/ValueSet/days-of-week|4.0.1
from the FHIR Standard

This structure is derived from NzLocation

Summary

Mandatory: 4 elements (4 nested mandatory elements)
Must-Support: 2 elements
Fixed Value: 6 elements
Prohibited: 11 elements

Structures

This structure refers to these other structures:

Extensions

This structure refers to these extensions:

Slices

This structure defines the following Slices:

  • The element Location.identifier is sliced based on the values of value:use, value:system

Differential View

This structure is derived from NzLocation

NameFlagsCard.TypeDescription & Constraintsdoco
.. Location NzLocation
... extension:dhb 0..1DhbThe identifier for the DHB that is associated with this location
... extension:established 0..1EstablishedThe date when this location first became available for use
... extension:funded-programme 0..0
... messaging-address 0..1(Complex)Messaging Address
URL: http://hl7.org.nz/fhir/StructureDefinition/messaging-address
... Slices for identifier 1..*IdentifierUnique code or number identifying the location to its users
Slice: Unordered, Open by value:use, value:system
.... identifier:All Slices Content/Rules for all slices
..... use 0..1codeofficial | old
Binding: IdentifierUse (required)
..... type 0..0
..... period 0..0
.... identifier:facId S1..1IdentifierThe current Facility id for this location
..... use 1..1codefixed to official
Fixed Value: official
..... system 1..1uriThe namespace for the identifier value
Fixed Value: https://standards.digital.health.nz/ns/hpi-facility-id
..... assigner 0..1Reference(HPI Organization)Organization that issued id (may be just text)
.... identifier:dormant S0..*IdentifierOld facility id's that have been deprecated
..... use 1..1codefixed to old
Fixed Value: old
..... system 1..1uriThe namespace for the identifier value
Fixed Value: https://standards.digital.health.nz/ns/hpi-facility-id
..... assigner 0..1Reference(HPI Organization)Organization that issued id (may be just text)
.... identifier:legacyFacId 0..1IdentifierThe MOH (NZHIS) Legacy facility code)
..... use 1..1codefixed to official
Fixed Value: official
..... system 1..1uriThe namespace for the identifier value
Fixed Value: https://standards.digital.health.nz/ns/nzhis-facility-id
..... assigner 0..1Reference(HPI Organization)Organization that issued id (may be just text)
... status 0..1codeactive | inactive
Binding: HPI Location Status (required)
... operationalStatus 0..0
... alias
.... extension:alias-type 0..1AliasTypeThe type of alias this is - eg its Maori name
..... valueCodeableConcept 0..1CodeableConceptValue of extension
Binding: HPI Alias Type (Location) (preferred)
... mode 0..0
... type 0..*CodeableConceptType of function performed
Binding: HPI Location Type (required)
... telecom
.... use 0..1codework | temp - purpose of this contact point
Binding: Use values for a ContactPoint (required)
... address 0..1NzAddressAn address expressed using postal conventions (as opposed to GPS or other location definition formats)
.... use 0..1codework | old - purpose of this address
Binding: Address Use for Location (required)
.... country 0..1stringCountry (e.g. can be ISO 3166 2 or 3 letter code)
Binding: ISO 3166-1:2013 (2-alpha country code) (required)
... physicalType 0..0
... position 0..0
... managingOrganization 0..1Reference(HPI Organization)Organization responsible for provisioning and upkeep
... partOf 0..1Reference(HPI Location)Another Location this one is physically a part of
... hoursOfOperation 0..0
... availabilityExceptions 0..0
... endpoint 0..0

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSetURI
Location.identifier.userequiredHpi_IdentfierUse
https://nzhts.digital.health.nz/fhir/ValueSet/hpi-identifier-use-code
Location.statusrequiredHpi_location_status
https://nzhts.digital.health.nz/fhir/ValueSet/hpi-location-status-code
Location.alias.extension:alias-type.valueCodeableConceptpreferredHpi_location_alias_type
https://nzhts.digital.health.nz/fhir/ValueSet/location-alias-type-code
Location.typerequiredHpi_location_type
https://nzhts.digital.health.nz/fhir/ValueSet/location-type-code
Location.telecom.userequiredHpi_ContactPointUse
https://nzhts.digital.health.nz/fhir/ValueSet/hpi-contact-point-use-code
Location.address.userequiredHpi_location_address_use
https://nzhts.digital.health.nz/fhir/ValueSet/hpi-location-address-use-code
Location.address.countryrequiredHpi_country_code_iso_3166_1
https://nzhts.digital.health.nz/fhir/ValueSet/country-code

Key Elements View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Location 0..*NzLocationDetails and position information for a physical place
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... dhb 0..1CodeableConceptThe identifier for the DHB that is associated with this location
URL: http://hl7.org.nz/fhir/StructureDefinition/dhb
Binding: District Health Board Identifer (extensible): NZ HPI-ORG Values for DHBs


... established 0..1PeriodThe date when this location first became available for use
URL: http://hl7.org.nz/fhir/StructureDefinition/established
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... Slices for identifier Σ1..*IdentifierUnique code or number identifying the location to its users
Slice: Unordered, Open by value:use, value:system
.... identifier:All Slices Content/Rules for all slices
..... use ?!Σ0..1codeofficial | old
Binding: IdentifierUse (required)
.... identifier:facId SΣ1..1IdentifierThe current Facility id for this location
..... use ?!Σ1..1codefixed to official
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .


Fixed Value: official
..... system Σ1..1uriThe namespace for the identifier value
Fixed Value: https://standards.digital.health.nz/ns/hpi-facility-id
..... assigner Σ0..1Reference(HPI Organization)Organization that issued id (may be just text)
.... identifier:dormant SΣ0..*IdentifierOld facility id's that have been deprecated
..... use ?!Σ1..1codefixed to old
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .


Fixed Value: old
..... system Σ1..1uriThe namespace for the identifier value
Fixed Value: https://standards.digital.health.nz/ns/hpi-facility-id
..... assigner Σ0..1Reference(HPI Organization)Organization that issued id (may be just text)
.... identifier:legacyFacId Σ0..1IdentifierThe MOH (NZHIS) Legacy facility code)
..... use ?!Σ1..1codefixed to official
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .


Fixed Value: official
..... system Σ1..1uriThe namespace for the identifier value
Fixed Value: https://standards.digital.health.nz/ns/nzhis-facility-id
..... assigner Σ0..1Reference(HPI Organization)Organization that issued id (may be just text)
... status ?!Σ0..1codeactive | inactive
Binding: HPI Location Status (required)
... type Σ0..*CodeableConceptType of function performed
Binding: HPI Location Type (required)
... address 0..1NzAddressAn address expressed using postal conventions (as opposed to GPS or other location definition formats)
.... nz-geocode 0..1(Complex)A geocode using the NZ specific datum (reference point)
URL: http://hl7.org.nz/fhir/StructureDefinition/nz-geocode
.... suburb 0..1stringThe suburb part of the address
URL: http://hl7.org.nz/fhir/StructureDefinition/suburb
.... building-name 0..1stringThe name of the building
URL: http://hl7.org.nz/fhir/StructureDefinition/building-name
.... domicile-code 0..1CodeableConceptThe domicile code associated with this address
URL: http://hl7.org.nz/fhir/StructureDefinition/domicile-code
Binding: Domicile Code (preferred)
.... use ?!Σ0..1codework | old - purpose of this address
Binding: Address Use for Location (required)
Example General: home
.... country Σ0..1stringCountry (e.g. can be ISO 3166 2 or 3 letter code)
Binding: ISO 3166-1:2013 (2-alpha country code) (required)
... managingOrganization Σ0..1Reference(HPI Organization)Organization responsible for provisioning and upkeep
... partOf 0..1Reference(HPI Location)Another Location this one is physically a part of

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / CodeURI
Location.identifier.userequiredHpi_IdentfierUse
https://nzhts.digital.health.nz/fhir/ValueSet/hpi-identifier-use-code
Location.identifier:facId.userequiredFixed Value: official
http://hl7.org/fhir/ValueSet/identifier-use|4.0.1
from the FHIR Standard
Location.identifier:dormant.userequiredFixed Value: old
http://hl7.org/fhir/ValueSet/identifier-use|4.0.1
from the FHIR Standard
Location.identifier:legacyFacId.userequiredFixed Value: official
http://hl7.org/fhir/ValueSet/identifier-use|4.0.1
from the FHIR Standard
Location.statusrequiredHpi_location_status
https://nzhts.digital.health.nz/fhir/ValueSet/hpi-location-status-code
Location.typerequiredHpi_location_type
https://nzhts.digital.health.nz/fhir/ValueSet/location-type-code
Location.address.userequiredHpi_location_address_use
https://nzhts.digital.health.nz/fhir/ValueSet/hpi-location-address-use-code
Location.address.countryrequiredHpi_country_code_iso_3166_1
https://nzhts.digital.health.nz/fhir/ValueSet/country-code

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Location 0..*NzLocationDetails and position information for a physical place
... id Σ0..1idLogical id of this artifact
... meta Σ0..1MetaMetadata about the resource
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... text 0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
... dhb 0..1CodeableConceptThe identifier for the DHB that is associated with this location
URL: http://hl7.org.nz/fhir/StructureDefinition/dhb
Binding: District Health Board Identifer (extensible): NZ HPI-ORG Values for DHBs


... established 0..1PeriodThe date when this location first became available for use
URL: http://hl7.org.nz/fhir/StructureDefinition/established
... messaging-address 0..1(Complex)Messaging Address
URL: http://hl7.org.nz/fhir/StructureDefinition/messaging-address
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... Slices for identifier Σ1..*IdentifierUnique code or number identifying the location to its users
Slice: Unordered, Open by value:use, value:system
.... identifier:All Slices Content/Rules for all slices
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
..... use ?!Σ0..1codeofficial | old
Binding: IdentifierUse (required)
..... system Σ0..1uriThe namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
..... value Σ0..1stringThe value that is unique
Example General: 123456
..... assigner Σ0..1Reference(Organization)Organization that issued id (may be just text)
.... identifier:facId SΣ1..1IdentifierThe current Facility id for this location
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
..... use ?!Σ1..1codefixed to official
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .


Fixed Value: official
..... type Σ0..1CodeableConceptDescription of identifier
Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.

..... system Σ1..1uriThe namespace for the identifier value
Fixed Value: https://standards.digital.health.nz/ns/hpi-facility-id
..... value Σ0..1stringThe value that is unique
Example General: 123456
..... period Σ0..1PeriodTime period when id is/was valid for use
..... assigner Σ0..1Reference(HPI Organization)Organization that issued id (may be just text)
.... identifier:dormant SΣ0..*IdentifierOld facility id's that have been deprecated
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
..... use ?!Σ1..1codefixed to old
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .


Fixed Value: old
..... type Σ0..1CodeableConceptDescription of identifier
Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.

..... system Σ1..1uriThe namespace for the identifier value
Fixed Value: https://standards.digital.health.nz/ns/hpi-facility-id
..... value Σ0..1stringThe value that is unique
Example General: 123456
..... period Σ0..1PeriodTime period when id is/was valid for use
..... assigner Σ0..1Reference(HPI Organization)Organization that issued id (may be just text)
.... identifier:legacyFacId Σ0..1IdentifierThe MOH (NZHIS) Legacy facility code)
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
..... use ?!Σ1..1codefixed to official
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .


Fixed Value: official
..... type Σ0..1CodeableConceptDescription of identifier
Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.

..... system Σ1..1uriThe namespace for the identifier value
Fixed Value: https://standards.digital.health.nz/ns/nzhis-facility-id
..... value Σ0..1stringThe value that is unique
Example General: 123456
..... period Σ0..1PeriodTime period when id is/was valid for use
..... assigner Σ0..1Reference(HPI Organization)Organization that issued id (may be just text)
... status ?!Σ0..1codeactive | inactive
Binding: HPI Location Status (required)
... name Σ0..1stringName of the location as used by humans
... alias 0..*stringA list of alternate names that the location is known as, or was known as, in the past
.... id 0..1stringxml:id (or equivalent in JSON)
.... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
.... alias-type 0..1CodeableConceptThe type of alias this is - eg its Maori name
URL: http://hl7.org.nz/fhir/StructureDefinition/alias-type
Binding: Alias types (preferred)
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..0
..... url 1..1uri"http://hl7.org.nz/fhir/StructureDefinition/alias-type"
..... Slices for value[x] 0..1CodeableConceptValue of extension
Slice: Unordered, Closed by type:$this
...... value[x]:valueCodeableConcept 0..1CodeableConceptValue of extension
Binding: HPI Alias Type (Location) (preferred)
.... value 0..1stringPrimitive value for string
Max Length: 1048576
... description Σ0..1stringAdditional details about the location that could be displayed as further information to identify the location beyond its name
... type Σ0..*CodeableConceptType of function performed
Binding: HPI Location Type (required)
... telecom 0..*ContactPointContact details of the location
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... system ΣC0..1codephone | fax | email | pager | url | sms | other
Binding: ContactPointSystem (required): Telecommunications form for contact point.

.... value Σ0..1stringThe actual contact point details
.... use ?!Σ0..1codework | temp - purpose of this contact point
Binding: Use values for a ContactPoint (required)
.... rank Σ0..1positiveIntSpecify preferred order of use (1 = highest)
.... period Σ0..1PeriodTime period when the contact point was/is in use
... address 0..1NzAddressAn address expressed using postal conventions (as opposed to GPS or other location definition formats)
.... id 0..1stringUnique id for inter-element referencing
.... Slices for extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... nz-geocode 0..1(Complex)A geocode using the NZ specific datum (reference point)
URL: http://hl7.org.nz/fhir/StructureDefinition/nz-geocode
.... suburb 0..1stringThe suburb part of the address
URL: http://hl7.org.nz/fhir/StructureDefinition/suburb
.... building-name 0..1stringThe name of the building
URL: http://hl7.org.nz/fhir/StructureDefinition/building-name
.... domicile-code 0..1CodeableConceptThe domicile code associated with this address
URL: http://hl7.org.nz/fhir/StructureDefinition/domicile-code
Binding: Domicile Code (preferred)
.... use ?!Σ0..1codework | old - purpose of this address
Binding: Address Use for Location (required)
Example General: home
.... type Σ0..1codepostal | physical | both
Binding: AddressType (required): The type of an address (physical / postal).


Example General: both
.... text Σ0..1stringText representation of the address
Example General: 137 Nowhere Street, Erewhon 9132
.... line Σ0..*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 Σ0..1stringName of city, town etc.
Example General: Erewhon
.... district Σ0..1stringDistrict name (aka county)
Example General: Madison
.... state Σ0..1stringSub-unit of country (abbreviations ok)
.... postalCode Σ0..1stringPostal code for area
Example General: 9132
.... country Σ0..1stringCountry (e.g. can be ISO 3166 2 or 3 letter code)
Binding: ISO 3166-1:2013 (2-alpha country code) (required)
.... period Σ0..1PeriodTime period when address was/is in use
Example General: {"start":"2010-03-23","end":"2010-07-01"}
... managingOrganization Σ0..1Reference(HPI Organization)Organization responsible for provisioning and upkeep
... partOf 0..1Reference(HPI Location)Another Location this one is physically a part of

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / CodeURI
Location.languagepreferredCommonLanguages
Additional Bindings Purpose
AllLanguages Max Binding
http://hl7.org/fhir/ValueSet/languages
from the FHIR Standard
Location.identifier.userequiredHpi_IdentfierUse
https://nzhts.digital.health.nz/fhir/ValueSet/hpi-identifier-use-code
Location.identifier:facId.userequiredFixed Value: official
http://hl7.org/fhir/ValueSet/identifier-use|4.0.1
from the FHIR Standard
Location.identifier:facId.typeextensibleIdentifier Type Codes
http://hl7.org/fhir/ValueSet/identifier-type
from the FHIR Standard
Location.identifier:dormant.userequiredFixed Value: old
http://hl7.org/fhir/ValueSet/identifier-use|4.0.1
from the FHIR Standard
Location.identifier:dormant.typeextensibleIdentifier Type Codes
http://hl7.org/fhir/ValueSet/identifier-type
from the FHIR Standard
Location.identifier:legacyFacId.userequiredFixed Value: official
http://hl7.org/fhir/ValueSet/identifier-use|4.0.1
from the FHIR Standard
Location.identifier:legacyFacId.typeextensibleIdentifier Type Codes
http://hl7.org/fhir/ValueSet/identifier-type
from the FHIR Standard
Location.statusrequiredHpi_location_status
https://nzhts.digital.health.nz/fhir/ValueSet/hpi-location-status-code
Location.alias.extension:alias-type.value[x]:valueCodeableConceptpreferredHpi_location_alias_type
https://nzhts.digital.health.nz/fhir/ValueSet/location-alias-type-code
Location.typerequiredHpi_location_type
https://nzhts.digital.health.nz/fhir/ValueSet/location-type-code
Location.telecom.systemrequiredContactPointSystem
http://hl7.org/fhir/ValueSet/contact-point-system|4.0.1
from the FHIR Standard
Location.telecom.userequiredHpi_ContactPointUse
https://nzhts.digital.health.nz/fhir/ValueSet/hpi-contact-point-use-code
Location.address.userequiredHpi_location_address_use
https://nzhts.digital.health.nz/fhir/ValueSet/hpi-location-address-use-code
Location.address.typerequiredAddressType
http://hl7.org/fhir/ValueSet/address-type|4.0.1
from the FHIR Standard
Location.address.countryrequiredHpi_country_code_iso_3166_1
https://nzhts.digital.health.nz/fhir/ValueSet/country-code
Location.hoursOfOperation.daysOfWeekrequiredDaysOfWeek
http://hl7.org/fhir/ValueSet/days-of-week|4.0.1
from the FHIR Standard

This structure is derived from NzLocation

Summary

Mandatory: 4 elements (4 nested mandatory elements)
Must-Support: 2 elements
Fixed Value: 6 elements
Prohibited: 11 elements

Structures

This structure refers to these other structures:

Extensions

This structure refers to these extensions:

Slices

This structure defines the following Slices:

  • The element Location.identifier is sliced based on the values of value:use, value:system

 

Other representations of profile: CSV, Excel, Schematron