Ejemplo n.º 1
0
        public Inspection(IDbDataService service, DdtHospital hospitalitySession, string id)
        {
            this.service            = service;
            this.hospitalitySession = hospitalitySession;
            SilentSaver.setForm(this);
            InitializeComponent();
            initControls(id);
            List <string> validTypes = new List <string>()
            {
                "ddt_blood_analysis", "ddt_ekg", "ddt_urine_analysis", "ddt_egds", "ddt_xray", "ddt_holter", "ddt_specialist_conclusion", "ddt_uzi"
            };

            analysisTabControl1.init(hospitalitySession, inspectionObj?.ObjectId, DdtInspection.NAME, validTypes);
        }
Ejemplo n.º 2
0
        public Consilium(IDbDataService service, DdtHospital hospitalitySession, string consiliumId)
        {
            this.service            = service;
            this.hospitalitySession = hospitalitySession;
            this.consiliumId        = consiliumId;
            InitializeComponent();
            InitControls();
            List <string> validTypes = new List <string>()
            {
                "ddt_blood_analysis", "ddt_kag", "ddt_ekg", "ddt_urine_analysis", "ddt_egds", "ddt_xray", "ddt_holter", "ddt_specialist_conclusion", "ddt_uzi"
            };

            analysisTabControl1.init(hospitalitySession, consiliumId, DdtConsilium.NAME, validTypes);
            SilentSaver.setForm(this);
        }
Ejemplo n.º 3
0
        public JournalBeforeKag(IDbDataService service, DdtHospital hospitalitySession, string journalId, int journalType)
        {
            InitializeComponent();
            this.service            = service;
            this.hospitalitySession = hospitalitySession;
            this.journalDayId       = journalId;
            initJournals();
            List <string> validTypes = new List <string>()
            {
                "ddt_blood_analysis", "ddt_ekg", "ddt_urine_analysis", "ddt_egds", "ddt_xray", "ddt_holter", "ddt_specialist_conclusion", "ddt_uzi"
            };

            analysisTabControl1.init(hospitalitySession, journalDayId, DdtJournalDay.NAME, validTypes);
            SilentSaver.setForm(this);
        }
Ejemplo n.º 4
0
        public FirstInspection(IDbDataService service, DdtHospital hospitalitySession)
        {
            this.service         = service;
            this.hospitalSession = hospitalitySession;
            InitializeComponent();
            SilentSaver.setForm(this);

            anamnesis = service.GetDdtAnamnesisService().GetByHospitalSessionId(hospitalSession.ObjectId);

            InitPatientInfo();
            InitDiagnosis();

            InitializeAnamnesis(anamnesis);
            InitIssuedMedicine();
            initIssuedActions(anamnesis);
            InitDoctorComboBox();
            initAlco();

            HighlightChronicButtons();
            analysisTabControl1.init(hospitalSession, anamnesis?.ObjectId, DdtAnamnesis.NAME, new List <string>()
            {
                "ddt_blood_analysis", "ddt_ekg", "ddt_urine_analysis"
            });
        }
Ejemplo n.º 5
0
 private void Consilium_FormClosing(object sender, FormClosingEventArgs e)
 {
     SilentSaver.clearForm();
 }
Ejemplo n.º 6
0
 private void FirstInspection_FormClosing(object sender, FormClosingEventArgs e)
 {
     SilentSaver.clearForm();
 }
Ejemplo n.º 7
0
 private void JournalBeforeKag_FormClosing(object sender, FormClosingEventArgs e)
 {
     SilentSaver.clearForm();
 }
Ejemplo n.º 8
0
 private void JournalAfterKAG_FormClosing(object sender, FormClosingEventArgs e)
 {
     SilentSaver.clearForm();
 }