Add current tag if attempting to open an episode for a patient with an active episode.
Add Active status to search results.
When a patient doesn't have an active episode in search results, jump to the first episode we have.
Add tests.
WIP commit refactoring episodes to contain episode date information rather than location.
Refactor Admission dates to be properties of episodes.
Make episodes directly updateable.
Improve test coverage
Adds new episodes with native episode data.
Serialises with surrounding episodes where appropriate.
Add prev/next episodes to episode detail.
Tidying up commented nonsense.