I’m trying to search my patients on the API using their “ClientPatientID”, I’ve tried using the search and tried passing parameters directly to the patient path neither worked, but If I was looking searching using their id it works just fine.
Searching using the ids (what works):
- using search: 192.168.1.154/flims/@@API/senaite/v1/search?portal_type=Patient&id=P015819
- direct: 192.168.1.154/flims/@@API/senaite/v1/patient/?id=P000006
Searching using the “ClientPatientID”(what does not work/ what I need):
- Using search: 192.168.1.154/flims/@@API/senaite/v1/search?portal_type=Patient&ClientPatientID=123456
- Direct: 192.168.1.154/flims/@@API/senaite/v1/patient/?ClientPatientID=123456
I’ve tried both “ClientPatientID” and “getClientPatientID”, neither worked.
Both of them return the whole list, just like I’m not really filtering/searching over anything