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
Provide the following details in a test report and email to integration@health.govt.nz.
Tester details
a. Organisation Name
b. Application name and version
c. NHI IG Version
d. Test Script version
e. FHIR release version (Get(Endpoint)/metadata)
f. Testing start date and time and end date and time
g. Tester name and contact details
h. List of operations included in your integration (eg GET Patient, Search(Match) Patient)
To access a list of NHI test identifiers follow this link. For a set of current formant identifiers and look for heading NHI Test identifiers and for new format NHI test identifiers see NHI records Mod23.
Not all compliance tests in this implementation guide will be appropriate for every application. If there are tests that do not apply please discuss this with the integration team and where appropriate write a description in the compliance test submission why the particular test does not apply.
Mandatory vs Optional tests
To request a template for the compliance tests either add a comment to your onboarding request form or reach out using the Enquiry form.
Reference | Purpose | Input values | Expected outcome | Mandatory |
---|---|---|---|---|
Security 1 | Credentials match those issued to the testing organisation and their orgID and appID are auditing correctly |
Checked against all tests | Te Whatu Ora will check internal logs | Mandatory |
Security 2 | Sending user ID is an end user ID or an hpi-person-id (CPN) | Checked against all tests | Te Whatu Ora will check internal logs | Mandatory |
Security 3 | Sending user ID changes when different end users are initiating the request (Please make sure a seperate user creates a request) | Checked against all tests | Te Whatu Ora will check internal logs | Mandatory |
Security 4 | Each request has a unique request id in the X-Correlation-Id field If present this will be returned in the response |
Checked against all tests | Te Whatu Ora will check internal logs | Recommended |
Reference | Purpose – Demonstrate that the | Input values | Expected outcome | Mandatory / Optional / Recommended |
---|---|---|---|---|
General-1 | Application can handle an HTTP 429 error in a graceful way | The application reaches its usage plan limit and is returned an HTTP 429 error. See Usage plans | The application will retry several times with an exponentially increasing delay | Recommended |
General-2 | Application can present the NHI terms of use to individual user's when the integrating application first goes live for an Organisation. A reference terms of use is supplied, or the NHI terms of use can be included as part of the application's terms of use. | See Terms Of Use | Recommended |
Reference | Purpose | Input values | Expected outcome | Mandatory |
---|---|---|---|---|
NHI-Extra-1 | Get new format NHI application behaves appropriately when a new format NHI number is produced |
|
|
Optional |
NHI-Extra-2 | Get dormant-1 application behaves appropriately when a request for a dormant new format NHI number returns a 'live' older format NHI number |
|
|
Optional |
NHI-Extra-3 | Get dormant-2 application behaves appropriately when a request for a dormat older format NHI number returns a 'live' new format NHI number |
|
|
Optional |
NHI-Extra-4 | Search / Match new format NHI application behaves appropriately when a new format NHI number is returned in a search response |
Use an NHI Search / Match request to retrieve patients below
|
|
Optional |
NHI-Extra-5 | Create new format NHI application can create a patient with a new format NHI number |
|
|
Optional |
NHI-Extra-6 | Update new format NHI application can update a patient with a new format NHI number |
|
|
Optional |
NHI-Extra-7 | Get enrolment for new format application can return enrolment information for a new format NHI |
|
|
Optional |
NHI-Extra-8 | Create enrolment for new format application can create an enrolment for a new format NHI number |
|
|
Optional |
NHI-Extra-9 | Update enrolment for new format application can update an enrolment for a new format NHI number |
|
|
Optional |
NHI-Extra-10 | Get Medical Warning for new format application can return Medical Warning information for a new format NHI |
|
|
Optional |
NHI-Extra-11 | Create Medical Warning for new format application can create a Medical Warning for a new format NHI number |
|
|
Optional |
NHI-Extra-12 | Update Medical Warning for new format application can update a Medical Warning for a new format NHI number |
|
|
Optional |
NHI-Extra-13 | Get Health Care Event for new format NHI application can return Health Care Events for a new format NHI |
|
|
Optional |