private void button7_Click(object sender, EventArgs e)
 {
     using (RDLC.frm_RDLC_report f = new RDLC.frm_RDLC_report())
     {
         f.ShowImage        = ShowImage;
         f.isFecalysis      = true;
         f.Tag              = resultid;
         f.age              = Age;
         f.PatientName      = PatientName;
         f.Sex              = Sex;
         f.ResultDate_Fecal = ResultDate_Fecal;
         f.Address          = Address;
         f.Position         = Position;
         f.ReferredBy       = ReferredBy;
         f.ShowImage        = ShowImage;
         f.Color            = Color_fecal;
         f.WHITeBLOODCELLS  = WHITeBLOODCELLS;
         f.Mucus            = "";
         f.OVAORPARASITE    = OVAORPARASITE;
         f.AMOEBA           = AMOEBA;
         f.OCCULTBLOODTEST  = OCCULTBLOODTEST;
         f.Others_fecal     = other_fecal;
         f.Medtech          = Medtech;
         f.MedTech_lic      = MedTech_lic;
         f.Pathologist      = Pathologist;
         f.Pathologist_Lic  = Pathologist_Lic;
         f.SpecimenNo       = SpecimenNo;
         f.RedBlood         = RedBlood;
         f.Color_other      = color_Others_fecal;
         f.CONSISTENCY      = CONSISTENCY;
         f.ShowDialog();
     }
 }
Exemplo n.º 2
0
 public void Print()
 {
     //Report.Report_PrintOuts frm_print = new Report.Report_PrintOuts();
     //frm_print.Tag = LabID.Text;
     //frm_print.XRAY = true;
     //frm_print.ShowDialog();
     try
     {
         using (RDLC.frm_RDLC_report f = new RDLC.frm_RDLC_report())
         {
             f.Tag             = txt_resultID.Text;
             f.isXRAY          = true;
             f.age             = txt_age.Text;
             f.PatientName     = txt_name.Text;
             f.ResultDate_XRAY = dt_result_Date.Text;
             f.Sex             = txt_gender.Text;
             f.Position        = txt_position.Text;
             f.SpecimenNo      = txt_specimentNo.Text;
             f.Findings        = txt_radiologist_findings.Text;
             f.Impression      = txt_impression.Text;
             f.Radiologist     = txt_RadioLogist.Text;
             f.Radiologist_Lic = txt_RadioLogist_Lic.Text;
             f.ShowDialog();
         }
     }
     catch (Exception ex)
     { MessageBox.Show(ex.Message); return; }
 }
        private void cmd_print_Click(object sender, EventArgs e)
        {
            Cursor.Current = Cursors.WaitCursor;
            //Report.Report_Lab Print = new Report.Report_Lab();
            //Print.Tag = UrineID.ToString();
            //Print.R_Urine.ToString();
            //Print.R_lab06.Enabled = false; Print.R_lab08.Enabled = false; Print.R_Hema.Enabled = false; Print.R_Chem.Enabled = false; Print.R_Urine.Enabled = true; Print.R_Fecal.Enabled = false;
            //Print.Load_Urine();
            //Print.ShowDialog();

            using (RDLC.frm_RDLC_report f = new RDLC.frm_RDLC_report())
            {
                f.isUrinalysis          = true;
                f.Tag                   = UrineID.ToString();
                f.age                   = Age;
                f.PatientName           = PatientName;
                f.Sex                   = Sex;
                f.resultdate_Urinalysis = dt_resultdate.Text;
                f.Address               = Address;
                f.Position              = Position;
                f.ReferredBy            = requestBy.Text;
                f.COLOR_Urnialysis      = cbo_color.Text;
                f.Transparency          = cbo_transparency.Text;
                f.Leucocytes            = cbo_leu.Text;
                f.Nitrite               = cbo_nitrite.Text;
                f.Urobilinogen          = cbo_uro.Text;
                f.Protein               = cbo_protein.Text;
                f.pH                         = cbo_ph.Text;
                f.Blood                      = cbo_blood.Text;
                f.SpecificGravity            = cbo_spec.Text;
                f.Ketone                     = cbo_keton.Text;
                f.Bilirubin                  = cbo_bili.Text;
                f.Glucose                    = cbo_glucose.Text;
                f.RedBloodCells_Urinalysis   = txt_redBlood.Text;
                f.WhiteBloodCells_Urinalysis = tx_whiteBlood.Text;
                f.Amorphous_Urates           = tx_urates.Text;
                f.Phosphate                  = tx_phosphate.Text;
                f.EpithelialCells            = tx_cells.Text;
                f.MucusThread                = tx_musus.Text;
                f.others_Microscopic         = tx_other_micro.Text;
                f.UricAcid_Urinalysis        = tx_uric_crystal.Text;
                f.CalciumOxalate             = tx_caium.Text;
                f.Others_Crystal             = tx_other_Crystals.Text;
                f.FineGranularCast           = tx_Granular.Text;
                f.CoarseGranularCast         = tx_coarse.Text;
                f.Others_Cast                = tx_other_cast.Text;
                f.Medtech                    = MedTech.Text;
                f.MedTech_lic                = med_licenseNo.Text;
                f.Pathologist                = Pathologist.Text;
                f.Pathologist_Lic            = Pathologist_licenseNo.Text;
                f.SpecimenNo                 = labNo.Text;
                f.Color_remark               = tx_color_other.Text;


                f.ShowDialog();
            }
        }
 private void button2_Click(object sender, EventArgs e)
 {
     Cursor.Current = Cursors.WaitCursor;
     using (RDLC.frm_RDLC_report f = new RDLC.frm_RDLC_report())
     {
         f.isXRAY = true;
         f.Tag    = "";
         f.ShowDialog();
     }
 }
Exemplo n.º 5
0
 private void button8_Click(object sender, EventArgs e)
 {
     using (RDLC.frm_RDLC_report f = new RDLC.frm_RDLC_report())
     {
         f.isSeaMLC = true;
         f.Tag      = resultid;
         f.age      = Age;
         f.ShowDialog();
     }
 }
 private void button13_Click(object sender, EventArgs e)
 {
     Cursor.Current = Cursors.WaitCursor;
     //Report.Report_PrintOuts frm_print = new Report.Report_PrintOuts();
     //frm_print.Tag = "";
     //frm_print.Ultrasound = true;
     //frm_print.ShowDialog();
     using (RDLC.frm_RDLC_report f = new RDLC.frm_RDLC_report())
     {
         f.isUltrasound = true;
         f.Tag          = "";
         f.ShowDialog();
     }
 }
        private void button8_Click(object sender, EventArgs e)
        {
            using (RDLC.frm_RDLC_report f = new RDLC.frm_RDLC_report())
            {
                f.isUrinalysis          = true;
                f.Tag                   = resultid;
                f.age                   = Age;
                f.PatientName           = PatientName;
                f.Sex                   = Sex;
                f.ShowImage             = ShowImage;
                f.resultdate_Urinalysis = resultdate_Urinalysis;
                f.Address               = Address;
                f.RequestedBy           = ReferredBy;
                f.Position              = Position;

                f.COLOR_Urnialysis = COLOR_Urnialysis;
                f.Transparency     = Transparency;
                f.Leucocytes       = Leucocytes;
                f.Nitrite          = Nitrite;
                f.Urobilinogen     = Urobilinogen;
                f.Protein          = Protein;
                f.pH                         = pH;
                f.Blood                      = Blood;
                f.SpecificGravity            = SpecificGravity;
                f.Ketone                     = Ketone;
                f.Bilirubin                  = Bilirubin;
                f.Glucose                    = Glucose;
                f.other_chem                 = other_chem;
                f.RedBloodCells_Urinalysis   = RedBloodCells_Urinalysis;
                f.WhiteBloodCells_Urinalysis = WhiteBloodCells_Urinalysis;
                f.Amorphous_Urates           = Amorphous_Urates;
                f.Phosphate                  = Phosphate;
                f.EpithelialCells            = EpithelialCells;
                f.MucusThread                = MucusThread;
                f.others_Microscopic         = others_Microscopic;
                f.UricAcid_Urinalysis        = UricAcid_Urinalysis;
                f.CalciumOxalate             = CalciumOxalate;
                f.Others_Crystal             = Others_Crystal;
                f.FineGranularCast           = FineGranularCast;
                f.CoarseGranularCast         = CoarseGranularCast;
                f.Others_Cast                = Others_Cast;
                f.Medtech                    = Medtech;
                f.MedTech_lic                = MedTech_lic;
                f.Pathologist                = Pathologist;
                f.Pathologist_Lic            = Pathologist_Lic;
                f.SpecimenNo                 = SpecimenNo;
                f.Color_remark               = Color_remark;
                f.ShowDialog();
            }
        }
 private void button4_Click(object sender, EventArgs e)
 {
     using (RDLC.frm_RDLC_report f = new RDLC.frm_RDLC_report())
     {
         //f.isHEMA = true;
         //f.Tag = resultid;
         //f.age = Age;
         //f.PatientName = PatientName;
         //f.Sex = Sex;
         //f.Address = Address;
         //f.CivilStatus = CivilStatus;
         //f.age = Age;
         //f.Position = Position;
         //f.ShowDialog();
         f.ShowImage       = ShowImage;
         f.isHEMA          = true;
         f.Tag             = resultid;
         f.age             = Age;
         f.PatientName     = PatientName;
         f.Address         = Address;
         f.resultDate      = resultdateHema;
         f.Sex             = Sex;
         f.Position        = Position;
         f.ReferredBy      = ReferredBy;
         f.CivilStatus     = CivilStatus;
         f.Hemoglobin_     = Hemoglobin_;
         f.Hematocrit_     = Hematocrit_;
         f.RBCcount_       = RBCcount_;
         f.WBC_            = WBC_;
         f.SpecimenNo      = SpecimenNo;
         f.Platelet_       = Platelet_;
         f.BloodType_      = BloodType_;
         f.Lymphocyte_     = Lymphocyte_;
         f.Segmenters_     = Segmenters_;
         f.easinophils_    = easinophils_;
         f.Monoytes_       = Monoytes_;
         f.myelocytes_     = myelocytes_;
         f.Juveniles_      = Juveniles_;
         f.stabCells_      = stabCells_;
         f.Basophils_      = Basophils_;
         f.Others_         = Others_HEma;
         f.Medtech         = Medtech;
         f.MedTech_lic     = MedTech_lic;
         f.Pathologist     = Pathologist;
         f.Pathologist_Lic = Pathologist_Lic;
         f.ShowDialog();
     }
 }
        private void button14_Click(object sender, EventArgs e)
        {
            try
            {
                // pic_.Image.Save(ClassSql.HIV_TempImage + "\\tmp.jpg", System.Drawing.Imaging.ImageFormat.Jpeg);
                using (RDLC.frm_RDLC_report f = new RDLC.frm_RDLC_report())
                {
                    f.ShowImage             = "1";
                    f.Tag                   = "0";
                    f.isHIV                 = true;
                    f.age                   = "";
                    f.imgpath               = "";
                    f.PatientName           = "";
                    f.ExaminigPhysycian     = "";
                    f.ExaminigPhysycian_lic = "";
                    //DateTime dt = Convert.ToDateTime(dt_result_date.Text);
                    f.resultDate  = "";
                    f.Address     = "";
                    f.Sex         = "";
                    f.CivilStatus = "";
                    f.Medtech     = "";
                    f.MedTech_lic = "";
                    //DateTime dt_expiry = Convert.ToDateTime(dt_expire_date.Text);
                    f.ExpiryDate  = "";
                    f.Pathologist = "";
                    f.rapid       = "0";
                    f.Particle    = "0";
                    f.EIA         = "0";
                    f.Nonrecative = "0";
                    f.result      = "";
                    f.other       = "";
                    f.Reactive    = "0";


                    f.ShowDialog();
                }
            }
            catch (Exception ex)
            { MessageBox.Show(ex.Message); return; }
        }
        private void cmd_print_Click(object sender, EventArgs e)
        {
            Cursor.Current = Cursors.WaitCursor;

            using (RDLC.frm_RDLC_report f = new RDLC.frm_RDLC_report())
            {
                f.isHEMA          = true;
                f.Tag             = HemaID.ToString();
                f.age             = Age;
                f.PatientName     = PatientName;
                f.Address         = Address;
                f.resultDate      = dt_resultdate.Text;
                f.Sex             = Sex;
                f.Position        = Position;
                f.ReferredBy      = requestBy.Text;
                f.CivilStatus     = CivilStatus;
                f.Hemoglobin_     = hemoglobin.Text;
                f.Hematocrit_     = hematocrit.Text;
                f.RBCcount_       = RBC.Text;
                f.WBC_            = WBC.Text;
                f.SpecimenNo      = labNo.Text;
                f.Platelet_       = Platelet.Text;
                f.BloodType_      = BloodType.Text;
                f.Lymphocyte_     = Lympho.Text;
                f.Segmenters_     = Segmenters.Text;
                f.easinophils_    = Easinophils.Text;
                f.Monoytes_       = MonoCytes.Text;
                f.myelocytes_     = Myelocytes.Text;
                f.Juveniles_      = Juveniles.Text;
                f.stabCells_      = StabCells.Text;
                f.Basophils_      = BasoPhils.Text;
                f.Others_         = Hema_Other.Text;
                f.Medtech         = MedTech.Text;
                f.MedTech_lic     = med_licenseNo.Text;
                f.Pathologist     = Pathologist.Text;
                f.Pathologist_Lic = Pathologist_licenseNo.Text;
                f.ShowDialog();
            }
        }
Exemplo n.º 11
0
 private void cmd_print_Click(object sender, EventArgs e)
 {
     Cursor.Current = Cursors.WaitCursor;
     //Report.Report_Lab Print = new Report.Report_Lab();
     //Print.Tag = FecalysisID.ToString();
     //Print.R_Fecal.Select();
     //Print.R_lab06.Enabled = false; Print.R_lab08.Enabled = false; Print.R_Hema.Enabled = false; Print.R_Chem.Enabled = false; Print.R_Urine.Enabled = false; Print.R_Fecal.Enabled = true;
     //Print.load_Fecal();
     //Print.ShowDialog();
     using (RDLC.frm_RDLC_report f = new RDLC.frm_RDLC_report())
     {
         f.isFecalysis      = true;
         f.Tag              = FecalysisID.ToString();
         f.age              = Age;
         f.PatientName      = PatientName;
         f.Sex              = Sex;
         f.ResultDate_Fecal = dt_resultdate.Text;
         f.Address          = Address;
         f.Position         = Position;
         f.ReferredBy       = requestBy.Text;
         f.Color            = cbo_color_fecal.Text;
         f.WHITeBLOODCELLS  = tx_whitBlood_fecal.Text;
         f.Mucus            = "";
         f.OVAORPARASITE    = tx_ova.Text;
         f.AMOEBA           = tx_amoeba.Text;
         f.OCCULTBLOODTEST  = tx_occultBloodTest.Text;
         f.Others_fecal     = txt_other_Fecalysis.Text;
         f.Medtech          = MedTech.Text;
         f.MedTech_lic      = med_licenseNo.Text;
         f.Pathologist      = Pathologist.Text;
         f.Pathologist_Lic  = Pathologist_licenseNo.Text;
         f.SpecimenNo       = labNo.Text;
         f.RedBlood         = tx_red_fecal.Text;
         f.Color_other      = txt_color_other.Text;
         f.CONSISTENCY      = cbo_consistency.Text;
         f.ShowDialog();
     }
 }
        private void button1_Click(object sender, EventArgs e)
        {
            using (RDLC.frm_RDLC_report f = new RDLC.frm_RDLC_report())
            {
                f.ShowImage       = ShowImage;
                f.isLAB06         = true;
                f.Tag             = resultid;
                f.age             = Age;
                f.PatientName     = PatientName;
                f.Address         = Address;
                f.resultDate      = ResultDate_lab06;
                f.Sex             = Sex;
                f.Position        = Position;
                f.ReferredBy      = ReferredBy;
                f.CivilStatus     = CivilStatus;
                f.Hemoglobin_     = Hemoglobin_;
                f.Hematocrit_     = Hematocrit_;
                f.RBCcount_       = RBCcount_;
                f.WBC_            = WBC_;
                f.SpecimenNo      = SpecimenNo;
                f.Platelet_       = Platelet_;
                f.BloodType_      = BloodType_;
                f.Lymphocyte_     = Lymphocyte_;
                f.Segmenters_     = Segmenters_;
                f.easinophils_    = easinophils_;
                f.Monoytes_       = Monoytes_;
                f.myelocytes_     = myelocytes_;
                f.Juveniles_      = Juveniles_;
                f.stabCells_      = stabCells_;
                f.Basophils_      = Basophils_;
                f.Others_         = Others_HEma;
                f.Medtech         = Medtech;
                f.MedTech_lic     = MedTech_lic;
                f.Pathologist     = Pathologist;
                f.Pathologist_Lic = Pathologist_Lic;
                f.Employer        = Employer;

                f.esr_      = esr;
                f.rpr_      = rpr_;
                f.BsAG      = BsAG;
                f.WIDALTEST = WIDALTEST;
                f.MALARIAL  = MALARIAL;

                f.COLOR_Urnialysis = COLOR_Urnialysis;
                f.Transparency     = Transparency;
                f.Leucocytes       = Leucocytes;
                f.Nitrite          = Nitrite;
                f.Urobilinogen     = Urobilinogen;
                f.Protein          = Protein;
                f.pH                         = pH;
                f.Blood                      = Blood;
                f.SpecificGravity            = SpecificGravity;
                f.Ketone                     = Ketone;
                f.Bilirubin                  = Bilirubin;
                f.Glucose                    = Glucose;
                f.RedBloodCells_Urinalysis   = RedBloodCells_Urinalysis;
                f.WhiteBloodCells_Urinalysis = WhiteBloodCells_Urinalysis;
                f.Amorphous_Urates           = Amorphous_Urates;
                f.Phosphate                  = Phosphate;
                f.EpithelialCells            = EpithelialCells;
                f.MucusThread                = MucusThread;
                f.others_Microscopic         = others_Microscopic;
                f.UricAcid_Urinalysis        = UricAcid_Urinalysis;
                f.CalciumOxalate             = CalciumOxalate;
                f.Others_Crystal             = Others_Crystal;
                f.FineGranularCast           = FineGranularCast;
                f.CoarseGranularCast         = CoarseGranularCast;
                f.Others_Cast                = Others_Cast;
                f.Color_remark               = Color_remark;

                f.Color           = Color_fecal;
                f.WHITeBLOODCELLS = WHITeBLOODCELLS;
                f.Mucus           = "";
                f.OVAORPARASITE   = OVAORPARASITE;
                f.AMOEBA          = AMOEBA;
                f.OCCULTBLOODTEST = OCCULTBLOODTEST;
                f.Others_fecal    = other_fecal;
                f.RedBlood        = RedBlood;
                f.Color_other     = color_Others_fecal;
                f.CONSISTENCY     = CONSISTENCY;
                f.other_chem      = other_chem;
                f.ShowDialog();
            }
        }
        private void button3_Click(object sender, EventArgs e)
        {
            using (RDLC.frm_RDLC_report f = new RDLC.frm_RDLC_report())
            {
                f.isChemistry = true;
                f.Tag         = resultid;
                f.age         = Age;
                f.ShowImage   = ShowImage;
                f.PatientName = PatientName;
                f.Sex         = Sex;

                f.resultDate = resultdate_Chem;
                f.Address    = Address;

                f.ReferredBy = ReferredBy;

                f.Position = Position;

                f.FBS_            = FBS_;
                f.BUN_            = BUN_;
                f.CREATINE_       = CREATINE_;
                f.CHOLESTEROL_    = CHOLESTEROL_;
                f.TRIGLYCERIDES_  = TRIGLYCERIDES_;
                f.URICACID_       = URICACID_;
                f.SGOT_           = SGOT_;
                f.SGPT_           = SGPT_;
                f.ALKPHOS_        = ALKPHOS_;
                f.Medtech         = Medtech;
                f.MedTech_lic     = MedTech_lic;
                f.Pathologist     = Pathologist;
                f.Pathologist_Lic = Pathologist_Lic;
                f.SpecimenNo      = SpecimenNo;
                if (FBS_H == "1")
                {
                    f.FBS_H = "1";
                }
                else
                {
                    f.FBS_H = "0";
                }
                if (BUN_H == "1")
                {
                    f.BUN_H = "1";
                }
                else
                {
                    f.BUN_H = "0";
                }
                if (CREATINE_H == "1")
                {
                    f.CREATINE_H = "1";
                }
                else
                {
                    f.CREATINE_H = "0";
                }
                if (CHOLESTEROL_H == "1")
                {
                    f.CHOLESTEROL_H = "1";
                }
                else
                {
                    f.CHOLESTEROL_H = "0";
                }
                if (TRIGLYCERIDES_H == "1")
                {
                    f.TRIGLYCERIDES_H = "1";
                }
                else
                {
                    f.TRIGLYCERIDES_H = "0";
                }
                if (URICACID_H == "1")
                {
                    f.URICACID_H = "1";
                }
                else
                {
                    f.URICACID_H = "0";
                }
                if (SGOT_H == "1")
                {
                    f.SGOT_H = "1";
                }
                else
                {
                    f.SGOT_H = "0";
                }
                if (SGPT_H == "1")
                {
                    f.SGPT_H = "1";
                }
                else
                {
                    f.SGPT_H = "0";
                }
                if (ALKPHOS_H == "1")
                {
                    f.ALKPHOS_H = "1";
                }
                else
                {
                    f.ALKPHOS_H = "0";
                }
                f.FBS_CON_           = FBS_CON_;
                f.BUN_CON_           = BUN_CON_;
                f.CREATINE_CON_      = CREATINE_CON_;
                f.CHOLESTEROL_CON_   = CHOLESTEROL_CON_;
                f.TRIGLYCERIDES_CON_ = TRIGLYCERIDES_CON_;
                f.URICACID_CON_      = URICACID_CON_;
                f.SGOT_CON_          = SGOT_CON_;
                f.SGPT_CON_          = SGPT_CON_;
                f.ALKPHOS_CON_       = ALKPHOS_CON_;
                f.Remark_Chem        = remark_chem;
                f.ShowDialog();
            }
        }