protected virtual IEnumerable <IMatchingCondition> BuildConditions
        (
            fo.DicomDataset request
        )
        {
            ConditionFactory condFactory = new ConditionFactory( );
            IEnumerable <IMatchingCondition> conditions;

            condFactory.BeginProcessingElements( );

            foreach (var element in request)
            {
                condFactory.ProcessElement(element);
            }

            conditions = condFactory.EndProcessingElements( );

            return(conditions);
        }