Removed hardcoded values on Theograph chart; added Organisation and Site; replaced EpisodeType with CodedType; created dynamic episode handler