New Zealand NHI IG
1.6.1 - Release
New Zealand NHI IG - Local Development build (v1.6.1) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions
Reference | Purpose – Demonstrate that the | Input values | Expected outcome | Mandatory |
---|---|---|---|---|
NHI-Maintain-Address-1 | application can replace the primary residential address on a patient record with a validated address | Input: Application can validate an address via e-SAM (using suggest or search) Input: An address request can be populated with appropriate information Output: The address that is displayed to the end user is the address that is returned in the update response |
mandatory | |
NHI-Maintain-Address-2 | application can add (or replace) the postal address on a patient record with a validated address | Input: Application can validate an address via e-SAM (using suggest or search) Input: An address request can be populated with appropriate information Output: The address that is displayed to the end user is the address that is returned in the update response |
mandatory | |
NHI-Maintain-Address-3 | application can replace the primary residential address on a patient record with an overseas unvalidated address | Input: An address request can be populated with overseas unvalidated address information Output: The address that is displayed to the end user is the address that is returned in the update response |
mandatory | |
NHI-Maintain-Address-4 | application can replace the primary residential address on a patient record with an:
|
|
Input: An address request can be populated with unvalidated address information Input: Best Practice is followed for adding addresses Best Practice Guide Output: The address that is displayed to the end user is the address that is returned in the update response |
mandatory |
NHI-Maintain-Address-5 | application can replace the primary residential address on a patient record with an Address Service Unavailable unvalidated address | Input: An address request can be populated with NOSVC unvalidated address information Output: The address that is displayed to the end user is the address that is returned in the update response |
mandatory | |
NHI-Maintain-Address-6 | application can replace the postal address on a patient record with an Address Service Unavailable unvalidated address | Input: An address request can be populated with NOSVC unvalidated address information Output: The address that is displayed to the end user is the address that is returned in the update response |
mandatory | |
NHI-Maintain-Address-7 | application can replace the postal address on a patient record with an Overseas unvalidated address | Input: An address request can be populated with overseas unvalidated address information Output: The address that is displayed to the end user is the address that is returned in the update response |
mandatory | |
NHI-Maintain-Address-8 | application can remove the postal address on a patient record | Output: The patient record has Postal address removed | mandatory | |
NHI-Maintain-Address-9 | application can add an unvalidated address with a building name | Input: An address can be populated with a building name Output: The address that is displayed to the end user is the address that is returned in the update response |
mandatory | |
NHI-Maintain-Address-10 | application can add a validated address with a building name | Input: An address can be populated with a building name Output: The address that is displayed to the end user is the address that is returned in the update response |
mandatory | |
NHI-Maintain-Address-error-1 $set-address |
Application will show the correct error when attempting to add a new address to the provided dormant NHI number |
|
Error: EM02004 - The NHI Identifier provided is dormant. This record cannot be updated | Mandatory |
NHI-Maintain-Address-error-2 $set-address |
Not currently implemented Application will show the correct error when attempting to add the supplied address that has been previously removed from the patient record by NHI administration |
|
Error: EM02004 - The Patient Address requested has been removed from the Patient record by Te Whatu Ora | Mandatory |
NHI-Maintain-Address-error-3 $set-address |
Application will show the correct error when attempting to add the following postal address for an undeliverable address |
|
Error: EM02209 - A validated mailing address must be an address at which mail can be delivered | Mandatory |
NHI-Maintain-Address-error-4 $set-address |
Application will show the correct error when attempting to add an address where the nz address id does not match the first line of the validated address |
|
Error: "address-line must match the espatial value: ..." | Mandatory |
NHI-Maintain-Address-error-5 $set-unvalidated-address |
Application will show the correct error when attempting to add the following unvalidated address without a domicile code |
|
Error: "Invalid codeset value" This will be updated in an upcming release - EM02210 - An unvalidated residential address must have a notional domicile code |
Mandatory |
NHI-Maintain-Address-error-6 $set-unvalidated-address |
Application will show the correct error when attempting to add an address with invalid characters to the supplied patient |
|
Error: "Invalid request body" | Mandatory |
NHI-Maintain-Address-error-7 $set-unvalidated-address |
Application will show the correct error when attempting to add an address that does not contain address line 1 |
|
Error: "Patient address-line-1 is required" | Optional |
NHI-Maintain-Address-error-8 $set-unvalidated-address |
Application will show the correct error when attempting to add an address missing a not validated reason |
|
Error: "Address not validated reason is required" | optional |
Reference | Purpose – Demonstrate that the | Input values | Expected outcome | Mandatory |
---|---|---|---|---|
NHI-$add-name-1 | application can add a name to a patient record | Add a name to the selected NHI from list above with:
|
Input:
|
mandatory |
NHI-$add-name-2 | application can add a name to a patient record | Add a name to the selected NHI from list above with:
|
Input:
|
mandatory |
NHI-$add-name-3 | application can add a name to a patient record | Add a name to the selected NHI from list above with:
|
Input:
|
mandatory |
NHI-$replace-name-1 | application can replace a name with the patients preferred name | Replace a non-preferred name on a selected NHI from list above with a fictitious name that includes:
|
Input:
|
mandatory |
NHI-$inactivate-name-1 | application can inactivate a patients name | Inactivate an unverified, non-preferred name on a selected NHI from list above | Input:
|
mandatory |
NHI-$set-preferred-name-1 | application can set the patients preferred name |
|
Input:
|
mandatory |
NHI-update-name-error-1 $add-name |
application can display an error when the patient version is not current |
|
Output: EM02007 "Version number is incorrect" | mandatory |
NHI-update-name-error-2 $add-name |
application can display an error when the NHI provided is dormant | Attempt to add a fictitious name to NHI ZDV8901 | Output: EM02004 "The NHI Identifier provided is dormant. This record cannot be updated" | mandatory |
NHI-update-name-error-3 $add-name |
application can display an error when the patient has too many names | Attempt a add a fictitious name to NHI ZDJ6518
|
Output: EM02105 "A Patient must not have more than 40 active names" | mandatory |
NHI-update-name-error-4 $add-name |
application can display an error when an attempt to add a name that exists as an active name for that patient | Attempt to add the name below to NHI ZKE9687
|
Output: EM07222 "The Patient name already exists for this Patient" | mandatory |
NHI-update-name-error-5 $add-name |
application can display an error when adding a name that has been deleted from the patient record | Attempt to add the name below to ZAD0152
|
Output: EM07008 - "The Patient name requested has been removed from the Patient record by NHI administration" | mandatory |
NHI-update-name-error-6 $add-name |
application can display an error when an invalid source is provided | Attempt to add a fictitious name to ZAA1578 with a registered source
|
Output: EM07229 - "The patient name can only be set to a registered value by an authorised agency" | mandatory |
NHI-update-name-error-7 $add-name |
application can display an error when a Babyof name is supplied with a use other than 'temp' and a source other than 'NPRF' | Attempt to add a fictitious babyof name to the patient ZDM4902
|
Output: EM07225 - "name-use-extra is conditional on source = NPRF and name use = temp" | mandatory |
NHI-update-name-error-8 $add-name |
application can display an error when no given and family name is present | Attempt to add a fictitious name to the patient ZDM4902
|
Output: EM02101 - "A Patient name must contain either a given or family name, a preferred name flag and an information source" | mandatory |
NHI-update-name-error-9 $add-name |
application can display an error when no information source | Attempt to add a fictitious name to the patient ZDM4902
|
Output: EM02101 - "A Patient name must contain either a given or family name, a preferred name flag and an information source." | mandatory |
NHI-update-name-error-10 $add-name |
application can display an error when no preferred-name-flag | Attempt to add a fictitious name to the patient ZDM4902
|
Output: EM02101 - "A Patient name must contain either a given or family name, a preferred name flag and an information source." | optional |
NHI-update-name-error-11 $add-name |
application can display an error when the given or family name contains special characters e.g. # @ % | Attempt to add a fictitious name (with special character) to the patient. ZAZ1913 | Output: "Invalid request body" | mandatory |
NHI-update-name-error-12 $add-name |
application can display an error when a given or family name begins with a number e.g. 1Smith | Attempt to add a fictitious name (with a number as the first character) to the patient ZCV7765 | Output: EM02107 "A Patient’s given and family name must start with a letter of the alphabet or an apostrophe" | mandatory |
NHI-update-name-error-13 $add-name |
application can display an error when a given or family name contains only whitespace/s | Attempt to add a name (containing only whitespace) to the patient ZDC0959 | Output: EM02110 "Each populated Patient Name field must contain at least one letter" | mandatory |
NHI-update-name-error-14 $replace-name |
application can display an error when an attempt to replace a verified name with an unverified | Attempt to replace the verified name to the patient ZKE9687, with a fictitious unverified name
|
Output: EM0XXXX - "Cannot update a source to a lower level of proof" | mandatory |
NHI-update-name-error-15 $inactivate-name |
application can display an error when a registered name is modified | Attempt to inactivate the name with source BREG on patient ZKE9393 (Given Name: Jonathan Joseph. Family Name: Savage) | Output: EM0XXXX "Information set to registered cannot be updated contact NHI administration" | mandatory |
NHI-update-name-error-16 $inactivate-name |
application can display an error when attempting to inactivate an 'inactive name' | Attempt to inactivate the name below on the Patient ZKF7027
|
Output: EM07223 "The 'Patient Name' is not active and cannot be updated" | optional |
NHI-update-name-error-17 $inactivate-name |
application can display an error when an attempt is made to inactivate a preferred name | Attempt to inactivate the preferred name below from Patient ZBJ3544
|
Output: EM02104 "An active Patient Preferred Name must not be deleted" | mandatory |
NHI-update-name-error-18 $inactivate-name |
application can display an error when an attempt is made to inactivate a name with a registered source | Attempt to inactivate the name below from Patient ZDW1872
|
Output: EM07230 "Patient Name has been validated by a public Agency, and cannot be updated" | mandatory |
Reference | Purpose – Demonstrate that the | Input values | Expected outcome | Mandatory |
---|---|---|---|---|
NHI-update-core-1 $update-identity Ethnicity |
application can correctly update ethnicity values on a patient's record | Update the set of ethnicity information based on the responses to the standard ethnicity collection question for the selected NHI number |
Output:
|
mandatory |
NHI-update-core-2 $update-identity Ethnicity |
application can correctly update ethnicity values on a patient's record | Update the set of ethnicity information based on the responses to the standard ethnicity collection question for the selected NHI number |
Output:
|
mandatory |
NHI-update-core-3 $update-identity Ethnicity |
application can correctly update an unidentifiable response to the standard ethnicity collection question. | Update the set of ethnicity information based on the responses to the standard ethnicity collection question for the selected NHI number |
Output:
|
mandatory |
NHI-update-core-4 $update-identity Ethnicity |
application can correctly update ethnicity values on a patient's record | Update the set of ethnicity information based on the responses to the standard ethnicity collection question for the selected NHI number |
Output:
|
mandatory |
NHI-update-core-5 $update-identity Ethnicity |
application can correctly update ethnicity values on a patient's record | Update the set of ethnicity information based on the responses to the standard ethnicity collection question for the selected NHI number |
Output:
|
mandatory |
NHI-update-core-6 $update-identity-error Ethnicity |
application can display an error when ethnicity information invalid contains multiple residual codes (9xxxx) |
Update the ethnicity information for Patient: ZAA0261 Ethnicities to use: |
Output: EM02301 - "A Patient must have at least one valid ethnicity code, only one instance of each selected ethnicity, and no more than one ‘unspecified’ ethnicity code" | mandatory |
NHI-update-core-7 $update-identity-error Ethnicity |
application can display an error when ethnicity information invalid set of supplied ethnicities that includes a duplicate ethnicity |
Update the ethnicity information for Patient: ZAA1063 Ethnicities to use: |
Output: EM02301 - "A Patient must have at least one valid ethnicity code, only one instance of each selected ethnicity, and no more than one ‘unspecified’ ethnicity code" | mandatory |
NHI-update-core-8 $update-identity Gender |
application can correctly update a gender value on a patient's record | Update the gender for Patient: ZAA1063
|
Output:
|
mandatory |
NHI-update-core-9 $update-identity Gender |
application can correctly update the gender value and gender-original-text on a patient record | Update the gender for Patient: ZAA1063
|
Output:
|
mandatory |
NHI-update-core-10 $update-identity-error Gender |
application can display an error when gender-original-text updated without a gender value | Update the gender-original-text for Patient: ZAA1063 | Output: EM07201 - "Is a required field - Patient.gender" | mandatory |
NHI-update-core-11 $update-eligibility |
application can correctly update citizenship on a patient's identity record | Update the citizenship for Patient: ZAA1063 from current value to
|
Output:
|
mandatory |
NHI-update-core-12 $update-eligibility |
application can correctly update citizenship on a patient's identity record | Update the citizenship for Patient: ZKF6683
|
Output:
|
mandatory |
NHI-update-eligibility-error-1 | application can display an error when an attempt to add a registered source for citizenship | Attempt replace citizenship for Patient: ZKF6683
|
Output: EM0XXXX "Patient NZ Citizenship has been validated by a public Agency, and cannot be updated" | mandatory |
NHI-update-eligibility-error-2 | application can display an error when an attempt to replace a verified to unverified source for citizenship | Attempt replace citizenship for Patient: ZKF6683
|
Output: EM0XXXX - "Cannot update a source to a lower level of proof" | mandatory |
NHI-update-eligibility-error-3 | application can display an error when an attempt to replace a citizenship that has a registered source | Attempt to replace citizenship on NHI ZKF6691
|
Output: EM0XXXX "Information set to registered cannot be updated contact NHI administration" | mandatory |