Scenarios and code samples for HCSS 2019 APIs
Service Commencement Report
1. Standard Client - (Guptill)
Given I am an administrator with a client who has entered into IHCS treatment as a standard client with my organisation and I need to notify ACC of their entry into the service
When I supply the following commencement report for this client
Then I receive a successful response
Code sample for Guptill scenario
2. SIP Client - (Nicholls)
Given I am an administrator with a client who has entered into IHCS treatment as a Short-term independence package (SIP) client with my organisation and I need to notify ACC of their entry into the service
When I supply the following commencement report for this client
Then I receive a successful response
Code sample for Nicholls scenario
Service Review Report
1. First review for a standard client with no transition - (Williamson)
Given I am an administrator with a client who is continuing their standard IHCS treatment with my organisation and I need to report to ACC with the 1st review of this service for a client who is remaining as a standard client
When I supply the following report for this client
Then I receive a successful response
Code sample for Williamson scenario
2. Subsequent review for a standard client transitioning to become an extended client - (Taylor)
Given I am an administrator with a client who is continuing their standard IHCS treatment with my organisation and I need to report to ACC with a subsequent monthly review of this service for a client who is transitioning to be an extended treatment client
When I supply the following report for this client
Then I receive a successful response
Code sample for Taylor scenario
3. Subsequent review for a SIP client transitioning to become a standard client - (Neesham)
Given I am an administrator with a client who is continuing their SIP IHCS treatment with my organisation and I need to report to ACC with a subsequent monthly review of this service for a client who is transitioning to be a standard treatment client
When I supply the following report for this client
Then I receive a successful response
Code sample for Neesham scenario
Service Completion Report
1. Standard client exiting service due to full independence achieved - (de Grandhomme)
Given I am an administrator with a standard IHCS client who has exited and I need to notify ACC of their exit from our IHCS organisation due to the client achieving full independence and the number of physio treatments that were required to achieve this
When I supply the following report for this client
Then I receive a successful response
Code sample for de Grandhomme scenario
2. SIP client exiting service to another service - (Latham)
Given I am an administrator with a SIP IHCS client who has exited and I need to notify ACC of their exit from our IHCS organisation due to the client transferring to another ACC support service and the number of occupational therapy treatments that were used by the client
When I supply the following report for this client
Then I receive a successful response
Code sample for Latham scenario
3. Extended client exiting service due to another outcome - (Santner)
Given I am an administrator with an extended IHCS client who has exited and I need to notify ACC of their exit from our IHCS organisation due to a medical incident stopping their treatment (other outcome) and the number of physiotherapy and the occupational therapy consultations that were used by the client
When I supply the following report for this client
Then I receive a successful response
Code sample for Santner scenario
4. SIP client exiting service to transfer to another IHCS supplier - (Henry)
Given I am an administrator with a SIP IHCS client who has exited and I need to notify ACC of their exit from our IHCS organisation due to the client transferring to another IHCS supplier and the number of physiotherapy and the nursing consultations that were used by the client
When I supply the following report for this client
Then I receive a successful response
Code sample for Henry scenario
5. SIP client exiting service as they have passed away (deceased client) - (Boult)
Given I am an administrator with a SIP IHCS client who has exited and I need to notify ACC of their exit from our IHCS organisation due to the client being deceased and the number of physiotherapy and the occupational therapy consultations that were used by the client
When I supply the following report for this client
Then I receive a successful response
Code sample for Boult scenario
Service Consultation Report
1. Standard client with physiotherapy consultations - (Fergusson)
Given I am an administrator and I have a standard IHCS client that I need to report to ACC confirming the number of physiotherapist consultations that have occurred in the past month
When I supply the following report for this client
Then I receive a successful response
Code sample for Fergusson scenario
2. Extended client with physiotherapy, occupational therapist and nursing consultations (Sodhi)
Given I am an administrator and I have an extended IHCS client that I need to report to ACC confirming the number of physiotherapist, occupational therapist and nursing consultations that have occurred in the past month
When I supply the following report for this client
Then I receive a successful response
Code sample for Sodhi scenario
Supplier Review Report
1. Confirming staff available to provide IHCS services (Southee)
Given I am an administrator I am reporting to ACC about all the available staff and their level of training within my organisation for each DHB region that I supply IHCS to
When I supply the following report for my organisation
Then I receive a successful response