Ejemplo n.º 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;
     }
 }
Ejemplo n.º 2
0
        public DataTable GetPatientDemographics(string patientid, string stagingdbconnectionstring, string requestid)
        {
            try
            {
                DataTable dtPatientData = new DataTable();

                parameters["patientid"] = patientid;

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

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

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