NHSDigital / integration-adaptor-111

National Integration Adaptors - Adaptor for NHS 111 Post Event Message
Apache License 2.0
3 stars 9 forks source link

Niad 2124 test suite safeguarding referral #246

Closed benhession closed 2 years ago

benhession commented 2 years ago

Scenario: 

PEM indicating that the call resulted in child safeguarding referral 

PEM indicating that the call resulted in  adult safeguarding referral

Disposition - [e.g Dx42 - immediate referral]

GIVEN contact call to NHS 111

WHEN the call is triaged and disposition determined

THEN a PEM (for information) is sent to the patients GP with notification of Safeguarding referral to Social Services

Demographic info (via link) can be used to test vulnerable adult scenario: file:///Users/sheila.smith/Downloads/Integrated%20Urgent%20Care%20Report%20-%20EXAMPLE.html

<address uri="urn:nhs-uk:addressing:ods: "EM396" />

ACCEPTANCE CRITERIA

GIVEN a test user wants to test a Patient referred to Primary Care THEN opening the test area the following form fields should be visible…

ODS Code - Id: @@ods-code@@, NOT NULL

DOS Code - Id: @@dos-code@@

NHS Number - Id: @@nhs-number@@ NOT NULL

Recipient Name: @@recipent-name@@ NOT NULL

Recipient Address Line 1: @@recipent-street-address-line-1@@ NOT NULL

Recipient Address Line 2: @@recipent-street-address-line-2@@ NOT NULL

Recipient Town: @@recipent-street-address-town@@

Recipient City: @@recipent-street-address-city@@

Recipient Postcode: @@recipent-street-address-postcode@@

Encounter Start Datetime: @@nhs111-encounter-date-time-start@@, NOT NULL

Encounter End Datetime: @@nhs111-encounter-date-time-end@@, NOT NULL

WHEN entered and validated THEN the fields should be inserted into the example data given below AND a request should be sent to the configured 111 Adapter endpoint.

https://github.com/SRAlexander/nhsd-data-library/tree/main/itk-examples-for-111/04%20-%20safeguarding-itk-request