This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SET ANSI_NULLS ON | |
GO | |
SET QUOTED_IDENTIFIER ON | |
GO | |
SET NOCOUNT ON | |
GO | |
IF (OBJECT_ID('RebuildIndexes') IS NOT NULL) | |
DROP PROCEDURE RebuildIndexes | |
GO |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Linq; | |
using DicomObjects; | |
using DicomObjects.Enums; | |
namespace Dicom | |
{ | |
public class DicomQueryManager : IDicomQueryManager | |
{ | |
public string CurrentServer { get; set; } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static void KillProcesses(string processName, bool currentUserOnly, Process excludeMe = null) | |
{ | |
var processes = new ManagementObjectSearcher(string.Format("SELECT * FROM Win32_Process WHERE Name='{0}'", processName)).Get(); | |
foreach (var o in processes) | |
{ | |
var process = (ManagementObject)o; | |
var processId = int.Parse(process["ProcessId"].ToString()); | |
if (process["ExecutablePath"] == null) continue; | |
if (excludeMe != null && processId == excludeMe.Id) continue; | |
var ownerInfo = new object[2]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace Powerscribe.Client | |
{ | |
public enum PowerscribeStatus | |
{ | |
/// <summary> | |
/// Specifies that a report was created and then discarded. | |
/// </summary> | |
Discarded = -1, | |
/// <summary> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private void ReportChanged(string siteName, string accessionNumbers, int radWhereReportStatus, bool isaddendum, string plaintext, string richtext) | |
{ | |
Logger.Debug("Report {0} Site:{1} AccessionNumber: {2} Status: {3}", ReportEvent.Changed, siteName, accessionNumbers, (RadWhereReportStatus)radWhereReportStatus); | |
if (PowerscribeStatus.UnknownOrPending == (PowerscribeStatus)radWhereReportStatus) | |
return; | |
Hub.Publish(HubEvents.DictationSystem.PSInterop.ReportChanged); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
source 'https://rubygems.org' | |
gem 'paperclip' | |
gem 'aws-sdk' | |
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails' | |
gem 'rails', '4.1.6' | |
# Use sqlite3 as the database for Active Record | |
gem 'sqlite3' | |
# Use SCSS for stylesheets |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SET ANSI_NULLS ON | |
GO | |
SET QUOTED_IDENTIFIER ON | |
GO | |
SET NOCOUNT ON | |
GO | |
IF (OBJECT_ID('RebuildIndexes') IS NOT NULL) | |
DROP PROCEDURE RebuildIndexes | |
GO |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private void DockFormIfOutOfViewableArea() | |
{ | |
var widthTolerance = Location.X + (Width / 2); | |
var heightTolerance = Location.Y + (Height / 2); | |
Screen.AllScreens.OrderBy(r => r.WorkingArea.X).ForEach(screen => | |
{ | |
if (!IsOnThisScreen(screen)) return; | |
if (heightTolerance > screen.WorkingArea.Height) | |
Location = new Point(screen.WorkingArea.X, screen.Bounds.Height - Height + screen.Bounds.Y); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#requires -version 2.0 | |
param ( | |
[parameter(Mandatory=$true)] [string]$password, | |
[string]$type = "Release", | |
[string]$profile = "NServiceBus.Production", | |
[string]$userName = "IPO\ServiceBus", | |
[array]$binfolders = @("SB.Pacs.Pollers","SB.Orders.ScannedDocuments", "SB.Billing.SaveOrderParts", "SB.OrderService.SaveOrders", "SB.Orders.ProcessDicomImages"), #The Order is important! | |
[bool]$sideBySide = $false #Install multiple version, won't uninstall existing service. | |
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Diagnostics; | |
using DicomObjects; | |
using DicomObjects.Enums; | |
namespace SB.Shared.Dicom | |
{ | |
public class DicomQueryManager : IDicomQueryManager | |
{ |
OlderNewer