Hi,
I’m trying to get clarification on this behaviour, currently making requests to A010 or A016 requires a Referring Clinician role via the API. However in e-RS itself a Service Provider is able to perform a service search and then book an appointment - is this a limitation just on API?
The second part of this is then as we are forced to use a Referring Clinician role to use A010 and A016 we then get a ‘No legitimate relationship’ response when the organisations are different and I assume we would not get this if we were able to use A010 and A016 using the Service Provider role - is this also another limitation on just the API?
Kind regards,
Chris
Hello, you are correct that the A010 (Patient Service Search) and A016 (Book or defer appointment) endpoints currently only support Referrer users (Referring Clinicians and Referring Clinician Admins). Although this functionality is supported within the Professional Application, this is a current limitation of those endpoints yes.
For ‘No legitimate Relationship’ response you’ve received, is this in response to calling the A016 endpoint? As you mention the rules for being able to modify a request are different when utilising the Referring Clinician role, so depending on how the Request being modified has been retrieved it’s possible a ‘No Legitimate Relationship’ error may be returned.
Hope this helps,
Jack.