Hello.
I have a question regarding the Patient Search functionality. I am doing a search on name and I have come up with some interesting results.
For instance doing a request with name=smith works fine:
The subsqeuent calls to get the rest of the results using the next link work fine as well.
However, I have found that various letters and letter combinations don't work. For instance if I want all patients who have a 'D' in their name I end up with an error on the 7th next link call. I am getting an error of:
{"Operation was unsuccessful, and returned status InternalServerError. OperationOutcome: Overall result: FAILURE (1 errors and 0 warnings)\r\n\r\n[ERROR]
(no details)(further diagnostics: Endpoint returned a body with contentType 'text/html', while a valid FHIR xml/json body type was expected. Is this a FHIR endpoint?)."}
I have found this to be the case with letters: A, D, I, O, P, R, S and T. When you add other letters most combinations work just fine, but for instance 'DOR' doesn't. With these specifics, and also, the results when I change to a _count=1, it seems like there are specific patient(s) who have these letters in their name that have a bad data or formatting, which cause a bad response.
One of the X-Request-Id: 1abd9f04803378b204816382e86d5a15
There was a previous message regarding a similar issue here:
Is this something that someone could look into?