New Zealand NES IG
1.4.8 - Release
New Zealand NES IG - Local Development build (v1.4.8) 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 |
Note: This testing includes the NES Entitlement Create and Update use cases and the Medication Dispense (PSC Count) API. For more information see the Search copayment count use case in the Medical Warnings FHIR implementation guide.
Scenario | Reference | Purpose – Demonstrate that the | Input values | Expected outcome | Mandatory |
---|---|---|---|---|---|
Scenario-1 | Individual – No action required | application can check the entitlements for an individual (not entitled) and, can then check the PSC count for the individual and display the count (less than 20). | Use NHI TBC | Output:
|
Mandatory |
Scenario-2 | Individual – Needs PSC card | application can check the entitlement’s for an individual (not entitled) and can then check the PSC count for the individual and display the count (20). Needs New PSC entitlement created | Use NHI TBC | Output:
|
Mandatory |
Scenario-3 | Individual - Has a PSC entitlement | application can check the entitlement for an individual and display the entitlement information | Use NHI TBC | Output:
|
Mandatory |
Scenario-4 | Family unit – No action required | application can check the entitlement’s for a family unit (not entitled) and can then check the PSC count for the family unit and display the count (less than 20) | Use NHI TBC | Output:
|
Mandatory |
Scenario-5 | Family unit – Check family unit member entitlement (not entitled), check family unit count (eligible) create and extent entitlement to family unit member/s | application can check the entitlement’s for a family unit (not entitled), can then check the PSC count for the family unit and display the count (20), and the create a new PSC entitlement for all members of the family unit | Use NHI TBC | Output:
|
Mandatory |
Scenario-6 | Individual – End entitlement | application can end an entitlement for an individual where it has been entered in error | Use NHI TBC | Output:
|
Mandatory |
Scenario-7 | Family Unit – End entitlement | application can end an entitlement for a family unit where it has been entered in error | Use NHI TBC | Output:
|
Mandatory |
Scenario-8 | Individual - Exceeds 12 concurrent entitlements | application can assign up to 12 PSC entitlements to a family unit member, where that person is part of multiple family units | Use NHI TBC | Output:
|
Mandatory |
Scenario-9 | Individual - Exceeds 12 concurrent entitlements | application can display the correct error when attempting to add a PSC entitlement for a family unit member that has 12 entitlements | Use NHI TBC | Output:
|
Mandatory |
Scenario-10 | Family Unit - Search exceeds maximum number of NHIs | application can display the correct error when attempting to return a count for a family unit with greater that 20 members | Use NHI TBC | Output:
|
Mandatory |
Scenario-11 | Individual - Create entitlement for deceased person | application can display the correct error when attempting to create a a PSC entitlement for a deceased person | Use NHI TBC | Output:
|
Mandatory |
Scenario-12 | Individual - Update entitlement for deceased person | application can display the correct error when attempting to create a a PSC entitlement for a deceased person | Use NHI TBC | Output:
|
Mandatory |
Scenario-13 | Individual - Create entitlement for a future start date | application can display the correct error when attempting to create a PSC entitlement for a future date (period start) | Use NHI TBC | Output:
|
Mandatory |
Scenario-14 | Individual - Update entitlement for a future start date | application can display the correct error when attempting to update a PSC entitlement for a future date (period start) | Use NHI TBC | Output:
|
Mandatory |
Scenario-15 | Family Unit - Extend (create) expired PSC entitlement to additional family unit members | application can display the correct error when attempting to extend a PSC entitlement to family unit members with an expired entitlement number | Use NHI TBC | Output:
|
Mandatory |
Scenario-16 | Family Unit - Extend (create) PSC entitlement to additional family unit members | application can display the correct error when attempting to extend a PSC entitlement to family unit members with an unassigned entitlement number | Use NHI TBC | Output:
|
Mandatory |
Scenario-17 | Individual - Update expired PSC entitlement | application can display the correct error when attempting to update an expired PSC entitlement | Use NHI TBC | Output:
|
Mandatory |
Scenario-18 | Individual - Update entitlement number for an NHI | application can update and replace valid entitlement number registered to an NHI (assumes that the updated entitlement number is valid and active) | Use NHI TBC | Output:
|
Mandatory |
Scenario-19 | Individual - Update invalid entitlement for an NHI | application can display the correct error when attempting to update an entitlement number for an NHI with a value that is invalid (does not exist) | Use NHI TBC | Output:
|
Mandatory |
Scenario-20 | Individual - create entitlement, invalid NHI | application can display the correct error when attempting to create an entitlement number for an invalid NHI (does not exist) | Use NHI TBC | Output:
|
Mandatory |
Scenario-21 | Individual - Create entitlement with invalid patient details | application can display the correct error when attempting to create an entitlement number for a valid NHI but with mismatched patient information e.g. DoB | Use NHI TBC | Output:
|
Mandatory |
Scenario-22 | Individual - Update entitlement with invalid patient details | application can display the correct error when attempting to update an entitlement number for a valid NHI but with mismatched patient information e.g. DoB | Use NHI TBC | Output:
|
Mandatory |