Skip to content

Appointments Consumer Tests

Privilege Chiadzwa edited this page Aug 21, 2019 · 37 revisions

Consumer Tests - Appointments

Test ID Scenario Name Description Requirement ID Demonstrator Patient ID
CONS-HTMLTEST1 Retrieve the Summary care record section for a patient containing current Medication Issues
Given I am using the default server

And I am performing the "urn:nhs:names:services:gpconnect:fhir:operation:gpc.getcarerecord" interaction

And I author a request for the "SUM" care record section for patient with NHS Number (NHS Number to be provided by NHS Digital)

When I request the FHIR "gpc.getcarerecord" Patient Type operation

Then the response status code should indicate success

And the response body should be FHIR JSON

And the JSON value "resourceType" should be "Bundle"

And I will display the retrieved Patient details, Practitioner details, GP Practice Organisation details in the Patient Banner in-line with the CUI Guidance

And I will display the Section Banner containing Heading, Applied Date Range and Content Message

And I will display a table with Header "Current Medication Issues" and the Columns (ordered from left-to-right) "Start Date" "Medication Item" "Type" "Scheduled End Date" "Days Duration" and "Details"

And I will display the rows ordered by "Start Date" date descending

And I will display all the contents in the table without truncation

And I will display the content in Type column as "Acute" or "Repeat

And I will display the content in Details column as free-text which include Medication Material, Medication Dosage units, Medication Schedule(when/how often), Medication Dosage Rate and Max Medication Dosage quantity
GPC-ARHTML-02 GPC-ARHTML-07 GPC-ARHTML-08 9658218997
CONS-HTMLTEST2 Retrieve the Summary care record section for a patient containing current Repeat Medications
Given I am using the default server

And I am performing the "urn:nhs:names:services:gpconnect:fhir:operation:gpc.getcarerecord" interaction

And I author a request for the "SUM" care record section for patient with NHS Number (NHS Number to be provided by NHS Digital)

When I request the FHIR "gpc.getcarerecord" Patient Type operation

Then the response status code should indicate success

And the response body should be FHIR JSON

And the JSON value "resourceType" should be "Bundle"

And I will display a table with Header "Current Repeat Medications" and the Columns (ordered from left-to-right) "Last Issued" "Medication Item" "Start Date" "Review Date" "Number Issued" "Max Issues" and "Details"

And I will display the rows ordered by "Last Issued" date descending

And I will display all the contents in the table without truncation

And I will display the content in Details column as free-text which include Medication Material, Medication Dosage units, Medication Schedule(when/how often), Medication Dosage Rate and Max Medication Dosage quantity
GPC-ARHTML-02 GPC-ARHTML-07 GPC-ARHTML-08 9658218903
CONS-HTMLTEST3 Retrieve the Summary care record section for a patient containing current Allergies and Adverse Reactions
Given I am using the default server

And I am performing the "urn:nhs:names:services:gpconnect:fhir:operation:gpc.getcarerecord" interaction

And I author a request for the "SUM" care record section for patient with NHS Number (NHS Number to be provided by NHS Digital)

When I request the FHIR "gpc.getcarerecord" Patient Type operation

Then the response status code should indicate success

And the response body should be FHIR JSON

And the JSON value "resourceType" should be "Bundle"

And I will display a table with Header "Current Allergies and Adverse Reactions" and the Columns (ordered from left-to-right) "Start Date" and "Details"

And I will display the rows ordered by "Start Date" date descending

And I will display all the contents in the table without truncation

And I will display the content in Details column as free-text
GPC-ARHTML-02 GPC-ARHTML-07 GPC-ARHTML-08 9658218873
CONS-HTMLTEST4 Retrieve the Summary care record section for a patient containing Active Problems and Issues
Given I am using the default server

And I am performing the "urn:nhs:names:services:gpconnect:fhir:operation:gpc.getcarerecord" interaction

And I author a request for the "SUM" care record section for patient with NHS Number (NHS Number to be provided by NHS Digital)

When I request the FHIR "gpc.getcarerecord" Patient Type operation

Then the response status code should indicate success

And the response body should be FHIR JSON

And the JSON value "resourceType" should be "Bundle"

And I will display a table with Header "Active Problems and Issues" and the Columns (ordered from left-to-right) "Start Date" "Entry" "Significance" and "Details"

And I will display the rows ordered by "Start Date" date descending

And I will display all the contents in the table without truncation

And I will display the content in Significance column as "Major" or "Minor"
GPC-ARHTML-02 GPC-ARHTML-07 GPC-ARHTML-08 9658218873
CONS-HTMLTEST5 Retrieve the Summary care record section for a patient containing last 3 encounters
Given I am using the default server

And I am performing the "urn:nhs:names:services:gpconnect:fhir:operation:gpc.getcarerecord" interaction

And I author a request for the "SUM" care record section for patient with NHS Number (NHS Number to be provided by NHS Digital)

When I request the FHIR "gpc.getcarerecord" Patient Type operation

Then the response status code should indicate success

And the response body should be FHIR JSON

And the JSON value "resourceType" should be "Bundle"

And I will display a table with Header "Encounters" and the Columns (ordered from left-to-right) "Date" "Title" and "Details"

And I will display the rows ordered by "Date" date descending

And I will display all the contents in the table without truncation

And I will display the content in the Title column as a subset of the Practitioner and Organization details linked to the encounter

And I will display the content in the Details column as free-text
GPC-ARHTML-02 GPC-ARHTML-07 GPC-ARHTML-08 9658218873
CONS-HTMLTEST6 Retrieve the Medication care record section for a patient containing current Medication Issues
Given I am using the default server

And I am performing the "urn:nhs:names:services:gpconnect:fhir:operation:gpc.getcarerecord" interaction

And I author a request for the "MED" care record section for patient with NHS Number (NHS Number to be provided by NHS Digital)

When I request the FHIR "gpc.getcarerecord" Patient Type operation

Then the response status code should indicate success

And the response body should be FHIR JSON

And the JSON value "resourceType" should be "Bundle"

And I will display the retrieved Patient details, Practitioner details, GP Practice Organisation details in the Patient Banner in-line with the CUI Guidance

And I will display the Section Banner containing Heading, Applied Date Range and Content Message

And I will display a table with Header "Current Medication Issues" and the Columns (ordered from left-to-right) "Start Date" "Medication Item" "Type" "Scheduled End Date" "Days Duration" and "Details"

And I will display the rows ordered by "Start Date" date descending

And I will display all the contents in the table without truncation

And I will display the content in Type column as "Acute" or "Repeat

And I will display the content in Details column as free-text which include Medication Material, Medication Dosage units, Medication Schedule(when/how often), Medication Dosage Rate and Max Medication Dosage quantity
GPC-ARHTML-02 GPC-ARHTML-08 9658219012
CONS-HTMLTEST7 Retrieve the Medication care record section for a patient containing current Repeat Medications
Given I am using the default server

And I am performing the "urn:nhs:names:services:gpconnect:fhir:operation:gpc.getcarerecord" interaction

And I author a request for the "MED" care record section for patient with NHS Number (NHS Number to be provided by NHS Digital)

When I request the FHIR "gpc.getcarerecord" Patient Type operation

Then the response status code should indicate success

And the response body should be FHIR JSON

And the JSON value "resourceType" should be "Bundle"

And I will display a table with Header "Current Repeat Medications" and the Columns (ordered from left-to-right) "Last Issued" "Medication Item" "Start Date" "Review Date" "Number Issued" "Max Issues" and "Details"

And I will display the rows ordered by "Last Issued" date descending

And I will display all the contents in the table without truncation

And I will display the content in Details column as free-text which include Medication Material, Medication Dosage units, Medication Schedule(when/how often), Medication Dosage Rate and Max Medication Dosage quantity
GPC-ARHTML-02 GPC-ARHTML-08 9658219004
CONS-HTMLTEST8 Retrieve the Medication care record section for a patient containing Past Medications
Given I am using the default server

And I am performing the "urn:nhs:names:services:gpconnect:fhir:operation:gpc.getcarerecord" interaction

And I author a request for the "MED" care record section for patient with NHS Number (NHS Number to be provided by NHS Digital)

When I request the FHIR "gpc.getcarerecord" Patient Type operation

Then the response status code should indicate success

And the response body should be FHIR JSON

And the JSON value "resourceType" should be "Bundle"

And I will display a table with Header "Past Medications" and the Columns (ordered from left-to-right) "Start Date" "Medication Item" "Type" "Last Issued" "Review Date" "Number Issued" "Max Issued" and "Details"

And I will display the rows ordered by "Start Date" date descending

And I will display all the contents in the table without truncation

And I will display the content in Type column as "Acute" or "Repeat

And I will display the content in Details column as free-text which include Medication Material, Medication Dosage units, Medication Schedule(when/how often), Medication Dosage Rate and Max Medication Dosage quantity

And for Cancelled (Acute) , I will display the content in Details column as Cancelled followed by Date of Cancellation

And for Discontinued (Repeat), I will display the content in Details column as Cancelled followed by Date of Discontinued, followed by Date when discontinued
GPC-ARHTML-02 GPC-ARHTML-08 9658218989
CONS-HTMLTEST9 Retrieve the Encounters care record section for a patient with date range supplied
Given I am using the default server

And I am performing the "urn:nhs:names:services:gpconnect:fhir:operation:gpc.getcarerecord" interaction

And I author a request for the "ENC" care record section for patient with NHS Number (NHS Number to be provided by NHS Digital) with a date range supplied

When I request the FHIR "gpc.getcarerecord" Patient Type operation

Then the response status code should indicate success

And the response body should be FHIR JSON

And the JSON value "resourceType" should be "Bundle"

And I will display the retrieved Patient details, Practitioner details, GP Practice Organisation details in the Patient Banner in-line with the CUI Guidance

And I will display the Section Banner containing Heading, Applied Date Range and Content Message

And I will display a table with Header "Encounters" and the Columns (ordered from left-to-right) "Date" "Title" and "Details"

And I will display the rows ordered by "Date" date descending

And I will display all the contents in the table without truncation

And I will display the content in the Title column as a subset of the Practitioner and Organization details linked to the encounter

And I will display the content in the Details column as free-text
GPC-ARHTML-04 GPC-ARHTML-02 GPC-ARHTML-08 9658218873
CONS-HTMLTEST10 Retrieve the Encounters care record section for a patient without a date range supplied
Given I am using the default server

And I am performing the "urn:nhs:names:services:gpconnect:fhir:operation:gpc.getcarerecord" interaction

And I author a request for the "ENC" care record section for patient with NHS Number (NHS Number to be provided by NHS Digital) without a date range supplied

When I request the FHIR "gpc.getcarerecord" Patient Type operation

Then the response status code should indicate success

And the response body should be FHIR JSON

And the JSON value "resourceType" should be "Bundle"

And I will display the retrieved Patient details, Practitioner details, GP Practice Organisation details in the Patient Banner in-line with the CUI Guidance

And I will display the Section Banner containing Heading, Applied Date Range and Content Message

And I will display a table with Header "Encounters" and the Columns (ordered from left-to-right) "Date" "Title" and "Details"

And I will display the rows ordered by "Date" date descending

And I will display all the contents in the table without truncation

And I will display the content in the Title column as a subset of the Practitioner and Organization details linked to the encounter

And I will display the content in the Details column as free-text
GPC-ARHTML-02 GPC-ARHTML-08 9658218873
CONS-HTMLTEST11 Retrieve the Referrals care record section for a patient with date range supplied
Given I am using the default server

And I am performing the "urn:nhs:names:services:gpconnect:fhir:operation:gpc.getcarerecord" interaction

And I author a request for the "REF" care record section for patient with NHS Number (NHS Number to be provided by NHS Digital) with a date range supplied

When I request the FHIR "gpc.getcarerecord" Patient Type operation

Then the response status code should indicate success

And the response body should be FHIR JSON

And the JSON value "resourceType" should be "Bundle"

And I will display the retrieved Patient details, Practitioner details, GP Practice Organisation details in the Patient Banner in-line with the CUI Guidance

And I will display the Section Banner containing Heading, Applied Date Range and Content Message

And I will display a table with Header "Referrals" and the Columns (ordered from left-to-right) "Date" "From" "To" "Priority" and "Details"

And I will display the rows ordered by "Date" date descending

And I will display all the contents in the table without truncation

And I will display the content in the Title column as a subset of the Practitioner and Organization details linked to the encounter

And I will display the content in the Details column as free-text
GPC-ARHTML-04 GPC-ARHTML-02 GPC-ARHTML-08 9658218873
CONS-HTMLTEST12 Retrieve the Referrals care record section for a patient without date range supplied
Given I am using the default server

And I am performing the "urn:nhs:names:services:gpconnect:fhir:operation:gpc.getcarerecord" interaction

And I author a request for the "REF" care record section for patient with NHS Number (NHS Number to be provided by NHS Digital) without a date range supplied

When I request the FHIR "gpc.getcarerecord" Patient Type operation

Then the response status code should indicate success

And the response body should be FHIR JSON

And the JSON value "resourceType" should be "Bundle"

And I will display the retrieved Patient details, Practitioner details, GP Practice Organisation details in the Patient Banner in-line with the CUI Guidance

And I will display the Section Banner containing Heading, Applied Date Range and Content Message

And I will display a table with Header "Referrals" and the Columns (ordered from left-to-right) "Date" "From" "To" "Priority" and "Details"

And I will display the rows ordered by "Date" date descending

And I will display all the contents in the table without truncation

And I will display the content in the Title column as a subset of the Practitioner and Organization details linked to the encounter

And I will display the content in the Details column as free-text
GPC-ARHTML-02 GPC-ARHTML-08 9658218873
CONS-HTMLTEST13 Retrieve the Allergies and Adverse Reactions care record section for a patient containing current Allergies and Adverse Reactions
Given I am using the default server

And I am performing the "urn:nhs:names:services:gpconnect:fhir:operation:gpc.getcarerecord" interaction

And I author a request for the "ALL" care record section for patient with NHS Number (NHS Number to be provided by NHS Digital)

When I request the FHIR "gpc.getcarerecord" Patient Type operation

Then the response status code should indicate success

And the response body should be FHIR JSON

And the JSON value "resourceType" should be "Bundle"

And I will display the retrieved Patient details, Practitioner details, GP Practice Organisation details in the Patient Banner in-line with the CUI Guidance

And I will display the Section Banner containing Heading, Applied Date Range and Content Message

And I will display a table with Header "Current Allergies and Adverse Reactions" and the Columns (ordered from left-to-right) "Start Date" and "Details"

And I will display the rows ordered by "Start Date" date descending

And I will display all the contents in the table without truncation

And I will display the content in the Details column as free-text
GPC-ARHTML-02 GPC-ARHTML-08 9658218873
CONS-HTMLTEST14 Retrieve the Allergies and Adverse Reactions care record section for a patient containing historical Allergies and Adverse Reactions
Given I am using the default server

And I am performing the "urn:nhs:names:services:gpconnect:fhir:operation:gpc.getcarerecord" interaction

And I author a request for the "ALL" care record section for patient with NHS Number (NHS Number to be provided by NHS Digital)

When I request the FHIR "gpc.getcarerecord" Patient Type operation

Then the response status code should indicate success

And the response body should be FHIR JSON

And the JSON value "resourceType" should be "Bundle"

And I will display the retrieved Patient details, Practitioner details, GP Practice Organisation details in the Patient Banner in-line with the CUI Guidance

And I will display the Section Banner containing Heading, Applied Date Range and Content Message

And I will display a table with Header "Historical Allergies and Adverse Reactions" and the Columns (ordered from left-to-right) "Start Date" "End Date" and "Details"

And I will display the rows ordered by "Start Date" date descending

And I will display all the contents in the table without truncation

And I will display the content in the Details column as free-text
GPC-ARHTML-02 GPC-ARHTML-08 9658218903
CONS-HTMLTEST15 Retrieve the Immunisations care record section for a patient
Given I am using the default server

And I am performing the "urn:nhs:names:services:gpconnect:fhir:operation:gpc.getcarerecord" interaction

And I author a request for the "IMM" care record section for patient with NHS Number (NHS Number to be provided by NHS Digital)

When I request the FHIR "gpc.getcarerecord" Patient Type operation

Then the response status code should indicate success

And the response body should be FHIR JSON

And the JSON value "resourceType" should be "Bundle"

And I will display the retrieved Patient details, Practitioner details, GP Practice Organisation details in the Patient Banner in-line with the CUI Guidance

And I will display the Section Banner containing Heading, Applied Date Range and Content Message

And I will display a table with Header "Immunisations" and the Columns (ordered from left-to-right) "Date" "Vaccination" "Part" "Contents" and "Details"

And I will display the rows ordered by "Date" date descending

And I will display all the contents in the table without truncation

And I will display the content in the Details column as free-text
GPC-ARHTML-02 GPC-ARHTML-08 9658218873
CONS-HTMLTEST16 Retrieve the Clinical Items care record section for a patient with date range supplied
Given I am using the default server

And I am performing the "urn:nhs:names:services:gpconnect:fhir:operation:gpc.getcarerecord" interaction

And I author a request for the "CLI" care record section for patient with NHS Number (NHS Number to be provided by NHS Digital) with a date range supplied

When I request the FHIR "gpc.getcarerecord" Patient Type operation

Then the response status code should indicate success

And the response body should be FHIR JSON

And the JSON value "resourceType" should be "Bundle"

And I will display the retrieved Patient details, Practitioner details, GP Practice Organisation details in the Patient Banner in-line with the CUI Guidance

And I will display the Section Banner containing Heading, Applied Date Range and Content Message

And I will display a table with Header "Clinical Items" and the Columns (ordered from left-to-right) "Date" "Entry" and "Details"

And I will display the rows ordered by "Date" date descending

And I will display all the contents in the table without truncation

And I will display the content in the Details column as free-text
GPC-ARHTML-04 GPC-ARHTML-02 GPC-ARHTML-08 9658218873
CONS-HTMLTEST17 Retrieve the Clinical Items care record section for a patient without a date range supplied
Given I am using the default server

And I am performing the "urn:nhs:names:services:gpconnect:fhir:operation:gpc.getcarerecord" interaction

And I author a request for the "CLI" care record section for patient with NHS Number (NHS Number to be provided by NHS Digital) without a date range supplied

When I request the FHIR "gpc.getcarerecord" Patient Type operation

Then the response status code should indicate success

And the response body should be FHIR JSON

And the JSON value "resourceType" should be "Bundle"

And I will display the retrieved Patient details, Practitioner details, GP Practice Organisation details in the Patient Banner in-line with the CUI Guidance

And I will display the Section Banner containing Heading, Applied Date Range and Content Message

And I will display a table with Header "Clinical Items" and the Columns (ordered from left-to-right) "Date" "Entry" and "Details"

And I will display the rows ordered by "Date" date descending

And I will display all the contents in the table without truncation

And I will display the content in the Details column as free-text
GPC-ARHTML-02 GPC-ARHTML-08 9658218873
CONS-HTMLTEST18 Retrieve the Observations care record section for a patient with date range supplied
Given I am using the default server

And I am performing the "urn:nhs:names:services:gpconnect:fhir:operation:gpc.getcarerecord" interaction

And I author a request for the "OBS" care record section for patient with NHS Number (NHS Number to be provided by NHS Digital) with a date range supplied

When I request the FHIR "gpc.getcarerecord" Patient Type operation

Then the response status code should indicate success

And the response body should be FHIR JSON

And the JSON value "resourceType" should be "Bundle"

And I will display the retrieved Patient details, Practitioner details, GP Practice Organisation details in the Patient Banner in-line with the CUI Guidance

And I will display the Section Banner containing Heading, Applied Date Range and Content Message

And I will display a table with Header "Observations" and the Columns (ordered from left-to-right) "Date" "Entry" "Value" and "Details"

And I will display the rows ordered by "Date" date descending

And I will display all the contents in the table without truncation

And I will display the content in the Details column as free-text
GPC-ARHTML-04 GPC-ARHTML-02 GPC-ARHTML-08 9658218873
CONS-HTMLTEST19 Retrieve the Observations care record section for a patient without a date range supplied
Given I am using the default server

And I am performing the "urn:nhs:names:services:gpconnect:fhir:operation:gpc.getcarerecord" interaction

And I author a request for the "OBS" care record section for patient with NHS Number (NHS Number to be provided by NHS Digital) without a date range supplied

When I request the FHIR "gpc.getcarerecord" Patient Type operation

Then the response status code should indicate success

And the response body should be FHIR JSON

And the JSON value "resourceType" should be "Bundle"

And I will display the retrieved Patient details, Practitioner details, GP Practice Organisation details in the Patient Banner in-line with the CUI Guidance

And I will display the Section Banner containing Heading, Applied Date Range and Content Message

And I will display a table with Header "Observations" and the Columns (ordered from left-to-right) "Date" "Entry" "Value" and "Details"

And I will display the rows ordered by "Date" date descending

And I will display all the contents in the table without truncation

And I will display the content in the Details column as free-text
GPC-ARHTML-02 GPC-ARHTML-08 9658218873
CONS-HTMLTEST22 Retrieve the Administrative Items care record section for a patient with date range supplied
Given I am using the default server

And I am performing the "urn:nhs:names:services:gpconnect:fhir:operation:gpc.getcarerecord" interaction

And I author a request for the "ADM" care record section for patient with NHS Number (NHS Number to be provided by NHS Digital) with a date range supplied

When I request the FHIR "gpc.getcarerecord" Patient Type operation

Then the response status code should indicate success

And the response body should be FHIR JSON

And the JSON value "resourceType" should be "Bundle"

And I will display the retrieved Patient details, Practitioner details, GP Practice Organisation details in the Patient Banner in-line with the CUI Guidance

And I will display the Section Banner containing Heading, Applied Date Range and Content Message

And I will display a table with Header "Administrative Items" and the Columns (ordered from left-to-right) "Date" "Entry" and "Details"

And I will display the rows ordered by "Date" date descending

And I will display all the contents in the table without truncation

And I will display the content in the Details column as free-text
GPC-ARHTML-04 GPC-ARHTML-02 GPC-ARHTML-08 9658218873
CONS-HTMLTEST23 Retrieve the Administrative Items care record section for a patient without date range supplied
Given I am using the default server

And I am performing the "urn:nhs:names:services:gpconnect:fhir:operation:gpc.getcarerecord" interaction

And I author a request for the "ADM" care record section for patient with NHS Number (NHS Number to be provided by NHS Digital) with a date range supplied

When I request the FHIR "gpc.getcarerecord" Patient Type operation

Then the response status code should indicate success

And the response body should be FHIR JSON

And the JSON value "resourceType" should be "Bundle"

And I will display the retrieved Patient details, Practitioner details, GP Practice Organisation details in the Patient Banner in-line with the CUI Guidance

And I will display the Section Banner containing Heading, Applied Date Range and Content Message

And I will display a table with Header "Administrative Items" and the Columns (ordered from left-to-right) "Date" "Entry" and "Details"

And I will display the rows ordered by "Date" date descending

And I will display all the contents in the table without truncation

And I will display the content in the Details column as free-text
GPC-ARHTML-02 GPC-ARHTML-08 9658218873
CONS-HTMLTEST24 Retrieve the Problems and Issues care record section for a patient containing Active Problems and Issues
Given I am using the default server

And I am performing the "urn:nhs:names:services:gpconnect:fhir:operation:gpc.getcarerecord" interaction

And I author a request for the "PRB" care record section for patient with NHS Number (NHS Number to be provided by NHS Digital)

When I request the FHIR "gpc.getcarerecord" Patient Type operation

Then the response status code should indicate success

And the response body should be FHIR JSON

And the JSON value "resourceType" should be "Bundle"

And I will display the retrieved Patient details, Practitioner details, GP Practice Organisation details in the Patient Banner in-line with the CUI Guidance

And I will display the Section Banner containing Heading, Applied Date Range and Content Message

And I will display a table with Header "Active Problems and Issues" and the Columns (ordered from left-to-right) "Start Date" "Entry" "Significance" and "Details"

And I will display the rows ordered by "Start Date" date descending

And I will display all the contents in the table without truncation

And I will display the content in Significance column as "Major" or "Minor"
GPC-ARHTML-02 GPC-ARHTML-08 9658218873
CONS-HTMLTEST25 Retrieve the Problems and Issues care record section for a patient containing Inactive Problems and Issues with a date range supplied
Given I am using the default server

And I am performing the "urn:nhs:names:services:gpconnect:fhir:operation:gpc.getcarerecord" interaction

And I author a request for the "PRB" care record section for patient with NHS Number (NHS Number to be provided by NHS Digital) with a date range supplied

When I request the FHIR "gpc.getcarerecord" Patient Type operation

Then the response status code should indicate success

And the response body should be FHIR JSON

And the JSON value "resourceType" should be "Bundle"

And I will display the retrieved Patient details, Practitioner details, GP Practice Organisation details in the Patient Banner in-line with the CUI Guidance

And I will display the Section Banner containing Heading, Applied Date Range and Content Message

And I will display a table with Header "Active Problems and Issues" and the Columns (ordered from left-to-right) "Start Date" "Entry" "Significance" and "Details"

And I will display the rows ordered by "Start Date" date descending

And I will display all the contents in the table without truncation

And I will display the content in Significance column as "Major" or "Minor"
GPC-ARHTML-04 GPC-ARHTML-02 GPC-ARHTML-08 9658218873
CONS-HTMLTEST26 Retrieve the Problems and Issues care record section for a patient containing Inactive Problems and Issues without a date range supplied
Given I am using the default server

And I am performing the "urn:nhs:names:services:gpconnect:fhir:operation:gpc.getcarerecord" interaction

And I author a request for the "PRB" care record section for patient with NHS Number (NHS Number to be provided by NHS Digital) without a date range supplied

When I request the FHIR "gpc.getcarerecord" Patient Type operation

Then the response status code should indicate success

And the response body should be FHIR JSON

And the JSON value "resourceType" should be "Bundle"

And I will display the retrieved Patient details, Practitioner details, GP Practice Organisation details in the Patient Banner in-line with the CUI Guidance

And I will display the Section Banner containing Heading, Applied Date Range and Content Message

And I will display a table with Header "Active Problems and Issues" and the Columns (ordered from left-to-right) "Start Date" "Entry" "Significance" and "Details"

And I will display the rows ordered by "Start Date" date descending

And I will display all the contents in the table without truncation

And I will display the content in Significance column as "Major" or "Minor"
GPC-ARHTML-02 GPC-ARHTML-08 9658218873
CONS-HTMLTEST27 Retrieve a care record section for a patient who has line items excluded from record section
Given I am using the default server

And I am performing the "urn:nhs:names:services:gpconnect:fhir:operation:gpc.getcarerecord" interaction

And I author a request for a care record section for patient with NHS Number (NHS Number to be provided by NHS Digital) who has line items excluded from record section

When I request the FHIR "gpc.getcarerecord" Patient Type operation

Then the response status code should indicate success

And the response body should be FHIR JSON

And the JSON value "resourceType" should be "Bundle"

And I will display the retrieved Patient details, Practitioner details, GP Practice Organisation details in the Patient Banner in-line with the CUI Guidance

And I will display the messages returned from the Provider reflecting Data within Section withheld
GPC-ARHTML-05 GPC-ARHTML-09 No NHS Number
CONS-HTMLTEST28 Retrieve a care record section for a patient who has the whole section excluded from their care record
Given I am using the default server

And I am performing the "urn:nhs:names:services:gpconnect:fhir:operation:gpc.getcarerecord" interaction

And I author a request for a care record section for patient with NHS Number (NHS Number to be provided by NHS Digital) who has the section excluded from their care record

When I request the FHIR "gpc.getcarerecord" Patient Type operation

Then the response status code should indicate success

And the response body should be FHIR JSON

And the JSON value "resourceType" should be "Bundle"

And I will display the retrieved Patient details, Practitioner details, GP Practice Organisation details in the Patient Banner in-line with the CUI Guidance

And I will display the messages returned from the Provider reflecting Patient Section withheld
GPC-ARHTML-05 GPC-ARHTML-09 No NHS Number
CONS-HTMLTEST29 Retrieve a care record section for a patient whose record is in transit
Given I am using the default server

And I am performing the "urn:nhs:names:services:gpconnect:fhir:operation:gpc.getcarerecord" interaction

And I author a request for a care record section for patient with NHS Number (NHS Number to be provided by NHS Digital) whose record is in transit

When I request the FHIR "gpc.getcarerecord" Patient Type operation

Then the response status code should indicate success

And the response body should be FHIR JSON

And the JSON value "resourceType" should be "Bundle"

And I will display the retrieved Patient details, Practitioner details, GP Practice Organisation details in the Patient Banner in-line with the CUI Guidance

And I will display the 'Patient Record in Transit' warning message as supplied in interaction that the record could be incomplete
GPC-ARHTML-06 No NHS Number
CONS-HTMLTEST33 Retrieve a care record section for a patient who has items included in RGCP Sensitive Exclusion Set on their record
Given I am using the default server

And I am performing the "urn:nhs:names:services:gpconnect:fhir:operation:gpc.getcarerecord" interaction

And I author a request for a care record section for patient with NHS Number (NHS Number to be provided by NHS Digital) who has some data items which are in the RCGP Sensitive Exclusion set

When I request the FHIR "gpc.getcarerecord" Patient Type operation

Then the response status code should indicate success

And the response body should be FHIR JSON

And the JSON value "resourceType" should be "Bundle"

And I will display the retrieved Patient details, Practitioner details, GP Practice Organisation details in the Patient Banner in-line with the CUI Guidance

Then I will display the messages returned from the Provider which specify those data items as withheld
GPC-ARHTML-05 GPC-ARHTML-09 No NHS Number
CONS-FHIRPROFTEST2 Attempt to retrieve a care record section with an Invalid Start Date
Given I am using the default server

And I am performing the "urn:nhs:names:services:gpconnect:fhir:operation:gpc.getcarerecord" interaction

And I author a request for the 'OBS' care record section for a patient but specify an invalid start date

When I request the FHIR "gpc.getcarerecord" Patient Type operation

Then the request should NOT be allowed
GPC-ARHTML-04 9658218873
CONS-FHIRPROFTEST3 Attempt to retrieve a care record section with an Invalid End Date
Given I am using the default server

And I am performing the "urn:nhs:names:services:gpconnect:fhir:operation:gpc.getcarerecord" interaction

And I author a request for the 'OBS' care record section for a patient but specify an invalid end date

When I request the FHIR "gpc.getcarerecord" Patient Type operation

Then the request should NOT be allowed
GPC-ARHTML-04 9658218873
CONS-FHIRPROFTEST4 Attempt to retrieve a care record section with a Start Date greater than the End Date
Given I am using the default server

And I am performing the "urn:nhs:names:services:gpconnect:fhir:operation:gpc.getcarerecord" interaction

And I author a request for the 'OBS' care record section for a patient but specify the Start Date to be greater than the End Date

When I request the FHIR "gpc.getcarerecord" Patient Type operation

Then the request should NOT be allowed
GPC-ARHTML-04 9658218873
CONS-FHIRPROFTEST5 Attempt to retrieve a care record section with Time Filtering Specified for Allergies
Given I am using the default server

And I am performing the "urn:nhs:names:services:gpconnect:fhir:operation:gpc.getcarerecord" interaction

And I author a request for the 'ALL' care record section for a patient and specify a Start Date and an End Date

When I request the FHIR "gpc.getcarerecord" Patient Type operation

Then the request should NOT be allowed
GPC-ARHTML-04 9658218873
CONS-FHIRPROFTEST6 Attempt to retrieve a care record section with Time Filtering Specified for Immunisations
Given I am using the default server

And I am performing the "urn:nhs:names:services:gpconnect:fhir:operation:gpc.getcarerecord" interaction

And I author a request for the 'IMM' care record section for a patient (NHS Number to be provided by NHS Digital) and specify a Start Date and an End Date

When I request the FHIR "gpc.getcarerecord" Patient Type operation

Then the request should NOT be allowed
GPC-ARHTML-04 9658218873
CONS-FHIRPROFTEST7 Attempt to retrieve a care record section with Time Filtering Specified for Summary
Given I am using the default server

And I am performing the "urn:nhs:names:services:gpconnect:fhir:operation:gpc.getcarerecord" interaction

And I author a request for the 'SUM' care record section for a patient (NHS Number to be provided by NHS Digital) and specify a Start Date and an End Date

When I request the FHIR "gpc.getcarerecord" Patient Type operation

Then the request should NOT be allowed
GPC-ARHTML-04 9658218873

Clone this wiki locally