New Zealand HPI Implementation Guide
1.5.0 - Release
New Zealand HPI Implementation Guide, published by Te Whatu Ora. This guide is not an authorized publication; it is the continuous build for version 1.5.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7NZ/hpi/ and changes regularly. See the Directory of published versions
Reference | Purpose – Demonstrate that the | Input values | Expected outcome | Mandatory |
---|---|---|---|---|
HPI-PR-MD-1 | application can Get a record using the hpi-practitionerrole-id |
|
|
Mandatory - use case dependent |
HPI-PR-MD-2 | application allows the user to search using the minimum search criteria and displays the search results in order appropriate to use case |
|
|
Mandatory - use case dependent |
HPI-PR-MD-3 | application allows the user to search using other search criteria depending on the use case. Make sure the search criteria you are using is relevant for the use case (Reference to Health Information Privacy Code 2020, Rule 1). |
|
|
Mandatory - depdending on use case |
HPI-PR-MD-4 | application will show the correct error when attempting to search without a Practitioner |
|
|
Mandatory - depdending on use case |
HPI-PR-MD-5 | application does not error, and can provide relevant information for each of the following scenarios. A PractitionerRole record with:
|
Do all
|
|
Mandatory - use case dependent |
HPI-PR-MD-6 | application can make appropriate use of the facility messaging address and / or PractitionerRole messaging address. | Do both
|
|
Mandatory - if using messaging address. |
HPI-PR-MD-7 | application can make appropriate use of contact details A PractitionerRole record with:
|
|
|
Mandatory - if using contact details |
HPI-PR-MD-8 | application can make appropriate use of contact details where record has multiple sets, including contact rank. A PractitionerRole record with:
|
|
|
Mandatory - if using contact details |
HPI-PR-MD-9 | application makes appropriate use of a PractitionerRole record that is not active (has period end date and end reason). |
|
|
Mandatory |
HPI-PR-MD-10 | application makes appropriate use of a PractitionerRole record without a period. |
|
|
Mandatory |
HPI-PR-MD-11 | application behaves appropriately when confidentiality settings have been set for a practitioner |
|
|
Mandatory |
Reference | Purpose – Demonstrate that the | Input values | Expected outcome | Mandatory |
---|---|---|---|---|
HPI-PR-Create-1 | application can create a PractitionerRole record with the minimum criteria provided
|
Select required identifiers from the test dataset |
|
mandatory |
HPI-PR-Create-2 | application can create a PractitionerRole record with additional items provided
|
Create record with identifiers from the test dataset Use all information required by use case |
|
mandatory - use case dependent |
HPI-PR-Create-3 | describe the business process used if a health provider asks for their record to be labelled confidential | Create record with identifiers from the test dataset Use all information required by use case |
Description of business process to request Te Whatu Ora to set confidential security label | optional |
HPI-PR-Create-error-1 | application will show the correct error when attempting to create a PractitionerRole without a Practitioner CPN (hpi-person-id) | Create record with only an hpi-organisation-id or hpi-facility-id | Error: EM07201 Display "Required value missing" Text: PractitionerRole.Practitioner |
Mandatory |
HPI-PR-Create-error-2 | application will show the correct error when attempting to create a PractitionerRole without an organisation or facility. | Create record with only an hpi-person-id (CPN) | Error: EM07201 Display "Required value missing" Text: PractitionerRole.Facility, PractitionerRole.Organisation |
Mandatory |
HPI-PR-Create-error-3 | application will show the correct error when attempting to create a PractitionerRole without a role code. | Create record without a role code | Error: EM07201 Display "Required value missing" Text: PractitionerRole.code |
Mandatory |
HPI-PR-Create-error-4 | aapplication will show the correct error when attempting to create a duplicate PractitionerRole record | Create a duplicte Practitionerrole See duplicate definition | Error: EM07201 Display "Required value missing" Text: PractitionerRole |
Mandatory |
Reference | Purpose – Demonstrate that the | Input values | Expected outcome | Mandatory |
---|---|---|---|---|
HPI-PR-Update-1 | application can replace the contact details on a PractitionerRole record | Update PracRole xxx with multiple contact details e.g.
|
|
mandatory - use case dependent |
HPI-PR-Update-2 | application can replace just the phone number on a PractitionerRole record | Update PracRole used above with:
|
|
mandatory- use case dependent |
HPI-PR-Update-3 | application can remove a contactpoint on a PractitionerRole record | Update PracRole used above and remove:
|
|
mandatory- use case dependent |
HPI-PR-Update-4 | application can update the contact rank on a PractitionerRole record |
|
|
mandatory- use case dependent |
HPI-PR-Update-5 | application can add / replace the messaging address on a PractitionerRole record | update PractitionerRole used above with Messaging address
|
|
mandatory- use case dependent |
HPI-PR-Update-6 | application can end a PractitionerRole record | Use role created above add an end date an end reason |
|
mandatory |
HPI-PR-Update-6 | application can remove an end date on a PractitionerRole record | Use PractitionerRole above remove the end date an end reason |
|
mandatory |
HPI-PR-Update-error-1 | application will show the correct error when attempting to update a PractitionerRole record with an end date and no reason | Use PractitionerRole above add an end date only |
Error: EM07201 Display "Required value missing" Text:PractitionerRole.statusReason |
mandatory |
HPI-PR-Update-error-2 | application will show the correct error when attempting to update a PractitionerRole record with an end reason and no end date | Use PractitionerRole above add an end date only |
Error: EM07201 Display "Required value missing" Text:PractitionerRole.period.end |
mandatory |