WIP passing through item sortability from model definition.
refs openhealthcare/elcid#4
Fix to buggy episode initialisation.
Pass through correct schema columns!

refs openhealthcare/elcid#4
Merging elcid_4