Patient Flags Service - FHIR API - calling-system attribute

We are invoking the Get patient flags operation on the Patient Flags Service - FHIR API in the INT environment:

https://int.api.service.nhs.uk/patient-flags-api/FHIR/R4/PatientFlag?patient=9449306753

However, the endpoint returns a client error 400 (Bad Request) with body:

{
    "error": {
        "code": 400,
        "message": "A required target attribute 'calling-system' is missing, please send all required attributes"
    }
}

We have confirmed that:

  • request includes all headers as per the documentation and succeeds against Sandbox.
  • request uses Application-restricted access with a valid JWT.
  • API has been added to the application.

As far as we can see the attribute calling-system is not documented.

Is anyone able to advise?

Hi, we had a similar issue, NHS E had to add some additional permissions to the DOS entry.

Thanks!

I’ll pass that onto NHSE