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: Create NHI Patient

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

The information to be supplied when requesting that a new Patient resource be created in the NHI.

Describe information to be supplied when requesting that a new Patient resource be created in the NHI

Usage:

Formal Views of Profile Content

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

This structure is derived from NhiPatient

NameFlagsCard.TypeDescription & Constraintsdoco
.. Patient C0..*NhiPatientInformation about an individual or animal receiving health care services
EM02106: A Patient must have an active Preferred Name
EM02201: A Patient must have a primary residential address
EM02101: A Patient name must contain either a given or family name
EM07225: If name-use-extra is supplied name-use must be temp, and source NPRF
EM07212: birthdate must be after 1 January 1900, and not a future date
EM07212-1: Date of Death cannot be a future date
EM07215: Date of Death must be greater than, or equal to Date of Birth
... implicitRules 0..0
... language 0..0
... contained:GP 0..0
... extension:ethnicity 1..6Nz_ethnicityNZ Ethnicity
... extension:nzCitizen 1..1Nz_citizenshipNZ Citizenship
.... extension 2..*ExtensionExtension
.... extension:status 1..1ExtensionExtension
..... value[x] 1..1CodeableConceptValue of extension
..... value[x]:valueCodeableConcept 1..1CodeableConceptValue of extension
.... extension:source 1..1ExtensionExtension
..... value[x] 1..1CodeableConceptValue of extension
..... value[x]:valueCodeableConcept 1..1CodeableConceptValue of extension
... extension:dhb 0..0
... extension:birthPlace 0..1BirthPlaceExtension
.... extension 2..*ExtensionExtension
.... extension:country 1..1ExtensionExtension
.... extension:source 1..1ExtensionExtension
..... value[x] 1..1CodeableConceptValue of extension
... identifier:NHI 0..0
... name C1..1HumanNameA name associated with the patient
EM07225: If name-use-extra is supplied name-use must be temp, and source NPRF
.... extension 2..*ExtensionExtension
.... extension:information-source 1..1Information_sourceInformation Source
..... value[x] 1..1CodeableConceptValue of extension
..... value[x]:valueCodeableConcept 1..1CodeableConceptValue of extension
.... prefix 0..1stringParts that come before the name
... telecom 0..0
... gender 1..1codemale | female | other | unknown
... birthDate 1..1dateThe date of birth for the individual
.... extension 1..*ExtensionExtension
.... extension:information-source 1..1Information_sourceInformation Source
..... value[x] 1..1CodeableConceptValue of extension
..... value[x]:valueCodeableConcept 1..1CodeableConceptValue of extension
... deceased[x]
.... extension 1..*ExtensionExtension
.... extension:information-source 1..1Information_sourceInformation Source
..... value[x] 1..1CodeableConceptValue of extension
..... value[x]:valueCodeableConcept 1..1CodeableConceptValue of extension
... address 1..1NhiAddressAn address expressed using postal conventions (as opposed to GPS or other location definition formats)
.... use 1..1codehome | work | temp | old | billing - purpose of this address
.... line 1..2stringStreet name, number, direction & P.O. Box etc.
... generalPractitioner 0..0

doco Documentation for this format

Constraints

IdGradePath(s)DetailsRequirements
EM02101errorPatientA Patient name must contain either a given or family name
: Patient.name.all(given.exists() and family.exists())
EM02106errorPatientA Patient must have an active Preferred Name
: Patient.name.extension.where((url = 'http://hl7.org/fhir/StructureDefinition/iso21090-preferred') and (valueBoolean=true)).count()=1
EM02201errorPatientA Patient must have a primary residential address
: Patient.address.where( (use = 'home') and (type = 'physical')).count()=1
EM07212errorPatientbirthdate must be after 1 January 1900, and not a future date
: (birthDate > @1900-01-01) and (birthDate < now())
EM07212-1errorPatientDate of Death cannot be a future date
: deceasedDateTime < now()
EM07215errorPatientDate of Death must be greater than, or equal to Date of Birth
: deceasedDateTime >= birthDate
EM07225errorPatient, Patient.nameIf name-use-extra is supplied name-use must be temp, and source NPRF
: name.where(use='temp').exists() implies (extension.where((url='http://hl7.org.nz/fhir/StructureDefinition/information-source') and (valueCodeableConcept.coding.code ='NPRF')).exists())
NameFlagsCard.TypeDescription & Constraintsdoco
.. Patient C0..*NhiPatientInformation about an individual or animal receiving health care services
EM02106: A Patient must have an active Preferred Name
EM02201: A Patient must have a primary residential address
EM02101: A Patient name must contain either a given or family name
EM07225: If name-use-extra is supplied name-use must be temp, and source NPRF
EM07212: birthdate must be after 1 January 1900, and not a future date
EM07212-1: Date of Death cannot be a future date
EM07215: Date of Death must be greater than, or equal to Date of Birth
... Slices for contained 0..*ResourceContained, inline Resources
Slice: Unordered, Closed by type:$this
... Slices for extension 2..*ExtensionExtension
Slice: Unordered, Open by value:url
... ethnicity 1..6CodeableConceptNZ Ethnicity
URL: http://hl7.org.nz/fhir/StructureDefinition/nz-ethnicity
Binding: Ethnicity of a person (preferred)
.... Slices for extension 2..*ExtensionExtension
Slice: Unordered, Open by value:url
.... extension:status 1..1ExtensionExtension
..... extension 0..0
..... url 1..1uri"status"
..... Slices for value[x] 1..1CodeableConceptValue of extension
Slice: Unordered, Closed by type:$this
...... value[x]:valueCodeableConcept 1..1CodeableConceptValue of extension
Binding: NZ Citizenship status (preferred)
.... extension:source 1..1ExtensionExtension
..... extension 0..0
..... url 1..1uri"source"
..... Slices for value[x] 1..1CodeableConceptValue of extension
Slice: Unordered, Closed by type:$this
...... value[x]:valueCodeableConcept 1..1CodeableConceptValue of extension
Binding: NZ Citizenship Information Source (required)
.... url 1..1uri"http://hl7.org.nz/fhir/StructureDefinition/nz-citizenship"
... birthPlace 0..1(Complex)Extension
URL: http://hl7.org.nz/fhir/StructureDefinition/birth-place
.... Slices for extension 2..*ExtensionExtension
Slice: Unordered, Open by value:url
.... extension:country 1..1ExtensionExtension
..... extension 0..0
..... url 1..1uri"country"
.... extension:place-of-birth 0..1ExtensionExtension
..... extension 0..0
..... url 1..1uri"place-of-birth"
.... extension:source 1..1ExtensionExtension
..... extension 0..0
..... url 1..1uri"source"
..... value[x] 1..1CodeableConceptValue of extension
Binding: Country of Birth Information Source (required)
.... url 1..1uri"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
... name ΣC1..1HumanNameA name associated with the patient
EM07225: If name-use-extra is supplied name-use must be temp, and source NPRF
.... Slices for extension 2..*ExtensionExtension
Slice: Unordered, Open by value:url
.... information-source 1..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] 1..1CodeableConceptValue of extension
Slice: Unordered, Closed by type:$this
...... value[x]:valueCodeableConcept 1..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.

.... 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..1stringParts that come before the name
Binding: Name Prefix Codes (required)
This repeating element order: Prefixes appear in the correct order for presenting the name
... gender Σ1..1codemale | female | other | unknown
Binding: AdministrativeGender (required): The gender of a person used for administrative purposes.

.... originalText 0..1stringExtension
URL: http://hl7.org.nz/fhir/StructureDefinition/gender-original-text
... birthDate Σ1..1dateThe date of birth for the individual
.... Slices for extension 1..*ExtensionExtension
Slice: Unordered, Open by value:url
.... information-source 1..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] 1..1CodeableConceptValue of extension
Slice: Unordered, Closed by type:$this
...... value[x]:valueCodeableConcept 1..1CodeableConceptValue of extension
Binding: Date of Birth Information Source (required)
... deceased[x] ?!Σ0..1dateTimeIndicates if the individual is deceased or not
.... Slices for extension 1..*ExtensionExtension
Slice: Unordered, Open by value:url
.... information-source 1..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] 1..1CodeableConceptValue of extension
Slice: Unordered, Closed by type:$this
...... value[x]:valueCodeableConcept 1..1CodeableConceptValue of extension
Binding: Date of Death Information Source (required)
... address 1..1NhiAddressAn 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 ?!Σ1..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..2stringStreet 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

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.extension:birthPlace.extension:source.value[x]requiredNhi_country_of_birth_source
https://nzhts.digital.health.nz/fhir/ValueSet/country-of-birth-source-code
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.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.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
EM02101errorPatientA Patient name must contain either a given or family name
: Patient.name.all(given.exists() and family.exists())
EM02106errorPatientA Patient must have an active Preferred Name
: Patient.name.extension.where((url = 'http://hl7.org/fhir/StructureDefinition/iso21090-preferred') and (valueBoolean=true)).count()=1
EM02201errorPatientA Patient must have a primary residential address
: Patient.address.where( (use = 'home') and (type = 'physical')).count()=1
EM07212errorPatientbirthdate must be after 1 January 1900, and not a future date
: (birthDate > @1900-01-01) and (birthDate < now())
EM07212-1errorPatientDate of Death cannot be a future date
: deceasedDateTime < now()
EM07215errorPatientDate of Death must be greater than, or equal to Date of Birth
: deceasedDateTime >= birthDate
EM07225errorPatient, Patient.nameIf name-use-extra is supplied name-use must be temp, and source NPRF
: name.where(use='temp').exists() implies (extension.where((url='http://hl7.org.nz/fhir/StructureDefinition/information-source') and (valueCodeableConcept.coding.code ='NPRF')).exists())
NameFlagsCard.TypeDescription & Constraintsdoco
.. Patient C0..*NhiPatientInformation about an individual or animal receiving health care services
EM02106: A Patient must have an active Preferred Name
EM02201: A Patient must have a primary residential address
EM02101: A Patient name must contain either a given or family name
EM07225: If name-use-extra is supplied name-use must be temp, and source NPRF
EM07212: birthdate must be after 1 January 1900, and not a future date
EM07212-1: Date of Death cannot be a future date
EM07215: Date of Death must be greater than, or equal to Date of Birth
... id Σ0..1idLogical id of this artifact
... meta Σ0..1MetaMetadata about the resource
... text 0..1NarrativeText summary of the resource, for human interpretation
... Slices for extension 2..*ExtensionExtension
Slice: Unordered, Open by value:url
... ethnicity 1..6CodeableConceptNZ Ethnicity
URL: http://hl7.org.nz/fhir/StructureDefinition/nz-ethnicity
Binding: Ethnicity of a person (preferred)
... nzCitizen 1..1(Complex)NZ Citizenship
URL: http://hl7.org.nz/fhir/StructureDefinition/nz-citizenship
.... id 0..1stringUnique id for inter-element referencing
.... Slices for extension 2..*ExtensionExtension
Slice: Unordered, Open by value:url
.... extension:status 1..1ExtensionExtension
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..0
..... url 1..1uri"status"
..... Slices for value[x] 1..1CodeableConceptValue of extension
Slice: Unordered, Closed by type:$this
...... value[x]:valueCodeableConcept 1..1CodeableConceptValue of extension
Binding: NZ Citizenship status (preferred)
.... extension:source 1..1ExtensionExtension
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..0
..... url 1..1uri"source"
..... Slices for value[x] 1..1CodeableConceptValue of extension
Slice: Unordered, Closed by type:$this
...... value[x]:valueCodeableConcept 1..1CodeableConceptValue of extension
Binding: NZ Citizenship Information Source (required)
.... url 1..1uri"http://hl7.org.nz/fhir/StructureDefinition/nz-citizenship"
... birthPlace 0..1(Complex)Extension
URL: http://hl7.org.nz/fhir/StructureDefinition/birth-place
.... id 0..1stringUnique id for inter-element referencing
.... Slices for extension 2..*ExtensionExtension
Slice: Unordered, Open by value:url
.... extension:country 1..1ExtensionExtension
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..0
..... url 1..1uri"country"
..... value[x] 0..1CodeableConceptValue of extension
Binding: ISO 3166-1:2013 (2-alpha country code) (required)
.... extension:place-of-birth 0..1ExtensionExtension
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..0
..... url 1..1uri"place-of-birth"
..... value[x] 0..1stringValue of extension
.... extension:source 1..1ExtensionExtension
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..0
..... url 1..1uri"source"
..... value[x] 1..1CodeableConceptValue of extension
Binding: Country of Birth Information Source (required)
.... url 1..1uri"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
... name ΣC1..1HumanNameA name associated with the patient
EM07225: If name-use-extra is supplied name-use must be temp, and source NPRF
.... id 0..1stringUnique id for inter-element referencing
.... Slices for extension 2..*ExtensionExtension
Slice: Unordered, Open by value:url
.... information-source 1..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] 1..1CodeableConceptValue of extension
Slice: Unordered, Closed by type:$this
...... value[x]:valueCodeableConcept 1..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..1stringParts that come before the name
Binding: Name Prefix Codes (required)
This repeating element order: Prefixes appear in the correct order for presenting the name
... gender Σ1..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 Σ1..1dateThe date of birth for the individual
.... id 0..1stringxml:id (or equivalent in JSON)
.... Slices for extension 1..*ExtensionExtension
Slice: Unordered, Open by value:url
.... information-source 1..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] 1..1CodeableConceptValue of extension
Slice: Unordered, Closed by type:$this
...... value[x]:valueCodeableConcept 1..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 1..*ExtensionExtension
Slice: Unordered, Open by value:url
.... information-source 1..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] 1..1CodeableConceptValue of extension
Slice: Unordered, Closed by type:$this
...... value[x]:valueCodeableConcept 1..1CodeableConceptValue of extension
Binding: Date of Death Information Source (required)
.... value 0..1dateTimePrimitive value for dateTime
... address 1..1NhiAddressAn 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 ?!Σ1..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..2stringStreet 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)

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.extension:birthPlace.extension:country.value[x]requiredHpi_country_code_iso_3166_1
https://nzhts.digital.health.nz/fhir/ValueSet/country-code
Patient.extension:birthPlace.extension:source.value[x]requiredNhi_country_of_birth_source
https://nzhts.digital.health.nz/fhir/ValueSet/country-of-birth-source-code
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
EM02101errorPatientA Patient name must contain either a given or family name
: Patient.name.all(given.exists() and family.exists())
EM02106errorPatientA Patient must have an active Preferred Name
: Patient.name.extension.where((url = 'http://hl7.org/fhir/StructureDefinition/iso21090-preferred') and (valueBoolean=true)).count()=1
EM02201errorPatientA Patient must have a primary residential address
: Patient.address.where( (use = 'home') and (type = 'physical')).count()=1
EM07212errorPatientbirthdate must be after 1 January 1900, and not a future date
: (birthDate > @1900-01-01) and (birthDate < now())
EM07212-1errorPatientDate of Death cannot be a future date
: deceasedDateTime < now()
EM07215errorPatientDate of Death must be greater than, or equal to Date of Birth
: deceasedDateTime >= birthDate
EM07225errorPatient, Patient.nameIf name-use-extra is supplied name-use must be temp, and source NPRF
: name.where(use='temp').exists() implies (extension.where((url='http://hl7.org.nz/fhir/StructureDefinition/information-source') and (valueCodeableConcept.coding.code ='NPRF')).exists())

This structure is derived from NhiPatient

Summary

Mandatory: 20 elements (7 nested mandatory elements)
Prohibited: 7 elements

Differential View

This structure is derived from NhiPatient

NameFlagsCard.TypeDescription & Constraintsdoco
.. Patient C0..*NhiPatientInformation about an individual or animal receiving health care services
EM02106: A Patient must have an active Preferred Name
EM02201: A Patient must have a primary residential address
EM02101: A Patient name must contain either a given or family name
EM07225: If name-use-extra is supplied name-use must be temp, and source NPRF
EM07212: birthdate must be after 1 January 1900, and not a future date
EM07212-1: Date of Death cannot be a future date
EM07215: Date of Death must be greater than, or equal to Date of Birth
... implicitRules 0..0
... language 0..0
... contained:GP 0..0
... extension:ethnicity 1..6Nz_ethnicityNZ Ethnicity
... extension:nzCitizen 1..1Nz_citizenshipNZ Citizenship
.... extension 2..*ExtensionExtension
.... extension:status 1..1ExtensionExtension
..... value[x] 1..1CodeableConceptValue of extension
..... value[x]:valueCodeableConcept 1..1CodeableConceptValue of extension
.... extension:source 1..1ExtensionExtension
..... value[x] 1..1CodeableConceptValue of extension
..... value[x]:valueCodeableConcept 1..1CodeableConceptValue of extension
... extension:dhb 0..0
... extension:birthPlace 0..1BirthPlaceExtension
.... extension 2..*ExtensionExtension
.... extension:country 1..1ExtensionExtension
.... extension:source 1..1ExtensionExtension
..... value[x] 1..1CodeableConceptValue of extension
... identifier:NHI 0..0
... name C1..1HumanNameA name associated with the patient
EM07225: If name-use-extra is supplied name-use must be temp, and source NPRF
.... extension 2..*ExtensionExtension
.... extension:information-source 1..1Information_sourceInformation Source
..... value[x] 1..1CodeableConceptValue of extension
..... value[x]:valueCodeableConcept 1..1CodeableConceptValue of extension
.... prefix 0..1stringParts that come before the name
... telecom 0..0
... gender 1..1codemale | female | other | unknown
... birthDate 1..1dateThe date of birth for the individual
.... extension 1..*ExtensionExtension
.... extension:information-source 1..1Information_sourceInformation Source
..... value[x] 1..1CodeableConceptValue of extension
..... value[x]:valueCodeableConcept 1..1CodeableConceptValue of extension
... deceased[x]
.... extension 1..*ExtensionExtension
.... extension:information-source 1..1Information_sourceInformation Source
..... value[x] 1..1CodeableConceptValue of extension
..... value[x]:valueCodeableConcept 1..1CodeableConceptValue of extension
... address 1..1NhiAddressAn address expressed using postal conventions (as opposed to GPS or other location definition formats)
.... use 1..1codehome | work | temp | old | billing - purpose of this address
.... line 1..2stringStreet name, number, direction & P.O. Box etc.
... generalPractitioner 0..0

doco Documentation for this format

Constraints

IdGradePath(s)DetailsRequirements
EM02101errorPatientA Patient name must contain either a given or family name
: Patient.name.all(given.exists() and family.exists())
EM02106errorPatientA Patient must have an active Preferred Name
: Patient.name.extension.where((url = 'http://hl7.org/fhir/StructureDefinition/iso21090-preferred') and (valueBoolean=true)).count()=1
EM02201errorPatientA Patient must have a primary residential address
: Patient.address.where( (use = 'home') and (type = 'physical')).count()=1
EM07212errorPatientbirthdate must be after 1 January 1900, and not a future date
: (birthDate > @1900-01-01) and (birthDate < now())
EM07212-1errorPatientDate of Death cannot be a future date
: deceasedDateTime < now()
EM07215errorPatientDate of Death must be greater than, or equal to Date of Birth
: deceasedDateTime >= birthDate
EM07225errorPatient, Patient.nameIf name-use-extra is supplied name-use must be temp, and source NPRF
: name.where(use='temp').exists() implies (extension.where((url='http://hl7.org.nz/fhir/StructureDefinition/information-source') and (valueCodeableConcept.coding.code ='NPRF')).exists())

Key Elements View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Patient C0..*NhiPatientInformation about an individual or animal receiving health care services
EM02106: A Patient must have an active Preferred Name
EM02201: A Patient must have a primary residential address
EM02101: A Patient name must contain either a given or family name
EM07225: If name-use-extra is supplied name-use must be temp, and source NPRF
EM07212: birthdate must be after 1 January 1900, and not a future date
EM07212-1: Date of Death cannot be a future date
EM07215: Date of Death must be greater than, or equal to Date of Birth
... Slices for contained 0..*ResourceContained, inline Resources
Slice: Unordered, Closed by type:$this
... Slices for extension 2..*ExtensionExtension
Slice: Unordered, Open by value:url
... ethnicity 1..6CodeableConceptNZ Ethnicity
URL: http://hl7.org.nz/fhir/StructureDefinition/nz-ethnicity
Binding: Ethnicity of a person (preferred)
.... Slices for extension 2..*ExtensionExtension
Slice: Unordered, Open by value:url
.... extension:status 1..1ExtensionExtension
..... extension 0..0
..... url 1..1uri"status"
..... Slices for value[x] 1..1CodeableConceptValue of extension
Slice: Unordered, Closed by type:$this
...... value[x]:valueCodeableConcept 1..1CodeableConceptValue of extension
Binding: NZ Citizenship status (preferred)
.... extension:source 1..1ExtensionExtension
..... extension 0..0
..... url 1..1uri"source"
..... Slices for value[x] 1..1CodeableConceptValue of extension
Slice: Unordered, Closed by type:$this
...... value[x]:valueCodeableConcept 1..1CodeableConceptValue of extension
Binding: NZ Citizenship Information Source (required)
.... url 1..1uri"http://hl7.org.nz/fhir/StructureDefinition/nz-citizenship"
... birthPlace 0..1(Complex)Extension
URL: http://hl7.org.nz/fhir/StructureDefinition/birth-place
.... Slices for extension 2..*ExtensionExtension
Slice: Unordered, Open by value:url
.... extension:country 1..1ExtensionExtension
..... extension 0..0
..... url 1..1uri"country"
.... extension:place-of-birth 0..1ExtensionExtension
..... extension 0..0
..... url 1..1uri"place-of-birth"
.... extension:source 1..1ExtensionExtension
..... extension 0..0
..... url 1..1uri"source"
..... value[x] 1..1CodeableConceptValue of extension
Binding: Country of Birth Information Source (required)
.... url 1..1uri"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
... name ΣC1..1HumanNameA name associated with the patient
EM07225: If name-use-extra is supplied name-use must be temp, and source NPRF
.... Slices for extension 2..*ExtensionExtension
Slice: Unordered, Open by value:url
.... information-source 1..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] 1..1CodeableConceptValue of extension
Slice: Unordered, Closed by type:$this
...... value[x]:valueCodeableConcept 1..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.

.... 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..1stringParts that come before the name
Binding: Name Prefix Codes (required)
This repeating element order: Prefixes appear in the correct order for presenting the name
... gender Σ1..1codemale | female | other | unknown
Binding: AdministrativeGender (required): The gender of a person used for administrative purposes.

.... originalText 0..1stringExtension
URL: http://hl7.org.nz/fhir/StructureDefinition/gender-original-text
... birthDate Σ1..1dateThe date of birth for the individual
.... Slices for extension 1..*ExtensionExtension
Slice: Unordered, Open by value:url
.... information-source 1..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] 1..1CodeableConceptValue of extension
Slice: Unordered, Closed by type:$this
...... value[x]:valueCodeableConcept 1..1CodeableConceptValue of extension
Binding: Date of Birth Information Source (required)
... deceased[x] ?!Σ0..1dateTimeIndicates if the individual is deceased or not
.... Slices for extension 1..*ExtensionExtension
Slice: Unordered, Open by value:url
.... information-source 1..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] 1..1CodeableConceptValue of extension
Slice: Unordered, Closed by type:$this
...... value[x]:valueCodeableConcept 1..1CodeableConceptValue of extension
Binding: Date of Death Information Source (required)
... address 1..1NhiAddressAn 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 ?!Σ1..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..2stringStreet 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

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.extension:birthPlace.extension:source.value[x]requiredNhi_country_of_birth_source
https://nzhts.digital.health.nz/fhir/ValueSet/country-of-birth-source-code
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.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.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
EM02101errorPatientA Patient name must contain either a given or family name
: Patient.name.all(given.exists() and family.exists())
EM02106errorPatientA Patient must have an active Preferred Name
: Patient.name.extension.where((url = 'http://hl7.org/fhir/StructureDefinition/iso21090-preferred') and (valueBoolean=true)).count()=1
EM02201errorPatientA Patient must have a primary residential address
: Patient.address.where( (use = 'home') and (type = 'physical')).count()=1
EM07212errorPatientbirthdate must be after 1 January 1900, and not a future date
: (birthDate > @1900-01-01) and (birthDate < now())
EM07212-1errorPatientDate of Death cannot be a future date
: deceasedDateTime < now()
EM07215errorPatientDate of Death must be greater than, or equal to Date of Birth
: deceasedDateTime >= birthDate
EM07225errorPatient, Patient.nameIf name-use-extra is supplied name-use must be temp, and source NPRF
: name.where(use='temp').exists() implies (extension.where((url='http://hl7.org.nz/fhir/StructureDefinition/information-source') and (valueCodeableConcept.coding.code ='NPRF')).exists())

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Patient C0..*NhiPatientInformation about an individual or animal receiving health care services
EM02106: A Patient must have an active Preferred Name
EM02201: A Patient must have a primary residential address
EM02101: A Patient name must contain either a given or family name
EM07225: If name-use-extra is supplied name-use must be temp, and source NPRF
EM07212: birthdate must be after 1 January 1900, and not a future date
EM07212-1: Date of Death cannot be a future date
EM07215: Date of Death must be greater than, or equal to Date of Birth
... id Σ0..1idLogical id of this artifact
... meta Σ0..1MetaMetadata about the resource
... text 0..1NarrativeText summary of the resource, for human interpretation
... Slices for extension 2..*ExtensionExtension
Slice: Unordered, Open by value:url
... ethnicity 1..6CodeableConceptNZ Ethnicity
URL: http://hl7.org.nz/fhir/StructureDefinition/nz-ethnicity
Binding: Ethnicity of a person (preferred)
... nzCitizen 1..1(Complex)NZ Citizenship
URL: http://hl7.org.nz/fhir/StructureDefinition/nz-citizenship
.... id 0..1stringUnique id for inter-element referencing
.... Slices for extension 2..*ExtensionExtension
Slice: Unordered, Open by value:url
.... extension:status 1..1ExtensionExtension
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..0
..... url 1..1uri"status"
..... Slices for value[x] 1..1CodeableConceptValue of extension
Slice: Unordered, Closed by type:$this
...... value[x]:valueCodeableConcept 1..1CodeableConceptValue of extension
Binding: NZ Citizenship status (preferred)
.... extension:source 1..1ExtensionExtension
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..0
..... url 1..1uri"source"
..... Slices for value[x] 1..1CodeableConceptValue of extension
Slice: Unordered, Closed by type:$this
...... value[x]:valueCodeableConcept 1..1CodeableConceptValue of extension
Binding: NZ Citizenship Information Source (required)
.... url 1..1uri"http://hl7.org.nz/fhir/StructureDefinition/nz-citizenship"
... birthPlace 0..1(Complex)Extension
URL: http://hl7.org.nz/fhir/StructureDefinition/birth-place
.... id 0..1stringUnique id for inter-element referencing
.... Slices for extension 2..*ExtensionExtension
Slice: Unordered, Open by value:url
.... extension:country 1..1ExtensionExtension
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..0
..... url 1..1uri"country"
..... value[x] 0..1CodeableConceptValue of extension
Binding: ISO 3166-1:2013 (2-alpha country code) (required)
.... extension:place-of-birth 0..1ExtensionExtension
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..0
..... url 1..1uri"place-of-birth"
..... value[x] 0..1stringValue of extension
.... extension:source 1..1ExtensionExtension
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..0
..... url 1..1uri"source"
..... value[x] 1..1CodeableConceptValue of extension
Binding: Country of Birth Information Source (required)
.... url 1..1uri"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
... name ΣC1..1HumanNameA name associated with the patient
EM07225: If name-use-extra is supplied name-use must be temp, and source NPRF
.... id 0..1stringUnique id for inter-element referencing
.... Slices for extension 2..*ExtensionExtension
Slice: Unordered, Open by value:url
.... information-source 1..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] 1..1CodeableConceptValue of extension
Slice: Unordered, Closed by type:$this
...... value[x]:valueCodeableConcept 1..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..1stringParts that come before the name
Binding: Name Prefix Codes (required)
This repeating element order: Prefixes appear in the correct order for presenting the name
... gender Σ1..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 Σ1..1dateThe date of birth for the individual
.... id 0..1stringxml:id (or equivalent in JSON)
.... Slices for extension 1..*ExtensionExtension
Slice: Unordered, Open by value:url
.... information-source 1..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] 1..1CodeableConceptValue of extension
Slice: Unordered, Closed by type:$this
...... value[x]:valueCodeableConcept 1..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 1..*ExtensionExtension
Slice: Unordered, Open by value:url
.... information-source 1..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] 1..1CodeableConceptValue of extension
Slice: Unordered, Closed by type:$this
...... value[x]:valueCodeableConcept 1..1CodeableConceptValue of extension
Binding: Date of Death Information Source (required)
.... value 0..1dateTimePrimitive value for dateTime
... address 1..1NhiAddressAn 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 ?!Σ1..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..2stringStreet 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)

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.extension:birthPlace.extension:country.value[x]requiredHpi_country_code_iso_3166_1
https://nzhts.digital.health.nz/fhir/ValueSet/country-code
Patient.extension:birthPlace.extension:source.value[x]requiredNhi_country_of_birth_source
https://nzhts.digital.health.nz/fhir/ValueSet/country-of-birth-source-code
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
EM02101errorPatientA Patient name must contain either a given or family name
: Patient.name.all(given.exists() and family.exists())
EM02106errorPatientA Patient must have an active Preferred Name
: Patient.name.extension.where((url = 'http://hl7.org/fhir/StructureDefinition/iso21090-preferred') and (valueBoolean=true)).count()=1
EM02201errorPatientA Patient must have a primary residential address
: Patient.address.where( (use = 'home') and (type = 'physical')).count()=1
EM07212errorPatientbirthdate must be after 1 January 1900, and not a future date
: (birthDate > @1900-01-01) and (birthDate < now())
EM07212-1errorPatientDate of Death cannot be a future date
: deceasedDateTime < now()
EM07215errorPatientDate of Death must be greater than, or equal to Date of Birth
: deceasedDateTime >= birthDate
EM07225errorPatient, Patient.nameIf name-use-extra is supplied name-use must be temp, and source NPRF
: name.where(use='temp').exists() implies (extension.where((url='http://hl7.org.nz/fhir/StructureDefinition/information-source') and (valueCodeableConcept.coding.code ='NPRF')).exists())

This structure is derived from NhiPatient

Summary

Mandatory: 20 elements (7 nested mandatory elements)
Prohibited: 7 elements

 

Other representations of profile: CSV, Excel, Schematron