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

                PatientPicture objPatientPicture = new PatientPicture();
                DataTable      dtPictures        = new DataTable();
                dtPictures = objPatientPicture.GetData(parameters);

                //Common objCommon = new Common();
                //objCommon.InsertRecords(dtPictures, "IntelliHAthenaPictures", stagingdbconnectionstring, requestid);

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