示例#1
0
 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;
 }
示例#2
0
 public DiagnosisTO(Diagnosis mdo)
 {
     this.icd9 = mdo.Icd9;
     this.text = mdo.Text;
     this.primary = mdo.Primary;
 }