示例#1
0
 public ThinPrepSlide(string aliquotOrderId, string patientLastName, string patientFirstName, string testName)
 {
     this.m_AliquotOrderId = aliquotOrderId;
     this.m_PatientLastName = patientLastName;
     this.m_PatientFirstName = patientFirstName;
     this.m_Barcode = new BarcodeVersion2(BarcodePrefixEnum.PSLD, this.m_AliquotOrderId);
 }
示例#2
0
 public HistologySlide(string slideOrderId, string reportNo, string slideNumber, string lastName, string testName, string facilityLocationAbbreviation)
 {
     this.m_SlideOrderId = slideOrderId;
     this.m_ReportNo = reportNo;
     this.m_SlideNumber = slideNumber;
     this.m_LastName = lastName;
     this.m_TestName = testName;
     this.m_FacilityLocationAbbreviation = facilityLocationAbbreviation;
     this.m_Barcode = new BarcodeVersion2(BarcodePrefixEnum.HSLD, this.m_SlideOrderId);
 }
示例#3
0
        private void HandleVersion2Scans(string scanData)
        {
            BarcodeVersion2 barcode = new BarcodeVersion2(scanData);

            switch (barcode.Prefix)
            {
                case BarcodePrefixEnum.PSLD:
                    if (ThinPrepSlideScanReceived != null) ThinPrepSlideScanReceived(barcode);
                    break;
                case BarcodePrefixEnum.HSLD:

                    if (HistologySlideScanReceived != null) HistologySlideScanReceived(barcode);
                    break;
            }
        }