private string GetDescriptionForDate() { string retVal = ""; for (int i = 0; i < SupplementalSegments.Count; i++) { if (SupplementalSegments[i].SegmentID == "DTP") { retVal += DTP271.GetQualifierDescript(SupplementalSegments[i].Get(1)) + ": " + DTP271.GetDateStr(SupplementalSegments[i].Get(2), SupplementalSegments[i].Get(3)); } } return(retVal); }
///<summary>Only the DTP segments that come before the EB segments. X12 loop 2100C.</summary> public List<DTP271> GetListDtpSubscriber() { List<DTP271> retVal=new List<DTP271>(); DTP271 dtp; for(int i=0;i<Segments.Count;i++) { if(Segments[i].SegmentID=="EB") { break; } if(Segments[i].SegmentID!="DTP") { continue; } dtp=new DTP271(Segments[i]); retVal.Add(dtp); } return retVal; }
///<summary>Only the DTP segments that come before the EB segments. X12 loop 2100C.</summary> public List <DTP271> GetListDtpSubscriber() { List <DTP271> retVal = new List <DTP271>(); DTP271 dtp; for (int i = 0; i < Segments.Count; i++) { if (Segments[i].SegmentID == "EB") { break; } if (Segments[i].SegmentID != "DTP") { continue; } dtp = new DTP271(Segments[i]); retVal.Add(dtp); } return(retVal); }