コード例 #1
0
ファイル: PatientRecordFlagTO.cs プロジェクト: OSEHRA/mdws
 public PatientRecordFlagTO(PatientRecordFlag mdo)
 {
     this.id = mdo.Id;
     this.name = mdo.Name;
     this.actionId = mdo.ActionId;
     this.actionName = mdo.ActionName;
     this.actionTimestamp = mdo.ActionTimestamp;
     this.noteId = mdo.NoteId;
 }
コード例 #2
0
ファイル: PatientRecordFlagArray.cs プロジェクト: OSEHRA/mdws
 public PatientRecordFlagArray(PatientRecordFlag mdo)
 {
     if (mdo == null)
     {
         this.count = 0;
         return;
     }
     this.flags = new PatientRecordFlagTO[1];
     this.flags[0] = new PatientRecordFlagTO(mdo);
     this.count = 1;
 }
コード例 #3
0
ファイル: PatientRecordFlagArray.cs プロジェクト: OSEHRA/mdws
 public PatientRecordFlagArray(PatientRecordFlag[] mdos)
 {
     if (mdos == null)
     {
         this.count = 0;
         return;
     }
     this.flags = new PatientRecordFlagTO[mdos.Length];
     for (int i = 0; i < mdos.Length; i++)
     {
         this.flags[i] = new PatientRecordFlagTO(mdos[i]);
     }
     this.count = flags.Length;
 }