public static int Run()
        {
            CriticalResultsEntityManager manager = new CriticalResultsEntityManager();

            ResultEntity [] results = manager.QueryResultEntity("", null, null);

            foreach (ResultEntity result in results)
            {
                if (!result.ResultContexts.IsLoaded)
                {
                    result.ResultContexts.Load();
                }
                if (result.ResultContexts.Count() != 1)
                {
                    Console.Write("-yowza!-");
                }
                else
                {
                    ResultContextEntity context = result.ResultContexts.First();
                    if (string.IsNullOrEmpty(context.PatientKey) && string.IsNullOrEmpty(context.ExamKey))
                    {
                        RadiologyContext ctx = Newtonsoft.Json.JsonConvert.DeserializeObject<RadiologyContext>(result.ResultContexts.First().JsonValue);
                        context.PatientKey = ctx.MRN.value;
                        context.ExamKey = ctx.Accession.value;
                        Console.Write("-change-");
                    }
                    else
                    {
                        Console.Write("-good-");
                    }

                }
            }
            manager.ObjectContext.SaveChanges();
            return results.Count();
        }