adding new patientLedger query