public static void Run([ServiceBusTrigger("shanuka", "doctorimagingresultsubscription", AccessRights.Manage, Connection = "c2clabresultpushsb_RootManageSharedAccessKey_SERVICEBUS")] string mySbMsg, TraceWriter log)
        {
            NotificationHubClient hub = Notifications.Instance.Hub;

            log.Info($"C# ServiceBus topic trigger function processed message: {mySbMsg}");
            if (!string.IsNullOrEmpty(mySbMsg))
            {
                LabResult deserializedResult = JsonConvert.DeserializeObject <LabResult>(mySbMsg);
                log.Info(string.Format("Practice Id: {0} , Doctor Id: {1} , LabResult Id: {2}", deserializedResult.PracticeId, deserializedResult.DoctorId, deserializedResult.LabResultId));
                string tag = CreateTag(deserializedResult);
                log.Info(string.Format("Tag is {0}", tag));
                tag = "shanuka";
                FormatMessageAndSendNotificationsAsync(hub, mySbMsg, tag, log);
            }
            else
            {
                log.Info($"Invalid Message from C2C Backend");
            }
        }
 static string CreateTag(LabResult deserializedResult)
 {
     return(string.Format("{0}_{1}", deserializedResult.PracticeId, deserializedResult.DoctorId));
 }