public void UpdateWorklistItemStatus(WorklistItem worklistItem)
        {
            if (!IsConnected)
            {
                return;
            }

            var col = db.GetCollection("worklistitems");

            col.Update(worklistItem.ToBsonDocument());
        }
        public void AddWorklistItem(WorklistItem worklistItem)
        {
            if (!IsConnected)
            {
                return;
            }

            var col = db.GetCollection("worklistitems");

            col.Insert(worklistItem.ToBsonDocument());
        }