remove all blip patient data munging code and replace with nurseshark

WIP, don't merge.

@cheddar @nicolashery Do either or both of you want to take a quick peek and confirm that I got all the old stuff out? I'm pretty sure I did.
Sure, I'll move the sort into nurseshark.