private static Diagnosis LoadDiagnosis(DataRow row) { string diagCode = NomenclatureDAL.GetNomenclature_SourceIdentifier(row["nomenclature_id"].ToString()); string poa = CodeValueDAL.GetCodeValueDisplay(row["present_on_admit_cd"].ToString()); string pri = row["diag_priority"].ToString().Trim(); if (poa == "0") { poa = string.Empty; } Diagnosis dx = new Diagnosis(); dx.DxCode = diagCode; dx.GrouperVersion = string.Empty; dx.POA = poa; if (pri == "0" || pri == "") { dx.priority = string.Empty; } else { dx.priority = pri; } dx.DxType = row["diag_type_cd"].ToString().Trim(); return(dx); }
private static ProcedureMod LoadProcedureMod(DataRow row) { ProcedureMod proc = new ProcedureMod(); proc.NomenID = row["nomenclature_id"].ToString(); proc.ProcMod = NomenclatureDAL.GetNomenclature_SourceIdentifier(row["nomenclature_id"].ToString()); return(proc); }
private static Diagnosis LoadDiagnosis(DataRow row) { string diagCode = NomenclatureDAL.GetNomenclature_SourceIdentifier(row["nomenclature_id"].ToString()); string poa = CodeValueDAL.GetCodeValueDisplay(row["present_on_admit_cd"].ToString() + ".0000"); if (poa == "0") { poa = string.Empty; } Diagnosis dx = new Diagnosis(); dx.DxCode = diagCode; dx.GrouperVersion = string.Empty; dx.POA = poa; return(dx); }