public SURVEYS ParseReaderComplete(DataRow row) { SURVEYS objReturn = ParseReaderCustom(row); if (objReturn != null) { if (objReturn.PATIENT_ID > 0) { PATIENTDB pATIENTDB = new PATIENTDB(); objReturn.PATIENT = pATIENTDB.ParseReaderCustom(row); } if (objReturn.STD_SURVEY_TYPE_ID > 0) { STD_SURVEY_TYPEDB sTD_SURVEY_TYPEDB = new STD_SURVEY_TYPEDB(); objReturn.STD_SURVEY_TYPE = sTD_SURVEY_TYPEDB.ParseReaderCustom(row); } if (objReturn.PROVIDER_ID > 0) { SStaff_SStaffDB sStaff_SStaffDB = new SStaff_SStaffDB(); objReturn.SStaff_SStaff = sStaff_SStaffDB.ParseReaderCustom(row); } } return(objReturn); }
public WKF_CASE ParseReaderComplete(DataRow row) { WKF_CASE objReturn = ParseReaderCustom(row); if (objReturn != null) { if (objReturn.PATIENT_ID > 0) { PATIENTDB pATIENTDB = new PATIENTDB(); objReturn.PATIENT = pATIENTDB.ParseReaderCustom(row); } if (objReturn.STD_WKFCASETYPE_ID > 0) { STD_WKFCASETYPEDB sTD_WKFCASETYPEDB = new STD_WKFCASETYPEDB(); objReturn.STD_WKFCASETYPE = sTD_WKFCASETYPEDB.ParseReaderCustom(row); } if (objReturn.STD_WKFCASESTS_ID > 0) { STD_WKFCASESTSDB sTD_WKFCASESTSDB = new STD_WKFCASESTSDB(); objReturn.STD_WKFCASESTS = sTD_WKFCASESTSDB.ParseReaderCustom(row); } if (objReturn.REFERRAL_ID > 0) { REFERRALDB rEFERRALDB = new REFERRALDB(); objReturn.REFERRAL = rEFERRALDB.ParseReaderCustom(row); } } return(objReturn); }
public REFERRAL ParseReaderComplete(DataRow row) { REFERRAL objReturn = ParseReaderCustom(row); if (objReturn != null) { if (objReturn.STD_REFERRALSTS_ID > 0) { STD_REFERRALSTSDB sTD_REFERRALSTSDB = new STD_REFERRALSTSDB(); objReturn.STD_REFERRALSTS = sTD_REFERRALSTSDB.ParseReaderCustom(row); } if (objReturn.STD_REGISTRY_ID > 0) { STD_REGISTRYDB sTD_REGISTRYDB = new STD_REGISTRYDB(); objReturn.STD_REGISTRY = sTD_REGISTRYDB.ParseReaderCustom(row); } if (objReturn.PATIENT_ID > 0) { PATIENTDB pATIENTDB = new PATIENTDB(); objReturn.PATIENT = pATIENTDB.ParseReaderCustom(row); SPATIENTDB sPATIENTDB = new SPATIENTDB(); objReturn.SPATIENT = sPATIENTDB.ParseReaderCustom(row); objReturn.SPATIENT.PatientLastFour = (string)GetNullableObject(row.Field <object>("SPATIENT_PatientLastFour")); } if (objReturn.PROVIDER_ID > 0) { SStaff_SStaffDB sStaff_SStaffDB = new SStaff_SStaffDB(); objReturn.SStaff_SStaff = sStaff_SStaffDB.ParseReaderCustom(row); } } return(objReturn); }