Inheritance: AbstractTO
Exemplo n.º 1
0
 public DischargeDiagnosesTO(DischargeDiagnoses mdo)
 {
     this.admitTimestamp     = mdo.AdmitTimestamp;
     this.dischargeTimestamp = mdo.DischargeTimestamp;
     this.primaryDx          = new DiagnosisTO(mdo.PrimaryDx);
     this.secondaryDxs       = new DiagnosisArray(mdo.SecondaryDxs);
 }
Exemplo n.º 2
0
 public DischargeDiagnosesTO(DischargeDiagnoses mdo)
 {
     this.admitTimestamp = mdo.AdmitTimestamp;
     this.dischargeTimestamp = mdo.DischargeTimestamp;
     this.primaryDx = new DiagnosisTO(mdo.PrimaryDx);
     this.secondaryDxs = new DiagnosisArray(mdo.SecondaryDxs);
 }
Exemplo n.º 3
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;
 }
Exemplo n.º 4
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;
 }