Exemple #1
0
        private void OpenDeathProtocol(object sender, EventArgs e)
        {
            if (getIsNotValid())
            {
                MessageBox.Show("Введены не все данные на форме!", "Предупреждение!", MessageBoxButtons.OK);
                return;
            }

            string templatePath = Directory.GetCurrentDirectory() + "\\Templates\\death_template.doc";

            Dictionary <string, string> values = new Dictionary <string, string>();

            values.Add(@"{date}", deathDateTxt.Value.ToString("MM.dd.yyyy"));

            values.Add(@"{time}", deathTimeCtrl.Text);

            DdvDoctor doc = (DdvDoctor)doctorsBox.SelectedItem;

            values.Add(@"{doctor.who.short}", doc != null ? doc.ShortName: "");
            values.Add(
                "{patient.passport_info}",
                string.Format(CultureInfo.CurrentCulture, "{0} {1}, выдан {2} {3}",
                              patient.PassportSerial, patient.PassportNum,
                              patient.PassportDate.ToShortDateString(), patient.PassportIssuePlace)
                );
            values.Add(@"{doctor.appointment_name}", "");
            values.Add(@"{patient.full_name}", patient.FullName);
            values.Add(@"{patient.birthdate}", patient.Birthdate != null ? patient.Birthdate.ToShortDateString(): "");
            values.Add(@"{patient.sex}", patient.Sex ? "мужской" : "женский");
            values.Add(@"{patient.medcode}", patient.MedCode);
            values.Add(@"{doctor.who}", doc != null ? doc.FullName: "");
            TemplatesUtils.FillTemplateAndShow(templatePath, values, TemplatesUtils.getTempFileName("Констатация смерти", patient.FullName));
        }
        private void anesthesiaBlank_Click(object sender, EventArgs e)
        {
            Dictionary <string, string> values = new Dictionary <string, string>();

            values.Add("{time}", DateTime.Now.ToShortTimeString());
            TemplatesUtils.fillBlankTemplate(DbDataService.GetInstance(), "blank_anastesia_template.doc", hospitalSessionId, values);
        }
Exemple #3
0
        private void OpenReanimationProtocol(object sender, EventArgs e)
        {
            if (getIsNotValid())
            {
                MessageBox.Show("Введены не все данные на форме!", "Предупреждение!", MessageBoxButtons.OK);
                return;
            }

            string templatePath = Directory.GetCurrentDirectory() + "\\Templates\\reanim_operations_template.doc";

            Dictionary <string, string> values = new Dictionary <string, string>();

            values.Add(@"{death.date}", deathDateTxt.Text);
            values.Add(@"{death.time}", deathTimeCtrl.Text);

            DdvDoctor doc = (DdvDoctor)doctorsBox.SelectedItem;

            values.Add(@"{doctor.who.short}", doc == null ? "" : doc.ShortName);

            DateTime deathTime = CommonUtils.ConstructDateWIthTime(deathDateTxt.Value, deathTimeCtrl.Value);

            for (int i = 0; i < 10; i++)
            {
                deathTime = deathTime.AddMinutes(-5.0);
                values.Add(@"{time" + i + "}", deathTime.ToShortTimeString());
            }
            TemplatesUtils.FillTemplateAndShow(templatePath, values, TemplatesUtils.getTempFileName("Реанимационные действия", patient.FullName));
        }
        private void print_Click(object sender, EventArgs e)
        {
            saveObject();
            ITemplateProcessor processor = TemplateProcessorManager.getProcessorByObjectType(DdtEpicrisis.NAME);
            string             path      = processor.processTemplate(service, hospitalitySession.ObjectId, objectId, new Dictionary <string, string>());

            TemplatesUtils.ShowDocument(path);
        }
 private void printBtn_Click(object sender, EventArgs e)
 {
     if (Save())
     {
         ITemplateProcessor processor = TemplateProcessorManager.getProcessorByObjectType(DdtJournal.NAME);
         string             path      = processor.processTemplate(service, hospitalitySession.ObjectId, journalDayId, null);
         TemplatesUtils.ShowDocument(path);
     }
 }
Exemple #6
0
        private void requestBtnClik(object sender, EventArgs e)
        {
            Save();
            ITemplateProcessor processor = TemplateProcessorManager.getProcessorByObjectType("request_blood");

            if (processor != null)
            {
                string path = processor.processTemplate(service, hospitalSession?.ObjectId, transfusion?.ObjectId, new Dictionary <string, string>());
                TemplatesUtils.ShowDocument(path);
            }
        }
Exemple #7
0
 private void printBtn_Click(object sender, EventArgs e)
 {
     if (Save())
     {
         ITemplateProcessor processor = TemplateProcessorManager.getProcessorByObjectType(DdtConsilium.NAME);
         if (processor != null)
         {
             string path = processor.processTemplate(service, hospitalitySession.ObjectId, consiliumId, new Dictionary <string, string>());
             TemplatesUtils.ShowDocument(path);
         }
     }
 }
Exemple #8
0
        private void printBtn_Click(object sender, EventArgs e)
        {
            SaveIssuedMedicine();

            Dictionary <string, string> values  = new Dictionary <string, string>();
            DdtIssuedMedicineList       medList = service.GetDdtIssuedMedicineListService().GetById(issuedMedId);
            DdtHospital hospitalSession         = service.GetDdtHospitalService().GetById(hospitalitySession.ObjectId);

            DdvDoctor  doc      = null;
            DdvDoctor  nurse    = null;
            DdvDoctor  director = null;
            DdvDoctor  pharma   = null;
            DdvPatient patient  = null;

            if (medList != null)
            {
                doc      = service.GetDdvDoctorService().GetById(medList.Doctor);
                nurse    = service.GetDdvDoctorService().GetById(medList.Nurse);
                director = service.GetDdvDoctorService().GetById(medList.Director);
                pharma   = service.GetDdvDoctorService().GetById(medList.Pharmacologist);
                patient  = service.GetDdvPatientService().GetById(medList.Patient);
            }

            values.Add(@"{doctor.who.short}", doc?.ShortName);
            values.Add(@"{patient.diagnosis}", diagnosisTxt.Text);
            values.Add(@"{patient.age}", patient != null? DateTime.Now.Year - patient.Birthdate.Year + "": "");
            values.Add(@"{admission.date}", hospitalSession.AdmissionDate.ToShortDateString());
            values.Add(@"{patient.historycard}", patient?.MedCode);
            values.Add(@"{patient.fullname}", patient?.FullName);
            values.Add(@"{kag}", kagBtn.Checked ? shortlyOperationTxt.Text : "");
            values.Add(@"{nurse}", nurse?.ShortName);
            values.Add(@"{doctor.pharma}", pharma?.ShortName);
            values.Add(@"{doctor.director}", director?.ShortName);
            values.Add(@"{room}", hospitalitySession.RoomCell);
            values.Add(@"{cell}", "");
            values.Add(@"{diet}", "НКД");
            values.Add(@"{date}", DateTime.Now.ToShortDateString());
            //todo переписать,когда будет время. Сделать добавление в таблицу строчек автоматом
            for (int i = 0; i < 19; i++)
            {
                string value = "";
                if (i < medicineList.Count)
                {
                    DdtCure cure = service.GetDdtCureService().GetById(medicineList[i].Cure);
                    value = cure.Name;
                }
                values.Add(@"{issued_medicine_" + i + "}", value);
            }
            string templatePath = Directory.GetCurrentDirectory() + "\\Templates\\issued_medicine_template.doc";

            TemplatesUtils.FillTemplateAndShow(templatePath, values, TemplatesUtils.getTempFileName("Назначения", patient.FullName));
        }
Exemple #9
0
        private void printBtn_Click(object sender, EventArgs e)
        {
            int           rowCount = patientHistoryGrid.Rows.Count;
            DdvPatient    patient  = service.GetDdvPatientService().GetById(hospitalitySession.Patient);
            List <string> paths    = new List <string>();

            if (printTitlePage.Checked)
            {
                List <string> prePaths = new List <string>();
                Dictionary <string, string> titleDict = new Dictionary <string, string>();
                titleDict.Add("{mednumber}", patient.MedCode);
                titleDict.Add("{admission_date}", hospitalitySession.AdmissionDate.ToShortDateString());
                titleDict.Add("{leaving_date}", DateTime.Now.ToShortDateString());
                titleDict.Add("{med_policy}", patient.Oms);
                titleDict.Add("{room}", hospitalitySession.RoomCell);
                titleDict.Add("{daysinhospital}", (DateTime.Now.Year - hospitalitySession.AdmissionDate.Year) + "");
                DdtSerology serology = service.GetDdtSerologyService().GetByHospitalSession(hospitalitySession.ObjectId);
                titleDict.Add("{blood_n}", serology?.BloodType);
                titleDict.Add("{rhesus}", serology?.RhesusFactor);
                titleDict.Add("{height}", patient.High + "");
                titleDict.Add("{weight}", patient.Weight + "");
                titleDict.Add("{patient_full_name}", patient.FullName);
                titleDict.Add("{sex}", patient.Sex ? "мужской" : "женский");
                titleDict.Add("{passport}", patient.PassportSerial + " " + patient.PassportNum + " " + patient.PassportIssuePlace + " " + patient.PassportDate.ToShortDateString());
                titleDict.Add("{age}", (DateTime.Now.Year - patient.Birthdate.Year) + "");
                titleDict.Add("{birthdate}", patient.Birthdate.ToShortDateString());
                titleDict.Add("{address}", patient.Address);
                DdtAnamnesis firstIspection = service.GetDdtAnamnesisService().GetByHospitalSessionId(hospitalitySession.ObjectId);
                titleDict.Add("{diagnosis_first}", firstIspection?.Diagnosis);
                titleDict.Add("{diagnosis_last}", hospitalitySession.Diagnosis);

                prePaths.Add(TemplatesUtils.FillTemplate(Directory.GetCurrentDirectory() + "\\Templates\\" + "title.docx", titleDict));
                paths.Add(TemplatesUtils.MergeFiles(prePaths.ToArray(), true, null));
            }
            foreach (DataGridViewRow row in patientHistoryGrid.Rows)
            {
                bool checkd = (bool)row.Cells[0].Value;
                if (checkd)
                {
                    ITemplateProcessor te = TemplateProcessorManager.getProcessorByObjectType((string)row.Cells[2].Value);
                    if (te != null)
                    {
                        string pathFile = te.processTemplate(service, hospitalitySession.ObjectId, (string)row.Cells[3].Value, null);
                        paths.Add(pathFile);
                    }
                }
            }
            string resultFileName = TemplatesUtils.getTempFileName("История болезни", patient.FullName);
            string resultPath     = TemplatesUtils.MergeFiles(paths.ToArray(), false, resultFileName);

            TemplatesUtils.ShowDocument(resultPath);
        }
Exemple #10
0
        private void manipulationAggreementItem_Click(object sender, EventArgs e)
        {
            IEnumerator it = hospitalPatientsTbl.SelectedRows.GetEnumerator();

            if (it.MoveNext())
            {
                DataGridViewRow             row    = (DataGridViewRow)it.Current;
                DataGridViewCell            cell   = row.Cells[0];
                string                      value  = cell.Value.ToString();
                Dictionary <string, string> values = new Dictionary <string, string>();
                TemplatesUtils.fillBlankTemplate(service, "blank_yes_manipulation_template.doc", value, values);
            }
        }
Exemple #11
0
        private void gkb52Btn_Click(object sender, System.EventArgs e)
        {
            Dictionary <string, string> data = new Dictionary <string, string>();

            data.Add("{from_date}", fromDate.Value.ToShortDateString());
            data.Add("{from_time}", fromTime.Value.ToShortTimeString());
            data.Add("{to_date}", toDate.Value.ToShortDateString());
            data.Add("{to_time}", toTime.Value.ToShortTimeString());
            DdvDoctor doc = (DdvDoctor)doctorsBox.SelectedItem;

            data.Add("{doctor.selected}", doc == null ? "" : doc.ShortName);
            TemplatesUtils.fillAmbulanceLetterTemplate(service, "gkb52_letter_template.doc", hospitalitySession.ObjectId, data);
        }
Exemple #12
0
        private void consentBtnClik(object sender, EventArgs e)
        {
            //if (Save())
            //{
            ITemplateProcessor processor = TemplateProcessorManager.getProcessorByObjectType("transfusion_consent");

            if (processor != null)
            {
                string path = processor.processTemplate(service, hospitalSession?.ObjectId, patient?.ObjectId, new Dictionary <string, string>());
                TemplatesUtils.ShowDocument(path);
            }
            //}
        }
Exemple #13
0
        private void printBtn_Click(object sender, EventArgs e)
        {
            if (validate())
            {
                Save();

                ITemplateProcessor processor  = TemplateProcessorManager.getProcessorByObjectType(DdtJournal.NAME);
                string             path       = processor.processTemplate(service, hospitalitySession.ObjectId, journalDayId, null);
                DdvPatient         patient    = service.GetDdvPatientService().GetById(hospitalitySession.Patient);
                string             resultName = TemplatesUtils.getTempFileName("Журнал", patient.FullName);
                string             result     = TemplatesUtils.MergeFiles(new string[] { path }, false, resultName);
                TemplatesUtils.ShowDocument(result);
            }
        }
Exemple #14
0
        private void anastesiaItem_Click(object sender, EventArgs e)
        {
            IEnumerator it = hospitalPatientsTbl.SelectedRows.GetEnumerator();

            if (it.MoveNext())
            {
                DataGridViewRow             row    = (DataGridViewRow)it.Current;
                DataGridViewCell            cell   = row.Cells[0];
                string                      value  = cell.Value.ToString();
                Dictionary <string, string> values = new Dictionary <string, string>();
                values.Add("{time}", DateTime.Now.ToShortTimeString());
                TemplatesUtils.fillBlankTemplate(service, "blank_anastesia_template.doc", value, values);
            }
        }
Exemple #15
0
        private void printVICHAggreement_Click(object sender, EventArgs e)
        {
            string templatePath = Directory.GetCurrentDirectory() + "\\Templates\\aid_aggrement_template.docx";

            Console.Write(templatePath);
            DataService service = new DataService();
            DdtPatient  patient = service.queryObject <DdtPatient>(@"Select * from ddt_patient");

            Dictionary <string, string> values = new Dictionary <string, string>();

            values.Add(@"{patient.full_name}", "");
            values.Add(@"{date}", @"23/05/2018");
            values.Add(@"{patient.birthdate}", @"23/05/1919");
            TemplatesUtils.fillTemplate(templatePath, values);
        }
Exemple #16
0
 private void printBtn_Click(object sender, EventArgs e)
 {
     lock (syncLock)
     {
         if (Save())
         {
             ITemplateProcessor te = TemplateProcessorManager.getProcessorByObjectType(DdtAnamnesis.NAME);
             if (te != null)
             {
                 string path = te.processTemplate(service, hospitalSession.ObjectId, anamnesis.ObjectId, null);
                 TemplatesUtils.ShowDocument(path);
             }
         }
     }
 }
Exemple #17
0
        private void printBtn_Click(object sender, EventArgs e)
        {
            if (getIsNotValid())
            {
                MessageBox.Show("Введены не все данные на форме!", "Предупреждение!", MessageBoxButtons.OK);
                return;
            }

            string templatePath = Directory.GetCurrentDirectory() + "\\Templates\\eit_template.docx";

            Dictionary <string, string> values = new Dictionary <string, string>();

            values.Add(@"{body}", bodyArea.Text);
            values.Add(@"{doctor.who}", doctorsBox.Text);
            TemplatesUtils.fillTemplate(templatePath, values);
        }
        private void printBtn_Click(object sender, EventArgs e)
        {
            if (getIsNotValid())
            {
                MessageBox.Show("Введены не все данные на форме!", "Предупреждение!", MessageBoxButtons.OK);
                return;
            }

            string templatePath = Directory.GetCurrentDirectory() + "\\Templates\\ekstubacia_template.doc";

            Dictionary <string, string> values = new Dictionary <string, string>();

            values.Add(@"{time}", timeCtrl.Text);
            values.Add(@"{body}", "");
            values.Add(@"{header}", headerArea.Text);
            values.Add(@"{doctor.who}", doctorsBox.Text);
            TemplatesUtils.FillTemplateAndShow(templatePath, values, null);
        }
Exemple #19
0
        private void alcoExamItem_Click(object sender, EventArgs e)
        {
            IEnumerator it = hospitalPatientsTbl.SelectedRows.GetEnumerator();

            if (it.MoveNext())
            {
                DataGridViewRow             row      = (DataGridViewRow)it.Current;
                DataGridViewCell            cell     = row.Cells[0];
                string                      value    = cell.Value.ToString();
                DdtAlcoProtocol             protocol = service.GetDdtAlcoProtocolService().GetByHospitalSession(value);
                Dictionary <string, string> values   = new Dictionary <string, string>();
                values.Add("{patient.behavior}", protocol == null ? "неустойчивое" : protocol.Behavior);
                values.Add("{patient.bio}", protocol == null ? "1,81 ‰" : protocol.Bio);
                values.Add("{patient.breathe}", protocol == null ? "20 дыхательных движений в минуту" : protocol.Breathe);
                values.Add("{patient.cause}", protocol == null ? "медицинская помощь" : protocol.Cause);
                values.Add("{patient.conclusion}", protocol == null ? "" : protocol.Conclusion);
                values.Add("{docs}", protocol == null ? " " : protocol.Docs);
                values.Add("{patient.drunk}", protocol == null ? "0,5 литра водки" : protocol.Drunk);
                values.Add("{patient.vascular}", protocol == null ? "фотореакции живые" : protocol.Eyes);
                values.Add("{patient.illness}", protocol == null ? "отрицает" : protocol.Illness);
                values.Add("{patient.look}", protocol == null ? "опрятен" : protocol.Look);
                values.Add("{patient.mimics}", protocol == null ? "вялая" : protocol.Mimics);
                values.Add("{patient.motions}", protocol == null ? "без патологии" : protocol.Motions);
                values.Add("{patient.nistagm}", protocol == null ? "nistagmTxt" : protocol.Nistagm);
                values.Add("{patient.orientation}", protocol == null ? "ориентирован" : protocol.Orientation);
                values.Add("{patient.pressure}", protocol == null ? "130/90 мм рт.ст." : protocol.Pressure);
                values.Add("{patient.eyes}", protocol == null ? "фотореакции живые" : protocol.Eyes);
                values.Add("{patient.pribor}", protocol == null ? " " : protocol.Pribor);
                values.Add("{patient.pulse}", protocol == null ? "pulseTxt" : protocol.Pulse);
                values.Add("{patient.skin}", protocol == null ? "гиперемия лица" : protocol.Skin);
                values.Add("{patient.smell}", protocol == null ? " " : protocol.Smell);
                values.Add("{patient.talk}", protocol == null ? "смазана" : protocol.Speech);
                values.Add("{patient.touch_nose}", protocol == null ? "с промахиванием" : protocol.TouchNose);
                values.Add("{patient.tremble}", protocol == null ? "да" : protocol.Tremble);
                values.Add("{patient.trub}", protocol == null ? " " : protocol.Trub);
                values.Add("{patient.walk}", protocol == null ? "не проводилась" : protocol.Walk);
                values.Add("{datetime}", DateTime.Now.ToShortDateString() + " " + DateTime.Now.ToShortTimeString());
                values.Add("{analysis.date}", DateTime.Now.ToShortDateString() + " " + DateTime.Now.ToShortTimeString());
                values.Add("{patient.work}", " ");
                values.Add("{reason}", " ");
                TemplatesUtils.fillBlankTemplate(service, "blank_alco_examination_template.doc", value, values);
            }
        }
Exemple #20
0
        private void openInWord_Click(object sender, EventArgs e)
        {
            if (getIsNotValid())
            {
                MessageBox.Show("Введены не все данные на форме!", "Предупреждение!", MessageBoxButtons.OK);
                return;
            }

            string templatePath = Directory.GetCurrentDirectory() + "\\Templates\\kateter_template.doc";

            Dictionary <string, string> values = new Dictionary <string, string>();

            values.Add(@"{date}", dateCtrl.Text);
            values.Add(@"{time}", timeCtrl.Text);
            values.Add(@"{vena}", veinTxt.Text);
            values.Add(@"{try_num}", tryNumTxt.Text);
            values.Add(@"{column}", columnTxt.Text);
            values.Add(@"{doctor.who}", doctorsBox.Text);
            TemplatesUtils.FillTemplateAndShow(templatePath, values, null);
        }
Exemple #21
0
        private void printBtn_Click(object sender, EventArgs e)
        {
            Save();

            ITemplateProcessor tp = TemplateProcessorManager.getProcessorByObjectType(DdtInspection.NAME);

            if (tp != null)
            {
                Dictionary <string, String> values = new Dictionary <string, string>();

                DdvDoctor doctor = (DdvDoctor)cardioDoctorBox.SelectedItem;
                if (doctor != null)
                {
                    values.Add("{doctor.who.short}", doctor.ShortName);
                }

                string filled = tp.processTemplate(service, hospitalitySession.ObjectId, inspectionObj.ObjectId, values);
                TemplatesUtils.ShowDocument(filled);
            }
        }
Exemple #22
0
        private void button2_Click(object sender, EventArgs e)
        {
            if (getIsNotValid())
            {
                MessageBox.Show("Введены не все данные на форме!", "Предупреждение!", MessageBoxButtons.OK);
                return;
            }

            string templatePath = Directory.GetCurrentDirectory() + "\\Templates\\death_template.docx";

            Dictionary <string, string> values = new Dictionary <string, string>();

            values.Add(@"{time}", timeCtrl.Text);
            values.Add(@"{doctor.appointment_name}", "");
            values.Add(@"{patient.full_name}", patient.DssFullName);
            values.Add(@"{patient.birthdate}", "");
            values.Add(@"{patient.sex}", "");
            values.Add(@"{patient.medcode}", patient.DssMedCode);
            values.Add(@"{doctor.who}", doctorsBox.Text);
            TemplatesUtils.fillTemplate(templatePath, values);
        }
Exemple #23
0
        private void trombolizisPrintBtn_Click(object sender, EventArgs e)
        {
            if (doctorOkrCB.SelectedIndex < 0)
            {
                MessageBox.Show("Введены не все данные на форме!", "Предупреждение!", MessageBoxButtons.OK);
                return;
            }
            string templatePath = Directory.GetCurrentDirectory() + "\\Templates\\trombolisis_template.docx";

            Dictionary <string, string> values = new Dictionary <string, string>();

            if (patient != null)
            {
                values.Add(@"{patient.full_name}", patient.DssFullName);
                values.Add(@"{patient.med_code}", patient.DssMedCode);
                values.Add(@"{patient.initials}", patient.DssInitials);
            }
            values.Add(@"{date}", dateCtrl.Text);
            values.Add(@"{time}", timeCtrl.Text);
            values.Add(@"{doctor.who}", doctorOkrCB.Text);
            TemplatesUtils.fillTemplate(templatePath, values);
        }
Exemple #24
0
        private void printBtn_Click(object sender, EventArgs e)
        {
            if (getIsNotValid())
            {
                MessageBox.Show("Введены не все данные на форме!", "Предупреждение!", MessageBoxButtons.OK);
                return;
            }

            string templatePath = Directory.GetCurrentDirectory() + "\\Templates\\torakacentes_template.docx";

            Dictionary <string, string> values = new Dictionary <string, string>();

            values.Add(@"{date}", dateCtrl.Text);
            values.Add(@"{time}", timeCtrl.Text);
            values.Add(@"{arg0}", arg0.Text);
            values.Add(@"{arg1}", arg1.Text);
            values.Add(@"{arg2}", arg2.Text);
            values.Add(@"{arg3}", arg3.Text);
            values.Add(@"{arg4}", arg4.Text);
            values.Add(@"{doctor.who}", doctorsBox.Text);
            TemplatesUtils.fillTemplate(templatePath, values);
        }
Exemple #25
0
        private void trombolizisPrintBtn_Click(object sender, EventArgs e)
        {
            if (doctorOkrCB.SelectedIndex < 0)
            {
                MessageBox.Show("Введены не все данные на форме!", "Предупреждение!", MessageBoxButtons.OK);
                return;
            }
            string templatePath = Directory.GetCurrentDirectory() + "\\Templates\\trombolisis_template.doc";

            Dictionary <string, string> values = new Dictionary <string, string>();
            DdvPatient patientView             = DbDataService.GetInstance().GetDdvPatientService().GetById(patient.ObjectId);

            if (patient != null)
            {
                values.Add(@"{patient.full_name}", patientView.FullName);
                values.Add(@"{patient.med_code}", patient.MedCode);
                values.Add(@"{patient.initials}", patientView.ShortName);
            }
            values.Add(@"{date}", dateCtrl.Text);
            values.Add(@"{time}", timeCtrl.Text);
            values.Add(@"{doctor.who}", doctorOkrCB.Text);
            TemplatesUtils.FillTemplateAndShow(templatePath, values, null);
        }
Exemple #26
0
        private void refusalDeadInspectionItem_Click(object sender, EventArgs e)
        {
            Dictionary <string, string> values = new Dictionary <string, string>();

            TemplatesUtils.fillBlankTemplate(service, "blank_refusal_dead_inspection_template.doc", null, values);
        }
        private void dataProcessingBlank_Click(object sender, EventArgs e)
        {
            Dictionary <string, string> values = new Dictionary <string, string>();

            TemplatesUtils.fillBlankTemplate(DbDataService.GetInstance(), "blank_common_consent_template.doc", hospitalSessionId, values);
        }