I have a Patient with a related patient, Patient.link > RelatedPerson(s) > Patient
I uploaded a test Patient example, and I’m able to successfully look up multiple includes, as in include organization and relatedperson:
However, I want to get the relatedperson.patient in the same query. I’m unclear from reading the search docs if this is allowed. When I try it on the testing server, it returns a SQL error:
[Microsoft][SQL Server Native Client 11.0][SQL Server]Incorrect syntax near ')'.