Inheritance: PathologyReport
Example #1
0
 public TaggedCytologyRptArray(string tag, CytologyReport mdo)
 {
     this.tag = tag;
     if (mdo == null)
     {
         this.count = 0;
         return;
     }
     this.rpts = new CytologyRpt[1];
     this.rpts[0] = new CytologyRpt(mdo);
     this.count = 1;
 }
Example #2
0
 public TaggedCytologyRptArray(string tag, CytologyReport[] mdos)
 {
     this.tag = tag;
     if (mdos == null)
     {
         this.count = 0;
         return;
     }
     this.rpts = new CytologyRpt[mdos.Length];
     for (int i = 0; i < mdos.Length; i++)
     {
         this.rpts[i] = new CytologyRpt(mdos[i]);
     }
     this.count = rpts.Length;
 }
Example #3
0
 public CytologyRpt(CytologyReport mdo)
 {
     this.id = mdo.Id;
     this.title = mdo.Title;
     this.timestamp = mdo.Timestamp;
     if (mdo.Author != null)
     {
         this.author = new AuthorTO(mdo.Author);
     }
     if (mdo.Facility != null)
     {
         this.facility = new TaggedText(mdo.Facility.Id, mdo.Facility.Name);
     }
     if (mdo.Specimen != null)
     {
         this.specimen = new LabSpecimenTO(mdo.Specimen);
     }
     this.clinicalHx = mdo.ClinicalHx;
     this.description = mdo.Description;
     this.exam = mdo.Exam;
     this.diagnosis = mdo.Diagnosis;
     this.comment = mdo.Comment;
     this.supplementalRpt = mdo.SupplementalReport;
 }