New Zealand NES IG
1.5.0 - Release

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

Resource Profile: NES Patient

Official URL: http://hl7.org.nz/fhir/StructureDefinition/NesPatient Version: 1.5.0
Active as of 2026-06-11 Computable Name: NesPatient

A minimal profile of NzPatient, containing just enough information to validate a patient's NHI for the purposes of enrolment

Usages:

You can also check for usages in the FHIR IG Statistics

Formal Views of Profile Content

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

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Patient C 0..* NzPatient Information about an individual or animal receiving health care services
Constraints: nz-pat-1
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... Slices for extension Content/Rules for all slices
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Patient.identifier:NHI.​use Base required Valid use values for NHI 📦2.0.0 HL7® FHIR® New Zealand Base Implementation Guide v2.0
Patient.link.type Base required LinkType 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-2 error Patient If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Patient If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error Patient If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error Patient If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Patient A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()
nz-pat-1 error Patient only a single official NHI Patient.identifier.where(system='https://standards.digital.health.nz/ns/nhi-id' and use='official').count() < 2

This structure is derived from NzPatient

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Patient NzPatient
... language 0..0 Language of the resource content
... Slices for extension Content/Rules for all slices
.... extension:ethnicity 0..0 NZ Ethnicity
.... extension:nzCitizen 0..0 NZ Citizenship
.... extension:dhb 0..0 District Health Board linked to a NZ Healthcare Service, Location or Patient
.... extension:domicile-code 0..0 NZ Domicile Code
.... extension:pho 0..0 Primary Healthcare Organisation
.... extension:sex-at-birth 0..0 Sex At Birth
.... extension:iwi 0..0 Extension
... identifier 0..0 An identifier for this patient
.... identifier:NHI 0..0 An identifier for this patient
... active 0..0 Whether this patient's record is in active use
... telecom 0..0 Details of a Technology mediated contact point (phone, fax, email, etc.)
... gender 0..0 male | female | other | unknown
... deceased[x] 0..0 Indicates if the individual is deceased or not
... address 0..0 An address expressed using postal conventions (as opposed to GPS or other location definition formats)
... maritalStatus 0..0 Marital (civil) status of a patient
... multipleBirth[x] 0..0 Whether patient is part of a multiple birth
... photo 0..0 Image of the patient
... contact 0..0 A contact party (e.g. guardian, partner, friend) for the patient
... generalPractitioner 0..0 Patient's nominated primary care provider
... managingOrganization 0..0 Organization that is the custodian of the patient record
... link 0..0 Link to another patient resource that concerns the same actual person

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Patient C 0..* NzPatient Information about an individual or animal receiving health care services
Constraints: nz-pat-1
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... contained 0..* Resource Contained, inline Resources
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... name Σ 0..* HumanName A name associated with the patient
... birthDate Σ 0..1 date The date of birth for the individual
... communication 0..* BackboneElement A language which may be used to communicate with the patient about his or her health
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... language 1..1 CodeableConcept The language which can be used to communicate with the patient about his or her health
Binding: CommonLanguages (preferred): A human language.
Additional BindingsPurpose
AllLanguages Max Binding
.... preferred 0..1 boolean Language preference indicator

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Patient.identifier:NHI.​use Base required Valid use values for NHI 📦2.0.0 HL7® FHIR® New Zealand Base Implementation Guide v2.0
Patient.identifier:NHI.​type Base extensible IdentifierType 📦4.0.1 FHIR Std.
Patient.contact.relationship Base extensible Patient Contact Relationship 📦4.0.1 FHIR Std.
Patient.contact.gender Base required AdministrativeGender 📍4.0.1 FHIR Std.
Patient.communication.​language Base preferred Common Languages 📦4.0.1 FHIR Std.
Patient.link.type Base required LinkType 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-2 error Patient If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Patient If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error Patient If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error Patient If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Patient A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()
nz-pat-1 error Patient only a single official NHI Patient.identifier.where(system='https://standards.digital.health.nz/ns/nhi-id' and use='official').count() < 2

This structure is derived from NzPatient

Summary

Prohibited: 22 elements

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Patient C 0..* NzPatient Information about an individual or animal receiving health care services
Constraints: nz-pat-1
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... Slices for extension Content/Rules for all slices
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Patient.identifier:NHI.​use Base required Valid use values for NHI 📦2.0.0 HL7® FHIR® New Zealand Base Implementation Guide v2.0
Patient.link.type Base required LinkType 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-2 error Patient If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Patient If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error Patient If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error Patient If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Patient A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()
nz-pat-1 error Patient only a single official NHI Patient.identifier.where(system='https://standards.digital.health.nz/ns/nhi-id' and use='official').count() < 2

Differential View

This structure is derived from NzPatient

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Patient NzPatient
... language 0..0 Language of the resource content
... Slices for extension Content/Rules for all slices
.... extension:ethnicity 0..0 NZ Ethnicity
.... extension:nzCitizen 0..0 NZ Citizenship
.... extension:dhb 0..0 District Health Board linked to a NZ Healthcare Service, Location or Patient
.... extension:domicile-code 0..0 NZ Domicile Code
.... extension:pho 0..0 Primary Healthcare Organisation
.... extension:sex-at-birth 0..0 Sex At Birth
.... extension:iwi 0..0 Extension
... identifier 0..0 An identifier for this patient
.... identifier:NHI 0..0 An identifier for this patient
... active 0..0 Whether this patient's record is in active use
... telecom 0..0 Details of a Technology mediated contact point (phone, fax, email, etc.)
... gender 0..0 male | female | other | unknown
... deceased[x] 0..0 Indicates if the individual is deceased or not
... address 0..0 An address expressed using postal conventions (as opposed to GPS or other location definition formats)
... maritalStatus 0..0 Marital (civil) status of a patient
... multipleBirth[x] 0..0 Whether patient is part of a multiple birth
... photo 0..0 Image of the patient
... contact 0..0 A contact party (e.g. guardian, partner, friend) for the patient
... generalPractitioner 0..0 Patient's nominated primary care provider
... managingOrganization 0..0 Organization that is the custodian of the patient record
... link 0..0 Link to another patient resource that concerns the same actual person

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Patient C 0..* NzPatient Information about an individual or animal receiving health care services
Constraints: nz-pat-1
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... contained 0..* Resource Contained, inline Resources
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... name Σ 0..* HumanName A name associated with the patient
... birthDate Σ 0..1 date The date of birth for the individual
... communication 0..* BackboneElement A language which may be used to communicate with the patient about his or her health
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... language 1..1 CodeableConcept The language which can be used to communicate with the patient about his or her health
Binding: CommonLanguages (preferred): A human language.
Additional BindingsPurpose
AllLanguages Max Binding
.... preferred 0..1 boolean Language preference indicator

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Patient.identifier:NHI.​use Base required Valid use values for NHI 📦2.0.0 HL7® FHIR® New Zealand Base Implementation Guide v2.0
Patient.identifier:NHI.​type Base extensible IdentifierType 📦4.0.1 FHIR Std.
Patient.contact.relationship Base extensible Patient Contact Relationship 📦4.0.1 FHIR Std.
Patient.contact.gender Base required AdministrativeGender 📍4.0.1 FHIR Std.
Patient.communication.​language Base preferred Common Languages 📦4.0.1 FHIR Std.
Patient.link.type Base required LinkType 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-2 error Patient If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Patient If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error Patient If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error Patient If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Patient A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()
nz-pat-1 error Patient only a single official NHI Patient.identifier.where(system='https://standards.digital.health.nz/ns/nhi-id' and use='official').count() < 2

This structure is derived from NzPatient

Summary

Prohibited: 22 elements

 

Other representations of profile: CSV, Excel, Schematron