コード例 #1
0
        protected void btnPrescribeDrugs_Click(object sender, EventArgs e)
        {
            Session["PharmacyUCPatientVisitId"] = Session["PatientVisitId"];
            if (ddlTreatmentplan.SelectedValue == "0")
            {
                Page.ClientScript.RegisterStartupScript(this.GetType(), "selectTreatmentPlan", "alert('Please select the treatment plan.');", true);
            }
            else
            {
                Hashtable HT = PharmacyHT();

                ExpressFormManager.SaveUpdateARVTherapy(HT);
                IQCareUtils.Redirect("../Pharmacy/frmPharmacyform.aspx?opento=ArtForm&LastRegimenDispensed=True", "_blank", "toolbars=no,location=no,directories=no,dependent=yes,top=100,left=30,maximize=no,resize=no,width=1000,height=800,scrollbars=yes");
            }
        }