Have her renounce the inheritance or assign the inheritance to her children.  She does not have to accept the money therefore avoiding the impact on her medicaid.  This can be done by writing it to the executor of the estate having it notarized and witnessed.