Esempio n. 1
0
 public JsonResult DeleteCardiology(CardiologyDetails CardiologyDetails)
 {
     try
     {
         //CategoryMaster objModel = new CategoryMaster();
         CardiologyDetails.P_KEY          = "D";
         CardiologyDetails.Orgid          = Session[Common.SESSION_VARIABLES.COMPANYCODE].ToString();
         objViewModel.liCardiologyDetails = TaskViewModel.SaveCardiologydetails(CardiologyDetails);
         return(Json(objViewModel, JsonRequestBehavior.AllowGet));
     }
     catch (Exception ex)
     {
         return(Json(ex));
     }
 }
Esempio n. 2
0
 public JsonResult PrintCordiology(CardiologyDetails CardiologyDetails)
 {
     try
     {
         CardiologyDetails.P_KEY          = "P";
         CardiologyDetails.Orgid          = Session[Common.SESSION_VARIABLES.COMPANYCODE].ToString();
         CardiologyDetails.CreatedBy      = Session[Common.SESSION_VARIABLES.USERNAME].ToString();
         objViewModel.liCardiologyDetails = TaskViewModel.SaveCardiologydetails(CardiologyDetails);
         return(Json(objViewModel, JsonRequestBehavior.AllowGet));
     }
     catch (Exception ex)
     {
         return(Json(ex));
     }
 }
Esempio n. 3
0
        public static List <CardiologyDetails> SaveCardiologydetails(CardiologyDetails CardiologyDetails)
        {
            DataValue dv = new DataValue();

            dv.Add("@Patient_Id", CardiologyDetails.Patient_Id, EnumCommand.DataType.Varchar);
            dv.Add("@PatientVisitID", CardiologyDetails.PatientVisitID, EnumCommand.DataType.Varchar);
            dv.Add("@Echogencity", CardiologyDetails.Echogencity, EnumCommand.DataType.Varchar);
            dv.Add("@Orgid", CardiologyDetails.Orgid, EnumCommand.DataType.Varchar);
            dv.Add("@AO", CardiologyDetails.AO, EnumCommand.DataType.Varchar);
            dv.Add("@LA", CardiologyDetails.LA, EnumCommand.DataType.Varchar);
            dv.Add("@RVID", CardiologyDetails.RVID, EnumCommand.DataType.Varchar);
            dv.Add("@LVID_one", CardiologyDetails.LVID_one, EnumCommand.DataType.Varchar);
            dv.Add("@LVID_Two", CardiologyDetails.LVID_Two, EnumCommand.DataType.Varchar);
            dv.Add("@IVS", CardiologyDetails.IVS, EnumCommand.DataType.Varchar);
            dv.Add("@LVPW", CardiologyDetails.LVPW, EnumCommand.DataType.Varchar);
            dv.Add("@EF", CardiologyDetails.EF, EnumCommand.DataType.Varchar);
            dv.Add("@FS", CardiologyDetails.FS, EnumCommand.DataType.Varchar);
            dv.Add("@MitralValue_AML", CardiologyDetails.MitralValue_AML, EnumCommand.DataType.Varchar);
            dv.Add("@MitralValue_PML", CardiologyDetails.MitralValue_PML, EnumCommand.DataType.Varchar);
            dv.Add("@IntratrialSeptom", CardiologyDetails.IntratrialSeptom, EnumCommand.DataType.Varchar);
            dv.Add("@IntervendicularSeptom", CardiologyDetails.IntervendicularSeptom, EnumCommand.DataType.Varchar);
            dv.Add("@AorticValue", CardiologyDetails.AorticValue, EnumCommand.DataType.Varchar);
            dv.Add("@PulmonaryArtory", CardiologyDetails.PulmonaryArtory, EnumCommand.DataType.Varchar);
            dv.Add("@TricuspidValue", CardiologyDetails.TricuspidValue, EnumCommand.DataType.Varchar);
            dv.Add("@Aortia", CardiologyDetails.Aortia, EnumCommand.DataType.Varchar);
            dv.Add("@PulmonaryValue", CardiologyDetails.PulmonaryValue, EnumCommand.DataType.Varchar);
            dv.Add("@RightAtrium", CardiologyDetails.RightAtrium, EnumCommand.DataType.Varchar);
            dv.Add("@LeftAtrium", CardiologyDetails.LeftAtrium, EnumCommand.DataType.Varchar);
            dv.Add("@RightVendricle", CardiologyDetails.RightVendricle, EnumCommand.DataType.Varchar);
            dv.Add("@Pericardiam", CardiologyDetails.Pericardiam, EnumCommand.DataType.Varchar);
            dv.Add("@Dopplerstudies", CardiologyDetails.Dopplerstudies, EnumCommand.DataType.Varchar);
            dv.Add("@Impression", CardiologyDetails.Impression, EnumCommand.DataType.Varchar);
            dv.Add("@RefferedBy", CardiologyDetails.RefferedBy, EnumCommand.DataType.Varchar);
            dv.Add("@CreatedBy", CardiologyDetails.CreatedBy, EnumCommand.DataType.Varchar);
            dv.Add("@CreatedAt", CardiologyDetails.CreatedAt, EnumCommand.DataType.Varchar);
            dv.Add("@P_KEY", CardiologyDetails.P_KEY, EnumCommand.DataType.Varchar);
            var Cardiologydetails = (List <CardiologyDetails>)SQLHelper.FetchData <CardiologyDetails>(Common.Queries.SP_SAVE_CARDIOLOGYDETAILS, EnumCommand.DataSource.list, dv).DataSource.Data;

            return(Cardiologydetails);
        }