openhealthcare/opal — pull request #243 by davidmiller (2014-08-06 15:30:28+00:00)
Title: Check the category of the episode instead of the 'active' status.

It's far more clinically relevant.
refs openhealthcare/elcid#333