Exemple #1
0
 public string GetJSONPatientDemographics(DataTable dtPatientData, string EMRPatientID, string RequestID, string EMRID, string ModuleID, string UserID)
 {
     try
     {
         PatientDemographics objPatientDemographics = new PatientDemographics();
         string JSONString = objPatientDemographics.GenerateAPIJSONString(dtPatientData, EMRPatientID, RequestID, EMRID, ModuleID, UserID);
         return(JSONString);
     }
     catch (Exception)
     {
         throw;
     }
 }
Exemple #2
0
        public DataTable GetPatientDemographics(string patientid, string stagingdbconnectionstring, string requestid, string accesstoken)
        {
            try
            {
                DataTable dtPatientData = new DataTable();

                parameters["access_token"] = accesstoken;
                parameters["patientid"]    = patientid;

                PatientDemographics objPatientDemographics = new PatientDemographics();
                dtPatientData = objPatientDemographics.GetData(parameters);

                //Common objCommon = new Common();
                //objCommon.InsertRecords(dtPatientData, "IntelliHdrchronoPatientDemographics", stagingdbconnectionstring, requestid);

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