Inheritance: TextReport
Example #1
0
 public TaggedSurgeryReportArray(string tag, SurgeryReport mdo)
 {
     this.tag = tag;
     if (mdo == null)
     {
         this.count = 0;
         return;
     }
     this.rpts = new SurgeryReportTO[1];
     this.rpts[0] = new SurgeryReportTO(mdo);
     this.count = 1;
 }
Example #2
0
 public TaggedSurgeryReportArray(string tag, SurgeryReport[] mdos)
 {
     this.tag = tag;
     if (mdos == null)
     {
         this.count = 0;
         return;
     }
     this.rpts = new SurgeryReportTO[mdos.Length];
     for (int i = 0; i < mdos.Length; i++)
     {
         this.rpts[i] = new SurgeryReportTO(mdos[i]);
     }
     this.count = rpts.Length;
 }
Example #3
0
 public SurgeryReportTO(SurgeryReport mdo)
 {
     this.id = mdo.Id;
     this.title = mdo.Title;
     this.timestamp = mdo.Timestamp;
     if (mdo.Author != null)
     {
         this.author = new AuthorTO(mdo.Author);
     }
     this.text = mdo.Text;
     if (mdo.Facility != null)
     {
         this.facility = new TaggedText(mdo.Facility.Id, mdo.Facility.Name);
     }
     this.status = mdo.Status;
     this.specialty = new TaggedText(mdo.Specialty);
     this.preOpDx = mdo.PreOpDx;
     this.postOpDx = mdo.PostOpDx;
     this.labWork = mdo.LabWork;
     this.dictationTimestamp = mdo.DictationTimestamp;
     this.transcriptionTimestamp = mdo.TranscriptionTimestamp;
 }