update VCLib.T_SINGLE_MODIFICATION_ACTION
set UpdateFilter = '<lx:CriterionChildExists xmlns:lx="lexem">
    <condition>
        <lx:Criteria type="And">
            <lx:Criterion type="=">
                <lx:Path OwnerQueryLevel="0">
                    <lx:StepString name="Active" />
                </lx:Path>
                <lx:ConstOperand type="Boolean">True</lx:ConstOperand>
            </lx:Criterion>
            <lx:Criterion type="=">
                <lx:Path OwnerQueryLevel="0">
                    <lx:StepString name="Deleted" />
                </lx:Path>
                <lx:ConstOperand type="Boolean">False</lx:ConstOperand>
            </lx:Criterion>
            <lx:Criterion type="&lt;=">
                <lx:Path OwnerQueryLevel="0">
                    <lx:StepString name="BeginDate" />
                </lx:Path>
                <lx:ParamHolder>
                    <lx:StepString name="CURRENT_DATE" />
                </lx:ParamHolder>
            </lx:Criterion>
            <lx:Criteria type="Or">
                <lx:Criterion type="=">
                    <lx:Path OwnerQueryLevel="0">
                        <lx:StepString name="EndDate" />
                    </lx:Path>
                    <lx:Null />
                </lx:Criterion>
                <lx:Criterion type="&gt;=">
                    <lx:Path OwnerQueryLevel="0">
                        <lx:StepString name="EndDate" />
                    </lx:Path>
                    <lx:ParamHolder>
                        <lx:StepString name="CURRENT_DATE" />
                    </lx:ParamHolder>
                </lx:Criterion>
            </lx:Criteria>
            <lx:Criteria type="Or">
                <lx:Criterion type="=">
                    <lx:Path OwnerQueryLevel="0">
                        <lx:StepString name="Benefits" />
                        <lx:StepString name="BenefitViews" />
                    </lx:Path>
                    <lx:EnumOperand EnumType="BenefitViews" type="Int32" PrimaryKey="19002">
                        <Name><![CDATA[Региональная по контингенту]]></Name>
                    </lx:EnumOperand>
                </lx:Criterion>
                <lx:Criterion type="=">
                    <lx:Path OwnerQueryLevel="0">
                        <lx:StepString name="Benefits" />
                        <lx:StepString name="BenefitViews" />
                    </lx:Path>
                    <lx:EnumOperand EnumType="BenefitViews" type="Int32" PrimaryKey="19003">
                        <Name><![CDATA[Региональная по заболеванию]]></Name>
                    </lx:EnumOperand>
                </lx:Criterion>
                <lx:Criterion type="=">
                    <lx:Path OwnerQueryLevel="0">
                        <lx:StepString name="Benefits" />
                        <lx:StepString name="BenefitViews" />
                    </lx:Path>
                    <lx:EnumOperand EnumType="BenefitViews" type="Int32" PrimaryKey="19005">
                        <Name><![CDATA[По беременности]]></Name>
                    </lx:EnumOperand>
                </lx:Criterion>
            </lx:Criteria>
        </lx:Criteria>
    </condition>
    <lx:Path OwnerQueryLevel="0">
        <lx:StepString name="PatientBenefitss" />
    </lx:Path>
</lx:CriterionChildExists>'
where ObjectModificationActionID=  'F95424E6-67FB-4494-9C88-ECDDDDA129EA'