private void  parseRep(System.Xml.XmlElement theElem, Structure theObj)
 {
     if (theObj is Group)
     {
         parse((Group)theObj, theElem);
     }
     else if (theObj is Segment)
     {
         parse((Segment)theObj, theElem);
     }
     log.debug("Parsed element: " + theElem.Name);
 }
Example #2
0
            public virtual bool evaluate(System.Object obj)
            {
                Structure s = (Structure)obj;

                ca.uhn.hl7v2.parser.PipeParser.log.debug("PipeParser iterating message in direction " + name + " at " + s.getStructureName());
                if (System.Text.RegularExpressions.Regex.IsMatch(s.getStructureName(), name + "\\d*"))
                {
                    return(true);
                }
                else
                {
                    return(false);
                }
            }
Example #3
0
 private void parseRep(System.Xml.XmlElement theElem, Structure theObj)
 {
     if (theObj is Group)
     {
         parse((Group) theObj, theElem);
     }
     else if (theObj is Segment)
     {
         parse((Segment) theObj, theElem);
     }
     log.debug("Parsed element: " + theElem.Name);
 }