Esempio n. 1
0
        void Save()
        {
            //Only save handover details
            patient.PatientID = Convert.ToInt32(txtPatID.Text);

            if (rbHSE.Checked)
            {
                patient.HandOverTo = rbHSE.Text;
            }
            else if (rbICG.Checked)
            {
                patient.HandOverTo = rbICG.Text;
            }
            else if (rbAGS.Checked)
            {
                patient.HandOverTo = rbAGS.Text;
            }
            else if (rbOther.Checked)
            {
                patient.HandOverTo = rbOther.Text;
            }

            patient.HandOverDate = DateTime.Today.ToString("dd-MM-yyyy");
            patient.HandOverTime = DateTime.Now.ToString("HH:mm:ss");


            PatientDetailsManager.SavePatient(patient);
            Finish();
        }
Esempio n. 2
0
 void Save()
 {
     patient.PatientID   = Convert.ToInt32(txtPatID.Text);
     patient.Signs       = editSigns.Text;
     patient.Allergies   = editAllergies.Text;
     patient.Medications = editMedications.Text;
     patient.PastHistory = editPastHistory.Text;
     patient.LastIntake  = editLastIntake.Text;
     patient.Event       = editLastIntake.Text;
     patient.MOI         = editMOI.Text;
     PatientDetailsManager.SavePatient(patient);
     Finish();
 }
Esempio n. 3
0
        void Save()
        {
            patient.PatientFirstName   = editPatName.Text;
            patient.PatientLastName    = editPatSurname.Text;
            patient.PatientDateOfBirth = editDateOfBirth.Text;
            patient.PatientAge         = Convert.ToInt32(editPatAge.Text);


            if (rbGenderMale.Checked)
            {
                patient.PatientGender = rbGenderMale.Text;
            }
            else if (rbGenderFemale.Checked)
            {
                patient.PatientGender = rbGenderFemale.Text;
            }
            else if (rbGenderOther.Checked)
            {
                patient.PatientGender = rbGenderOther.Text;
            }

            patient.NextOfKin         = editNextOfKin.Text;
            patient.NOKContactDetails = editNOKContact.Text;
            patient.Location          = editLocation.Text;
            patient.GridReference     = editGridReference.Text;
            patient.PatientInfo       = editPatInfo.Text;
            patient.Transferred       = checkBoxTransferred.Checked;

            //Save initial Start Assessment Date and Time


            if (patient.PatientID == 0)
            {
                patient.AssessStartDate = DateTime.Today.ToString("dd-MM-yyyy");
                patient.AssessStartTime = DateTime.Now.ToString("HH:mm:ss");
            }


            //Save Handover date and time if Transferred ticked
            if ((patient.PatientID == 0) & (patient.Transferred == true))
            {
                //patient.HandOverTo = spinHandover.SelectedItem;
                patient.HandOverDate = DateTime.Today.ToString("dd-MM-yyyy");
                patient.HandOverTime = DateTime.Now.ToString("HH:mm:ss");
            }


            PatientDetailsManager.SavePatient(patient);
            Finish();
        }
Esempio n. 4
0
 void Save()
 {
     patient.PatientID            = Convert.ToInt32(txtPatID.Text);
     patient.TraumaChiefComplaint = chkChiefComplaint.Checked;
     patient.TraumaType           = editTraumaType.Text;
     patient.TraumaDesc           = editTraumaDesc.Text;
     patient.TraumaLocation       = editTraumaLocation.Text;
     patient.TraumaInterventions  = editTraumaIntervention.Text;
     patient.TraumaMedAdmin       = editTraumaMedAdmin.Text;
     patient.PainScaleBefore      = editPainBefore.Text;
     patient.PainScaleAfter       = editPainAfter.Text;
     PatientDetailsManager.SavePatient(patient);
     Finish();
 }
Esempio n. 5
0
        void Save()
        {
            patient.PatientID         = Convert.ToInt32(txtPatID.Text);
            patient.MedChiefComplaint = chkChiefComplaint.Checked;
            patient.MedType           = editMedType.Text;
            patient.MedDesc           = editMedDesc.Text;
            patient.MedLocation       = editMedLocation.Text;
            patient.MedInterventions  = editMedIntervention.Text;
            patient.MedMedAdmin       = editMedMedAdmin.Text;
            patient.Onset             = editPainO.Text;
            patient.Provokes          = editPainP.Text;
            patient.Quality           = editPainQ.Text;
            patient.Radiates          = editPainR.Text;
            patient.Severity          = editPainS.Text;
            patient.Time = editPainT.Text;

            PatientDetailsManager.SavePatient(patient);
            Finish();
        }
Esempio n. 6
0
        void Save()
        {
            patient.PatientID          = Convert.ToInt32(txtPatID.Text);
            patient.PulseRate          = editPulseRate.Text;
            patient.PulseQuality       = editPulseQuality.Text;
            patient.BloodPressure      = editBloodPressure.Text;
            patient.RespiratoryRate    = editRespRate.Text;
            patient.RespiratoryQuality = editRespQuality.Text;
            patient.SPO         = editSPO.Text;
            patient.Temperature = editTemperature.Text;
            patient.Colour      = editColour.Text;
            patient.CSM         = editCSM.Text;
            patient.BloodSugar  = editBloodSugar.Text;


            //LOC

            if (rbAlert.Checked)
            {
                patient.LOC = rbAlert.Text;
            }
            else if (rbVerbal.Checked)
            {
                patient.LOC = rbVerbal.Text;
            }
            else if (rbPain.Checked)
            {
                patient.LOC = rbPain.Text;
            }
            else if (rbUncon.Checked)
            {
                patient.LOC = rbUncon.Text;
            }

            //Pupils

            if (rbPERLL.Checked)
            {
                patient.Pupils = rbPERLL.Text;
            }
            else if (rbNotPerll.Checked)
            {
                patient.Pupils = rbPERLL.Text;
            }
            //Status
            if (rbStable.Checked)
            {
                patient.Status = rbStable.Text;
            }
            else if (rbUnstable.Checked)
            {
                patient.Status = rbUnstable.Text;
            }


            patient.VitalSetDate = DateTime.Today.ToString("dd-MM-yyyy");
            patient.VitalSetTime = DateTime.Now.ToString("HH:mm:ss");



            PatientDetailsManager.SavePatient(patient);
            Finish();
        }