- date range filter on T_OrderHeaderDate via prepared params
- ids stays supported (gateway harvest path unchanged)
- empty ids + no dates keeps legacy empty result
- isset guard on ids so date-only calls emit no PHP notice
Adds the encounter-v2 / clinic-encounter / clinic-encounter-v2 endpoints and
get_clinic_encounter() helper that were deployed to all branches but never
committed.