added application name parameter in patient registration invokation