public string GetJSONProblemlist(DataTable dtProblemlist, string EMRPatientID, string RequestID, string EMRID, string ModuleID, string UserID) { try { Problemlist objProblemlist = new Problemlist(); string JSONString = objProblemlist.GenerateAPIJSONString(dtProblemlist, EMRPatientID, RequestID, EMRID, ModuleID, UserID); return(JSONString); } catch (Exception) { throw; } }
public DataTable GetProblemlist(string patientid, string stagingdbconnectionstring, string requestid, string accesstoken) { try { parameters["access_token"] = accesstoken; parameters["patientid"] = patientid; Problemlist objProblemlist = new Problemlist(); DataTable dtProblemlist = new DataTable(); dtProblemlist = objProblemlist.GetData(parameters); //Common objCommon = new Common(); //objCommon.InsertRecords(dtProblemlist, "IntelliHdrchronoProblemlist", stagingdbconnectionstring, requestid); return(dtProblemlist); } catch (Exception) { throw; } }