update  VCLib.T_OBJECT_MODIFICATION_ACTION_PARAM p
set ParamValue = '<lx:ConstOperand type="Int32" xmlns:lx="lexem">1</lx:ConstOperand>'
from VCLib.T_OBJECT_MODIFICATION_ACTION a 
where a.ObjectModificationActionID = p.ObjectModificationAction
and p.Name Like '%ObjectType' and (a.Name = 'sp_iszl_motioninhospitalxml' or a.Name = 'sp_ISZL_MotionInHospitalXml') and ParamValue = 'lx:ConstOperand type="Boolean" xmlns:lx="lexem">True</lx:ConstOperand>';

update  VCLib.T_OBJECT_MODIFICATION_ACTION_PARAM p
set ParamValue = '<lx:ConstOperand type="Int32" xmlns:lx="lexem">0</lx:ConstOperand>'
from VCLib.T_OBJECT_MODIFICATION_ACTION a 
where a.ObjectModificationActionID = p.ObjectModificationAction
and p.Name Like '%ObjectType' and (a.Name = 'sp_iszl_motioninhospitalxml' or a.Name = 'sp_ISZL_MotionInHospitalXml') and ParamValue = 'lx:ConstOperand type="Boolean" xmlns:lx="lexem">False</lx:ConstOperand>';