[OE-2535] fixed bug in patient_episodes feature
[OE-2535] fixed bug in patient_episodes feature

FiviumAustralia/OpenEyes,FiviumAustralia/OpenEyes,FiviumAustralia/OpenEyes,FiviumAustralia/OpenEyes,FiviumAustralia/OpenEyes