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;
 }
 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;
 }