示例#1
0
 public Block10OrderEntry Create(Line50PatientId patientId,Line53OrderId orderId,Line54OrderInformation orderInfo,Line56SampleName sampleName, List<Line55TestId> testIds)
 {
     PatientId = patientId;
     OrderId = orderId;
     OrderInformation = orderInfo;
     SampleName = sampleName;
     TestIds = testIds;
     return this;
 }
示例#2
0
        public Block04PatientResults(List <string> body)
        {
            var line53 = body.FirstOrDefault(a => a.StartsWith("53"));
            var line56 = body.FirstOrDefault(a => a.StartsWith("56"));
            var line55 = body.FirstOrDefault(a => a.StartsWith("55"));
            var line00 = body.FirstOrDefault(a => a.StartsWith("00"));

            OrderId    = new Line53OrderId().Detect(line53);
            SampleName = new Line56SampleName().Detect(line56);
            TestId     = new Line55TestId().Detect(line55);
            ResultData = new Line00ResultData().Detect(line00);
        }
示例#3
0
        public Block07PatientResultLotInfo(List <string> data)
        {
            var line53 = data.FirstOrDefault(a => a.StartsWith("53"));
            var line56 = data.FirstOrDefault(a => a.StartsWith("56"));
            var line15 = data.FirstOrDefault(a => a.StartsWith("15"));
            var line16 = data.FirstOrDefault(a => a.StartsWith("16"));
            var line55 = data.FirstOrDefault(a => a.StartsWith("55"));
            var line11 = data.FirstOrDefault(a => a.StartsWith("11"));
            var line00 = data.FirstOrDefault(a => a.StartsWith("00"));

            OrderId        = new Line53OrderId().Detect(line53);
            SampleName     = new Line56SampleName().Detect(line56);
            AccessDateTime = new Line15AccessDateTime().Detect(line15);
            ResultIndexes  = new Line16ResultIndexes().Detect(line16);
            TestId         = new Line55TestId().Detect(line55);
            ReagentLotInfo = new Line11ReagentLotInfo().Detect(line11);
            ResultData     = new Line00ResultData().Detect(line00);
        }