本文整理汇总了C#中RiskApps3.Utilities.ParameterCollection类的典型用法代码示例。如果您正苦于以下问题:C# ParameterCollection类的具体用法?C# ParameterCollection怎么用?C# ParameterCollection使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
ParameterCollection类属于RiskApps3.Utilities命名空间,在下文中一共展示了ParameterCollection类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: BackgroundLoadWork
/**************************************************************************************************/
public override void BackgroundLoadWork()
{
ParameterCollection pc = new ParameterCollection();
pc.Add("clinicId", clinicId);
DoLoadWithSpAndParams("sp_3_LoadAtRisk", pc);
DoLoadWithSpAndParams("sp_3_LoadDashboardCounts", pc);
}
示例2: PrintQueueEntryList
public PrintQueueEntryList(bool include)
{
includePrinted = include ? 1 : 0;
constructor_args = null;
this.pc = new ParameterCollection();
pc.Add("includePrinted", includePrinted);
}
示例3: SetLabels
public void SetLabels(int id, string mutProb, string name, string relationship)
{
relId = id;
//old v2 way:
//testingWillingnessComboBox.Text =
// Patient.getRelativeValueFromDB("tblRiskDataRelatives", "testingWillingness", relId);
RelativeValueHolder relValHolder = new RelativeValueHolder("");
ParameterCollection pc = new ParameterCollection("unitnum", SessionManager.Instance.GetActivePatient().unitnum);
pc.Add("relativeid", relId);
pc.Add("table", "tblRiskDataRelatives");
pc.Add("column", "testingWillingness");
relValHolder.DoLoadWithSpAndParams("sp_3_LoadRelativeValue", pc);
testingWillingnessComboBox.Text = relValHolder.relativeValue;
if (string.IsNullOrEmpty(mutProb) == false)
{
try
{
brcapro = (int)Math.Round(double.Parse(mutProb));
if (brcapro > 0)
{
BrcaLabel.Text = brcapro.ToString() + "%";
}
else
{
BrcaLabel.Text = "";
}
}
catch { }
}
else
{
BrcaLabel.Text = "";
}
// You might well not know the mother's name (e.g.)
if (!String.IsNullOrEmpty(name))
{
if (name.Contains(" "))
{
string[] tokens = name.Split(' ');
if (name.Contains(','))
name = tokens[1].Replace(",","");
else
name = tokens[0];
}
//NameLabel.Text = name;
RelationshipLabel.Text = name;
}
else
{
RelationshipLabel.Text = relationship;
}
RelationshipLabel.Text = RelationshipLabel.Text.Replace(" ", Environment.NewLine);
int delta = this.Height - RelationshipLabel.Height;
RelationshipLabel.Location = new Point(RelationshipLabel.Location.X, delta / 2);
}
示例4: UpdateBigQueueByMrn
public static void UpdateBigQueueByMrn(string mrn)
{
if (string.IsNullOrEmpty(mrn) == false)
{
ParameterCollection pc = new ParameterCollection("unitnum", mrn);
BCDB2.Instance.RunSPWithParams("sp_3_populateBigQueue", pc);
}
}
示例5: BackgroundLoadWork
/**************************************************************************************************/
public override void BackgroundLoadWork()
{
ParameterCollection pc = new ParameterCollection();
pc.Add("clinicId", clinicId);
dt = new DataTable();
SqlDataReader dr = BCDB2.Instance.ExecuteReaderSPWithParams("sp_3_LoadMyPatientsQueue", pc);
dt.Load(dr);
}
示例6: PatientsByGroup
public PatientsByGroup(string userLogin, string groupName)
{
this.constructor_args = new object[] { };
this.pc = new ParameterCollection();
this.userLogin = userLogin;
this.groupName = groupName;
}
示例7: BackgroundPersistWork
/**************************************************************************************************/
public override void BackgroundPersistWork(HraModelChangedEventArgs e)
{
var pc = new ParameterCollection();
pc.Add("unitnum", unitnum);
DoPersistWithSpAndParams(e,
"sp_3_Save_PedigreeAnnotations",
ref pc);
}
示例8: BackgroundLoadWork
/**************************************************************************************************/
public override void BackgroundLoadWork()
{
ParameterCollection pc = new ParameterCollection("unitnum", theProband.unitnum);
pc.Add("apptid", theProband.apptid);
DoLoadWithSpAndParams("sp_3_LoadProcHx", pc);
breastBx.BackgroundLoadWork();
base.BackgroundLoadWork();
}
示例9: BackgroundPersistWork
/**************************************************************************************************/
public override void BackgroundPersistWork(HraModelChangedEventArgs e)
{
ParameterCollection pc = new ParameterCollection();
pc.Add("unitnum", theProband.unitnum);
pc.Add("apptid", theProband.apptid);
DoPersistWithSpAndParams(e,
"sp_3_Save_ProcHx",
ref pc);
}
示例10: BackgroundPersistWork
/**************************************************************************************************/
public override void BackgroundPersistWork(HraModelChangedEventArgs e)
{
ParameterCollection pc = new ParameterCollection();
pc.Add("unitnum", owner.person.owningFHx.proband.unitnum);
pc.Add("relativeID", owner.person.relativeID);
pc.Add("apptid", owner.person.owningFHx.proband.apptid);
DoPersistWithSpAndParams(e,
"sp_3_Save_Nation",
ref pc);
}
示例11: BackgroundPersistWork
/*******************************************************************************/
public override void BackgroundPersistWork(HraModelChangedEventArgs e)
{
ParameterCollection pc = new ParameterCollection();
pc.Add("paragraphID", paragraphID);
pc.Add("providerID", providerID);
DoPersistWithSpAndParams(e,
"sp_3_Save_ProviderParagraph",
ref pc);
}
示例12: BackgroundLoadWork
/**************************************************************************************************/
public override void BackgroundLoadWork()
{
ParameterCollection pc = new ParameterCollection();
pc.Add("clinicId", clinicId);
pc.Add("when", date);
//pc.Add("groupName", groupName);
//pc.Add("userLogin", SessionManager.Instance.ActiveUser.userLogin);
DoLoadWithSpAndParams("sp_3_GetMyPatientCounts", pc);
}
示例13: backgroundWorker1_DoWork
private void backgroundWorker1_DoWork(object sender, DoWorkEventArgs e)
{
LegacyCoreAPI.StartWorkingWithAppointment(apptid, "");
ParameterCollection pc = new ParameterCollection();
pc.Add("application", "RiskApps3");
pc.Add("userLogin", SessionManager.Instance.ActiveUser.userLogin);
pc.Add("machineName", System.Environment.MachineName);
pc.Add("message", "Accessed appointment");
pc.Add("apptID", apptid);
BCDB2.Instance.RunSPWithParams("sp_3_AuditUserActivity", pc);
}
示例14: BackgroundLoadWork
/**************************************************************************************************/
public override void BackgroundLoadWork()
{
ParameterCollection pc = new ParameterCollection();
pc.Add("clinicId", clinicId);
pc.Add("startTime", startTime);
pc.Add("endTime", endTime);
pc.Add("type", type);
pc.Add("output", output);
DoLoadWithSpAndParams("sp_3_LoadBreastImagingDashboardElement", pc);
pc.Clear();
pc.Add("type", type);
DoLoadWithSpAndParams("sp_3_LoadFilterDescription", pc);
}
示例15: PersistFullObject
//a customized persistence method for TcRiskByAge items
public void PersistFullObject(HraModelChangedEventArgs e, string unitnum, int apptid, string version, DateTime? BMRS_EffectiveTime, Int64? BMRS_RequestId)
{
ParameterCollection pc = new ParameterCollection();
pc.Add("unitnum", unitnum);
pc.Add("apptid", apptid);
pc.Add("version", version);
pc.Add("BMRS_EffectiveTime", BMRS_EffectiveTime);
pc.Add("BMRS_RequestId", BMRS_RequestId);
DoPersistWithSpAndParams(e,
"sp_3_Save_TcRiskByAge",
ref pc);
}