Hi,
I’m trying to test our A013 and A014 messages with the INT environment. I’ve booked referrals in INT and can see them in our software, I’ve rejected one and accepted one referral but I’m unsure how to see in INT whether these actions were successful, we did get the app ack messages but when I sign in as the referring clinican at the GP it still shows the referral as “Booked” status for both the accepted and rejected referral, likewise the referrals still show for the patient in https://int-refer.nhs.uk/.
I’m not sure whether my accept/reject messages were incorrect/failed or whether I’m checking the wrong place to see the referral being accepted/rejected.
Hi @sgroom - In terms of e-RS workflows, I would expect the following:
REJECT - Once a referral is rejected by the provider, it goes back to the referrers worklist (“Rejected / Triage Response”) to manage. For the patient, they will be informed the appointment is no longer booked, and the referrer is dealing with it (and to contact them for any updates).
ACCEPT - There is no real state change for accept, the appointment remains booked and ,as long as the appointment doesn’t change, the patient will attend at the allocated date/time. Accepting a referral does remove it from the providers Referrals for Review worklist.
Thanks! Sorry I realised I’m getting an error returned “Sorry, the page you are looking for is currently unavailable” so it makes sense that it’s not worked.
Is the below link correct for the INT environment or is the path changed? 000049810946 being the UBRN
int.api.service.nhs.uk/referrals/FHIR/STU3/ReferralRequest/000049810946/$ers.rejectReferral
I just changed the sandbox host to the INT host and kept the path the same
That looks OK to me @sgroom
Hello!
I fixed up a few other things that needed changing in the move from sandbox to INT, I think my testing steps in e-RS INT are wrong because I’m now getting the below error. I’m guessing because I directly booked the referral and it was in booked status, how should I be “booking” the referral so that it’s in a state that I can reject it?
Currently I’m logging in as a GP, Refer/seek guidance, request type = referral and booking a referral against our hospital.
| INVALID_REQUEST_STATE | The Request, while otherwise valid, is not in the correct state for the specific action being performed. |
|---|
Hi @sgroom - In order for you to REJECT a referral it has to have:
- An appointment booked at the receiving service - ensure it’s a Directly Bookable Service (DBS) you have set-up and have access to
Guidance on setting up services here:
https://digital.nhs.uk/services/path-to-live-environments/guide-to-creating-services-in-path-to-live-nhs-e-referral-service
- Associated referral letter/attachment - so it’s available for the provider to review (accept/reject)
Guidance on booking here if you need:
https://digital.nhs.uk/services/e-referral-service/document-library/referring-a-patient
Ah okay our DBS is a face to face service and the only request types are “Appointment”. I’m guessing I just need to allow “Triage” request types for my service?
I’m still not sure of the workflow I’m meant to be taking inside of e-RS INT, I just tried shortlisting it then booking via NHS Manage Your Referral (patient) but I’m getting the “INVALID_REQUEST_STATE - the referral request is not marked for review” again. I’m not sure if there’s any endpoints that I’m missing or whether because it’s already at booked status that I can’t reject it? Could we potentially just hop on a call to go through it?
Sure @sgroom - can you reach out to me on Teams and we’ll jump on a call:
