-
Notifications
You must be signed in to change notification settings - Fork 5
New Foundations Consumer Tests
BabarNHS edited this page Jun 23, 2020
·
2 revisions
Test ID | Scenario Name | Description | Requirement ID | Demonstrator Patient ID | Provider Test? |
---|---|---|---|---|---|
GPC-FOU-CAP-01/1 | Get the FHIR capability statement |
Given I perform the GP Connect interaction to get the FHIR capability statement When I make the GET request Then I shall handle the returned resources to accurately reflect what is held in the provider system |
GPC-FOU-CAP-01/1 | Any valid patient number | |
GPC-FOU-FPA-01/1 | Find a patient |
Given I search for a patient using an NHS number where there is a single record associated with this NHS number in the GP system When I make the GET request Then I shall handle the bundle of returned resources to accurately reflect what is held in the provider system |
GPC-FOU-FPA-01/1 | 9658218865 | |
GPC-FOU-FPA-01/2 | Find a patient |
Given I search for a patient using an NHS number where there are mulitple records associated with this NHS number in the GP system When I make the GET request Then I shall handle the bundle of returned resources to accurately reflect what is held in the provider system |
GPC-FOU-FPA-01/2 | None | |
GPC-FOU-FPA-01/3 | Find a patient |
Given I search for a patient using an NHS number where there is no corresponding record associated with this NHS number in the GP system When I make the GET request Then I shall handle the bundle of returned resources to accurately reflect what is held in the provider system AND my system reflects a successful interaction |
GPC-FOU-FPA-01/3 | 9324926233 | |
GPC-FOU-FPA-01/4 | Find a patient |
Given I am using the default server AND I search for a patient using an NHS Number AND the patient is flagged as 'sensitive' in the GP system record When I make the GET request Then the consumer system must display the messages returned from the Provider which specify that the 'Patient is Not Found' |
GPC-FOU-FPA-01/4 | 9658220150 | |
GPC-FOU-FPA-01/5 | Find a patient |
Given I am using the default server When I make a request to search for a patient using an NHS Number and the patient is flagged as 'sensitive' on their PDS record Then the consumer system must not perform the search for this patient |
GPC-FOU-FPA-01/5 | 9658220142 | |
GPC-FOU-FPA-01/6 | Find a patient |
Given I search for a patient who is marked as deceased in the GP system When I make the GET request Then I shall handle the empty bundle of returned resources to accurately reflect what is held in the provider system AND reflect a successful interaction |
GPC-FOU-FPA-01/6 | 9658220290 | |
GPC-FOU-FPA-01/7 | Find a patient |
Given I search for a patient who is marked as inactive in the GP system When I make the GET request Then I shall handle the empty bundle of returned resources to accurately reflect what is held in the provider system AND reflect a successful interaction |
GPC-FOU-FPA-01/7 | 9658219748 | |
GPC-FOU-FPA-01/8 | Find a patient |
Given I search for a patient with an invalid NHS number (not enough digits to be a valid number) When I make the GET request Then The error returned is captured and displayed appropriately to the caller |
GPC-FOU-FPA-01/8 | 9999999991 | |
GPC-FOU-RPA-01/1 | Read a patient |
Given I have resolved the logical patient identifier AND I request the details for this patient from the provider system When I make the GET request Then the request is formed as described in the specification |
GPC-FOU-RPA-01/1 | 9658218865 | |
GPC-FOU-RPA-01/2 | Read a patient |
Given I request the details for a patient whose details can't be found on the server from the provider system When I make the GET request Then The error returned is captured and displayed appropriately to the caller |
GPC-FOU-RPA-01/2 | 9324926233 | |
GPC-FOU-RPA-01/3 | Read a patient |
Given I have resolved the logical patient identifier AND I request the details for this patient from the provider system When I make the GET request Then The system can receive and read the data elements from the returned data as described in the specification and display them correctly |
GPC-FOU-RPA-01/3 | 9658218865 | |
GPC-FOU-REG-01/1 | Register a patient |
Given I want to book an appointment for a patient at an extended hours hub or federated practice AND the patient has not previously been registered at that hub or practice AND I have searched for a suitable slot at that hub or practice AND selected it When I confirm the booking Then The request is formatted as described in the specification AND a temporary patient registration is created in the provider system at the chosen practice AND the appointment is booked correctly AND I can retrieve and read the details of the appointment and of the temporary registration when they are returned to me |
GPC-FOU-REG-01/1 | SA TO PROVIDE DATA | |
GPC-FOU-REG-01/2 | Register a patient |
Given I want to book an appointment for a patient at an extended hours hub or federated practice AND the patient has previously been registered at that hub or practice AND I have searched for a suitable slot at that hub or practice AND selected it When I confirm the booking Then A temporary patient registration is not created in the provider system at the chosen practice AND the appointment is booked correctly AND I can retrieve and read the details of the appointment when they are returned to me |
GPC-FOU-REG-01/2 | SA TO PROVIDE DATA | |
GPC-FOU-REG-01/3 | Register a patient |
Given I want to book an appointment for a patient at an extended hours hub or federated practice AND the patient has not previously been registered at that hub or practice AND I have searched for a suitable slot at that hub or practice AND selected it AND the registration details section of the request is blank When I confirm the booking Then I shall display an appropriate error message |
GPC-FOU-REG-01/3 | SA TO PROVIDE DATA | |
GPC-FOU-REG-01/4 | Register a patient |
Given I want to book an appointment for a patient at an extended hours hub or federated practice AND the patient has not previously been registered at that hub or practice AND I have searched for a suitable slot at that hub or practice AND selected it AND I have included optional fields (address and telecom) in my request When I confirm the booking Then The temporary patient registration is created correctly including the optional fields |
GPC-FOU-REG-01/4 | SA TO PROVIDE DATA | |
GPC-FOU-REG-01/5 | Register a patient |
Given I want to book an appointment for a patient at an extended hours hub or federated practice AND the patient has not previously been registered at that hub or practice AND I have searched for a suitable slot at that hub or practice AND selected it AND the NHS Number in the request is blank When I confirm the booking Then I shall display an appropriate error message |
GPC-FOU-REG-01/5 | SA TO PROVIDE DATA | |
GPC-FOU-REG-01/6 | Register a patient |
Given I want to book an appointment for a patient at an extended hours hub or federated practice AND the patient has not previously been registered at that hub or practice AND I have searched for a suitable slot at that hub or practice AND selected it AND the date of birth in the request is blank When I confirm the booking Then I shall display an appropriate error message |
GPC-FOU-REG-01/6 | SA TO PROVIDE DATA | |
GPC-FOU-REG-01/7 | Register a patient |
Given I want to book an appointment for a patient at an extended hours hub or federated practice AND the patient has not previously been registered at that hub or practice AND I have searched for a suitable slot at that hub or practice AND selected it AND I have provided two or more phone numbers both with the same value in the 'Use' element When I confirm the booking Then I shall display an appropriate error message |
GPC-FOU-REG-01/7 | SA TO PROVIDE DATA | |
GPC-FOU-REG-01/8 | Register a patient |
Given I want to book an appointment for a patient at an extended hours hub or federated practice AND the patient has not previously been registered at that hub or practice AND I have searched for a suitable slot at that hub or practice AND selected it AND I have provided two or more addresses, both with the same value in the 'Use' element When I confirm the booking Then I shall display an appropriate error message |
GPC-FOU-REG-01/8 | SA TO PROVIDE DATA | |
GPC-FOU-REG-01/9 | Register a patient |
Given I want to book an appointment for a patient at an extended hours hub or federated practice AND the patient has not previously been registered at that hub or practice AND I have searched for a suitable slot at that hub or practice AND selected it AND I have provided an address where the value of the 'Use' element is not 'temp' When I confirm the booking Then I shall display an appropriate error message |
GPC-FOU-REG-01/9 | SA TO PROVIDE DATA | |
GPC-FOU-REG-01/10 | Register a patient |
Given I want to book an appointment for a patient at an extended hours hub or federated practice AND the patient has not previously been registered at that hub or practice AND I have searched for a suitable slot at that hub or practice AND selected it AND I have provided a phone number where the value of the 'Use' element is not 'temp' When I confirm the booking Then I shall display an appropriate error message |
GPC-FOU-REG-01/10 | SA TO PROVIDE DATA | |
GPC-FOU-REG-01/11 | Register a patient |
Given I want to book an appointment for a patient at an extended hours hub or federated practice AND the patient has not previously been registered at that hub or practice AND I have searched for a suitable slot at that hub or practice AND selected it AND I have provided an NHS number for a patient where the demographic details supplied do not match those on PDS When I confirm the booking Then I shall display an appropriate error message |
GPC-FOU-REG-01/11 | SA TO PROVIDE DATA | |
GPC-FOU-REG-01/12 | Register a patient |
Given I want to book an appointment for a patient at an extended hours hub or federated practice AND the patient has not previously been registered at that hub or practice AND I have searched for a suitable slot at that hub or practice AND selected it AND I have provided an NHS number with a status that is not an 'active' status in the GP system When I confirm the booking Then I shall display an appropriate error message |
GPC-FOU-REG-01/12 | SA TO PROVIDE DATA | |
GPC-FOU-FPR-01/1 | Find a practitioner |
Given I have resolved a SDS User Id AND I request the details for this practitioner from the provider system AND there are multiple practitioner records found for this SDS User Id When I make the GET request Then I shall handle the bundle of returned resources to accurately reflect what is held in the provider system |
GPC-FOU-FPR-01/1 | practitioner3 | |
GPC-FOU-FPR-01/2 | Find a practitioner |
Given I have resolved a SDS User Id AND I request the details for this practitioner from the provider system AND there is a single practitioner record found for this SDS User Id</br When I make the GET request Then I shall handle the bundle of returned resources to accurately reflect what is held in the provider system |
GPC-FOU-FPR-01/2 | practitioner2 | |
GPC-FOU-FPR-01/3 | Find a practitioner |
Given I have resolved a SDS User Id AND I request the details for this practitioner from the provider system AND there are no practitioner records found for this SDS User Id When I make the GET request Then I shall handle the bundle of returned resources to accurately reflect what is held in the provider system (no matching records) AND my system reflects a successful interaction |
GPC-FOU-FPR-01/3 | practitioner4 | |
GPC-FOU-FPR-01/4 | Find a practitioner |
Given I have resolved a SDS User Id AND I request the details for this practitioner from the provider system AND the user id is invalid (not enough digits or structurally invalid) When I make the GET request Then The error returned is captured and displayed appropriately to the caller |
GPC-FOU-FPR-01/4 | Stubbed responder/NONE | |
GPC-FOU-RPR-01/1 | Read a practitioner |
Given I have a logical identifier for a practitioner AND I request the details for this practitioner When I make the GET request Then the request is formed as described in the specification |
GPC-FOU-RPR-01/1 | practitioner2 | |
GPC-FOU-RPR-01/2 | Read a practitioner |
Given I have a logical identifier for a practitioner AND I request the details for this practitioner When I make the GET request Then The system can receive and read the data elements from the returned data as described in the specification and display them correctly |
GPC-FOU-RPR-01/2 | practitioner2 | |
GPC-FOU-RPR-01/3 | Read a practitioner |
Given I have a logical identifier for a practitioner AND I request the details for this practitioner AND this practitioner identifier does not exist on the server When I make the GET request Then The error returned is captured and displayed appropriately to the caller |
GPC-FOU-RPR-01/3 | none | |
GPC-FOU-FOR-01/1 | Find an organisation |
Given I have resolved an organisation ODS code AND I request the details for this organisation from the provider system AND there are multiple organisation records found for this ODS code When I make the GET request Then I shall handle the bundle of returned resources to accurately reflect what is held in the provider system |
GPC-FOU-FOR-01/1 | NONE | |
GPC-FOU-FOR-01/2 | Find an organisation |
Given I have resolved an organisation ODS code AND I request the details for this organisation from the provider system AND there is one organisation record found for this ODS code When I make the GET request Then I shall handle the bundle of returned resources to accurately reflect what is held in the provider system |
GPC-FOU-FOR-01/2 | ORG2 | |
GPC-FOU-FOR-01/3 | Find an organisation |
Given I have resolved an organisation ODS code AND I request the details for this organisation from the provider system AND there are no (zero) organisation records found for this ODS code When I make the GET request Then I shall handle the empty bundle of returned resources to accurately reflect what is held in the provider system AND reflect a successful interaction |
GPC-FOU-FOR-01/3 | unknownORG | |
GPC-FOU-FOR-01/4 | Find an organisation |
Given I request the details for an organisation with an invalid ODS code (not enough digits or wrong format) When I make the GET request Then The error returned is captured and displayed appropriately to the caller |
GPC-FOU-FOR-01/4 | TBC | |
GPC-FOU-ROR-01/1 | Read an organisation |
Given I have a logical identifier for an organisation AND I request the details for this organisation When I make the GET request Then the request is formed as described in the specification |
GPC-FOU-ROR-01/1 | ORG1 | |
GPC-FOU-ROR-01/2 | Read an organisation |
Given I have a logical identifier for an organisation AND I request the details for this organisation When I make the GET request Then The system can receive and read the data elements from the returned data as described in the specification and display them correctly |
GPC-FOU-ROR-01/2 | ORG1 | |
GPC-FOU-ROR-01/3 | Read an organisation |
Given I have a logical identifier for an organisation AND I request the details for this organisation AND this logical identifier does not exist on the system When I make the GET request Then The error returned is captured and displayed appropriately to the caller |
GPC-FOU-ROR-01/3 | none | |
GPC-FOU-RLO-01/1 | Read a location |
Given I have an identifier for a Location AND I request the details for this Location When I make the GET request Then the request is formed as described in the specification |
GPC-FOU-RLO-01/1 | Location 1 | |
GPC-FOU-RLO-01/2 | Read a location |
Given I have an identifier for a Location AND I request the details for this Location When I make the GET request Then The system can receive and read the data elements from the returned data as described in the specification and display them correctly |
GPC-FOU-RLO-01/2 | Location 1 | |
GPC-FOU-RLO-01/3 | Read a location |
Given I have an identifier for a Location AND I request the details for this Location AND the Location identifier cannot be found on the server When I make the GET request Then The error returned is captured and displayed appropriately to the caller |
GPC-FOU-RLO-01/3 | none |
Test Suit Setup & Configuration
Tests / Scenarios
- Spine Integration and Cross Organisation Tests
- Access Record Consumer Tests
- Access Record Consumer Tests 0.5.3
- Access Record Consumer Tests 0.7.2
- Access Record Consumer Tests 0.7.3
- Foundations Consumer Tests
- Appointments Consumer Tests
- Appointments Consumer Tests 1.2.7 Emergency Changes Only
- Appointments Consumer Tests
- Structured Record Consumer Tests
- Structured Record Consumer Tests 1.2.4
- Structured Record Consumer Tests 1.2.5
- Structured Record Consumer Tests 1.2.6
- Structured Record Consumer Tests 1.3.0
- Send Document Tests 1.3.0
- Access Record HTML view Manual Testing
- Appointments API (including Foundation) - Manual Testing
- HTML Provider Content
- FHIR GP Connect Profiles
- FHIR Base
- SSP
- JWT
- HTTP
- Security
- test
Test Data Pack
- Test Data Approach
- Base Test Data Set
- Simple Patient Records
- Rich Test Data Set
- ITK Test Harness Triggers
New Consumer SCAL Tests/Scenarios