public static bool IsAdverseEvent(BasicEvent ev) { if (ev.SensorType != null && ev.SensorType.Contains(".AE.")) { return(true); } else { return(false); } }
public static string ToJson(this BasicEvent self) => JsonConvert.SerializeObject(self, EVODAY.Converter.Settings);