Example #1
0
        public Block49PatientManipulationResponse(List <string> data)
        {
            var line96 = data.FirstOrDefault(a => a.StartsWith("96"));
            var line50 = data.FirstOrDefault(a => a.StartsWith("50"));

            ErrorCode = new Line96ErrorCode().Detect(line96);
            PatientId = new Line50PatientId().Detect(line50);
        }
Example #2
0
        public Block19OrderManipulationResponse(List <string> data)
        {
            var line96 = data.FirstOrDefault(a => a.StartsWith("96"));
            var line50 = data.FirstOrDefault(a => a.StartsWith("50"));
            var line53 = data.FirstOrDefault(a => a.StartsWith("53"));
            var line54 = data.FirstOrDefault(a => a.StartsWith("54"));
            var line55 = data.FirstOrDefault(a => a.StartsWith("55"));
            var line52 = data.FirstOrDefault(a => a.StartsWith("52"));

            ErrorCode             = new Line96ErrorCode().Detect(line96);
            PatientId             = new Line50PatientId().Detect(line50);
            OrderId               = new Line53OrderId().Detect(line53);
            OrderInformation      = new Line54OrderInformation().Detect(line54);
            TestId                = new Line55TestId().Detect(line55);
            SpecialOrderSelection = new Line52SpecialOrderSelection().Detect(line52);
        }
        public Block69ServiceRequestResponse(List <string> data)
        {
            var line96 = data.FirstOrDefault(a => a.StartsWith("96"));

            ErrorCode = new Line96ErrorCode().Detect(line96);
        }