Ejemplo n.º 1
0
 public string GetJSONInsurances(DataTable dtInsurances, string EMRPatientID, string RequestID, string EMRID, string ModuleID, string UserID)
 {
     try
     {
         PatientInsurance objInsurances = new PatientInsurance();
         string           JSONString    = objInsurances.GenerateAPIJSONString(dtInsurances, EMRPatientID, RequestID, EMRID, ModuleID, UserID);
         return(JSONString);
     }
     catch (Exception)
     {
         throw;
     }
 }
Ejemplo n.º 2
0
        //Data Source=WINDOWS-7J7SHKG\SQLEXPRESS;Initial Catalog=IntelliHStagingAthena;User ID=sa;Password=Sahil@123
        public DataTable GetInsurances(string patientid, string departmentid, string stagingdbconnectionstring, string requestid)
        {
            try
            {
                parameters["patientid"]        = patientid;
                parameters["api_departmentid"] = departmentid;

                PatientInsurance objPatientInsurance = new PatientInsurance();
                DataTable        dtInsurances        = new DataTable();
                dtInsurances = objPatientInsurance.GetData(parameters);

                //Common objCommon = new Common();
                //objCommon.InsertRecords(dtInsurances, "IntelliHAthenaInsurances", stagingdbconnectionstring, requestid);

                return(dtInsurances);
            }
            catch (Exception)
            {
                throw;
            }
        }