New Zealand NES IG
1.4.7-snapshot - Release
New Zealand NES IG - Local Development build (v1.4.7-snapshot) 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 |
---|---|---|---|---|
Entitlement-GET-1 CSC |
application displays csc entitlement information correctly:
|
20018179 | Output: CSC entitlement information is displayed for the patient | Mandatory if applicable |
Entitlement-GET-2 CSCDEP |
application displays csc-dep entitlement information correctly:
|
20018181 | Output:
|
Mandatory if applicable |
Entitlement-GET-3 HUHC |
application displays HUHC entitlement information correctly:
|
305454455 | Output: HUHC entitlement information is displayed for the patient | Mandatory if applicable |
Entitlement-GET-4 PSC |
application displays PSC entitlement information correctly:
|
XXXXXX | Output: PSC entitlement information is displayed for the patient | Mandatory if applicable |
Reference | Purpose – Demonstrate that the | Input values | Expected outcome | Mandatory |
---|---|---|---|---|
Entitlement-Search-1 CSC |
application displays entitlement information correctly:
|
ZKZ6088 | Output:
|
Mandatory if applicable |
Entitlement-Search-2 CSC-Dep |
application displays entitlement information correctly:
|
ZKZ6096 | Output:
|
Mandatory if applicable |
Entitlement-Search-3 HUHC |
application displays entitlement information correctly:
|
ZGE7630 | Output:
|
Mandatory if applicable |
Entitlement-Search-4 HUHC + CSC |
application displays entitlement information correctly:
|
ZJV2957 | Output:
|
Mandatory if applicable |
Entitlement-Search-5 HUHC + CSC + PSC |
application displays entitlement information correctly:
|
ZJV2965 | Output:
|
Mandatory if applicable |
Entitlement-Search-6 PSC |
application displays entitlement information correctly:
|
ZLW0398 | Output:
|
Mandatory if applicable |
Entitlement-Search-7 PSC |
application displays entitlement information correctly:
|
XXXXXXX | Output:
|
Mandatory if applicable |
Reference | Purpose – Demonstrate that the | Input values | Expected outcome | Mandatory |
---|---|---|---|---|
Entitlement-Create-CSC-1 | application can create a CSC entitlement when no CSC entitlement is returned from the entitlement service, however a person presents with a CSC card | Use NHI (greater than 18) as provided Use a CSC card number provided | Output: CSC entitlement is created and returned via the Entitlement service | Mandatory if applicable |
Entitlement-Create-CSC-2 | application can create a CSC dependent entitlement when no CSC dependent entitlement is returned from the entitlement service, however a person presents as a dependent child of an adult with a CSC card | Use NHI (less than 18) as provided Use same CSC card number as Entitlement Create 1 | Output: CSC dependent entitlement is created and returned via the Entitlement service | Mandatory if applicable |
Entitlement-Create-CSC-error-1 Duplicate |
application can display the correct error when attempting to create a CSC entitlement that already exists | Use NHI (less than 18) as provided Use same CSC card number as Entitlement-Create-1 | Output: EM12002 - The patient cannot have more than one CSC Entitlement active at the same time | Mandatory if applicable |
Entitlement-Create-CSC-error-2 More than one type |
application can display the correct error when attempting to create:
|
|
Output: EM12001 - The patient cannot have both CSC and CSC Dependent Entitlements active at the same time | Mandatory if applicable |
Entitlement-Create-CSC-error-3 Invalid NHI |
application can display the correct error when attempting to create a CSC entitlement for an invalid NHI | Use NHI ZZZ000 and a CSC number provided | Output: EM02002 - NHI number supplied cannot be found | Mandatory if applicable |
Entitlement-Create-CSC-error-4 Invalid NHI |
application can display the correct error when attempting to create a CSC entitlement with a card number that is already is use | Use an NHI provided, Reuse card number from Entitlement-Create-1 | Output: EM12003 - The CSC Entitlement is already assigned to another patient | Mandatory if applicable |
Entitlement-Create-CSC-error-5 Card does not exist |
application can display the correct error when attempting to create a CSC entitlement with a card number that does not exist | Use an NHI provided and, CSC number: 0123 | Output: EM12006 - The CSC Card Number must be known to MoH | Mandatory if applicable |
Entitlement-Create-CSC-error-6 Card not active |
application can display the correct error when attempting to create a CSC entitlement with a card number that is not active | Use an NHI provided and CSC number 0000000349650267 | Output: EM12011 - CSC Card number is not Active | Mandatory if applicable |
Entitlement-Create-CSC-error-7 CSC dependent to old |
application can display the correct error when attempting to create a CSC dep entitlement with a person who is older than 18. | Use an NHI provided, CSC number as provided | Output: Output: EM12016 - The patient is not a valid age to be a CSC Dependent | Mandatory if applicable |
Reference | Purpose – Demonstrate that the | Input values | Expected outcome | Mandatory |
---|---|---|---|---|
Entitlement-Update-CSC-1 Update CSC |
application can update a CSC entitlement when the CSC entitlement returned from the entitlement service is different from that provided by a person presenting with a CSC card | Use NHI from Entitlement-Create-1, CSC card number as provided | Output: CSC entitlement is created and returned via the Entitlement service | Mandatory if applicable |
Entitlement-Update-CSC-2 Update CSC dependent |
application can update a CSC dep entitlement when the CSC dep entitlement returned from the entitlement service is different from that provided by a person presenting with a CSC card | Use NHI from Entitlement-Create-2, Same CSC card number as Entitlement-Update-1 | Output: CSC dependent entitlement is created and returned via the Entitlement service | Mandatory if applicable |
Entitlement-Update-error-1 Duplicate |
application can display the correct error when attempting to update a CSC entitlement with details that already exist | Try to update a CSC entitlement with the same details in Entitlement-Update-1 and Entitlement-Update-2 (Duplicate the above to force the error). | Output: EM12002 - The patient cannot have more than one CSC Entitlement active at the same time | Mandatory if applicable |
Entitlement-Update-error-2 Card already used |
application can display the correct error when attempting to update a CSC entitlement with a card number that is already in used. | Use new NHI number and card number from Entitlement-Update-1 | Output: EM12003 - The CSC Entitlement is already assigned to another patient | Mandatory if applicable |
Entitlement-Update-3 CSC End |
application can update a CSC entitlement to end it when it has been created/updated in error. | Use NHI from Entitlement-Update-1 | Output: CSC entitlement is ended with end reason 'entered in error' | Mandatory if applicable |
Entitlement-Update-4 CSC-dep End |
application can update a CSC dep entitlement to end it when it has been created/updated in error. | Use NHI from Entitlement-Update-2 | Output: CSC entitlement is ended with end reason 'entered in error' | Mandatory if applicable |
TBC