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?