Check the category of the episode instead of the 'active' status.
It's far more clinically relevant.
refs openhealthcare/elcid#333
Merge pull request #243 from openhealthcare/333-add-patient

Check the category of the episode instead of the 'active' status.