Every treatment episode for a patient (active and discharged), facility name joined, newest
admission first. The shared read behind the manual "Sync episode" selector and any future
per-patient episode view — visibility-scoped via canAccessPatient, not gated on the sync
feature flag, so callers other than the sync menu can reuse it.
Every treatment episode for a patient (active and discharged), facility name joined, newest admission first. The shared read behind the manual "Sync episode" selector and any future per-patient episode view — visibility-scoped via
canAccessPatient, not gated on the sync feature flag, so callers other than the sync menu can reuse it.