Adding API Patient Search Parameter

Hello, I have properly installed the V6 of OEMR and I am wondering where or how should I be able to add an API search parameter. I’m planning to add “pid” if possible.

Example: curl -X GET ‘http://localhost:8300/apis/default/api/patient&pid=123

Thank you.

Hello, just solved this.

Line 308 on /src/Services/PatientService.php
Adding ‘pid’.