Health New Zealand Te Whatu Ora Shared Care FHIR API
0.4.5 - release
Health New Zealand Te Whatu Ora Shared Care FHIR API - Local Development build (v0.4.5) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions
| Official URL: https://fhir-ig.digital.health.nz/shared-care/StructureDefinition/DHOPatientUpdate | Version: 1.0.1 | |||
| Active as of 2026-07-20 | Computable Name: DHOPatientUpdate | |||
This profile derives from the Patient Resource with localisations using international and NZ standards including the FHIR NZ Base IG, for use in the Dunedin Hospital Outpatients context.
Usages:
You can also check for usages in the FHIR IG Statistics
Description of Profiles, Differentials, Snapshots and how the different presentations work.
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | NzPatient | Information about an individual or animal receiving health care services Constraints: nz-pat-1 |
![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() |
0..1 | (Complex) | This field indicates New Zealand citizenship status of the patient URL: http://hl7.org.nz/fhir/StructureDefinition/nz-citizenship | |
![]() ![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() ![]() |
0..1 | Extension | Extension | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | Extension Slice: Unordered, Open by value:url | ||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "status" | |
![]() ![]() ![]() ![]() ![]() |
0..1 | Extension | Extension | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | Extension Slice: Unordered, Open by value:url | ||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "source" | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | Value of extension Binding: NZ Citizenship Information Source (required) | |
![]() ![]() ![]() ![]() |
1..1 | uri | "http://hl7.org.nz/fhir/StructureDefinition/nz-citizenship" | |
![]() ![]() ![]() |
0..1 | CodeableConcept | District 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 | |
![]() ![]() ![]() |
0..1 | CodeableConcept | NZ Domicile Code URL: http://hl7.org.nz/fhir/StructureDefinition/domicile-code Binding: Domicile Code (preferred) | |
![]() ![]() ![]() |
0..1 | CodeableConcept | Primary Healthcare Organisation URL: http://hl7.org.nz/fhir/StructureDefinition/pho Binding: PHO (extensible): NZ HPI-ORG Values for PHOs | |
![]() ![]() ![]() |
0..1 | CodeableConcept | Sex At Birth URL: http://hl7.org.nz/fhir/StructureDefinition/sex-at-birth Binding: AdministrativeGender (required) | |
![]() ![]() ![]() |
0..* | CodeableConcept | Extension URL: http://hl7.org.nz/fhir/StructureDefinition/nz-iwi Binding: Iwi (preferred) | |
![]() ![]() ![]() |
0..1 | CodeableConcept | Extension URL: http://hl7.org.nz/fhir/StructureDefinition/acc-patient-occupation Binding: ACC Patient Occupation (example) | |
![]() ![]() ![]() |
0..* | (Complex) | Messaging Address URL: http://hl7.org.nz/fhir/StructureDefinition/messaging-address | |
![]() ![]() ![]() |
0..1 | (Complex) | Extension URL: http://hl7.org.nz/fhir/StructureDefinition/nz-residency | |
![]() ![]() ![]() |
0..1 | boolean | Whether an interpreter is required URL: http://hl7.org/fhir/StructureDefinition/patient-interpreterRequired | |
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored |
![]() ![]() |
Σ | 0..* | Identifier | An identifier for this patient Slice: Unordered, Open by value:system |
![]() ![]() ![]() |
Σ | 0..* | Identifier | An identifier for this patient |
![]() ![]() ![]() ![]() |
?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: Valid use values for NHI (required) |
![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | The namespace for the identifier value Fixed Value: https://standards.digital.health.nz/ns/nhi-id |
![]() ![]() |
?!Σ | 0..1 | boolean | Whether this patient's record is in active use |
![]() ![]() |
SC | 1..* | NzContactPoint | Details of a Technology mediated contact point (phone, fax, email, etc.) Constraints: cpt-2, dho-telecom-notification-valid-system, dho-telecom-validation-system |
![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() |
S | 0..1 | boolean | True if notifications can be sent to this email or SMS address URL: https://fhir-ig.digital.health.nz/shared-care/StructureDefinition/dho-telecom-notification |
![]() ![]() ![]() ![]() |
S | 0..1 | CodeableConcept | Validation status of this telecom URL: https://fhir-ig.digital.health.nz/shared-care/StructureDefinition/dho-telecom-validation Binding: Allowed Telecom Validation Statuses (required) |
![]() ![]() ![]() |
SΣC | 1..1 | code | phone | fax | email | pager | url | sms | other Binding: ContactPointSystem (required): Telecommunications form for contact point. |
![]() ![]() ![]() |
SΣ | 1..1 | string | The actual contact point details |
![]() ![]() ![]() |
?!SΣ | 1..1 | code | home | work | mobile Binding: ContactPointUse (required): Use of contact point. |
![]() ![]() |
?!Σ | 0..1 | dateTime | Indicates if the individual is deceased or not Slice: Unordered, Closed by type:$this |
![]() ![]() ![]() |
?!Σ | 0..1 | dateTime | Indicates if the individual is deceased or not |
![]() ![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | Information Source URL: http://hl7.org.nz/fhir/StructureDefinition/information-source Binding: Information Source (preferred) | |
![]() ![]() |
0..1 | integer | Whether patient is part of a multiple birth Slice: Unordered, Open by type:$this | |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| Patient.extension:ethnicity.value[x] | Base | required | Ethnicity of a person (L4) | 📍2.1.0 | HL7® FHIR® New Zealand Base Implementation Guide v3.0 |
| Patient.extension:nzCitizen.extension:source.value[x] | Base | required |
NZ Citizenship Information Source
|
⏿20230401 | nzhts.digital.health.nz |
| Patient.identifier:NHI.use | Base | required | Valid use values for NHI | 📦1.0.0 | HL7® FHIR® New Zealand Base Implementation Guide v3.0 |
| Patient.name.use | Base | required | NameUse | 📍4.0.1 | FHIR Std. |
| Patient.telecom.system | Base | required | ContactPointSystem | 📍4.0.1 | FHIR Std. |
| Patient.telecom.use | Base | required | ContactPointUse | 📍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. |
| Id | Grade | Path(s) | Description | Expression |
| cpt-2 | error | Patient.telecom | A system is required if a value is provided. |
value.empty() or system.exists()
|
| dho-telecom-notification-valid-system | warning | Patient.telecom | The notification-enabled extension should only be present when the telecom system is 'email', 'sms', or 'phone' with use 'mobile'. |
extension.where(url = 'https://fhir-ig.digital.health.nz/shared-care/StructureDefinition/dho-telecom-notification').exists() implies (system = 'email' or system = 'sms' or (system = 'phone' and use = 'mobile'))
|
| dho-telecom-validation-system | warning | Patient.telecom | The validation-status extension should only be present when the telecom system is 'email', 'sms', or 'phone' with use 'mobile'. |
extension.where(url = 'https://fhir-ig.digital.health.nz/shared-care/StructureDefinition/dho-telecom-validation').exists() implies (system = 'email' or system = 'sms' or (system = 'phone' and use = 'mobile'))
|
| 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
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | NzPatient | Information about an individual or animal receiving health care services | |
![]() ![]() |
||||
![]() ![]() ![]() |
1..1 | uri | HPI Facility ID from where the record is sourced | |
![]() ![]() ![]() |
1..* | Coding | Correlation-id where the record is sourced Slice: Unordered, Open by value:system | |
![]() ![]() ![]() ![]() |
1..1 | Coding | Tags applied to this resource | |
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system Fixed Value: https://hub.services.digital.health.nz/ns/correlation-id | |
![]() ![]() ![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system | |
![]() ![]() |
0..0 | A set of rules under which this content was created | ||
![]() ![]() |
0..0 | Language of the resource content | ||
![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() |
0..0 | NZ Ethnicity | ||
![]() ![]() ![]() |
0..1 | Nz_citizenship | This field indicates New Zealand citizenship status of the patient | |
![]() ![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() ![]() |
0..1 | Extension | Extension | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | Value of extension Binding: NZ Citizenship Information Source (required) | |
![]() ![]() ![]() |
0..1 | boolean | Whether an interpreter is required URL: http://hl7.org/fhir/StructureDefinition/patient-interpreterRequired | |
![]() ![]() |
0..0 | A name associated with the patient | ||
![]() ![]() |
SC | 1..* | NzContactPoint | Details of a Technology mediated contact point (phone, fax, email, etc.) Constraints: dho-telecom-notification-valid-system, dho-telecom-validation-system |
![]() ![]() ![]() |
0..0 | Unique id for inter-element referencing | ||
![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() |
0..0 | A specific purpose for which this ContactPoint dataType would be used | ||
![]() ![]() ![]() ![]() |
S | 0..1 | boolean | True if notifications can be sent to this email or SMS address URL: https://fhir-ig.digital.health.nz/shared-care/StructureDefinition/dho-telecom-notification |
![]() ![]() ![]() ![]() |
S | 0..1 | CodeableConcept | Validation status of this telecom URL: https://fhir-ig.digital.health.nz/shared-care/StructureDefinition/dho-telecom-validation Binding: Allowed Telecom Validation Statuses (required) |
![]() ![]() ![]() |
S | 1..1 | code | phone | fax | email | pager | url | sms | other |
![]() ![]() ![]() |
S | 1..1 | string | The actual contact point details |
![]() ![]() ![]() |
S | 1..1 | code | home | work | mobile |
![]() ![]() ![]() |
0..0 | Time period when the contact point was/is in use | ||
![]() ![]() |
0..0 | The date of birth for the individual | ||
![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() |
0..0 | Indicates if the individual is deceased or not | ||
![]() ![]() |
0..0 | An address expressed using postal conventions (as opposed to GPS or other location definition formats) | ||
![]() ![]() |
0..0 | Marital (civil) status of a patient | ||
![]() ![]() |
0..1 | integer | Whether patient is part of a multiple birth Slice: Unordered, Open by type:$this | |
![]() ![]() ![]() |
0..0 | Whether patient is part of a multiple birth | ||
![]() ![]() |
0..0 | Image of the patient | ||
![]() ![]() |
0..0 | A contact party (e.g. guardian, partner, friend) for the patient | ||
![]() ![]() |
0..0 | A language which may be used to communicate with the patient about his or her health | ||
![]() ![]() |
0..0 | Patient's nominated primary care provider | ||
![]() ![]() |
0..0 | Organization that is the custodian of the patient record | ||
![]() ![]() |
0..0 | Link to another patient resource that concerns the same actual person | ||
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| Patient.extension:ethnicity.value[x] | Base | required | Ethnicity of a person (L4) | 📍2.1.0 | HL7® FHIR® New Zealand Base Implementation Guide v3.0 |
| Patient.extension:nzCitizen.extension:source.value[x] | Base | required |
NZ Citizenship Information Source
|
⏿20230401 | nzhts.digital.health.nz |
| Id | Grade | Path(s) | Description | Expression |
| dho-telecom-notification-valid-system | warning | Patient.telecom | The notification-enabled extension should only be present when the telecom system is 'email', 'sms', or 'phone' with use 'mobile'. |
extension.where(url = 'https://fhir-ig.digital.health.nz/shared-care/StructureDefinition/dho-telecom-notification').exists() implies (system = 'email' or system = 'sms' or (system = 'phone' and use = 'mobile'))
|
| dho-telecom-validation-system | warning | Patient.telecom | The validation-status extension should only be present when the telecom system is 'email', 'sms', or 'phone' with use 'mobile'. |
extension.where(url = 'https://fhir-ig.digital.health.nz/shared-care/StructureDefinition/dho-telecom-validation').exists() implies (system = 'email' or system = 'sms' or (system = 'phone' and use = 'mobile'))
|
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | NzPatient | Information about an individual or animal receiving health care services Constraints: nz-pat-1 |
![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact |
![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource |
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
Σ | 0..1 | id | Version specific identifier |
![]() ![]() ![]() |
Σ | 0..1 | instant | When the resource version last changed |
![]() ![]() ![]() |
Σ | 1..1 | uri | HPI Facility ID from where the record is sourced |
![]() ![]() ![]() |
Σ | 0..* | canonical(StructureDefinition) | Profiles this resource claims to conform to |
![]() ![]() ![]() |
Σ | 0..* | Coding | Security Labels applied to this resource Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System. |
![]() ![]() ![]() |
Σ | 1..* | Coding | Correlation-id where the record is sourced Slice: Unordered, Open by value:system Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones". |
![]() ![]() ![]() ![]() |
Σ | 1..1 | Coding | Tags applied to this resource Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones". |
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | Identity of the terminology system Fixed Value: https://hub.services.digital.health.nz/ns/correlation-id |
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Version of the system - if relevant |
![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | code | Symbol in syntax defined by the system |
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Representation defined by the system |
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | boolean | If this coding was chosen directly by the user |
![]() ![]() |
0..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements | |
![]() ![]() |
0..* | Resource | Contained, inline Resources | |
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
0..1 | (Complex) | This field indicates New Zealand citizenship status of the patient URL: http://hl7.org.nz/fhir/StructureDefinition/nz-citizenship | |
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() ![]() |
0..1 | Extension | Extension | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | Extension Slice: Unordered, Open by value:url | ||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "status" | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | Value of extension Binding: NZ Citizenship status (preferred) | |
![]() ![]() ![]() ![]() ![]() |
0..1 | Extension | Extension | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | Extension Slice: Unordered, Open by value:url | ||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "source" | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | Value of extension Binding: NZ Citizenship Information Source (required) | |
![]() ![]() ![]() ![]() |
1..1 | uri | "http://hl7.org.nz/fhir/StructureDefinition/nz-citizenship" | |
![]() ![]() ![]() |
0..1 | CodeableConcept | District 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 | |
![]() ![]() ![]() |
0..1 | CodeableConcept | NZ Domicile Code URL: http://hl7.org.nz/fhir/StructureDefinition/domicile-code Binding: Domicile Code (preferred) | |
![]() ![]() ![]() |
0..1 | CodeableConcept | Primary Healthcare Organisation URL: http://hl7.org.nz/fhir/StructureDefinition/pho Binding: PHO (extensible): NZ HPI-ORG Values for PHOs | |
![]() ![]() ![]() |
0..1 | CodeableConcept | Sex At Birth URL: http://hl7.org.nz/fhir/StructureDefinition/sex-at-birth Binding: AdministrativeGender (required) | |
![]() ![]() ![]() |
0..* | CodeableConcept | Extension URL: http://hl7.org.nz/fhir/StructureDefinition/nz-iwi Binding: Iwi (preferred) | |
![]() ![]() ![]() |
0..1 | CodeableConcept | Extension URL: http://hl7.org.nz/fhir/StructureDefinition/acc-patient-occupation Binding: ACC Patient Occupation (example) | |
![]() ![]() ![]() |
0..* | (Complex) | Messaging Address URL: http://hl7.org.nz/fhir/StructureDefinition/messaging-address | |
![]() ![]() ![]() |
0..1 | (Complex) | Extension URL: http://hl7.org.nz/fhir/StructureDefinition/nz-residency | |
![]() ![]() ![]() |
0..1 | boolean | Whether an interpreter is required URL: http://hl7.org/fhir/StructureDefinition/patient-interpreterRequired | |
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored |
![]() ![]() |
Σ | 0..* | Identifier | An identifier for this patient Slice: Unordered, Open by value:system |
![]() ![]() ![]() |
Σ | 0..* | Identifier | An identifier for this patient |
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: Valid use values for NHI (required) |
![]() ![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | Description of identifier Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose. |
![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | The namespace for the identifier value Fixed Value: https://standards.digital.health.nz/ns/nhi-id |
![]() ![]() ![]() ![]() |
Σ | 0..1 | string | The value that is unique Example General: 123456 |
![]() ![]() ![]() ![]() |
Σ | 0..1 | Period | Time period when id is/was valid for use |
![]() ![]() ![]() ![]() |
Σ | 0..1 | Reference(Organization) | Organization that issued id (may be just text) |
![]() ![]() |
?!Σ | 0..1 | boolean | Whether this patient's record is in active use |
![]() ![]() |
SC | 1..* | NzContactPoint | Details of a Technology mediated contact point (phone, fax, email, etc.) Constraints: cpt-2, dho-telecom-notification-valid-system, dho-telecom-validation-system |
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
S | 0..1 | boolean | True if notifications can be sent to this email or SMS address URL: https://fhir-ig.digital.health.nz/shared-care/StructureDefinition/dho-telecom-notification |
![]() ![]() ![]() ![]() |
S | 0..1 | CodeableConcept | Validation status of this telecom URL: https://fhir-ig.digital.health.nz/shared-care/StructureDefinition/dho-telecom-validation Binding: Allowed Telecom Validation Statuses (required) |
![]() ![]() ![]() |
SΣC | 1..1 | code | phone | fax | email | pager | url | sms | other Binding: ContactPointSystem (required): Telecommunications form for contact point. |
![]() ![]() ![]() |
SΣ | 1..1 | string | The actual contact point details |
![]() ![]() ![]() |
?!SΣ | 1..1 | code | home | work | mobile Binding: ContactPointUse (required): Use of contact point. |
![]() ![]() ![]() |
Σ | 0..1 | positiveInt | Specify preferred order of use (1 = highest) |
![]() ![]() |
Σ | 0..1 | code | male | female | other | unknown Binding: AdministrativeGender (required): The gender of a person used for administrative purposes. |
![]() ![]() ![]() |
0..1 | string | xml:id (or equivalent in JSON) | |
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
0..1 | string | Extension URL: http://hl7.org.nz/fhir/StructureDefinition/gender-original-text | |
![]() ![]() ![]() |
0..1 | string | Primitive value for code | |
![]() ![]() |
?!Σ | 0..1 | dateTime | Indicates if the individual is deceased or not Slice: Unordered, Closed by type:$this |
![]() ![]() ![]() |
?!Σ | 0..1 | dateTime | Indicates if the individual is deceased or not |
![]() ![]() ![]() ![]() |
0..1 | string | xml:id (or equivalent in JSON) | |
![]() ![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | Information Source URL: http://hl7.org.nz/fhir/StructureDefinition/information-source Binding: Information Source (preferred) | |
![]() ![]() ![]() ![]() |
0..1 | dateTime | Primitive value for dateTime | |
![]() ![]() |
0..1 | integer | Whether patient is part of a multiple birth Slice: Unordered, Open by type:$this | |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| Patient.meta.security | Base | extensible | SecurityLabels | 📍4.0.1 | FHIR Std. |
| Patient.meta.tag | Base | example | Common Tags | 📍4.0.1 | FHIR Std. |
| Patient.meta.tag:correlationId | Base | example | Common Tags | 📍4.0.1 | FHIR Std. |
| Patient.extension:ethnicity.value[x] | Base | required | Ethnicity of a person (L4) | 📍2.1.0 | HL7® FHIR® New Zealand Base Implementation Guide v3.0 |
| Patient.extension:nzCitizen.extension:status.value[x] | Base | preferred | NZ Citizenship status | 📦1.1.0 | HL7® FHIR® New Zealand Base Implementation Guide v3.0 |
| Patient.extension:nzCitizen.extension:source.value[x] | Base | required |
NZ Citizenship Information Source
|
⏿20230401 | nzhts.digital.health.nz |
| Patient.identifier:NHI.use | Base | required | Valid use values for NHI | 📦1.0.0 | HL7® FHIR® New Zealand Base Implementation Guide v3.0 |
| Patient.identifier:NHI.type | Base | extensible | IdentifierType | 📦4.0.1 | FHIR Std. |
| Patient.name.use | Base | required | NameUse | 📍4.0.1 | FHIR Std. |
| Patient.telecom.system | Base | required | ContactPointSystem | 📍4.0.1 | FHIR Std. |
| Patient.telecom.use | Base | required | ContactPointUse | 📍4.0.1 | FHIR Std. |
| Patient.gender | Base | required | AdministrativeGender | 📍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. |
| Id | Grade | Path(s) | Description | Expression |
| cpt-2 | error | Patient.telecom | A system is required if a value is provided. |
value.empty() or system.exists()
|
| dho-telecom-notification-valid-system | warning | Patient.telecom | The notification-enabled extension should only be present when the telecom system is 'email', 'sms', or 'phone' with use 'mobile'. |
extension.where(url = 'https://fhir-ig.digital.health.nz/shared-care/StructureDefinition/dho-telecom-notification').exists() implies (system = 'email' or system = 'sms' or (system = 'phone' and use = 'mobile'))
|
| dho-telecom-validation-system | warning | Patient.telecom | The validation-status extension should only be present when the telecom system is 'email', 'sms', or 'phone' with use 'mobile'. |
extension.where(url = 'https://fhir-ig.digital.health.nz/shared-care/StructureDefinition/dho-telecom-validation').exists() implies (system = 'email' or system = 'sms' or (system = 'phone' and use = 'mobile'))
|
| 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
Mandatory: 4 elements(5 nested mandatory elements)
Must-Support: 6 elements
Fixed: 1 element
Prohibited: 18 elements
Extensions
This structure refers to these extensions:
Slices
This structure defines the following Slices:
Key Elements View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | NzPatient | Information about an individual or animal receiving health care services Constraints: nz-pat-1 |
![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() |
0..1 | (Complex) | This field indicates New Zealand citizenship status of the patient URL: http://hl7.org.nz/fhir/StructureDefinition/nz-citizenship | |
![]() ![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() ![]() |
0..1 | Extension | Extension | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | Extension Slice: Unordered, Open by value:url | ||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "status" | |
![]() ![]() ![]() ![]() ![]() |
0..1 | Extension | Extension | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | Extension Slice: Unordered, Open by value:url | ||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "source" | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | Value of extension Binding: NZ Citizenship Information Source (required) | |
![]() ![]() ![]() ![]() |
1..1 | uri | "http://hl7.org.nz/fhir/StructureDefinition/nz-citizenship" | |
![]() ![]() ![]() |
0..1 | CodeableConcept | District 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 | |
![]() ![]() ![]() |
0..1 | CodeableConcept | NZ Domicile Code URL: http://hl7.org.nz/fhir/StructureDefinition/domicile-code Binding: Domicile Code (preferred) | |
![]() ![]() ![]() |
0..1 | CodeableConcept | Primary Healthcare Organisation URL: http://hl7.org.nz/fhir/StructureDefinition/pho Binding: PHO (extensible): NZ HPI-ORG Values for PHOs | |
![]() ![]() ![]() |
0..1 | CodeableConcept | Sex At Birth URL: http://hl7.org.nz/fhir/StructureDefinition/sex-at-birth Binding: AdministrativeGender (required) | |
![]() ![]() ![]() |
0..* | CodeableConcept | Extension URL: http://hl7.org.nz/fhir/StructureDefinition/nz-iwi Binding: Iwi (preferred) | |
![]() ![]() ![]() |
0..1 | CodeableConcept | Extension URL: http://hl7.org.nz/fhir/StructureDefinition/acc-patient-occupation Binding: ACC Patient Occupation (example) | |
![]() ![]() ![]() |
0..* | (Complex) | Messaging Address URL: http://hl7.org.nz/fhir/StructureDefinition/messaging-address | |
![]() ![]() ![]() |
0..1 | (Complex) | Extension URL: http://hl7.org.nz/fhir/StructureDefinition/nz-residency | |
![]() ![]() ![]() |
0..1 | boolean | Whether an interpreter is required URL: http://hl7.org/fhir/StructureDefinition/patient-interpreterRequired | |
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored |
![]() ![]() |
Σ | 0..* | Identifier | An identifier for this patient Slice: Unordered, Open by value:system |
![]() ![]() ![]() |
Σ | 0..* | Identifier | An identifier for this patient |
![]() ![]() ![]() ![]() |
?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: Valid use values for NHI (required) |
![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | The namespace for the identifier value Fixed Value: https://standards.digital.health.nz/ns/nhi-id |
![]() ![]() |
?!Σ | 0..1 | boolean | Whether this patient's record is in active use |
![]() ![]() |
SC | 1..* | NzContactPoint | Details of a Technology mediated contact point (phone, fax, email, etc.) Constraints: cpt-2, dho-telecom-notification-valid-system, dho-telecom-validation-system |
![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() |
S | 0..1 | boolean | True if notifications can be sent to this email or SMS address URL: https://fhir-ig.digital.health.nz/shared-care/StructureDefinition/dho-telecom-notification |
![]() ![]() ![]() ![]() |
S | 0..1 | CodeableConcept | Validation status of this telecom URL: https://fhir-ig.digital.health.nz/shared-care/StructureDefinition/dho-telecom-validation Binding: Allowed Telecom Validation Statuses (required) |
![]() ![]() ![]() |
SΣC | 1..1 | code | phone | fax | email | pager | url | sms | other Binding: ContactPointSystem (required): Telecommunications form for contact point. |
![]() ![]() ![]() |
SΣ | 1..1 | string | The actual contact point details |
![]() ![]() ![]() |
?!SΣ | 1..1 | code | home | work | mobile Binding: ContactPointUse (required): Use of contact point. |
![]() ![]() |
?!Σ | 0..1 | dateTime | Indicates if the individual is deceased or not Slice: Unordered, Closed by type:$this |
![]() ![]() ![]() |
?!Σ | 0..1 | dateTime | Indicates if the individual is deceased or not |
![]() ![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | Information Source URL: http://hl7.org.nz/fhir/StructureDefinition/information-source Binding: Information Source (preferred) | |
![]() ![]() |
0..1 | integer | Whether patient is part of a multiple birth Slice: Unordered, Open by type:$this | |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| Patient.extension:ethnicity.value[x] | Base | required | Ethnicity of a person (L4) | 📍2.1.0 | HL7® FHIR® New Zealand Base Implementation Guide v3.0 |
| Patient.extension:nzCitizen.extension:source.value[x] | Base | required |
NZ Citizenship Information Source
|
⏿20230401 | nzhts.digital.health.nz |
| Patient.identifier:NHI.use | Base | required | Valid use values for NHI | 📦1.0.0 | HL7® FHIR® New Zealand Base Implementation Guide v3.0 |
| Patient.name.use | Base | required | NameUse | 📍4.0.1 | FHIR Std. |
| Patient.telecom.system | Base | required | ContactPointSystem | 📍4.0.1 | FHIR Std. |
| Patient.telecom.use | Base | required | ContactPointUse | 📍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. |
| Id | Grade | Path(s) | Description | Expression |
| cpt-2 | error | Patient.telecom | A system is required if a value is provided. |
value.empty() or system.exists()
|
| dho-telecom-notification-valid-system | warning | Patient.telecom | The notification-enabled extension should only be present when the telecom system is 'email', 'sms', or 'phone' with use 'mobile'. |
extension.where(url = 'https://fhir-ig.digital.health.nz/shared-care/StructureDefinition/dho-telecom-notification').exists() implies (system = 'email' or system = 'sms' or (system = 'phone' and use = 'mobile'))
|
| dho-telecom-validation-system | warning | Patient.telecom | The validation-status extension should only be present when the telecom system is 'email', 'sms', or 'phone' with use 'mobile'. |
extension.where(url = 'https://fhir-ig.digital.health.nz/shared-care/StructureDefinition/dho-telecom-validation').exists() implies (system = 'email' or system = 'sms' or (system = 'phone' and use = 'mobile'))
|
| 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
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | NzPatient | Information about an individual or animal receiving health care services | |
![]() ![]() |
||||
![]() ![]() ![]() |
1..1 | uri | HPI Facility ID from where the record is sourced | |
![]() ![]() ![]() |
1..* | Coding | Correlation-id where the record is sourced Slice: Unordered, Open by value:system | |
![]() ![]() ![]() ![]() |
1..1 | Coding | Tags applied to this resource | |
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system Fixed Value: https://hub.services.digital.health.nz/ns/correlation-id | |
![]() ![]() ![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system | |
![]() ![]() |
0..0 | A set of rules under which this content was created | ||
![]() ![]() |
0..0 | Language of the resource content | ||
![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() |
0..0 | NZ Ethnicity | ||
![]() ![]() ![]() |
0..1 | Nz_citizenship | This field indicates New Zealand citizenship status of the patient | |
![]() ![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() ![]() |
0..1 | Extension | Extension | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | Value of extension Binding: NZ Citizenship Information Source (required) | |
![]() ![]() ![]() |
0..1 | boolean | Whether an interpreter is required URL: http://hl7.org/fhir/StructureDefinition/patient-interpreterRequired | |
![]() ![]() |
0..0 | A name associated with the patient | ||
![]() ![]() |
SC | 1..* | NzContactPoint | Details of a Technology mediated contact point (phone, fax, email, etc.) Constraints: dho-telecom-notification-valid-system, dho-telecom-validation-system |
![]() ![]() ![]() |
0..0 | Unique id for inter-element referencing | ||
![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() |
0..0 | A specific purpose for which this ContactPoint dataType would be used | ||
![]() ![]() ![]() ![]() |
S | 0..1 | boolean | True if notifications can be sent to this email or SMS address URL: https://fhir-ig.digital.health.nz/shared-care/StructureDefinition/dho-telecom-notification |
![]() ![]() ![]() ![]() |
S | 0..1 | CodeableConcept | Validation status of this telecom URL: https://fhir-ig.digital.health.nz/shared-care/StructureDefinition/dho-telecom-validation Binding: Allowed Telecom Validation Statuses (required) |
![]() ![]() ![]() |
S | 1..1 | code | phone | fax | email | pager | url | sms | other |
![]() ![]() ![]() |
S | 1..1 | string | The actual contact point details |
![]() ![]() ![]() |
S | 1..1 | code | home | work | mobile |
![]() ![]() ![]() |
0..0 | Time period when the contact point was/is in use | ||
![]() ![]() |
0..0 | The date of birth for the individual | ||
![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() |
0..0 | Indicates if the individual is deceased or not | ||
![]() ![]() |
0..0 | An address expressed using postal conventions (as opposed to GPS or other location definition formats) | ||
![]() ![]() |
0..0 | Marital (civil) status of a patient | ||
![]() ![]() |
0..1 | integer | Whether patient is part of a multiple birth Slice: Unordered, Open by type:$this | |
![]() ![]() ![]() |
0..0 | Whether patient is part of a multiple birth | ||
![]() ![]() |
0..0 | Image of the patient | ||
![]() ![]() |
0..0 | A contact party (e.g. guardian, partner, friend) for the patient | ||
![]() ![]() |
0..0 | A language which may be used to communicate with the patient about his or her health | ||
![]() ![]() |
0..0 | Patient's nominated primary care provider | ||
![]() ![]() |
0..0 | Organization that is the custodian of the patient record | ||
![]() ![]() |
0..0 | Link to another patient resource that concerns the same actual person | ||
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| Patient.extension:ethnicity.value[x] | Base | required | Ethnicity of a person (L4) | 📍2.1.0 | HL7® FHIR® New Zealand Base Implementation Guide v3.0 |
| Patient.extension:nzCitizen.extension:source.value[x] | Base | required |
NZ Citizenship Information Source
|
⏿20230401 | nzhts.digital.health.nz |
| Id | Grade | Path(s) | Description | Expression |
| dho-telecom-notification-valid-system | warning | Patient.telecom | The notification-enabled extension should only be present when the telecom system is 'email', 'sms', or 'phone' with use 'mobile'. |
extension.where(url = 'https://fhir-ig.digital.health.nz/shared-care/StructureDefinition/dho-telecom-notification').exists() implies (system = 'email' or system = 'sms' or (system = 'phone' and use = 'mobile'))
|
| dho-telecom-validation-system | warning | Patient.telecom | The validation-status extension should only be present when the telecom system is 'email', 'sms', or 'phone' with use 'mobile'. |
extension.where(url = 'https://fhir-ig.digital.health.nz/shared-care/StructureDefinition/dho-telecom-validation').exists() implies (system = 'email' or system = 'sms' or (system = 'phone' and use = 'mobile'))
|
Snapshot View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | NzPatient | Information about an individual or animal receiving health care services Constraints: nz-pat-1 |
![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact |
![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource |
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
Σ | 0..1 | id | Version specific identifier |
![]() ![]() ![]() |
Σ | 0..1 | instant | When the resource version last changed |
![]() ![]() ![]() |
Σ | 1..1 | uri | HPI Facility ID from where the record is sourced |
![]() ![]() ![]() |
Σ | 0..* | canonical(StructureDefinition) | Profiles this resource claims to conform to |
![]() ![]() ![]() |
Σ | 0..* | Coding | Security Labels applied to this resource Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System. |
![]() ![]() ![]() |
Σ | 1..* | Coding | Correlation-id where the record is sourced Slice: Unordered, Open by value:system Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones". |
![]() ![]() ![]() ![]() |
Σ | 1..1 | Coding | Tags applied to this resource Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones". |
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | Identity of the terminology system Fixed Value: https://hub.services.digital.health.nz/ns/correlation-id |
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Version of the system - if relevant |
![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | code | Symbol in syntax defined by the system |
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Representation defined by the system |
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | boolean | If this coding was chosen directly by the user |
![]() ![]() |
0..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements | |
![]() ![]() |
0..* | Resource | Contained, inline Resources | |
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
0..1 | (Complex) | This field indicates New Zealand citizenship status of the patient URL: http://hl7.org.nz/fhir/StructureDefinition/nz-citizenship | |
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() ![]() |
0..1 | Extension | Extension | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | Extension Slice: Unordered, Open by value:url | ||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "status" | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | Value of extension Binding: NZ Citizenship status (preferred) | |
![]() ![]() ![]() ![]() ![]() |
0..1 | Extension | Extension | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | Extension Slice: Unordered, Open by value:url | ||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "source" | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | Value of extension Binding: NZ Citizenship Information Source (required) | |
![]() ![]() ![]() ![]() |
1..1 | uri | "http://hl7.org.nz/fhir/StructureDefinition/nz-citizenship" | |
![]() ![]() ![]() |
0..1 | CodeableConcept | District 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 | |
![]() ![]() ![]() |
0..1 | CodeableConcept | NZ Domicile Code URL: http://hl7.org.nz/fhir/StructureDefinition/domicile-code Binding: Domicile Code (preferred) | |
![]() ![]() ![]() |
0..1 | CodeableConcept | Primary Healthcare Organisation URL: http://hl7.org.nz/fhir/StructureDefinition/pho Binding: PHO (extensible): NZ HPI-ORG Values for PHOs | |
![]() ![]() ![]() |
0..1 | CodeableConcept | Sex At Birth URL: http://hl7.org.nz/fhir/StructureDefinition/sex-at-birth Binding: AdministrativeGender (required) | |
![]() ![]() ![]() |
0..* | CodeableConcept | Extension URL: http://hl7.org.nz/fhir/StructureDefinition/nz-iwi Binding: Iwi (preferred) | |
![]() ![]() ![]() |
0..1 | CodeableConcept | Extension URL: http://hl7.org.nz/fhir/StructureDefinition/acc-patient-occupation Binding: ACC Patient Occupation (example) | |
![]() ![]() ![]() |
0..* | (Complex) | Messaging Address URL: http://hl7.org.nz/fhir/StructureDefinition/messaging-address | |
![]() ![]() ![]() |
0..1 | (Complex) | Extension URL: http://hl7.org.nz/fhir/StructureDefinition/nz-residency | |
![]() ![]() ![]() |
0..1 | boolean | Whether an interpreter is required URL: http://hl7.org/fhir/StructureDefinition/patient-interpreterRequired | |
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored |
![]() ![]() |
Σ | 0..* | Identifier | An identifier for this patient Slice: Unordered, Open by value:system |
![]() ![]() ![]() |
Σ | 0..* | Identifier | An identifier for this patient |
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: Valid use values for NHI (required) |
![]() ![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | Description of identifier Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose. |
![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | The namespace for the identifier value Fixed Value: https://standards.digital.health.nz/ns/nhi-id |
![]() ![]() ![]() ![]() |
Σ | 0..1 | string | The value that is unique Example General: 123456 |
![]() ![]() ![]() ![]() |
Σ | 0..1 | Period | Time period when id is/was valid for use |
![]() ![]() ![]() ![]() |
Σ | 0..1 | Reference(Organization) | Organization that issued id (may be just text) |
![]() ![]() |
?!Σ | 0..1 | boolean | Whether this patient's record is in active use |
![]() ![]() |
SC | 1..* | NzContactPoint | Details of a Technology mediated contact point (phone, fax, email, etc.) Constraints: cpt-2, dho-telecom-notification-valid-system, dho-telecom-validation-system |
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
S | 0..1 | boolean | True if notifications can be sent to this email or SMS address URL: https://fhir-ig.digital.health.nz/shared-care/StructureDefinition/dho-telecom-notification |
![]() ![]() ![]() ![]() |
S | 0..1 | CodeableConcept | Validation status of this telecom URL: https://fhir-ig.digital.health.nz/shared-care/StructureDefinition/dho-telecom-validation Binding: Allowed Telecom Validation Statuses (required) |
![]() ![]() ![]() |
SΣC | 1..1 | code | phone | fax | email | pager | url | sms | other Binding: ContactPointSystem (required): Telecommunications form for contact point. |
![]() ![]() ![]() |
SΣ | 1..1 | string | The actual contact point details |
![]() ![]() ![]() |
?!SΣ | 1..1 | code | home | work | mobile Binding: ContactPointUse (required): Use of contact point. |
![]() ![]() ![]() |
Σ | 0..1 | positiveInt | Specify preferred order of use (1 = highest) |
![]() ![]() |
Σ | 0..1 | code | male | female | other | unknown Binding: AdministrativeGender (required): The gender of a person used for administrative purposes. |
![]() ![]() ![]() |
0..1 | string | xml:id (or equivalent in JSON) | |
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
0..1 | string | Extension URL: http://hl7.org.nz/fhir/StructureDefinition/gender-original-text | |
![]() ![]() ![]() |
0..1 | string | Primitive value for code | |
![]() ![]() |
?!Σ | 0..1 | dateTime | Indicates if the individual is deceased or not Slice: Unordered, Closed by type:$this |
![]() ![]() ![]() |
?!Σ | 0..1 | dateTime | Indicates if the individual is deceased or not |
![]() ![]() ![]() ![]() |
0..1 | string | xml:id (or equivalent in JSON) | |
![]() ![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | Information Source URL: http://hl7.org.nz/fhir/StructureDefinition/information-source Binding: Information Source (preferred) | |
![]() ![]() ![]() ![]() |
0..1 | dateTime | Primitive value for dateTime | |
![]() ![]() |
0..1 | integer | Whether patient is part of a multiple birth Slice: Unordered, Open by type:$this | |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| Patient.meta.security | Base | extensible | SecurityLabels | 📍4.0.1 | FHIR Std. |
| Patient.meta.tag | Base | example | Common Tags | 📍4.0.1 | FHIR Std. |
| Patient.meta.tag:correlationId | Base | example | Common Tags | 📍4.0.1 | FHIR Std. |
| Patient.extension:ethnicity.value[x] | Base | required | Ethnicity of a person (L4) | 📍2.1.0 | HL7® FHIR® New Zealand Base Implementation Guide v3.0 |
| Patient.extension:nzCitizen.extension:status.value[x] | Base | preferred | NZ Citizenship status | 📦1.1.0 | HL7® FHIR® New Zealand Base Implementation Guide v3.0 |
| Patient.extension:nzCitizen.extension:source.value[x] | Base | required |
NZ Citizenship Information Source
|
⏿20230401 | nzhts.digital.health.nz |
| Patient.identifier:NHI.use | Base | required | Valid use values for NHI | 📦1.0.0 | HL7® FHIR® New Zealand Base Implementation Guide v3.0 |
| Patient.identifier:NHI.type | Base | extensible | IdentifierType | 📦4.0.1 | FHIR Std. |
| Patient.name.use | Base | required | NameUse | 📍4.0.1 | FHIR Std. |
| Patient.telecom.system | Base | required | ContactPointSystem | 📍4.0.1 | FHIR Std. |
| Patient.telecom.use | Base | required | ContactPointUse | 📍4.0.1 | FHIR Std. |
| Patient.gender | Base | required | AdministrativeGender | 📍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. |
| Id | Grade | Path(s) | Description | Expression |
| cpt-2 | error | Patient.telecom | A system is required if a value is provided. |
value.empty() or system.exists()
|
| dho-telecom-notification-valid-system | warning | Patient.telecom | The notification-enabled extension should only be present when the telecom system is 'email', 'sms', or 'phone' with use 'mobile'. |
extension.where(url = 'https://fhir-ig.digital.health.nz/shared-care/StructureDefinition/dho-telecom-notification').exists() implies (system = 'email' or system = 'sms' or (system = 'phone' and use = 'mobile'))
|
| dho-telecom-validation-system | warning | Patient.telecom | The validation-status extension should only be present when the telecom system is 'email', 'sms', or 'phone' with use 'mobile'. |
extension.where(url = 'https://fhir-ig.digital.health.nz/shared-care/StructureDefinition/dho-telecom-validation').exists() implies (system = 'email' or system = 'sms' or (system = 'phone' and use = 'mobile'))
|
| 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
Mandatory: 4 elements(5 nested mandatory elements)
Must-Support: 6 elements
Fixed: 1 element
Prohibited: 18 elements
Extensions
This structure refers to these extensions:
Slices
This structure defines the following Slices:
Other representations of profile: CSV, Excel, Schematron