New Zealand NHI IG
1.4.1 - Release

New Zealand NHI IG - Local Development build (v1.4.1) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

Resource Profile: NHI Patient

Official URL: http://hl7.org.nz/fhir/StructureDefinition/NhiPatient Version: 1.4.1
Active as of 2024-01-24 Computable Name: NhiPatient

The Patient resource exposed by the NHI.

Describe the Patient resource exposed by the NHI

Core NHI Profile attributes

The NHI Patient resource represents the nationally held identity data for a patient.

This includes the core NHI Profile attributes:

  • name (including alternative names such as maiden names)
  • NHI number (live and any dormants)
  • address
  • date of birth
  • gender
  • New Zealand citizenship status
  • place of birth
  • ethnicity
  • date of death

The core NHI Profile attributes are returned to all users that have read and/or $match access to the NHI

Key differences from HL7 FHIR Patient specification

  • Ethnicity extension
  • NZ Citizenship extension
  • Dhb extension
  • Birthplace extension
  • Name
    • information source extension
    • preferred extension
    • nhi-name-use-extra extension
  • Gender original text extension
  • Birthdate information source extension
  • Deceased date information source extension
  • Address
    • nz-geocode extension
    • suburb extension
    • building-name extension
    • domicile-code extension
    • notValidatedAddressReason extension
    • nz-address-id extension
    • nz-address-derived extension

New NHI Number Format and check digit calculation

For more information click here for website links or click here for the consumer health identity standard, that includes the check digit calculation.

Patient’s General Practice

The details for a patient’s General Practice (GP) are returned in the NHI Patient Profile to users who have permission to access a patient’s National Enrolment Service (NES) information.

This is an additional permission required on your NHI FHIR account.

The NES details are maintained in real time in the NES database, which holds the relationship of a Patient (NHI number), to their GP Practice (hpi-organisation-id), GP clinic (hpi-facility-id) and where available the patient’s usual doctor (hpi-person-id / CPN).

Changes to the NES in October 2023 allows a patient’s GP Practice details to be recorded for both patients that are funded and also patients who are registered with a practice but not eligible for PHO funding. This change allows the Get Patient response to return the GP Practice details for both types of patients.

The expiry date for a registered patient is set to 01/01/2100 whereas the expiry date for an enrolled patient is never more than 3 years in the future.

For more information on what is available in the NES FHIR API please see NES UAT Implementation guide.

In the NHI the patient’s GP is only returned with a read on the resource. It is not returned in the $match response – even if a user has the correct permissions.

The patient version-id does not change when the GP changes. This is because the patient’s GP is not held in the NHI but is retrieved from the National Enrolment Service and returned along with the NHI details in the NHI Patient profile. The patient version-id only reflects changes to details held on the NHI.

For information on enrolment history, re-enrolment dates, enrolment status, or the last visit date (qualified encounter date) please subscribe to the NES.

A subset of the NES enrolment information is returned in the NHI FHIR GET response.

Enrolment information is returned in two places in the NHI patient profile:

  • the “generalPractitioner” attribute: This is the NES enrolment id.
  • the “contained” PractitionerRole resource: This holds the NES enrolment information as described below.

NES to FHIR mapping

FHIR attribute (PractitionerRole Resource) NES Enrolment Information Description
id The NES enrolment id Unique identifier of the patient's enrolment record.
This will change when a patient transfers to a new practice, but will not reflect minor changes within an enrolment.
Period.start enrolment.startDate The date on which the Enrolment starts
Period.end enrolment.expiryDate The future date on which the Enrolment will expire.
Practitioner (reference / display) Practitioner identifier (CPN) and name The hpi-person-id (CPN) and name of the Practitioner who primarily provides the service to the person.
Organization (reference / display) enrolling organisation ID and name The hpi-organisation-id and name of the Organisation who the person enrols with for the Heath Service.
Location (reference / display) Facility ID and name The hpi-facility-id and name of the Facility where the person primarily receives the service.

Example of contained resource

"contained": [
        {
            "resourceType": "PractitionerRole",
            "id": "525599",
            "period": {
                "start": "2023-01-26T00:00:00+13:00",
                "end": "2026-01-26T00:00:00+13:00"
            },
            "practitioner": {
                "reference": "Practitioner/25ADNX",
                "display": "Dr Nick"
            },
            "organization": {
                "reference": "Organization/GAAAAA-0"
                "display": "Riviera Health Care"
            },
            "location": [
                {
                    "reference": "Location/FZZ862-H",
                    "display": "Dr Nick's Guaranteed Health Clinic"
                }
            ]
        }
    ]

Patient’s Contact details

The patient’s contact details are returned in the Patient.telecom attribute to users who have permission to access Patient Preferences. This is an additional permission required on your NHI FHIR account.

The contact details are only returned with a read on the resource. They are not returned in the $match response – even if a user has the correct permissions.

The patient version-id does not change when the patient’s contact details change. This is because the patient’s contact details are not held in the NHI but are retrieved from the National Enrolment Service and returned along with the NHI details in the NHI Patient profile. The Patient Version-id only reflects changes to details held on the NHI.

The information returned may include:

  • Email address
  • Home phone number
  • Mobile phone number

Example of Patient contact details

    "telecom": [
        {
            "system": "email",
            "value": "test.contact@testContact.com",
            "use": "home"
        },
        {
            "system": "phone",
            "value": "0275151510",
            "use": "mobile"
        },
        {
            "system": "phone",
            "value": "045882334",
            "use": "home"
        }

Usage:

Formal Views of Profile Content

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

This structure is derived from NzPatient

NameFlagsCard.TypeDescription & Constraintsdoco
.. Patient C0..*NzPatientInformation about an individual or animal receiving health care services
nhi-nz-pat-1: only allows certain name name use values
... Slices for contained 0..*ResourceContained, inline Resources
Slice: Unordered, Closed by type:$this
.... contained:GP 0..1PractitionerRoleContained resource for the Patient's enrolled general Practitioner
.... extension:ethnicity 0..6Nz_ethnicityNZ Ethnicity
.... extension:nzCitizen 0..1Nz_citizenshipThis field indicates New Zealand citizenship status of the patient
..... extension:source 0..1ExtensionExtension
...... value[x]:valueCodeableConcept 0..1CodeableConceptValue of extension
Binding: NZ Citizenship Information Source (required)
.... extension:domicile-code 0..0
.... extension:pho 0..0
.... extension:sex-at-birth 0..0
.... extension:iwi 0..0
.... birthPlace 0..1(Complex)Extension
URL: http://hl7.org.nz/fhir/StructureDefinition/birth-place
... Slices for identifier 0..*IdentifierAn identifier for this patient
Slice: Unordered, Closed by value:system
.... identifier:All Slices Content/Rules for all slices
..... type 0..0
..... period 0..0
.... identifier:NHI 0..*IdentifierAn identifier for this patient
..... type 0..0
..... period 0..0
... active 0..0
.... extension 1..*ExtensionExtension
.... information-source 0..1CodeableConceptInformation Source
URL: http://hl7.org.nz/fhir/StructureDefinition/information-source
Binding: Information Source (preferred)
..... value[x]:valueCodeableConcept 0..1CodeableConceptValue of extension
Binding: Name Information Source (required)
.... preferred 1..1booleanPreferred
URL: http://hl7.org/fhir/StructureDefinition/iso21090-preferred
.... nhi-name-use-extra 0..1CodeableConceptExtension
URL: http://hl7.org.nz/fhir/StructureDefinition/name-use-extra
Binding: NHI Name Use Extra (required)
.... use 0..1codetemp | nickname | maiden
.... text 0..0
.... given 0..2stringGiven name and other given name(s)
.... prefix 0..*stringParts that come before the name
Binding: Name Prefix Codes (required)
.... suffix 0..0
.... period 0..0
... telecom 0..3NzContactPointThe Paient's contact details
.... extension:cp-purpose 0..0
.... system 0..1codephone | email
Binding: NHI ContactPoint System Codes (required)
.... use 0..1codehome | mobile
Binding: NHI ContactPoint Use Codes (required)
.... rank 0..0
.... period 0..0
... gender
.... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
.... originalText 0..1stringExtension
URL: http://hl7.org.nz/fhir/StructureDefinition/gender-original-text
... birthDate
.... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
.... information-source 0..1CodeableConceptInformation Source
URL: http://hl7.org.nz/fhir/StructureDefinition/information-source
Binding: Information Source (preferred)
..... value[x]:valueCodeableConcept 0..1CodeableConceptValue of extension
Binding: Date of Birth Information Source (required)
... deceased[x] 0..1dateTimeIndicates if the individual is deceased or not
.... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
.... information-source 0..1CodeableConceptInformation Source
URL: http://hl7.org.nz/fhir/StructureDefinition/information-source
Binding: Information Source (preferred)
..... value[x]:valueCodeableConcept 0..1CodeableConceptValue of extension
Binding: Date of Death Information Source (required)
... address 0..*NhiAddressAn address expressed using postal conventions (as opposed to GPS or other location definition formats)
.... line 1..*stringStreet name, number, direction & P.O. Box etc.
... maritalStatus 0..0
... multipleBirth[x] 0..0
... photo 0..0
... contact 0..0
... communication 0..0
... generalPractitioner 0..1Reference(PractitionerRole)Reference for the Patient's enrolled general Practitioner
... managingOrganization 0..0
... link 0..0

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSetURI
Patient.extension:nzCitizen.extension:source.value[x]:valueCodeableConceptrequiredNhi_citizenship_source
https://nzhts.digital.health.nz/fhir/ValueSet/nz-citizenship-source-code
Patient.name.extension:information-source.value[x]:valueCodeableConceptrequiredNhi_name_source
https://nzhts.digital.health.nz/fhir/ValueSet/name-source-code
Patient.name.prefixrequiredHpi_name_prefix
https://nzhts.digital.health.nz/fhir/ValueSet/name-prefix-code
Patient.telecom.systemrequiredNhiContactPointSystem
https://nzhts.digital.health.nz/fhir/ValueSet/nhi-contact-point-system-code
from this IG
Patient.telecom.userequiredNhiContactPointUse
https://nzhts.digital.health.nz/fhir/ValueSet/nhiContactUseType
from this IG
Patient.birthDate.extension:information-source.value[x]:valueCodeableConceptrequiredNhi_date_of_birth_source
https://nzhts.digital.health.nz/fhir/ValueSet/date-of-birth-source-code
Patient.deceased[x].extension:information-source.value[x]:valueCodeableConceptrequiredNhi_date_of_death_source
https://nzhts.digital.health.nz/fhir/ValueSet/dod-information-source-code

Constraints

IdGradePath(s)DetailsRequirements
nhi-nz-pat-1errorPatientonly allows certain name name use values
: Patient.name.where( (use.empty()) or (use='nickname') or (use = 'maiden') or (use = 'temp') )
NameFlagsCard.TypeDescription & Constraintsdoco
.. Patient C0..*NzPatientInformation about an individual or animal receiving health care services
nhi-nz-pat-1: only allows certain name name use values
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... Slices for contained 0..*ResourceContained, inline Resources
Slice: Unordered, Closed by type:$this
.... contained:GP 0..1PractitionerRoleContained resource for the Patient's enrolled general Practitioner
.... ethnicity 0..6CodeableConceptNZ Ethnicity
URL: http://hl7.org.nz/fhir/StructureDefinition/nz-ethnicity
Binding: Ethnicity of a person (preferred)
.... nzCitizen 0..1(Complex)This field indicates New Zealand citizenship status of the patient
URL: http://hl7.org.nz/fhir/StructureDefinition/nz-citizenship
..... extension:status 0..1ExtensionExtension
...... extension 0..0
...... url 1..1uri"status"
...... Slices for value[x] 0..1CodeableConceptValue of extension
Slice: Unordered, Closed by type:$this
....... value[x]:valueCodeableConcept 0..1CodeableConceptValue of extension
Binding: NZ Citizenship status (preferred)
..... extension:source 0..1ExtensionExtension
...... extension 0..0
...... url 1..1uri"source"
...... Slices for value[x] 0..1CodeableConceptValue of extension
Slice: Unordered, Closed by type:$this
....... value[x]:valueCodeableConcept 0..1CodeableConceptValue of extension
Binding: NZ Citizenship Information Source (required)
..... url 1..1uri"http://hl7.org.nz/fhir/StructureDefinition/nz-citizenship"
.... dhb 0..1CodeableConceptDistrict Health Board linked to a NZ Healthcare Service, Location or Patient
URL: http://hl7.org.nz/fhir/StructureDefinition/dhb
Binding: District Health Board Identifer (extensible): NZ HPI-ORG Values for DHBs


.... birthPlace 0..1(Complex)Extension
URL: http://hl7.org.nz/fhir/StructureDefinition/birth-place
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
.... identifier:All Slices Content/Rules for all slices
..... use ?!Σ0..1codeusual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .

.... identifier:NHI Σ0..*IdentifierAn identifier for this patient
..... use ?!Σ0..1codeusual | official | temp | secondary | old (If known)
Binding: Valid use values for NHI (required)
..... system Σ1..1uriThe namespace for the identifier value
Fixed Value: https://standards.digital.health.nz/ns/nhi-id
... telecom C0..3NzContactPointThe Paient's contact details
.... system ΣC0..1codephone | email
Binding: NHI ContactPoint System Codes (required)
.... use ?!Σ0..1codehome | mobile
Binding: NHI ContactPoint Use Codes (required)
... deceased[x] ?!Σ0..1dateTimeIndicates if the individual is deceased or not
.... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
.... information-source 0..1CodeableConceptInformation Source
URL: http://hl7.org.nz/fhir/StructureDefinition/information-source
Binding: Information Source (preferred)
..... extension 0..0
..... url 1..1uri"http://hl7.org.nz/fhir/StructureDefinition/information-source"
..... Slices for value[x] 0..1CodeableConceptValue of extension
Slice: Unordered, Closed by type:$this
...... value[x]:valueCodeableConcept 0..1CodeableConceptValue of extension
Binding: Date of Death Information Source (required)
... address 0..*NhiAddressAn 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)
.... notValidatedAddressReason 0..1CodeableConceptThe reason an address was not validated
URL: http://hl7.org.nz/fhir/StructureDefinition/not-validated-address-reason
Binding: Address Not Validated Reason (preferred)
.... nz-address-id 0..1stringExtension
URL: http://hl7.org.nz/fhir/StructureDefinition/nz-address-id
.... nz-address-derived 0..1(Complex)Extension
URL: http://hl7.org.nz/fhir/StructureDefinition/nhi-address-derived
.... use ?!Σ0..1codehome | work | temp | old | billing - purpose of this address
Binding: NHI Address Use Codes (required)
Example General: home
.... type Σ1..1codepostal | physical
Binding: NHI Address Type Codes (required)
Example General: both
.... line Σ1..*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
... generalPractitioner 0..1Reference(PractitionerRole)Reference for the Patient's enrolled general Practitioner

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
Patient.extension:nzCitizen.extension:status.value[x]:valueCodeableConceptpreferredCitizenshipStatus
https://nzhts.digital.health.nz/fhir/ValueSet/nz-citizenship-status-code
Patient.extension:nzCitizen.extension:source.value[x]:valueCodeableConceptrequiredNhi_citizenship_source
https://nzhts.digital.health.nz/fhir/ValueSet/nz-citizenship-source-code
Patient.identifier.userequiredIdentifierUse
http://hl7.org/fhir/ValueSet/identifier-use|4.0.1
from the FHIR Standard
Patient.identifier:NHI.userequiredNHIUse
https://nzhts.digital.health.nz/fhir/ValueSet/nhi-use-code
Patient.telecom.systemrequiredNhiContactPointSystem
https://nzhts.digital.health.nz/fhir/ValueSet/nhi-contact-point-system-code
from this IG
Patient.telecom.userequiredNhiContactPointUse
https://nzhts.digital.health.nz/fhir/ValueSet/nhiContactUseType
from this IG
Patient.deceased[x].extension:information-source.value[x]:valueCodeableConceptrequiredNhi_date_of_death_source
https://nzhts.digital.health.nz/fhir/ValueSet/dod-information-source-code
Patient.address.userequiredNhiAddressUse
https://nzhts.digital.health.nz/fhir/ValueSet/nhiaddressUse
Patient.address.typerequiredNhiAddressType
https://nzhts.digital.health.nz/fhir/ValueSet/addressType
Patient.communication.languagepreferredCommonLanguages
Additional Bindings Purpose
AllLanguages Max Binding
http://hl7.org/fhir/ValueSet/languages
from the FHIR Standard
Patient.link.typerequiredLinkType
http://hl7.org/fhir/ValueSet/link-type|4.0.1
from the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
nhi-nz-pat-1errorPatientonly allows certain name name use values
: Patient.name.where( (use.empty()) or (use='nickname') or (use = 'maiden') or (use = 'temp') )
NameFlagsCard.TypeDescription & Constraintsdoco
.. Patient C0..*NzPatientInformation about an individual or animal receiving health care services
nhi-nz-pat-1: only allows certain name name use values
... 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
... Slices for contained 0..*ResourceContained, inline Resources
Slice: Unordered, Closed by type:$this
.... contained:GP 0..1PractitionerRoleContained resource for the Patient's enrolled general Practitioner
... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
... ethnicity 0..6CodeableConceptNZ Ethnicity
URL: http://hl7.org.nz/fhir/StructureDefinition/nz-ethnicity
Binding: Ethnicity of a person (preferred)
... nzCitizen 0..1(Complex)This field indicates New Zealand citizenship status of the patient
URL: http://hl7.org.nz/fhir/StructureDefinition/nz-citizenship
.... id 0..1stringUnique id for inter-element referencing
.... Slices for extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... extension:status 0..1ExtensionExtension
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..0
..... url 1..1uri"status"
..... Slices for value[x] 0..1CodeableConceptValue of extension
Slice: Unordered, Closed by type:$this
...... value[x]:valueCodeableConcept 0..1CodeableConceptValue of extension
Binding: NZ Citizenship status (preferred)
.... extension:source 0..1ExtensionExtension
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..0
..... url 1..1uri"source"
..... Slices for value[x] 0..1CodeableConceptValue of extension
Slice: Unordered, Closed by type:$this
...... value[x]:valueCodeableConcept 0..1CodeableConceptValue of extension
Binding: NZ Citizenship Information Source (required)
.... url 1..1uri"http://hl7.org.nz/fhir/StructureDefinition/nz-citizenship"
... dhb 0..1CodeableConceptDistrict Health Board linked to a NZ Healthcare Service, Location or Patient
URL: http://hl7.org.nz/fhir/StructureDefinition/dhb
Binding: District Health Board Identifer (extensible): NZ HPI-ORG Values for DHBs


... birthPlace 0..1(Complex)Extension
URL: http://hl7.org.nz/fhir/StructureDefinition/birth-place
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... Slices for identifier Σ0..*IdentifierAn identifier for this patient
Slice: Unordered, Closed by 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..1codeusual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .

..... 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:NHI Σ0..*IdentifierAn identifier for this patient
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
..... use ?!Σ0..1codeusual | official | temp | secondary | old (If known)
Binding: Valid use values for NHI (required)
..... system Σ1..1uriThe namespace for the identifier value
Fixed Value: https://standards.digital.health.nz/ns/nhi-id
..... value Σ0..1stringThe value that is unique
Example General: 123456
..... assigner Σ0..1Reference(Organization)Organization that issued id (may be just text)
... name Σ0..*HumanNameA name associated with the patient
.... id 0..1stringUnique id for inter-element referencing
.... Slices for extension 1..*ExtensionExtension
Slice: Unordered, Open by value:url
.... information-source 0..1CodeableConceptInformation Source
URL: http://hl7.org.nz/fhir/StructureDefinition/information-source
Binding: Information Source (preferred)
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..0
..... url 1..1uri"http://hl7.org.nz/fhir/StructureDefinition/information-source"
..... Slices for value[x] 0..1CodeableConceptValue of extension
Slice: Unordered, Closed by type:$this
...... value[x]:valueCodeableConcept 0..1CodeableConceptValue of extension
Binding: Name Information Source (required)
.... preferred 1..1booleanPreferred
URL: http://hl7.org/fhir/StructureDefinition/iso21090-preferred
.... nhi-name-use-extra 0..1CodeableConceptExtension
URL: http://hl7.org.nz/fhir/StructureDefinition/name-use-extra
Binding: NHI Name Use Extra (required)
.... use ?!Σ0..1codetemp | nickname | maiden
Binding: NameUse (required): The use of a human name.

.... family Σ0..1stringFamily name (often called 'Surname')
.... given Σ0..2stringGiven name and other given name(s)
This repeating element order: Given Names appear in the correct order for presenting the name
.... prefix Σ0..*stringParts that come before the name
Binding: Name Prefix Codes (required)
This repeating element order: Prefixes appear in the correct order for presenting the name
... telecom C0..3NzContactPointThe Paient's contact details
.... id 0..1stringUnique id for inter-element referencing
.... Slices for extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... system ΣC0..1codephone | email
Binding: NHI ContactPoint System Codes (required)
.... value Σ0..1stringThe actual contact point details
.... use ?!Σ0..1codehome | mobile
Binding: NHI ContactPoint Use Codes (required)
... gender Σ0..1codemale | female | other | unknown
Binding: AdministrativeGender (required): The gender of a person used for administrative purposes.

.... id 0..1stringxml:id (or equivalent in JSON)
.... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
.... originalText 0..1stringExtension
URL: http://hl7.org.nz/fhir/StructureDefinition/gender-original-text
.... value 0..1stringPrimitive value for code
... birthDate Σ0..1dateThe date of birth for the individual
.... id 0..1stringxml:id (or equivalent in JSON)
.... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
.... information-source 0..1CodeableConceptInformation Source
URL: http://hl7.org.nz/fhir/StructureDefinition/information-source
Binding: Information Source (preferred)
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..0
..... url 1..1uri"http://hl7.org.nz/fhir/StructureDefinition/information-source"
..... Slices for value[x] 0..1CodeableConceptValue of extension
Slice: Unordered, Closed by type:$this
...... value[x]:valueCodeableConcept 0..1CodeableConceptValue of extension
Binding: Date of Birth Information Source (required)
.... value 0..1datePrimitive value for date
... deceased[x] ?!Σ0..1dateTimeIndicates if the individual is deceased or not
.... id 0..1stringxml:id (or equivalent in JSON)
.... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
.... information-source 0..1CodeableConceptInformation Source
URL: http://hl7.org.nz/fhir/StructureDefinition/information-source
Binding: Information Source (preferred)
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..0
..... url 1..1uri"http://hl7.org.nz/fhir/StructureDefinition/information-source"
..... Slices for value[x] 0..1CodeableConceptValue of extension
Slice: Unordered, Closed by type:$this
...... value[x]:valueCodeableConcept 0..1CodeableConceptValue of extension
Binding: Date of Death Information Source (required)
.... value 0..1dateTimePrimitive value for dateTime
... address 0..*NhiAddressAn 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)
.... notValidatedAddressReason 0..1CodeableConceptThe reason an address was not validated
URL: http://hl7.org.nz/fhir/StructureDefinition/not-validated-address-reason
Binding: Address Not Validated Reason (preferred)
.... nz-address-id 0..1stringExtension
URL: http://hl7.org.nz/fhir/StructureDefinition/nz-address-id
.... nz-address-derived 0..1(Complex)Extension
URL: http://hl7.org.nz/fhir/StructureDefinition/nhi-address-derived
.... use ?!Σ0..1codehome | work | temp | old | billing - purpose of this address
Binding: NHI Address Use Codes (required)
Example General: home
.... type Σ1..1codepostal | physical
Binding: NHI Address Type Codes (required)
Example General: both
.... text Σ0..1stringText representation of the address
Example General: 137 Nowhere Street, Erewhon 9132
.... line Σ1..*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
.... 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)
... generalPractitioner 0..1Reference(PractitionerRole)Reference for the Patient's enrolled general Practitioner

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
Patient.languagepreferredCommonLanguages
Additional Bindings Purpose
AllLanguages Max Binding
http://hl7.org/fhir/ValueSet/languages
from the FHIR Standard
Patient.extension:nzCitizen.extension:status.value[x]:valueCodeableConceptpreferredCitizenshipStatus
https://nzhts.digital.health.nz/fhir/ValueSet/nz-citizenship-status-code
Patient.extension:nzCitizen.extension:source.value[x]:valueCodeableConceptrequiredNhi_citizenship_source
https://nzhts.digital.health.nz/fhir/ValueSet/nz-citizenship-source-code
Patient.identifier.userequiredIdentifierUse
http://hl7.org/fhir/ValueSet/identifier-use|4.0.1
from the FHIR Standard
Patient.identifier:NHI.userequiredNHIUse
https://nzhts.digital.health.nz/fhir/ValueSet/nhi-use-code
Patient.name.extension:information-source.value[x]:valueCodeableConceptrequiredNhi_name_source
https://nzhts.digital.health.nz/fhir/ValueSet/name-source-code
Patient.name.userequiredNameUse
http://hl7.org/fhir/ValueSet/name-use|4.0.1
from the FHIR Standard
Patient.name.prefixrequiredHpi_name_prefix
https://nzhts.digital.health.nz/fhir/ValueSet/name-prefix-code
Patient.telecom.systemrequiredNhiContactPointSystem
https://nzhts.digital.health.nz/fhir/ValueSet/nhi-contact-point-system-code
from this IG
Patient.telecom.userequiredNhiContactPointUse
https://nzhts.digital.health.nz/fhir/ValueSet/nhiContactUseType
from this IG
Patient.genderrequiredAdministrativeGender
http://hl7.org/fhir/ValueSet/administrative-gender|4.0.1
from the FHIR Standard
Patient.birthDate.extension:information-source.value[x]:valueCodeableConceptrequiredNhi_date_of_birth_source
https://nzhts.digital.health.nz/fhir/ValueSet/date-of-birth-source-code
Patient.deceased[x].extension:information-source.value[x]:valueCodeableConceptrequiredNhi_date_of_death_source
https://nzhts.digital.health.nz/fhir/ValueSet/dod-information-source-code
Patient.address.userequiredNhiAddressUse
https://nzhts.digital.health.nz/fhir/ValueSet/nhiaddressUse
Patient.address.typerequiredNhiAddressType
https://nzhts.digital.health.nz/fhir/ValueSet/addressType
Patient.address.countryrequiredHpi_country_code_iso_3166_1
https://nzhts.digital.health.nz/fhir/ValueSet/country-code
Patient.contact.relationshipextensiblePatientContactRelationship
http://hl7.org/fhir/ValueSet/patient-contactrelationship
from the FHIR Standard
Patient.contact.genderrequiredAdministrativeGender
http://hl7.org/fhir/ValueSet/administrative-gender|4.0.1
from the FHIR Standard
Patient.communication.languagepreferredCommonLanguages
Additional Bindings Purpose
AllLanguages Max Binding
http://hl7.org/fhir/ValueSet/languages
from the FHIR Standard
Patient.link.typerequiredLinkType
http://hl7.org/fhir/ValueSet/link-type|4.0.1
from the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
nhi-nz-pat-1errorPatientonly allows certain name name use values
: Patient.name.where( (use.empty()) or (use='nickname') or (use = 'maiden') or (use = 'temp') )

This structure is derived from NzPatient

Summary

Mandatory: 0 element (3 nested mandatory elements)
Prohibited: 22 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 Patient.contained is sliced based on the value of type:$this (Closed)
  • The element Patient.identifier is sliced based on the value of value:system (Closed)

Differential View

This structure is derived from NzPatient

NameFlagsCard.TypeDescription & Constraintsdoco
.. Patient C0..*NzPatientInformation about an individual or animal receiving health care services
nhi-nz-pat-1: only allows certain name name use values
... Slices for contained 0..*ResourceContained, inline Resources
Slice: Unordered, Closed by type:$this
.... contained:GP 0..1PractitionerRoleContained resource for the Patient's enrolled general Practitioner
.... extension:ethnicity 0..6Nz_ethnicityNZ Ethnicity
.... extension:nzCitizen 0..1Nz_citizenshipThis field indicates New Zealand citizenship status of the patient
..... extension:source 0..1ExtensionExtension
...... value[x]:valueCodeableConcept 0..1CodeableConceptValue of extension
Binding: NZ Citizenship Information Source (required)
.... extension:domicile-code 0..0
.... extension:pho 0..0
.... extension:sex-at-birth 0..0
.... extension:iwi 0..0
.... birthPlace 0..1(Complex)Extension
URL: http://hl7.org.nz/fhir/StructureDefinition/birth-place
... Slices for identifier 0..*IdentifierAn identifier for this patient
Slice: Unordered, Closed by value:system
.... identifier:All Slices Content/Rules for all slices
..... type 0..0
..... period 0..0
.... identifier:NHI 0..*IdentifierAn identifier for this patient
..... type 0..0
..... period 0..0
... active 0..0
.... extension 1..*ExtensionExtension
.... information-source 0..1CodeableConceptInformation Source
URL: http://hl7.org.nz/fhir/StructureDefinition/information-source
Binding: Information Source (preferred)
..... value[x]:valueCodeableConcept 0..1CodeableConceptValue of extension
Binding: Name Information Source (required)
.... preferred 1..1booleanPreferred
URL: http://hl7.org/fhir/StructureDefinition/iso21090-preferred
.... nhi-name-use-extra 0..1CodeableConceptExtension
URL: http://hl7.org.nz/fhir/StructureDefinition/name-use-extra
Binding: NHI Name Use Extra (required)
.... use 0..1codetemp | nickname | maiden
.... text 0..0
.... given 0..2stringGiven name and other given name(s)
.... prefix 0..*stringParts that come before the name
Binding: Name Prefix Codes (required)
.... suffix 0..0
.... period 0..0
... telecom 0..3NzContactPointThe Paient's contact details
.... extension:cp-purpose 0..0
.... system 0..1codephone | email
Binding: NHI ContactPoint System Codes (required)
.... use 0..1codehome | mobile
Binding: NHI ContactPoint Use Codes (required)
.... rank 0..0
.... period 0..0
... gender
.... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
.... originalText 0..1stringExtension
URL: http://hl7.org.nz/fhir/StructureDefinition/gender-original-text
... birthDate
.... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
.... information-source 0..1CodeableConceptInformation Source
URL: http://hl7.org.nz/fhir/StructureDefinition/information-source
Binding: Information Source (preferred)
..... value[x]:valueCodeableConcept 0..1CodeableConceptValue of extension
Binding: Date of Birth Information Source (required)
... deceased[x] 0..1dateTimeIndicates if the individual is deceased or not
.... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
.... information-source 0..1CodeableConceptInformation Source
URL: http://hl7.org.nz/fhir/StructureDefinition/information-source
Binding: Information Source (preferred)
..... value[x]:valueCodeableConcept 0..1CodeableConceptValue of extension
Binding: Date of Death Information Source (required)
... address 0..*NhiAddressAn address expressed using postal conventions (as opposed to GPS or other location definition formats)
.... line 1..*stringStreet name, number, direction & P.O. Box etc.
... maritalStatus 0..0
... multipleBirth[x] 0..0
... photo 0..0
... contact 0..0
... communication 0..0
... generalPractitioner 0..1Reference(PractitionerRole)Reference for the Patient's enrolled general Practitioner
... managingOrganization 0..0
... link 0..0

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSetURI
Patient.extension:nzCitizen.extension:source.value[x]:valueCodeableConceptrequiredNhi_citizenship_source
https://nzhts.digital.health.nz/fhir/ValueSet/nz-citizenship-source-code
Patient.name.extension:information-source.value[x]:valueCodeableConceptrequiredNhi_name_source
https://nzhts.digital.health.nz/fhir/ValueSet/name-source-code
Patient.name.prefixrequiredHpi_name_prefix
https://nzhts.digital.health.nz/fhir/ValueSet/name-prefix-code
Patient.telecom.systemrequiredNhiContactPointSystem
https://nzhts.digital.health.nz/fhir/ValueSet/nhi-contact-point-system-code
from this IG
Patient.telecom.userequiredNhiContactPointUse
https://nzhts.digital.health.nz/fhir/ValueSet/nhiContactUseType
from this IG
Patient.birthDate.extension:information-source.value[x]:valueCodeableConceptrequiredNhi_date_of_birth_source
https://nzhts.digital.health.nz/fhir/ValueSet/date-of-birth-source-code
Patient.deceased[x].extension:information-source.value[x]:valueCodeableConceptrequiredNhi_date_of_death_source
https://nzhts.digital.health.nz/fhir/ValueSet/dod-information-source-code

Constraints

IdGradePath(s)DetailsRequirements
nhi-nz-pat-1errorPatientonly allows certain name name use values
: Patient.name.where( (use.empty()) or (use='nickname') or (use = 'maiden') or (use = 'temp') )

Key Elements View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Patient C0..*NzPatientInformation about an individual or animal receiving health care services
nhi-nz-pat-1: only allows certain name name use values
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... Slices for contained 0..*ResourceContained, inline Resources
Slice: Unordered, Closed by type:$this
.... contained:GP 0..1PractitionerRoleContained resource for the Patient's enrolled general Practitioner
.... ethnicity 0..6CodeableConceptNZ Ethnicity
URL: http://hl7.org.nz/fhir/StructureDefinition/nz-ethnicity
Binding: Ethnicity of a person (preferred)
.... nzCitizen 0..1(Complex)This field indicates New Zealand citizenship status of the patient
URL: http://hl7.org.nz/fhir/StructureDefinition/nz-citizenship
..... extension:status 0..1ExtensionExtension
...... extension 0..0
...... url 1..1uri"status"
...... Slices for value[x] 0..1CodeableConceptValue of extension
Slice: Unordered, Closed by type:$this
....... value[x]:valueCodeableConcept 0..1CodeableConceptValue of extension
Binding: NZ Citizenship status (preferred)
..... extension:source 0..1ExtensionExtension
...... extension 0..0
...... url 1..1uri"source"
...... Slices for value[x] 0..1CodeableConceptValue of extension
Slice: Unordered, Closed by type:$this
....... value[x]:valueCodeableConcept 0..1CodeableConceptValue of extension
Binding: NZ Citizenship Information Source (required)
..... url 1..1uri"http://hl7.org.nz/fhir/StructureDefinition/nz-citizenship"
.... dhb 0..1CodeableConceptDistrict Health Board linked to a NZ Healthcare Service, Location or Patient
URL: http://hl7.org.nz/fhir/StructureDefinition/dhb
Binding: District Health Board Identifer (extensible): NZ HPI-ORG Values for DHBs


.... birthPlace 0..1(Complex)Extension
URL: http://hl7.org.nz/fhir/StructureDefinition/birth-place
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
.... identifier:All Slices Content/Rules for all slices
..... use ?!Σ0..1codeusual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .

.... identifier:NHI Σ0..*IdentifierAn identifier for this patient
..... use ?!Σ0..1codeusual | official | temp | secondary | old (If known)
Binding: Valid use values for NHI (required)
..... system Σ1..1uriThe namespace for the identifier value
Fixed Value: https://standards.digital.health.nz/ns/nhi-id
... telecom C0..3NzContactPointThe Paient's contact details
.... system ΣC0..1codephone | email
Binding: NHI ContactPoint System Codes (required)
.... use ?!Σ0..1codehome | mobile
Binding: NHI ContactPoint Use Codes (required)
... deceased[x] ?!Σ0..1dateTimeIndicates if the individual is deceased or not
.... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
.... information-source 0..1CodeableConceptInformation Source
URL: http://hl7.org.nz/fhir/StructureDefinition/information-source
Binding: Information Source (preferred)
..... extension 0..0
..... url 1..1uri"http://hl7.org.nz/fhir/StructureDefinition/information-source"
..... Slices for value[x] 0..1CodeableConceptValue of extension
Slice: Unordered, Closed by type:$this
...... value[x]:valueCodeableConcept 0..1CodeableConceptValue of extension
Binding: Date of Death Information Source (required)
... address 0..*NhiAddressAn 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)
.... notValidatedAddressReason 0..1CodeableConceptThe reason an address was not validated
URL: http://hl7.org.nz/fhir/StructureDefinition/not-validated-address-reason
Binding: Address Not Validated Reason (preferred)
.... nz-address-id 0..1stringExtension
URL: http://hl7.org.nz/fhir/StructureDefinition/nz-address-id
.... nz-address-derived 0..1(Complex)Extension
URL: http://hl7.org.nz/fhir/StructureDefinition/nhi-address-derived
.... use ?!Σ0..1codehome | work | temp | old | billing - purpose of this address
Binding: NHI Address Use Codes (required)
Example General: home
.... type Σ1..1codepostal | physical
Binding: NHI Address Type Codes (required)
Example General: both
.... line Σ1..*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
... generalPractitioner 0..1Reference(PractitionerRole)Reference for the Patient's enrolled general Practitioner

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
Patient.extension:nzCitizen.extension:status.value[x]:valueCodeableConceptpreferredCitizenshipStatus
https://nzhts.digital.health.nz/fhir/ValueSet/nz-citizenship-status-code
Patient.extension:nzCitizen.extension:source.value[x]:valueCodeableConceptrequiredNhi_citizenship_source
https://nzhts.digital.health.nz/fhir/ValueSet/nz-citizenship-source-code
Patient.identifier.userequiredIdentifierUse
http://hl7.org/fhir/ValueSet/identifier-use|4.0.1
from the FHIR Standard
Patient.identifier:NHI.userequiredNHIUse
https://nzhts.digital.health.nz/fhir/ValueSet/nhi-use-code
Patient.telecom.systemrequiredNhiContactPointSystem
https://nzhts.digital.health.nz/fhir/ValueSet/nhi-contact-point-system-code
from this IG
Patient.telecom.userequiredNhiContactPointUse
https://nzhts.digital.health.nz/fhir/ValueSet/nhiContactUseType
from this IG
Patient.deceased[x].extension:information-source.value[x]:valueCodeableConceptrequiredNhi_date_of_death_source
https://nzhts.digital.health.nz/fhir/ValueSet/dod-information-source-code
Patient.address.userequiredNhiAddressUse
https://nzhts.digital.health.nz/fhir/ValueSet/nhiaddressUse
Patient.address.typerequiredNhiAddressType
https://nzhts.digital.health.nz/fhir/ValueSet/addressType
Patient.communication.languagepreferredCommonLanguages
Additional Bindings Purpose
AllLanguages Max Binding
http://hl7.org/fhir/ValueSet/languages
from the FHIR Standard
Patient.link.typerequiredLinkType
http://hl7.org/fhir/ValueSet/link-type|4.0.1
from the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
nhi-nz-pat-1errorPatientonly allows certain name name use values
: Patient.name.where( (use.empty()) or (use='nickname') or (use = 'maiden') or (use = 'temp') )

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Patient C0..*NzPatientInformation about an individual or animal receiving health care services
nhi-nz-pat-1: only allows certain name name use values
... 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
... Slices for contained 0..*ResourceContained, inline Resources
Slice: Unordered, Closed by type:$this
.... contained:GP 0..1PractitionerRoleContained resource for the Patient's enrolled general Practitioner
... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
... ethnicity 0..6CodeableConceptNZ Ethnicity
URL: http://hl7.org.nz/fhir/StructureDefinition/nz-ethnicity
Binding: Ethnicity of a person (preferred)
... nzCitizen 0..1(Complex)This field indicates New Zealand citizenship status of the patient
URL: http://hl7.org.nz/fhir/StructureDefinition/nz-citizenship
.... id 0..1stringUnique id for inter-element referencing
.... Slices for extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... extension:status 0..1ExtensionExtension
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..0
..... url 1..1uri"status"
..... Slices for value[x] 0..1CodeableConceptValue of extension
Slice: Unordered, Closed by type:$this
...... value[x]:valueCodeableConcept 0..1CodeableConceptValue of extension
Binding: NZ Citizenship status (preferred)
.... extension:source 0..1ExtensionExtension
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..0
..... url 1..1uri"source"
..... Slices for value[x] 0..1CodeableConceptValue of extension
Slice: Unordered, Closed by type:$this
...... value[x]:valueCodeableConcept 0..1CodeableConceptValue of extension
Binding: NZ Citizenship Information Source (required)
.... url 1..1uri"http://hl7.org.nz/fhir/StructureDefinition/nz-citizenship"
... dhb 0..1CodeableConceptDistrict Health Board linked to a NZ Healthcare Service, Location or Patient
URL: http://hl7.org.nz/fhir/StructureDefinition/dhb
Binding: District Health Board Identifer (extensible): NZ HPI-ORG Values for DHBs


... birthPlace 0..1(Complex)Extension
URL: http://hl7.org.nz/fhir/StructureDefinition/birth-place
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... Slices for identifier Σ0..*IdentifierAn identifier for this patient
Slice: Unordered, Closed by 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..1codeusual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .

..... 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:NHI Σ0..*IdentifierAn identifier for this patient
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
..... use ?!Σ0..1codeusual | official | temp | secondary | old (If known)
Binding: Valid use values for NHI (required)
..... system Σ1..1uriThe namespace for the identifier value
Fixed Value: https://standards.digital.health.nz/ns/nhi-id
..... value Σ0..1stringThe value that is unique
Example General: 123456
..... assigner Σ0..1Reference(Organization)Organization that issued id (may be just text)
... name Σ0..*HumanNameA name associated with the patient
.... id 0..1stringUnique id for inter-element referencing
.... Slices for extension 1..*ExtensionExtension
Slice: Unordered, Open by value:url
.... information-source 0..1CodeableConceptInformation Source
URL: http://hl7.org.nz/fhir/StructureDefinition/information-source
Binding: Information Source (preferred)
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..0
..... url 1..1uri"http://hl7.org.nz/fhir/StructureDefinition/information-source"
..... Slices for value[x] 0..1CodeableConceptValue of extension
Slice: Unordered, Closed by type:$this
...... value[x]:valueCodeableConcept 0..1CodeableConceptValue of extension
Binding: Name Information Source (required)
.... preferred 1..1booleanPreferred
URL: http://hl7.org/fhir/StructureDefinition/iso21090-preferred
.... nhi-name-use-extra 0..1CodeableConceptExtension
URL: http://hl7.org.nz/fhir/StructureDefinition/name-use-extra
Binding: NHI Name Use Extra (required)
.... use ?!Σ0..1codetemp | nickname | maiden
Binding: NameUse (required): The use of a human name.

.... family Σ0..1stringFamily name (often called 'Surname')
.... given Σ0..2stringGiven name and other given name(s)
This repeating element order: Given Names appear in the correct order for presenting the name
.... prefix Σ0..*stringParts that come before the name
Binding: Name Prefix Codes (required)
This repeating element order: Prefixes appear in the correct order for presenting the name
... telecom C0..3NzContactPointThe Paient's contact details
.... id 0..1stringUnique id for inter-element referencing
.... Slices for extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... system ΣC0..1codephone | email
Binding: NHI ContactPoint System Codes (required)
.... value Σ0..1stringThe actual contact point details
.... use ?!Σ0..1codehome | mobile
Binding: NHI ContactPoint Use Codes (required)
... gender Σ0..1codemale | female | other | unknown
Binding: AdministrativeGender (required): The gender of a person used for administrative purposes.

.... id 0..1stringxml:id (or equivalent in JSON)
.... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
.... originalText 0..1stringExtension
URL: http://hl7.org.nz/fhir/StructureDefinition/gender-original-text
.... value 0..1stringPrimitive value for code
... birthDate Σ0..1dateThe date of birth for the individual
.... id 0..1stringxml:id (or equivalent in JSON)
.... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
.... information-source 0..1CodeableConceptInformation Source
URL: http://hl7.org.nz/fhir/StructureDefinition/information-source
Binding: Information Source (preferred)
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..0
..... url 1..1uri"http://hl7.org.nz/fhir/StructureDefinition/information-source"
..... Slices for value[x] 0..1CodeableConceptValue of extension
Slice: Unordered, Closed by type:$this
...... value[x]:valueCodeableConcept 0..1CodeableConceptValue of extension
Binding: Date of Birth Information Source (required)
.... value 0..1datePrimitive value for date
... deceased[x] ?!Σ0..1dateTimeIndicates if the individual is deceased or not
.... id 0..1stringxml:id (or equivalent in JSON)
.... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
.... information-source 0..1CodeableConceptInformation Source
URL: http://hl7.org.nz/fhir/StructureDefinition/information-source
Binding: Information Source (preferred)
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..0
..... url 1..1uri"http://hl7.org.nz/fhir/StructureDefinition/information-source"
..... Slices for value[x] 0..1CodeableConceptValue of extension
Slice: Unordered, Closed by type:$this
...... value[x]:valueCodeableConcept 0..1CodeableConceptValue of extension
Binding: Date of Death Information Source (required)
.... value 0..1dateTimePrimitive value for dateTime
... address 0..*NhiAddressAn 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)
.... notValidatedAddressReason 0..1CodeableConceptThe reason an address was not validated
URL: http://hl7.org.nz/fhir/StructureDefinition/not-validated-address-reason
Binding: Address Not Validated Reason (preferred)
.... nz-address-id 0..1stringExtension
URL: http://hl7.org.nz/fhir/StructureDefinition/nz-address-id
.... nz-address-derived 0..1(Complex)Extension
URL: http://hl7.org.nz/fhir/StructureDefinition/nhi-address-derived
.... use ?!Σ0..1codehome | work | temp | old | billing - purpose of this address
Binding: NHI Address Use Codes (required)
Example General: home
.... type Σ1..1codepostal | physical
Binding: NHI Address Type Codes (required)
Example General: both
.... text Σ0..1stringText representation of the address
Example General: 137 Nowhere Street, Erewhon 9132
.... line Σ1..*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
.... 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)
... generalPractitioner 0..1Reference(PractitionerRole)Reference for the Patient's enrolled general Practitioner

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
Patient.languagepreferredCommonLanguages
Additional Bindings Purpose
AllLanguages Max Binding
http://hl7.org/fhir/ValueSet/languages
from the FHIR Standard
Patient.extension:nzCitizen.extension:status.value[x]:valueCodeableConceptpreferredCitizenshipStatus
https://nzhts.digital.health.nz/fhir/ValueSet/nz-citizenship-status-code
Patient.extension:nzCitizen.extension:source.value[x]:valueCodeableConceptrequiredNhi_citizenship_source
https://nzhts.digital.health.nz/fhir/ValueSet/nz-citizenship-source-code
Patient.identifier.userequiredIdentifierUse
http://hl7.org/fhir/ValueSet/identifier-use|4.0.1
from the FHIR Standard
Patient.identifier:NHI.userequiredNHIUse
https://nzhts.digital.health.nz/fhir/ValueSet/nhi-use-code
Patient.name.extension:information-source.value[x]:valueCodeableConceptrequiredNhi_name_source
https://nzhts.digital.health.nz/fhir/ValueSet/name-source-code
Patient.name.userequiredNameUse
http://hl7.org/fhir/ValueSet/name-use|4.0.1
from the FHIR Standard
Patient.name.prefixrequiredHpi_name_prefix
https://nzhts.digital.health.nz/fhir/ValueSet/name-prefix-code
Patient.telecom.systemrequiredNhiContactPointSystem
https://nzhts.digital.health.nz/fhir/ValueSet/nhi-contact-point-system-code
from this IG
Patient.telecom.userequiredNhiContactPointUse
https://nzhts.digital.health.nz/fhir/ValueSet/nhiContactUseType
from this IG
Patient.genderrequiredAdministrativeGender
http://hl7.org/fhir/ValueSet/administrative-gender|4.0.1
from the FHIR Standard
Patient.birthDate.extension:information-source.value[x]:valueCodeableConceptrequiredNhi_date_of_birth_source
https://nzhts.digital.health.nz/fhir/ValueSet/date-of-birth-source-code
Patient.deceased[x].extension:information-source.value[x]:valueCodeableConceptrequiredNhi_date_of_death_source
https://nzhts.digital.health.nz/fhir/ValueSet/dod-information-source-code
Patient.address.userequiredNhiAddressUse
https://nzhts.digital.health.nz/fhir/ValueSet/nhiaddressUse
Patient.address.typerequiredNhiAddressType
https://nzhts.digital.health.nz/fhir/ValueSet/addressType
Patient.address.countryrequiredHpi_country_code_iso_3166_1
https://nzhts.digital.health.nz/fhir/ValueSet/country-code
Patient.contact.relationshipextensiblePatientContactRelationship
http://hl7.org/fhir/ValueSet/patient-contactrelationship
from the FHIR Standard
Patient.contact.genderrequiredAdministrativeGender
http://hl7.org/fhir/ValueSet/administrative-gender|4.0.1
from the FHIR Standard
Patient.communication.languagepreferredCommonLanguages
Additional Bindings Purpose
AllLanguages Max Binding
http://hl7.org/fhir/ValueSet/languages
from the FHIR Standard
Patient.link.typerequiredLinkType
http://hl7.org/fhir/ValueSet/link-type|4.0.1
from the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
nhi-nz-pat-1errorPatientonly allows certain name name use values
: Patient.name.where( (use.empty()) or (use='nickname') or (use = 'maiden') or (use = 'temp') )

This structure is derived from NzPatient

Summary

Mandatory: 0 element (3 nested mandatory elements)
Prohibited: 22 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 Patient.contained is sliced based on the value of type:$this (Closed)
  • The element Patient.identifier is sliced based on the value of value:system (Closed)

 

Other representations of profile: CSV, Excel, Schematron