public DiagnosisArray(Diagnosis[] mdo) { if (mdo == null || mdo.Length == 0) { count = 0; return; } dx = new DiagnosisTO[mdo.Length]; for (int i = 0; i < mdo.Length; i++) { dx[i] = new DiagnosisTO(mdo[i]); } count = mdo.Length; }
public DiagnosisTO(Diagnosis mdo) { this.icd9 = mdo.Icd9; this.text = mdo.Text; this.primary = mdo.Primary; }